You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by roncenzhao <ro...@qq.com> on 2017/02/07 09:55:45 UTC
"Union all" throws "java.lang.ArrayIndexOutOfBoundsException"
// Consider:// SEL_1 (int) SEL_2 (int) SEL_3 (double)// If we first merge SEL_1 and SEL_2 into a UNION_1, and then merge UNION_1// with SEL_3 to get UNION_2, then no SelectOperator will be inserted. Hence error// will happen afterwards. The solution here is to insert one after UNION_1, which// cast int to double.
In 'SemanticAnalyzer.java', we resolve it only if the engine is spark or tez.
But with MR engine, I also encounter this problem.
Would you give me some advices about this problem.
Thanks~