Remove deprecated methods from JdbcTableHandle#13654
Conversation
edb917f to
0a41656
Compare
3ae02bf to
e668c5b
Compare
|
Squashed commits and fixed CI. |
|
How did you decide on when to use |
plugin/trino-postgresql/src/main/java/io/trino/plugin/postgresql/PostgreSqlClient.java
Outdated
Show resolved
Hide resolved
e668c5b to
ddc2879
Compare
This is a really good question, and I'm probably not the best person to answer it (CC: @findepi). But I can share my understanding:
To summarize, you need to know what state your table is in at the time of use (synthetic or non-synthetic) before you can choose whether to use |
plugin/trino-base-jdbc/src/test/java/io/trino/plugin/jdbc/TestJdbcClient.java
Outdated
Show resolved
Hide resolved
|
I agree with your understanding of the usages @tangjiangling . However to me this seems like the API around JdbcTableHandle should be revisited at some point. The table handle today is basically a single class which can represent two different types of objects - actual tables as they exist in remote database or something represented by a We'll discuss with Piotr once he's back and follow-up accordingly. This PR looks good to me. |
ddc2879 to
adb77cf
Compare
|
(Fixed CI) |
|
CI hit #13362 |
20520f2 to
436f23d
Compare
|
(Cherry-pick to resolve conflicts) |
436f23d to
582a766
Compare
|
(Cherry-pick to resolve conflicts again) |
|
Thanks. I did check that all the deprecations have been there for at-least 2 years now (almost since the Trino rename). |
Related issues, pull requests, and links
Fixes #6797
Documentation
(x) No documentation is needed.
Release notes
(x) No release notes entries required.