xnuinside/simple-ddl-parser

Multi partition is not handled

kukigai opened this issue · 3 comments

Describe the bug
Multi partition is not handled

To Reproduce
ddl = """
CREATE EXTERNAL TABLE test (
test STRING NULL COMMENT 'xxxx',
)
PARTITIONED BY (snapshot STRING, cluster STRING)
STORED AS PARQUET LOCATION 'hdfs://xxxx';
"""
from simple_ddl_parser import DDLParser
parse_results = DDLParser(ddl).run(output_mode="hql")

Expected behavior
non empty json response

I will take care on all issues tomorrow, if you have something else - feel free to add samples, to add more in second release :) and thanks for the reports one more time @kukigai

@xnuinside this is all i found. Thanks for your quick turnaround!