RussellSpitzer edited a comment on issue #2838:
URL: https://github.com/apache/iceberg/issues/2838#issuecomment-882620963


   
https://github.com/apache/iceberg/blob/0c50b2074cd5dad59bbcb4b4599ec3ae11a34b49/api/src/main/java/org/apache/iceberg/transforms/Bucket.java#L55-L58
   
   Issue is probably that we are using internally a BucketLong, but advertising 
to Spark that we require a Timestamp Type. Spark gives us a timestamp and we 
bail because we try to then do a raw cast to apply the function. Can you test 
with "LongType" instead? We probably will have to patch this though ... There 
are no tests in TestIcebergSpark for these datatypes.


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

Reply via email to