wyb edited a comment on issue #3010:
URL:
https://github.com/apache/incubator-doris/issues/3010#issuecomment-635174675
update new etl job config
```
{
"tables": {
10014: {
"indexes": [{
"indexId": 10014,
"columns": [{
"columnName": "k1",
"columnType": "SMALLINT",
"isKey": true,
"isAllowNull": true,
"aggregationType": "NONE"
}, {
"columnName": "k2",
"columnType": "VARCHAR",
"stringLength": 20,
"isKey": true,
"isAllowNull": true,
"aggregationType": "NONE"
}, {
"columnName": "v",
"columnType": "BIGINT",
"isKey": false,
"isAllowNull": false,
"aggregationType": "NONE"
}],
"schemaHash": 1294206574,
"indexType": "DUPLICATE",
"isBaseIndex": true
}, {
"indexId": 10017,
"columns": [{
"columnName": "k1",
"columnType": "SMALLINT",
"isKey": true,
"isAllowNull": true,
"aggregationType": "NONE"
}, {
"columnName": "v",
"columnType": "BIGINT",
"isKey": false,
"isAllowNull": false,
"aggregationType": "BITMAP_UNION",
"defineExpr": "to_bitmap(v)"
}],
"schemaHash": 1294206575,
"indexType": "AGGREGATE",
"isBaseIndex": false
}],
"partitionInfo": {
"partitionType": "RANGE",
"partitionColumnRefs": ["k1"],
"distributionColumnRefs": ["k2"],
"partitions": [{
"partitionId": 10020,
"startKeys": [-100],
"endKeys": [10],
"isMaxPartition": false,
"bucketNum": 3
}, {
"partitionId": 10021,
"startKeys": [10],
"endKeys": [100],
"isMaxPartition": false,
"bucketNum": 3
}]
},
"fileGroups": [{
"partitions": [10020],
"filePaths": ["hdfs://hdfs_host:port/user/palo/test/file"],
"fileFieldNames": ["tmp_k1", "k2"],
"valueSeparator": ",",
"lineDelimiter": "\n",
"columnMappings": {
"k1": {
"functionName": "strftime",
"args": ["%Y-%m-%d %H:%M:%S", "tmp_k1"]
}
},
"where": "k2 > 10",
"isNegative": false,
"hiveTableName": "hive_db.table"
}]
}
},
"outputPath":
"hdfs://hdfs_host:port/user/output/10003/label1/1582599203397",
"outputFilePattern": "label1.%d.%d.%d.%d.%d.parquet",
"label": "label0",
"properties": {
"strictMode": false,
"timezone": "Asia/Shanghai"
},
"version": "V1"
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]