Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,6 @@ public Optional<ConnectorPartitioningHandle> getCommonPartitioningHandle(Connect
}
}

@SuppressWarnings("deprecation")
@Override
public SchemaTableName getSchemaTableName(ConnectorSession session, ConnectorTableHandle table)
{
Span span = startSpan("getSchemaTableName", table);
try (var ignored = scopedSpan(span)) {
return delegate.getSchemaTableName(session, table);
}
}

@Override
public ConnectorTableSchema getTableSchema(ConnectorSession session, ConnectorTableHandle table)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,6 @@ default Optional<ConnectorPartitioningHandle> getCommonPartitioningHandle(Connec
return Optional.empty();
}

/**
* Return schema table name for the specified table handle.
* This method is useful when requiring only {@link SchemaTableName} without other objects.
*
* @throws RuntimeException if table handle is no longer valid
*/
@Deprecated // ... and optimized implementations already removed
default SchemaTableName getSchemaTableName(ConnectorSession session, ConnectorTableHandle table)
{
return getTableSchema(session, table).getTable();
}

/**
* Return table schema definition for the specified table handle.
* This method is useful when getting full table metadata is expensive.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,6 @@ public ConnectorTableSchema getTableSchema(ConnectorSession session, ConnectorTa
}
}

@Override
public SchemaTableName getSchemaTableName(ConnectorSession session, ConnectorTableHandle table)
{
try (ThreadContextClassLoader ignored = new ThreadContextClassLoader(classLoader)) {
return delegate.getSchemaTableName(session, table);
}
}

@Override
public ConnectorTableMetadata getTableMetadata(ConnectorSession session, ConnectorTableHandle table)
{
Expand Down