Skip to content

Implement Hive clusterby/distributeby/sortby in AST #46

@h4v0kh3l1

Description

@h4v0kh3l1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions