[jira] [Resolved] (CARBONDATA-4174) Handle exception for desc column

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CARBONDATA-4174) Handle exception for desc column

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ajantha Bhat resolved CARBONDATA-4174.
--------------------------------------
    Fix Version/s: 2.2.0
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> 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)