carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cenyuhai <>
Subject [GitHub] carbondata pull request #1142: [CARBONDATA-1271] Enhanced Performance for Hi...
Date Sun, 09 Jul 2017 08:04:12 GMT
Github user cenyuhai commented on a diff in the pull request:
    --- Diff: integration/hive/src/main/java/org/apache/carbondata/hive/
    @@ -88,17 +90,12 @@ private void initialize(InputSplit inputSplit, Configuration conf)
throws IOExce
         } catch (QueryExecutionException e) {
           throw new IOException(e.getMessage(), e.getCause());
    -    if (valueObj == null) {
    -      valueObj =
    -          new ArrayWritable(Writable.class, new Writable[queryModel.getProjectionColumns().length]);
    -    }
         final TypeInfo rowTypeInfo;
         final List<String> columnNames;
         List<TypeInfo> columnTypes;
         // Get column names and sort order
         final String colIds = conf.get("");
    -    final String columnNameProperty = conf.get("");
    +    final String columnNameProperty = conf.get(serdeConstants.LIST_COLUMNS);
    --- End diff --
    why change to serdeConstants.LIST_COLUMNS´╝č I had got columnNameProperty from serdeConstants.LIST_COLUMNS,
but I found that the columns in serdeConstants.LIST_COLUMNS  sometimes contains columns which
don't belong to this table

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