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

[GitHub] [incubator-paimon-trino] hiliuxg opened a new pull request, #8: [Feature] trino sink to paimon

hiliuxg opened a new pull request, #8:
URL: https://github.com/apache/incubator-paimon-trino/pull/8

   Motivation
   write data to paimon using trino
   
   Solution
   No response
   
   Anything else?
   No response
   
   Are you willing to submit a PR?
   I'm willing to submit a PR!


-- 
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: [PR] [Feature] trino sink to paimon [incubator-paimon-trino]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed pull request #8: [Feature] trino sink to paimon
URL: https://github.com/apache/incubator-paimon-trino/pull/8


-- 
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: [PR] [Feature] trino sink to paimon [paimon-trino]

Posted by "pklcoder (via GitHub)" <gi...@apache.org>.
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: issues-unsubscribe@paimon.apache.org

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


Re: [PR] [Feature] trino sink to paimon [incubator-paimon-trino]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi commented on PR #8:
URL: https://github.com/apache/incubator-paimon-trino/pull/8#issuecomment-1818423433

   Hi @hiliuxg , do you have time to continue this work?


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