Cannot fetch Oracle Sequence via trino #13873
-
In Oracle, we use sequence to generate an incremental id like below:
Then I found that this id could not be reached by Trino. With the help of DBVisualizer, we can obviously find that the id does not show up in the columns of test_table.
trino-jdbc-357.jar Could anyone help on this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The cause is I would recommend reading https://trino.io/docs/current/connector/oracle.html#number-to-decimal-configuration-properties. Unsupported type wouldn't appear in the connector. Also, I would recommend upgrading the Trino version. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. |
Beta Was this translation helpful? Give feedback.
The cause is
number
type rather thansequence
.I would recommend reading https://trino.io/docs/current/connector/oracle.html#number-to-decimal-configuration-properties. Unsupported type wouldn't appear in the connector. Also, I would recommend upgrading the Trino version.