Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

SQL Error when executing "create table if not exists" #39

Open
sedot42 opened this issue May 16, 2019 · 3 comments
Open

SQL Error when executing "create table if not exists" #39

sedot42 opened this issue May 16, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@sedot42
Copy link

sedot42 commented May 16, 2019

  • MonetDBLite-Python version: 0.6.3
  • Python version: 3.7.3
  • Pip version: 19.0.3
  • Operating System: Arch Linux

Description

I'm trying to execute the following statement:
monetdblite.sql('CREATE TABLE IF NOT EXISTS points (X FLOAT, Y FLOAT, Z FLOAT);')
MonetDBLite yields an error "SQL Query Failed: ParseException:SQLparser:42000!"

I believe this is a bug that was fixed in the Mar2018 release: https://www.monetdb.org/bugzilla/show_bug.cgi?id=6629

@kutsurak kutsurak self-assigned this May 16, 2019
@kutsurak kutsurak added the bug label May 16, 2019
@kutsurak
Copy link
Member

Hi,

Thanks for the report. This is indeed a regression, but it will take some time to fix: probably the week after the next.

@kutsurak kutsurak added this to the 0.6.4 milestone May 20, 2019
@ant1j
Copy link

ant1j commented Jul 10, 2019

Is there a way to know to which version of MonetDB the MonetDBlite is linked to?

@kutsurak
Copy link
Member

kutsurak commented Jul 11, 2019

Hi,

The current release of MonetDBLite-Python (v0.6.3) is based on the August 2018 release of MonetDB. The C library is based on MonetDB code, but has a number of changes, and it needs to be merged by hand every time there is a new MonetDB release. This unfortunately is unsustainable for us.

@PedroTadim has been working the past few months in order to streamline and standardize this process. The idea is that we should have only one codebase that produces all the needed binaries, including the MonetDBLite libraries (see https://github.com/MonetDB/MonetDB/tree/branches/cmake-monetdblite). This is a lot of work, but hopefully will pay off with faster releases and closer integration with MonetDB proper.

Best regards,
Panos.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants