x.getLOG().debug("Importing in place, no emptiness check, no copying/loading"); Path dataPath = new Path(fromURI.toString(), EximUtil.DATA_PATH_NAME); tblDesc.setLocation(dataPath.toString()); } else { Path tablePath = null;
x.getLOG().debug("Importing in place, no emptiness check, no copying/loading"); Path dataPath = new Path(fromURI.toString(), EximUtil.DATA_PATH_NAME); tblDesc.setLocation(dataPath.toString()); } else { Path tablePath = null;
tblDesc.setLocation(parsedLocation); x.getInputs().add(toReadEntity(new Path(parsedLocation), x.getConf()));
tblDesc.setLocation(wh.getDefaultTablePath(parentDb, tblDesc.getTableName()).toString()); } else { tblDesc.setLocation( wh.getDnsPath(new Path( wh.getDefaultDatabasePath(tblDesc.getDatabaseName()),
tblDesc.setExternal(true); tblDesc.setLocation(null); tblDesc.setLocation(parsedLocation); x.getInputs().add(toReadEntity(new Path(parsedLocation), x.getConf()));
LoadTable.TableLocationTuple tableLocationTuple = LoadTable.tableLocation(tableDesc, parentDb, tableContext, context); tableDesc.setLocation(tableLocationTuple.location);
tblDesc.setLocation(wh.getDefaultTablePath(parentDb, tblDesc.getTableName(), tblDesc.isExternal()).toString()); } else { tblDesc.setLocation( wh.getDnsPath(wh.getDefaultTablePath(tblDesc.getDatabaseName(), tblDesc.getTableName(), tblDesc.isExternal()) ).toString());
= new ImportTableDesc(StringUtils.isBlank(dbName) ? table.getDbName() : dbName, table); if (TableType.EXTERNAL_TABLE.equals(table.getTableType())) { tableDesc.setLocation( table.getDataLocation() == null ? null : table.getDataLocation().toString()); tableDesc.setExternal(true);
tableDesc.setLocation(tableLocationTuple.location);