chenchurong opened a new issue, #11231:
URL: https://github.com/apache/gravitino/issues/11231
### Version
main branch
### Describe what's wrong
Gravitino version: 1.2.0
spark version : 3.3.1
gravitino-spark-connector-runtime-3.3_2.12-1.2.0.jar this jar was put into
$SPARK_HOME/jars and then i use spark to get table info (Doris & Postgres) from
gravitino, then issue happend
### Error message and/or stacktrace
scala> spark.sql("show create table
postgresql.ai.t_chaos_ai_chat_memory").show
java.lang.UnsupportedOperationException: Not support
TimestampType{withTimeZone=false, precision=6}
at
org.apache.gravitino.spark.connector.SparkTypeConverter.toSparkType(SparkTypeConverter.java:191)
at
org.apache.gravitino.spark.connector.jdbc.SparkJdbcTypeConverter.toSparkType(SparkJdbcTypeConverter.java:37)
at
org.apache.gravitino.spark.connector.utils.GravitinoTableInfoHelper.lambda$schema$0(GravitinoTableInfoHelper.java:89)
at
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at
java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
### How to reproduce
1.2.0
### Additional context
use spark to execute show create table from gravitino(postgres), everything
was ok when i use gravitino`s webui to get pg`s metadata
--
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]