simple-ddl-parser
simple-ddl-parser copied to clipboard
Nest field like STRUCT with COMMENT is not handled
I tried latest version simple-ddl-parser==0.26.4 but didn't work.
Sample schema.
CREATE EXTERNAL TABLE aaa.bbb ( test ARRAY<STRUCT<xyz: STRING COMMENT 'xxxxxx', date: STRING COMMENT 'xxxxxxx'>> COMMENT 'xxxxxx', ) COMMENT 'xxxxx' PARTITIONED BY (date STRING) STORED AS PARQUET LOCATION 's3://xxxxx'
When COMMENT is removed, it worked fine.
@kukigai thanks for reporting the issue, I will take a look
@xnuinside
Thanks! This is blocking my work so if you are busy, let me know. I could see if I can send PR.
@kukigai yeah, I don't have a time last days :/ because of work project, and not sure what will have a time till weekends
Is there any update on this? This is an important use case for us with struct columns having comments.