RussellSpitzer commented on issue #2934: URL: https://github.com/apache/iceberg/issues/2934#issuecomment-894306826
Probably has to do with our supporters metric evaluators, I bet if you debugged the working one spark translates that into some other type. We had a similar issue with new date and local time objects which spark doesn’t generate itself but you can pass through as literals Sent from my iPhone > On Aug 6, 2021, at 9:01 AM, cccs-br ***@***.***> wrote: > > > Thanks for you suggestions. But I added 'USING iceberg' to the create table sql. And also added a test case that wraps the byte array with 'lit'. As suspected, the issue remains. > > The question is: > > why does this one work: > > https://github.com/cccs-br/spark-iceberg-issue/blob/f7811250608df8618fe264cbf340b5d40effba0d/src/test/java/IcebergTests.java#L40 > > ..and this one fails: > > https://github.com/cccs-br/spark-iceberg-issue/blob/f7811250608df8618fe264cbf340b5d40effba0d/src/test/java/IcebergTests.java#L50 > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub, or unsubscribe. -- 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]
