You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "macdoor (via GitHub)" <gi...@apache.org> on 2024/05/13 03:05:44 UTC

[I] can not read row type in trino version 446 [paimon-trino]

macdoor opened a new issue, #72:
URL: https://github.com/apache/paimon-trino/issues/72

   Paimon version
   
   `paimon-trino-427-0.8-20240512.000527-20-plugin.tar.gz
   `
   Trino Version
   
   Trino 446
   ```
   java version "22.0.1" 2024-04-16
   Java(TM) SE Runtime Environment Oracle GraalVM 22.0.1+8.1 (build 22.0.1+8-jvmci-b01)
   Java HotSpot(TM) 64-Bit Server VM Oracle GraalVM 22.0.1+8.1 (build 22.0.1+8-jvmci-b01, mixed mode, sharing)
   ```
   
   Querying data from the following table returns exception
   ```
   CREATE TABLE apisix_log (
     id               string,
     upstream         string,
     start_time       timestamp(3),
     client_ip        string,
     service_id       string,
     route_id         string,
     request          row<
       url            string,
       headers        string,
       body           string,
       size           bigint,
       querystring    string,
       uri            string,
       `method`       string
     >,
     response         row<
       status         bigint,
       headers        string,
       body           string,
       size           bigint
     >,
     server           row<
       hostname       string,
       version        string
     >,
     latency          double,
     apisix_latency   double,
     upstream_latency double,
     dt               string,
     WATERMARK FOR start_time AS start_time
   )  comment 'APISIX kafka-logger 原始日志数据' PARTITIONED BY (dt) with (
     'bucket' = '6'
   );
   ```
   
   Client exception
   ```
   [2024-05-12 15:35:34] [65536] Query failed (#20240512_073511_00085_uwx8s): 'io.trino.spi.block.Block io.trino.spi.block.RowBlock.fromFieldBlocks(int, java.util.Optional, io.trino.spi.block.Block[])'
   [2024-05-12 15:35:34] java.lang.NoSuchMethodError: 'io.trino.spi.block.Block io.trino.spi.block.RowBlock.fromFieldBlocks(int, java.util.Optional, io.trino.spi.block.Block[])'
   ```
   Server exception
   [server.log.zip](https://github.com/apache/paimon-trino/files/15288948/server.log.zip)
   
   
   


-- 
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] can not read row type in trino version 440 [paimon-trino]

Posted by "leaves12138 (via GitHub)" <gi...@apache.org>.
leaves12138 commented on issue #72:
URL: https://github.com/apache/paimon-trino/issues/72#issuecomment-2121612067

   resolved in https://github.com/apache/paimon-trino/pull/73


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


Re: [I] can not read row type in trino version 440 [paimon-trino]

Posted by "leaves12138 (via GitHub)" <gi...@apache.org>.
leaves12138 commented on issue #72:
URL: https://github.com/apache/paimon-trino/issues/72#issuecomment-2117092455

   Problem at StructColumnReader, paimon plugin include StructColumnReader not match orc-spi version.


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