List < String > function ( PurgeableHivePartitionDataset arg0 ) { List < String > loc0 = new ArrayList < > ( ) ; loc0 . add ( getUseDbQuery ( arg0 . getStagingDb ( ) ) ) ; loc0 . add ( getInsertQuery ( arg0 ) ) ; return loc0 ; }
will return all the queries needed to populate the staging table partition . this wo n't include alter table partition location query . concode_field_sep PlaceHolder placeHolder concode_field_sep String getAlterTableLocationQuery concode_elem_sep List<String> getDropStagingTableQuery concode_elem_sep List<String> getBackupQueries concode_elem_sep List<String> getCreateStagingTableQuery concode_elem_sep String getUseDbQuery concode_elem_sep String getAddPartitionQuery concode_elem_sep String getAutoConvertJoinProperty concode_elem_sep String getDynamicPartitionNonStrictModeProperty concode_elem_sep String getInsertQuery concode_elem_sep String getCommaSeparatedColumnNames concode_elem_sep String getDropTableQuery concode_elem_sep String getOptimizeSortDynamicPartition concode_elem_sep String getWhereClauseForPartition concode_elem_sep String getCreateTableQuery concode_elem_sep String getCreateTableQuery concode_elem_sep List<String> getAlterOriginalPartitionLocationQueries concode_elem_sep String getDropPartitionQuery concode_elem_sep String getUpdatePartitionMetadataQuery