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: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to