172403678 opened a new issue #1914:
URL: https://github.com/apache/iceberg/issues/1914


   select count() from prod.iceberg_db.bofangzt;
   20/12/11 19:56:02 ERROR thriftserver.SparkSQLDriver: Failed in [select 
count() from prod.iceberg_db.bofangzt]
   java.lang.UnsupportedOperationException: Spark does not support timestamp 
without time zone fields
   at 
org.apache.iceberg.spark.TypeToSparkType.primitive(TypeToSparkType.java:111)
   at 
org.apache.iceberg.spark.TypeToSparkType.primitive(TypeToSparkType.java:45)
   at org.apache.iceberg.types.TypeUtil.visit(TypeUtil.java:389)
   at org.apache.iceberg.types.TypeUtil.visit(TypeUtil.java:343)
   at org.apache.iceberg.types.TypeUtil.visit(TypeUtil.java:331)
   at org.apache.iceberg.spark.SparkSchemaUtil.convert(SparkSchemaUtil.java:96)
   at org.apache.iceberg.spark.source.SparkTable.schema(SparkTable.java:102)
   at 
org.apache.spark.sql.execution.datasources.v2.DataSourceV2Relation$.create(DataSourceV2Relation.scala:150)


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

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