Skip to content

Fix Athena Glue table compatibility issue#15993

Merged
highker merged 1 commit intoprestodb:masterfrom
v-jizhang:aws_tabletype
May 20, 2021
Merged

Fix Athena Glue table compatibility issue#15993
highker merged 1 commit intoprestodb:masterfrom
v-jizhang:aws_tabletype

Conversation

@v-jizhang
Copy link
Contributor

@v-jizhang v-jizhang commented Apr 23, 2021

Cherry pick of Trino trinodb/trino#1343,
Athena is fine reading Glue tables that have no table type set.
Currently Presto set to default OTHER but Athena tables are external:
https://docs.aws.amazon.com/athena/latest/ug/drop-table.html so set
the table type to EXTERNAL if it is unset.

Co-authored-by: Henning Schmiedehausen henning@schmiedehausen.org

== RELEASE NOTES ==
Hive Changes
* Allow accessing tables in Glue metastore that do not have a table type.

Cherry pick of Trino trinodb/trino#1343,
Athena is fine reading Glue tables that have no table type set.
Currently Presto set to default OTHER but Athena tables are external:
https://docs.aws.amazon.com/athena/latest/ug/drop-table.html so set
the table type to EXTTERNAL if it is unset.

Co-authored-by: Henning Schmiedehausen <henning@schmiedehausen.org>
Copy link
Contributor

@aweisberg aweisberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a release note. This is a fix.

@v-jizhang
Copy link
Contributor Author

Please add a release note. This is a fix.

Added release note.

@aweisberg aweisberg requested a review from highker May 19, 2021 16:33
@highker highker self-assigned this May 20, 2021
@highker highker merged commit 6681e91 into prestodb:master May 20, 2021
@sujay-jain sujay-jain mentioned this pull request May 21, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants