Impala nested inline view produces incorrect result when referencing the same column implicitly

This article explains how to workaround the impala bug: IMPALA-2643. To see what the issue is, have a look at the test case below: We are expecting the two returned numbers should be the same of value “2”. This happens when nested inline view referencing the same column name implicitly. …