carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <>
Subject [GitHub] incubator-carbondata pull request #441: [CARBONDATA-539] Fiix column project...
Date Mon, 19 Dec 2016 15:24:02 GMT
Github user ravipesala commented on a diff in the pull request:
    --- Diff: hadoop/src/main/java/org/apache/carbondata/hadoop/util/
    @@ -70,6 +69,18 @@ public static CarbonQueryPlan createQueryPlan(CarbonTable carbonTable,
String co
    +    } else {
    +      // query all columns
    +      List<CarbonMeasure> tableMsrs = carbonTable.getMeasureByTableName(factTableName);
    --- End diff --
    we cannot know whether it is count(*) unless we override aggregation strategies in carbon
but I guess that is not recommendable.
    So from spark if it asks empty projection then better we should give empty rows. It can
be achieved by special column name set to the projection.
    And from hadoop if projection is null  we can add all columns.

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 or file a JIRA ticket
with INFRA.

View raw message