• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / carbondata / 1870
76%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2019 12:57PM UTC
Jobs 1
Files 1067
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1870

push

jenkins

kunal642
[CARBONDATA-3478]Fix ArrayIndexOutOfBound Exception on compaction after alter operation

Problem:
In case of alter add, drop, rename operation, restructuredBlockExists will be true.
Currently, to get RawResultIterator for a block, we check if block has ColumnDrift
or not, by comparing SegmentProperties and columndrift columns.
SegmentProperties will be formed based on restructuredBlockExists.
if restructuredBlockExists is true, we will take current column schema to form SegmentProperties,
else, we will use datafilefooter columnschema to form SegmentProperties.

In the example given in CARBONDATA-3478 for both blocks, we use current column
schema to form SegmentProperties, as restructuredBlockExists will be true.
Hence, while iterating block 1, it throws ArrayIndexOutOfBound exception,
as it uses RawResultIterator instead of ColumnDriftRawResultIterator

Solution:
Use schema from datafilefooter of each block to check if it has columndrift or not

This closes #3337

65023 of 83721 relevant lines covered (77.67%)

1.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1870.1 01 Aug 2019 12:57PM UTC 0
77.67
Source Files on build 1870
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #1870
  • c8cc92b6 on github
  • Prev Build on master (#1869)
  • Next Build on master (#188)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc