Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL lexical error #6454

Closed
monetdb-team opened this issue Nov 30, 2020 · 0 comments
Closed

SQL lexical error #6454

monetdb-team opened this issue Nov 30, 2020 · 0 comments
Labels
bug Something isn't working normal SQL

Comments

@monetdb-team
Copy link

Date: 2017-10-27 12:59:01 +0200
From: @mlkersten
To: SQL devs <>
Version: -- development
CC: @njnes

Last updated: 2017-12-14 14:46:03 +0100

Comment 25816

Date: 2017-10-27 12:59:01 +0200
From: @mlkersten

User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Build Identifier:

Create a function whose name is 'prep' then the function table is extended with a function called 'prepare', modifying the intended name.

Reproducible: Always

Steps to Reproduce:

create function prep()
returns table(z integer)
language python{
res = dict()
res.append([1])
return res
};

Comment 25817

Date: 2017-10-27 12:59:42 +0200
From: @mlkersten

....

| 8299 | prepare | { | pyapi | 6 | 5 | false | false | false | 2000 |
: : : res = dic : : : : : : : :
: : : t() : : : : : : : :
: : : res.appen : : : : : : : :
: : : d([1])... > : : : : : : :
+------+-------

Comment 25822

Date: 2017-10-30 08:59:28 +0100
From: @njnes

indeed prep is a alias for prepare. We should make this more context aware

Comment 25824

Date: 2017-10-30 22:05:49 +0100
From: MonetDB Mercurial Repository <>

Changeset 0d0613bfa3f3 made by Niels Nes niels@cwi.nl in the MonetDB repo, refers to this bug.

For complete details, see https//devmonetdborg/hg/MonetDB?cmd=changeset;node=0d0613bfa3f3

Changeset description:

handle PREP / PREPARE and EXEC / EXECUTE seperately (fixes bug #6454)
@monetdb-team monetdb-team added bug Something isn't working normal SQL labels Nov 30, 2020
@sjoerdmullender sjoerdmullender added this to the Ancient Release milestone Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working normal SQL
Projects
None yet
Development

No branches or pull requests

2 participants