mattmartin14 commented on PR #1534:
URL: https://github.com/apache/iceberg-python/pull/1534#issuecomment-2632109919

   > @mattmartin14 Almost there, we handle a date internally as an `int`. Since 
there is no difference between an `int` and a `long` in Python, we just wrap it 
into a long.
   > 
   > ```python
   >     elif isinstance(value, date):
   >         return (date_to_days(value))
   > ```
   > 
   > Needs to be updated to:
   > 
   > ```python
   >     elif isinstance(value, date):
   >         return LongLiteral(date_to_days(value))
   > ```
   
   Amazing! That worked


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

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