southernriver opened a new pull request, #5335:
URL: https://github.com/apache/iceberg/pull/5335

   Transform is not supported for upper case, otherwise throw SQLException as 
follow:
   ```
   java.sql.SQLException: java.util.concurrent.ExecutionException: 
java.lang.RuntimeException: java.lang.UnsupportedOperationException: Transform 
is not supported: HOURS(timestamp_)
   at org.apache.iceberg.spark.Spark3Util.toPartitionSpec(Spark3Util.java:423)
   at org.apache.iceberg.spark.SparkCatalog.createTable(SparkCatalog.java:156)
   at org.apache.iceberg.spark.SparkCatalog.createTable(SparkCatalog.java:98)
   at 
org.apache.iceberg.spark.SparkSessionCatalog.createTable(SparkSessionCatalog.java:139)
   at 
org.apache.spark.sql.execution.datasources.v2.CreateTableExec.run(CreateTableExec.scala:41)
   ```
   
   Since Spark side never check upper or lower case and SQL parse is ok,  we 
could ignore case for iceberg side.


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