Skip to content
New issue

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

Implement Hive clusterby/distributeby/sortby in AST #46

Open
h4v0kh3l1 opened this issue Dec 4, 2018 · 0 comments
Open

Implement Hive clusterby/distributeby/sortby in AST #46

h4v0kh3l1 opened this issue Dec 4, 2018 · 0 comments

Comments

@h4v0kh3l1
Copy link
Contributor

Hive offers different ways to order the output, which are captured in the parser (https://github.com/uber/queryparser/blob/master/dialects/hive/src/Database/Sql/Hive/Parser.hs#L1422), but are dropped without representation in the AST.

Add a definition for Hive ASTs in https://github.com/uber/queryparser/blob/master/dialects/hive/src/Database/Sql/Hive/Type.hs, extending the HiveStandardSqlStatement constructor with these sorting definitions.

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

No branches or pull requests

1 participant