public static class ImplicitColumnManager.ImplicitColumnOptions extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
useLegacyWildcardExpansion
Historically Drill will expand partition columns (dir0, dir1, ...)
when the project list includes a wildcard.
|
Constructor and Description |
---|
ImplicitColumnOptions() |
Modifier and Type | Method and Description |
---|---|
void |
setFiles(List<org.apache.hadoop.fs.Path> files) |
void |
setPartitionDepth(int partitionDepth) |
void |
setSelectionRoot(org.apache.hadoop.fs.Path rootPath)
Specify the selection root for a directory scan, if any.
|
void |
useLegacyWildcardExpansion(boolean flag)
Indicates whether to expand partition columns when the query contains a wildcard.
|
protected boolean useLegacyWildcardExpansion
public void setSelectionRoot(org.apache.hadoop.fs.Path rootPath)
rootPath
- Hadoop file path for the directorypublic void setPartitionDepth(int partitionDepth)
public void setFiles(List<org.apache.hadoop.fs.Path> files)
public void useLegacyWildcardExpansion(boolean flag)
select * from dfs.`partitioned-dir`
In which the output columns will be (columns, dir0) if the partitioned directory
has one level of nesting.
See TestImplicitFileColumns#testImplicitColumns
Copyright © 1970 The Apache Software Foundation. All rights reserved.