pklcoder commented on PR #8:
URL: https://github.com/apache/paimon-trino/pull/8#issuecomment-2948494798
@hiliuxg in paimon1.0 insert into paimon come across the exception in the
code TrinoMetadata.java:
String schema = trinoTableHandle.getSchemaName();
String tableName = trinoTableHandle.getTableName();
Identifier tablePath = new Identifier(schema, tableName);
byte[] serializedTable;
try {
serializedTable =
InstantiationUtil.serializeObject(catalog.getTable(tablePath));
} catch (Catalog.TableNotExistException e) {
return null;
} catch (IOException e) {
throw new UncheckedIOException(e);
}
the code serializedTable =
InstantiationUtil.serializeObject(catalog.getTable(tablePath)); throws
exception:
INSERT INTO paimon.dp_data_db.test_20250116_21 (order_key, orders_tatus,
total_price, order_date)
-> VALUES (CAST(1 AS bigint), 'Completed', CAST(100.50 AS
decimal(18,4)), CAST('2025-01-01' AS date));
Query 20250606_082852_00000_wfigi failed: java.io.NotSerializableException:
io.trino.filesystem.tracing.TracingFileSystem
--
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]