wwqwq2313 commented on issue #1456: URL: https://github.com/apache/iceberg-python/issues/1456#issuecomment-2557453307
Hello, we tried to solve the issue. This is what we did: Modify the to_bytes function for TimestampType and TimestamptzType to handle datetime objects directly, converting them to microseconds since epoch. This change allows the row_filter to accept datetime objects without requiring conversion to isoformat strings. You can review changes in this commit: https://github.com/wwqwq2313/apache-iceberg-python-1456/commit/83e0ccc6283b4d711797e3393a239f32e2f9dd8f. > [!CAUTION] > Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only. --- If you no longer want Latta AI to attempt solving issues on your repository, you can block this account. -- 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