Github user manishnalla1994 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2747#discussion_r220062362
--- Diff:
hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonInputFormat.java ---
@@ -775,9 +775,18 @@ public static boolean
getAccessStreamingSegments(Configuration configuration) {
public String[] projectAllColumns(CarbonTable carbonTable) {
List<ColumnSchema> colList =
carbonTable.getTableInfo().getFactTable().getListOfColumns();
List<String> projectColumn = new ArrayList<>();
+ int childDimCount = 0;
for (ColumnSchema cols : colList) {
if (cols.getSchemaOrdinal() != -1) {
- projectColumn.add(cols.getColumnName());
+ if (childDimCount == 0) {
--- End diff --
added and updated
---