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

Regression: describe table; is now invalid, wasn't previously #1385

Closed
samuelcolvin opened this issue Aug 15, 2024 · 4 comments · Fixed by #1386
Closed

Regression: describe table; is now invalid, wasn't previously #1385

samuelcolvin opened this issue Aug 15, 2024 · 4 comments · Fixed by #1386
Assignees
Labels
bug Something isn't working

Comments

@samuelcolvin
Copy link
Contributor

While working on apache/datafusion#12014 I noticed that

describe table;

Is now invalid SQL, presumably table is now a keyword or similar now?

Error:

ParserError("Expected: identifier, found: ; at Line: 1, Column: 15"

Simple failing test:

#[test]
fn test_describe_table() {
    Parser::parse_sql(&GenericDialect {}, "describe table;").unwrap();
}
@alamb
Copy link
Contributor

alamb commented Aug 15, 2024

Thank you @samuelcolvin -- I will fix this

@alamb alamb self-assigned this Aug 15, 2024
@alamb alamb changed the title describe table; is now invalid, wasn't previously Regression: describe table; is now invalid, wasn't previously Aug 15, 2024
@alamb alamb added the bug Something isn't working label Aug 15, 2024
@alamb
Copy link
Contributor

alamb commented Aug 15, 2024

(note this code has not been released yet so this does not affect 0.49.0 or earier and we plan to fix it prior to releasing 0.50.0)

@alamb
Copy link
Contributor

alamb commented Aug 15, 2024

I think this came in via #1351

@alamb
Copy link
Contributor

alamb commented Aug 15, 2024

Proposed fix: #1386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants