HIVE-17562 is generating incorrect results intermittently. Also derived tables with default file format set to ORC is resulting in AIOB exception.
1) Intermittent issue happens based on the order of selection of bucket file for ETL split strategy. Flipping the covered boolean flag looks error prone. The test case always passed when bucket_00000 is analyzed first. When bucket_00001 is analyzed first duplicate rows were generated.
2) Some internal test revealed a test failure with ArrayIndexOutOfBounds exception which happens for non-bucketed table.