Open
Description
Apache Iceberg version
0.7.1 (latest release)
Please describe the bug 🐞
I have a table with column business_time_hour (all lower case). If I capitalize one character, to_pandas() (and to_arrow()) fails. My code is snippet is:
from pyiceberg import catalog
cat = catalog.load_catalog(**{'type':'glue'})
table = cat.load_table('namespace' + '.' + 'table')
scan = table.scan(row_filter = "business_time_Hour = '2024-09-15 05:00:00'", case_sensitive = False)
The above line passes
df = scan.to_pandas()
The above line fails with the following message
ValueError: Could not find field with name business_time_Hour, case_sensitive=True
Please note that 1. I set case_sensitive to False in the scan method. 2. character 'H' in business_time_hour is capitalized while the actual column name has all lower case letters.
Metadata
Metadata
Assignees
Labels
No labels
Activity