RussellSpitzer commented on issue #14091:
URL: https://github.com/apache/iceberg/issues/14091#issuecomment-3304587307

   This should be a relatively easy fix for someone who wants to check it out
   
   
https://github.com/apache/iceberg/blob/7eef46da0d00edb79b20d24cb7806f6ea8da4000/spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/actions/SparkZOrderUDF.java#L312-L314
   
   Is casting a Date to a Long which previously got Unix Date. In 4.0 this has 
changed and now we need to explicitly use
   ```org.apache.spark.sql.functions.unix_date```
   
   To get the same thing to happen
   
   So the fix should be pretty easy, I'll leave adding a relevant test as an 
exercise for whoever wants to take this on. I think this would be a good issue 
for a first time contributor.


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