Skip to content

Conversation

@romanoff
Copy link
Contributor

Location isn't required for external tables for hive. Example of query:

CREATE EXTERNAL TABLE my_table (
    c INT
)

Spec:
https://hive.apache.org/docs/latest/language/languagemanual-ddl/?utm_source=chatgpt.com#external-tables

It says: The EXTERNAL keyword lets you create a table and provide a LOCATION so that Hive does not use a default location. It's not very clear, but if location is not specified, it will provide default location.

Comment on lines +570 to +573
#[test]
fn parse_create_external_table_without_location() {
hive().verified_stmt("CREATE EXTERNAL TABLE t (c INT)");
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add this entry to this existing test case instead?

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.

2 participants