flyrain commented on pull request #3933:
URL: https://github.com/apache/iceberg/pull/3933#issuecomment-1017950666


   +1 for the solution. It should be pretty useful in the following scenario. 
The table only have a timestamp column, but want to partitioned by year/date.
   ```
   CREATE TABLE %s (id Integer, name String, dept String, ts Timestamp) USING 
iceberg PARTITIONED BY year(ts)
   CREATE TABLE %s (id Integer, name String, dept String, ts Timestamp) USING 
iceberg PARTITIONED BY date(ts)
   ```


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