[jira] [Updated] (CARBONDATA-4144) After the alter table xxx compact command is executed, the index size of the segment is 0, and an error is reported while quering

Posted by Akash R Nilugal (Jira) on
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/jira-Updated-CARBONDATA-4144-After-the-alter-table-xxx-compact-command-is-executed-the-index-size-ofg-tp106597.html


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

liuhe0702 updated CARBONDATA-4144:
----------------------------------
    Description: When 'alter table xxx compact ...' command is executed, the value of segmentFile is 13010.1_null.segment, and the values of indexSize and dataSize are 0 in the tablestatus file of the second index table. Query failed and the log displays java.lang.IndexOutOfBoundsException: Index:0, Size:0.  (was: 1、In the tablestatus of the second index table, the value of indexSize is 0 and segmentFile is xxx_null.segment.

!https://dts-szv.clouddragon.huawei.com/v1/downLoadFile?filePath=liuhe%2000450496/image/20201026111100.jpg!

2、query failed

​!/net/dts/fckeditor/download.ashx?Path=HXE3plWtEstOcBZ8qldKhWFgc8703rzjttf0DP3ccTTJ21FmQMM2WBKlMMiV1tu7Q%2bCX9IYzuiC2ZDlw22gp5wmAKdaHmUvtbQCfVF70yuXj3LoG3neGY7nF%2b%2bxEd9Mv|width=1280,height=807!!image-2021-03-09-17-09-29-077.png|width=15,height=15!​​!https://dts.huawei.com/net/dts/fckeditor/download.ashx?Path=HXE3plWtEstOcBZ8qldKhWFgc8703rzjttf0DP3ccTTJ21FmQMM2WBKlMMiV1tu7Q%2bCX9IYzuiC2ZDlw22gp5wmAKdaHmUvtbQCfVF70yuXj3LoG3neGY7nF%2b%2bxEd9Mv!)

> After the alter table xxx compact command is executed, the index size of the segment is 0, and an error is reported while quering
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-4144
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-4144
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-load
>    Affects Versions: 1.6.1, 2.0.0, 2.1.0
>            Reporter: liuhe0702
>            Priority: Major
>
> When 'alter table xxx compact ...' command is executed, the value of segmentFile is 13010.1_null.segment, and the values of indexSize and dataSize are 0 in the tablestatus file of the second index table. Query failed and the log displays java.lang.IndexOutOfBoundsException: Index:0, Size:0.



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