jayceslesar opened a new issue, #1456:
URL: https://github.com/apache/iceberg-python/issues/1456

   ### Feature Request / Improvement
   
   in the following `row_filter` in a `scan()` call,
   ```py
   row_filter=And(
               GreaterThanOrEqual("timestamp_received", start_time),
               LessThan("timestamp_received", end_time),
           ),
   ```
   
   the `start_time` and `end_time` variables are `datetime` objects. When 
running a `scan` with that `row_filter` I end up with the error of 
   ```
   TypeError: Invalid literal value: datetime.datetime(2024, 11, 13, 11, 35, 
28, 730000, tzinfo=datetime.timezone.utc)
   ```
   
   Instead, the expressions should correctly cast the `datetime` object instead 
of expecting an `isoformat` string, which is the current behavior


-- 
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]

Reply via email to