djouallah opened a new issue, #7012:
URL: https://github.com/apache/iceberg/issues/7012
### Apache Iceberg version
main (development)
### Query engine
Other
### Please describe the bug 🐞
using this code to read some data from Tabular
```
from pyiceberg.expressions import GreaterThanOrEqual
scan = taxi.scan(
row_filter=GreaterThanOrEqual("extra_surcharges", 100),
selected_fields=("vendor_id", "pickup_time", "dropoff_time")
)
parquet_list = [task.file.file_path for task in scan.plan_files()]
con= scan.to_duckdb('xxx')
con.sql('select * from xxx')
```
I get this error
```
/usr/local/lib/python3.8/dist-packages/pyarrow/_compute.pyx in
pyarrow._compute.Expression.__bool__()
ValueError: An Expression cannot be evaluated to python True or False. If
you are using the 'and', 'or' or 'not' operators, use '&', '|' or '~' instead.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]