Skip to content

Commit

Permalink
Deprecate getTableHandle without versions
Browse files Browse the repository at this point in the history
It got superseded by an overload that takes versions in
2a466ed. It should be deprecated since
then. Some connectors (like Iceberg) do not implement the version-less
overload at all.
  • Loading branch information
findepi committed Aug 10, 2023
1 parent 740f5f9 commit 5904423
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ default List<String> listSchemaNames(ConnectorSession session)
* cannot be queried.
* @see #getView(ConnectorSession, SchemaTableName)
* @see #getMaterializedView(ConnectorSession, SchemaTableName)
* @deprecated Implement {@link #getTableHandle(ConnectorSession, SchemaTableName, Optional, Optional)}.
*/
@Nullable
@Deprecated
default ConnectorTableHandle getTableHandle(ConnectorSession session, SchemaTableName tableName)
{
return null;
Expand Down

0 comments on commit 5904423

Please sign in to comment.