kylin
kylin copied to clipboard
[KYLIN-5215] Fix Kylin pushdown query and Cube query is inconsistent
Fix columnMetas information returned by Kylin pushdown query and Cube query is inconsistent
Proposed changes
- Delete toUpperCase from PushDownRunnerSparkImpl.executeQuery
columnMetas.add(new SelectedColumnMeta(false, false, false, false, nullable, true, Integer.MAX_VALUE, fieldList.get(i).getName().toUpperCase(Locale.ROOT), fieldList.get(i).getName().toUpperCase(Locale.ROOT), null, null, null, fieldList.get(i).getPrecision(), fieldList.get(i).getScale(), fieldList.get(i).getDataType(), fieldList.get(i).getDataTypeName(), false, false, false));
Checklist
- I have create an issue on Kylin's jira, and have described the bug/feature there in detail
Thx for the pr, will come back with more comments in a few days.
pending on design discussion in https://issues.apache.org/jira/projects/KYLIN/issues/KYLIN-5215