private List<String> getCompactionQueries(String sourceTmpTableName, String resultTmpTableName,
      Table sourceTable) {
    return Lists.newArrayList(
        new CompactionQueryBuilderFactory().getCompactionQueryBuilder(
            CompactionType.MINOR, true)
            .setOperation(CompactionQueryBuilder.Operation.INSERT)
            .setResultTableName(resultTmpTableName)
            .setSourceTabForInsert(sourceTmpTableName)
            .setSourceTab(sourceTable)
            .build()
    );
  }
Get a list containing just the minor compaction query. The query selects the content of the
source temporary table and inserts it into the resulttable. It will look like:
<ol>
 <li>insert into table $tmpTableBase_result select `col_1`, .. from tmpTableBase</li>
</ol>

@param sourceTmpTableName an unique identifier, which helps to find all the temporary tables
@param resultTmpTableName
@return list of compaction queries, always non-null
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/MmMinorQueryCompactor.java