You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ConnectorTableMetadata io.trino.spi.connector.ConnectorMetadata#getTableMetadata needs to be implemented for any ConnectorTableHandle that participates in the query.
However, the it requires that ConnectorTableMetadata.schemaTableName is set.
This does not play well with synthetic table handles as returned from io.trino.spi.connector.ConnectorMetadata#applyAggregation, io.trino.spi.connector.ConnectorMetadata#applyTopN or io.trino.spi.connector.ConnectorMetadata#applyJoin.
We should make ConnectorTableMetadata.schemaTableName optional, or introduce a different API that does not require 'inventing' schema table names.
The text was updated successfully, but these errors were encountered:
findepi
changed the title
ConnectorTableMetadata.schemaTableName should be optional
SchemaTableName should not be required for synthetic ConnectorTableHandle returned from ConnectorMetadata.apply methods
Jan 22, 2021
ConnectorTableMetadata io.trino.spi.connector.ConnectorMetadata#getTableMetadata
needs to be implemented for anyConnectorTableHandle
that participates in the query.However, the it requires that
ConnectorTableMetadata.schemaTableName
is set.This does not play well with synthetic table handles as returned from
io.trino.spi.connector.ConnectorMetadata#applyAggregation
,io.trino.spi.connector.ConnectorMetadata#applyTopN
orio.trino.spi.connector.ConnectorMetadata#applyJoin
.We should make
ConnectorTableMetadata.schemaTableName
optional, or introduce a different API that does not require 'inventing' schema table names.The text was updated successfully, but these errors were encountered: