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
Describe the bug When DDL has TBLPROPERTIES, result is empty
To Reproduce ddl = """ CREATE EXTERNAL TABLE test ( job_id STRING COMMENT 'test' ) STORED AS PARQUET LOCATION 'hdfs://test' TBLPROPERTIES ( 'parquet.compression'='SNAPPY') """ from simple_ddl_parser import DDLParser parse_results = DDLParser(ddl).run(output_mode="hql")
Expected behavior non empty result
The text was updated successfully, but these errors were encountered:
@kukigai thanks for DDL sample, support for TBLPROPERTIES was not added yet, I will add
Sorry, something went wrong.
another example
ddl = """ CREATE EXTERNAL TABLE test ( test STRING NULL COMMENT 'xxxx', ) STORED AS INPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat' OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat' LOCATION 'hdfs://xxxx' """ from simple_ddl_parser import DDLParser parse_results = DDLParser(ddl).run(output_mode="hql")
test
same, in 0.19.6, test - https://github.com/xnuinside/simple-ddl-parser/blob/main/tests/test_hql_output_mode.py#L1707
No branches or pull requests
Describe the bug
When DDL has TBLPROPERTIES, result is empty
To Reproduce
ddl = """
CREATE EXTERNAL TABLE test (
job_id STRING COMMENT 'test'
)
STORED AS PARQUET LOCATION 'hdfs://test'
TBLPROPERTIES (
'parquet.compression'='SNAPPY')
"""
from simple_ddl_parser import DDLParser
parse_results = DDLParser(ddl).run(output_mode="hql")
Expected behavior
non empty result
The text was updated successfully, but these errors were encountered: