[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

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

[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

Akash R Nilugal (Jira)

     [ 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 secondary index table. Query failed and the log displays java.lang.IndexOutOfBoundsException: Index:0, Size:0.  (was: 1、In the tablestatus of the secondary 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!!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 secondary 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)