fusion2222 commented on issue #1045: URL: https://github.com/apache/iceberg-python/issues/1045#issuecomment-2614600767
At this point I looked on code 4 hours about how to adjust unit test mentioned by @kevinjqliu. But code is so complicated and it is hard to navigate for a newcomer. Even if I correct assertion for throwing exception with message `"Column 'quux' has an unsupported type: timestamp[ns, tz=UTC]"`, there is still assertion for warning: ``` Iceberg does not yet support 'ns' timestamp precision. Use 'downcast-ns-timestamp-to-us-on-write' configuration property to automatically downcast 'ns' to 'us' on write.`. ``` This is triggered by `pyiceberg.io.pyarrow._ConvertToIceberg.primitive` somewhere deep in `Table.add_files`. Code does not have sensible comments explain **why** this warning is shown. Is this some sort of limit in some 3rd party library? Or something else? -- 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