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

like_nlike_with_null_lt fails with latest sqlparser code #3187

Closed
andygrove opened this issue Aug 17, 2022 · 2 comments
Closed

like_nlike_with_null_lt fails with latest sqlparser code #3187

andygrove opened this issue Aug 17, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@andygrove
Copy link
Member

Describe the bug

thread 'sql::expr::like_nlike_with_null_lt' panicked at 'called `Result::unwrap()` on an `Err` value: "SQL(ParserError(\"Expected a concrete value, found: column1\")) at Creating logical plan for 'SELECT column1 like NULL as col_null, NULL like column1 as null_col from (values('a'), ('b'), (NULL)) as t'"', datafusion/core/tests/sql/mod.rs:758:10

To Reproduce
I'm seeing this on a PR that uses the latest sqlparser

Expected behavior
Should pass

Additional context
Non

@andygrove andygrove added the bug Something isn't working label Aug 17, 2022
@andygrove andygrove self-assigned this Aug 17, 2022
@andygrove
Copy link
Member Author

Root cause: apache/datafusion-sqlparser-rs#578

@andygrove
Copy link
Member Author

Fixed as part of #3192

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

No branches or pull requests

1 participant