You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "groobyming (via GitHub)" <gi...@apache.org> on 2023/09/12 09:38:50 UTC

[GitHub] [incubator-paimon-trino] groobyming opened a new issue, #31: Query error when defining column as timestamp_ltz

groobyming opened a new issue, #31:
URL: https://github.com/apache/incubator-paimon-trino/issues/31

   Trino version: 382
   paimon jar: paimon-trino-370-0.5-20230907.000855-113.jar
   https://repository.apache.org/snapshots/org/apache/paimon/paimon-trino-370/0.5-SNAPSHOT/
   
   Table Schema:
   <img width="813" alt="image" src="https://github.com/apache/incubator-paimon-trino/assets/34335395/5ec907df-5efb-46d8-a249-868dbfe74a91">
   
   
   Query Sql:
   <img width="987" alt="image" src="https://github.com/apache/incubator-paimon-trino/assets/34335395/0879805d-2ea2-4363-be4a-3d6c90276670">
   
   
   Error:
   ```
   2023-09-12T17:28:42.610+0800    DEBUG   stage-scheduler io.trino.execution.QueryStateMachine    Query 20230912_092836_00011_qb5pf failed
   io.trino.spi.TrinoException: Unhandled type for long: timestamp(3) with time zone
           at org.apache.paimon.trino.TrinoPageSourceBase.appendTo(TrinoPageSourceBase.java:187)
           at org.apache.paimon.trino.TrinoPageSourceBase.nextPage(TrinoPageSourceBase.java:138)
           at org.apache.paimon.trino.TrinoPageSourceBase.lambda$getNextPage$0(TrinoPageSourceBase.java:119)
           at org.apache.paimon.trino.ClassLoaderUtils.runWithContextClassLoader(ClassLoaderUtils.java:30)
           at org.apache.paimon.trino.TrinoPageSourceBase.getNextPage(TrinoPageSourceBase.java:116)
           at io.trino.operator.TableScanOperator.getOutput(TableScanOperator.java:311)
           at io.trino.operator.Driver.processInternal(Driver.java:410)
           at io.trino.operator.Driver.lambda$process$10(Driver.java:313)
           at io.trino.operator.Driver.tryWithLock(Driver.java:698)
           at io.trino.operator.Driver.process(Driver.java:305)
           at io.trino.operator.Driver.processForDuration(Driver.java:276)
           at io.trino.execution.SqlTaskExecution$DriverSplitRunner.processFor(SqlTaskExecution.java:1092)
           at io.trino.execution.executor.PrioritizedSplitRunner.process(PrioritizedSplitRunner.java:163)
           at io.trino.execution.executor.TaskExecutor$TaskRunner.run(TaskExecutor.java:488)
           at io.trino.$gen.Trino_382_bk_1_0_1____20230912_092719_2.run(Unknown Source)
           at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
           at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
           at java.base/java.lang.Thread.run(Thread.java:829)
   ```


-- 
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: issues-unsubscribe@paimon.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Query error when defining column as timestamp_ltz [incubator-paimon-trino]

Posted by "groobyming (via GitHub)" <gi...@apache.org>.
groobyming closed issue #31: Query error when defining column as timestamp_ltz
URL: https://github.com/apache/incubator-paimon-trino/issues/31


-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org