Skip to content

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

Closed

Description

@samuelcolvin

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();
}

Activity

  1. alamb commented on Aug 15, 2024

    @alamb
    Contributor

    Thank you @samuelcolvin -- I will fix this

  2. self-assigned this
    on Aug 15, 2024
  3. changed the title [-]`describe table;` is now invalid, wasn't previously[/-] [+]Regression: `describe table;` is now invalid, wasn't previously[/+] on Aug 15, 2024
  4. alamb commented on Aug 15, 2024

    @alamb
    Contributor

    (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)

  5. alamb commented on Aug 15, 2024

    @alamb
    Contributor

    I think this came in via #1351

  6. alamb commented on Aug 15, 2024

    @alamb
    Contributor

    Proposed fix: #1386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions