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

WITH clause is not allowed in derived table #3043

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

WITH clause is not allowed in derived table #3043

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

Comments

@monetdb-team
Copy link

@monetdb-team monetdb-team commented Nov 30, 2020

Date: 2012-02-24 17:38:55 +0100
From: Gatis Ozolins <<g.ozolins>>
To: SQL devs <>
Version: 11.7.5 (Dec2011) [obsolete]
CC: @njnes

Last updated: 2012-03-16 14:56:51 +0100

Comment 16990

Date: 2012-02-24 17:38:55 +0100
From: Gatis Ozolins <<g.ozolins>>

User-Agent: Mozilla/5.0 (Windows; Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/9.0
Build Identifier: Dec2011

This should be valid SQL

Reproducible: Always

Steps to Reproduce:

SELECT * FROM (
WITH x AS (SELECT 1)
SELECT * FROM x
) y

Actual Results:

42000!syntax error, unexpected WITH in: "select *
from (with"

Expected Results:

1

Comment 16993

Date: 2012-02-25 09:45:17 +0100
From: @njnes

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

For complete details, see http//devmonetdborg/hg/MonetDB?cmd=changeset;node=c0f7bbcff9ec

Changeset description:

added with in 'derived tables' see bug #3043

Comment 17092

Date: 2012-03-16 14:56:51 +0100
From: @grobian

Released in Dec2011-SP2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant