CREATE TABLE `default`.`table4` (
`full_name` array<string>,
`deductions` map<string, bigint>,
`address` struct<flat_no:int,landmark:array<string>>)
COMMENT 'table contains complex data type'
ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' COLLECTION ITEMS TERMINATED BY '#' MAP KEYS TERMINATED BY '$'
STORED AS TEXTFILE
TBLPROPERTIES ('COLUMN_STATS_ACCURATE'='{\"BASIC_STATS\":\"true\"}', 'numFiles'='0', 'numRows'='0', 'rawDataSize'='0', 'totalSize'='0')
GO
ADS | Observation |
v15 | Y |
v16 | Y |
v17 | Y |
Y: Issue is observed. |
![]() |
186 B
|
294 KB
|
136 KB
|
161 KB
|
104 KB
|
83 KB
|
110 KB
svn# 54188 - Added quotes to the children of complex statements like struct.
Hi Umesh, Please test this across different connection types. This should work for children of complex types. See attachment. Realize that some distributions like Cloudera allow a dot in a column name. See attached. In this case the the whole name should be quoted. Let me know if you have questions. Thanks, Tom
Verified in ADS 19.0.0-dev-38
Cloudera5.8 - Hive[default ads drivers 1.1] - screenshot
hortonworks2.5 - Sparksql1.6[default ads drivers 1.1] - screenshot
Cloudera allow a dot in a column name but select query not works in ads as well as beeline - screenshot
Verified in ADS 19.0.0-dev-38
Cloudera5.8 - Hive[default ads drivers 1.1] - screenshot
hortonworks2.5 - Sparksql1.6[default ads drivers 1.1] - screenshot
Cloudera allow a dot in a column name but select query not works in ads as well as beeline - screenshot
Issue #14810 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 19.0.0-dev-38 |
No time estimate |
svn# 54188 - Added quotes to the children of complex statements like struct.
Hi Umesh, Please test this across different connection types. This should work for children of complex types. See attachment. Realize that some distributions like Cloudera allow a dot in a column name. See attached. In this case the the whole name should be quoted. Let me know if you have questions. Thanks, Tom