We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreateTable.location
AlterTable.location
CreateTable.location has no documentation and is a tricky edge case, not always set even when SQL statement did set location.
https://docs.rs/sqlparser/latest/sqlparser/ast/struct.CreateTable.html#structfield.location
Since this took some time to figure out, here's what I've found for others also pondering its role:
CREATE EXTERNAL TABLE .. LOCATION 'foo'
CREATE TABLE .. LOCATION 'foo'
CreateTable.hive_formats.location
ALTER TABLE .. LOCATION
Maybe make Hive syntax use the top-level location field?
location
The text was updated successfully, but these errors were encountered:
Somewhat similar issue about CREATE DATABASE .. LOCATION: #453
CREATE DATABASE .. LOCATION
Sorry, something went wrong.
No branches or pull requests
CreateTable.location
has no documentation and is a tricky edge case, not always set even when SQL statement did set location.https://docs.rs/sqlparser/latest/sqlparser/ast/struct.CreateTable.html#structfield.location
Since this took some time to figure out, here's what I've found for others also pondering its role:
CREATE EXTERNAL TABLE .. LOCATION 'foo'
setsCreateTable.location
CREATE TABLE .. LOCATION 'foo'
setsCreateTable.hive_formats.location
ALTER TABLE .. LOCATION
setsAlterTable.location
AlterTable.location
types are about Hive, and is thus a bit confusing for external tables: https://docs.rs/sqlparser/latest/sqlparser/ast/enum.Statement.html#variant.AlterTable.field.locationMaybe make Hive syntax use the top-level
location
field?The text was updated successfully, but these errors were encountered: