kamiltalipov commented on issue #3026:
URL: https://github.com/apache/iceberg/issues/3026#issuecomment-1144685584

   I would like to add an example where I had to add a fake column in order to 
mitigate the problem. There is a long type column which contains time with 
milliseconds precision. I want to have a partition for every 1000 seconds. 
Unfortunately, `1000 * 10 ** 9` is greater than `Integer.MAX_VALUE`. Trying to 
use this value would lead to error `Unsupported width for transform: 
truncate(1000000000000, message_ts)`. So, to deal with it I added a fake column 
which contains time in seconds, not in milliseconds.


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