arina-ielchiieva commented on a change in pull request #1683: DRILL-6952: Host
compliant text reader on the row set framework
URL: https://github.com/apache/drill/pull/1683#discussion_r264042274
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/store/ColumnExplorer.java
##########
@@ -132,10 +156,23 @@ public static boolean isPartitionColumn(String
partitionDesignator, String path)
* @return list with partition column names.
*/
public static List<String> getPartitionColumnNames(FileSelection selection,
SchemaConfig schemaConfig) {
- int partitionsCount = 0;
+ int partitionsCount = getPartitionDepth(selection);
+
+ String partitionColumnLabel =
schemaConfig.getOption(ExecConstants.FILESYSTEM_PARTITION_COLUMN_LABEL).string_val;
+ List<String> partitions = Lists.newArrayList();
Review comment:
```suggestion
List<String> partitions = new ArrayList<>();
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services