-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
query result empty when a struct field name and a regular field name is same #8456
Comments
Thank you for the report @anlihust (and the reproducer) In particular using
|
Hello @alamb , I attempted a fix for this . |
Thanks @manoj-inukolunu -- I will check out #8848 shortly |
Describe the bug
When a struct field name is the same as a regular field name, and the struct is declared before the regular field, it can cause issues when the field name in where clause
To Reproduce
construct a parquet file ,write 2 records as follow
when execute sql
select * from base_table where name='test01'
,will got empty resulthere is the bug demo
https://github.com/anlihust/datafusion_demo/blob/main/src/main.rs
Expected behavior
when execute sql
select * from base_table where name='test01'
,get the test01 recordAdditional context
No response
The text was updated successfully, but these errors were encountered: