Skip to content

Multiple SERDEPROPERTIES fails #126

@mikeskov

Description

@mikeskov

Describe the bug
Entering multiple key/value pairs in SERDEPROPERTIES causes parsing to fail and return empty

To Reproduce
This works:

ddl="CREATE TABLE `x` (`a` STRING) ROW FORMAT SERDE 'my_serde' WITH SERDEPROPERTIES ( 'key1'='value1' )"
DDLParser(ddl,normalize_names=True).run(output_mode="hql")

This doesn't:

ddl="CREATE TABLE `x` (`a` STRING) ROW FORMAT SERDE 'my_serde' WITH SERDEPROPERTIES ( 'key1'='value1', 'key2'='value2' )"
DDLParser(ddl,normalize_names=True).run(output_mode="hql")

Expected behavior
Multiple key/value pairs in SERDEPROPERTIES should in the row format properties dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions