Skip to content

can not read row type in trino version 440 #72

Open
@macdoor

Description

@macdoor

Paimon version

paimon-trino-427-0.8-20240512.000527-20-plugin.tar.gz
Trino Version

Trino 440

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

server-440.log.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions