You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within HQL the following is a valid create table statement:
CREATE TABLE a.b (
`c` array<string>
)
But parsing this with DDLParser emits:
simple_ddl_parser.ddl_parser.DDLParserError: Unknown statement at LexToken(RT,'array<string>',1,23)
Poking through the existing tests and closed issues I see a specific form of array<struct<cola:string,colb:string>> is supported, but it doesn't seem like the generic handling of arrays is working. The hive docs aren't particularly clear, but they show that all data types are valid within the <>, and elsewhere on the page gives a specific example using array<string>.
The text was updated successfully, but these errors were encountered:
Within HQL the following is a valid create table statement:
But parsing this with DDLParser emits:
Poking through the existing tests and closed issues I see a specific form of
array<struct<cola:string,colb:string>>
is supported, but it doesn't seem like the generic handling of arrays is working. The hive docs aren't particularly clear, but they show that all data types are valid within the <>, and elsewhere on the page gives a specific example usingarray<string>
.The text was updated successfully, but these errors were encountered: