Github user jackylk commented on a diff in the pull request:
https://github.com/apache/incubator-carbondata/pull/441#discussion_r93032803
--- Diff:
hadoop/src/main/java/org/apache/carbondata/hadoop/util/CarbonInputFormatUtil.java
---
@@ -70,6 +69,18 @@ public static CarbonQueryPlan
createQueryPlan(CarbonTable carbonTable, String co
i++;
}
}
+ } else {
+ // query all columns
+ List<CarbonMeasure> tableMsrs =
carbonTable.getMeasureByTableName(factTableName);
--- End diff --
Because when I run HadoopFileExample, it is returning empty row. Then I
found out that it is because projection columns are not set in
`CarbonInputFormat`. So I have added it back. If it is removed, then it is
mandatory that user set projection columns in `CarbonInputFormat`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---