public static class TableExport.Paths extends Object
Constructor and Description |
---|
Paths(String astRepresentationForErrorMsg,
org.apache.hadoop.fs.Path dbRoot,
String tblName,
HiveConf conf,
boolean shouldWriteData) |
Paths(String astRepresentationForErrorMsg,
String path,
HiveConf conf,
boolean shouldWriteData) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.fs.Path |
exportRootDir()
Access to the
_exportRootDir should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. |
public Paths(String astRepresentationForErrorMsg, org.apache.hadoop.fs.Path dbRoot, String tblName, HiveConf conf, boolean shouldWriteData) throws SemanticException
SemanticException
public Paths(String astRepresentationForErrorMsg, String path, HiveConf conf, boolean shouldWriteData) throws SemanticException
SemanticException
public org.apache.hadoop.fs.Path exportRootDir() throws SemanticException
_exportRootDir
should only be done via this method
since the creation of the directory is delayed until we figure out if we want
to write something or not. This is specifically important to prevent empty non-native
directories being created in repl dump.SemanticException
Copyright © 2022 The Apache Software Foundation. All rights reserved.