SHREELEKHYA GAMPA created CARBONDATA-4174:
---------------------------------------------

             Summary: Handle exception for desc column
                 Key: CARBONDATA-4174
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4174
             Project: CarbonData
          Issue Type: Bug
            Reporter: SHREELEKHYA GAMPA


Validation not present for children column in desc column for a primitive 
datatype and higher level non existing children column desc column for a 
complex datatype



drop table if exists complexcarbontable; create table complexcarbontable 
(deviceInformationId int,channelsId string,ROMSize string,purchasedate 
string,mobile struct<imei:string, imsi:string>,MAC array<string>,gamePointId 
map<string,string>,contractNumber double) STORED AS carbondata;

describe column deviceInformationId.x on complexcarbontable; describe column 
channelsId.x on complexcarbontable;

describe column mobile.imei.x on complexcarbontable; describe column MAC.item.x 
on complexcarbontable; describe column gamePointId.key.x on complexcarbontable;

[Expected Result] :- Validation should be provided for children column in desc 
column for a primitive datatype and higher level non existing children column 
desc column for a complex datatype. Command execution should fail.

[Actual Issue] : - Validation not present for children column in desc column 
for a primitive datatype and higher level non existing children column desc 
column for a complex datatype. As a result the command execution is successful.

[!https://clouddevops.huawei.com/vision-file-storage/api/file/download/upload-v2/2021/3/21/c71035/7a3b04d78ceb4a489e6c038f4bb257db/image.png!|https://clouddevops.huawei.com/vision-file-storage/api/file/download/upload-v2/2021/3/21/c71035/7a3b04d78ceb4a489e6c038f4bb257db/image.png]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to