Class ImplicitColumnResolver.ImplicitColumnOptions
java.lang.Object
org.apache.drill.exec.physical.impl.scan.v3.file.ImplicitColumnResolver.ImplicitColumnOptions
- Enclosing class:
ImplicitColumnResolver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DrillFileSystemprotected intprotected OptionSetprotected booleanHistorically Drill will expand partition columns (dir0, dir1, ...) when the project list includes a wildcard. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondfs(DrillFileSystem dfs) maxPartitionDepth(int maxPartitionDepth) The maximum partition depth for any file in this query.useLegacyWildcardExpansion(boolean flag) Indicates whether to expand partition columns when the query contains a wildcard.
-
Field Details
-
optionSet
-
maxPartitionDepth
protected int maxPartitionDepth -
useLegacyWildcardExpansion
protected boolean useLegacyWildcardExpansionHistorically Drill will expand partition columns (dir0, dir1, ...) when the project list includes a wildcard. -
dfs
-
-
Constructor Details
-
ImplicitColumnOptions
public ImplicitColumnOptions()
-
-
Method Details
-
optionSet
-
maxPartitionDepth
The maximum partition depth for any file in this query. Specifies the maximum number ofdiricolumns that this parser will recognize or generate. -
useLegacyWildcardExpansion
Indicates whether to expand partition columns when the query contains a wildcard. Supports queries such as the following:In which the output columns will be (columns, dir0) if the partitioned directory has one level of nesting. Seeselect * from dfs.`partitioned-dir`
invalid reference
TestImplicitFileColumns#testImplicitColumns -
dfs
-