Closed djouallah closed 6 months ago
KeyError: 'f'
Feels like it's treating the string as a list of characters. I think selected_fields
should be a tuple of strings.
table.scan(selected_fields=('file',),).to_pandas()
Notice the ,
after 'file'
, which turns it into a tuple
>>> type(('file'))
<class 'str'>
>>> type(('file',))
<class 'tuple'>
Because python :)
Thanks !!! sorry for the noise
Apache Iceberg version
0.6.0 (latest release)
Please describe the bug 🐞
running this
table.scan(selected_fields=('file'),).to_pandas()
i get this errorthe field exist for sure, i tried with other columns , same error