Support multi partition column when creating table (#1574)

When creating table with OLAP engine, use can specify multi parition columns.
eg:

PARTITION BY RANGE(`date`, `id`)
(
    PARTITION `p201701_1000` VALUES LESS THAN ("2017-02-01", "1000"),
    PARTITION `p201702_2000` VALUES LESS THAN ("2017-03-01", "2000"),
    PARTITION `p201703_all`  VALUES LESS THAN ("2017-04-01")
)

Notice that load by hadoop cluster does not support multi parition column table.
This commit is contained in:
Mingyu Chen
2019-08-05 16:16:43 +08:00
committed by ZHAO Chun
parent 938c6d4cdf
commit 93a3577baa
25 changed files with 185 additions and 71 deletions

View File

@ -141,7 +141,7 @@ public class BrokerLoadJobTest {
@Mock
public void checkAndCreateSource(Database db, DataDescription dataDescription,
Map<Long, Map<Long, List<Source>>> tableToPartitionSources,
boolean deleteFlag) {
boolean deleteFlag, EtlJobType jobType) {
}
};