protected void getSourceForInsert(StringBuilder query) {
    if (sourceTabForInsert != null) {
      query.append(sourceTabForInsert);
    } else {
      query.append(sourceTab.getDbName()).append(".").append(sourceTab.getTableName());
    }
    query.append(" ");
  }
Part of Create operation. All tmp tables are not transactional and are marked as
compaction tables. Additionally...
- Crud compaction temp tables need tblproperty, "compactiontable."
- Minor crud compaction temp tables need bucketing version tblproperty, if table is bucketed.
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactionQueryBuilder.java