-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HiveMetadata.streamTableColumns not to include views
In the absence of explicit documentation, the use place (`io.trino.metadata.MetadataManager#listTableColumns`) defines `streamTableColumns` contract as covering tables only. This commit also supplements explicit documentation in `ConnectorMetadata`. This relates to a logic introduced in `HiveMetadata.doGetTableMetadata` in aafe479 commit. It was practical for hive views and when view translation is not enabled, but was not correct for trino views.
- Loading branch information
Showing
3 changed files
with
24 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters