Qyokizzzz removed a comment on issue #5042: URL: https://github.com/apache/incubator-doris/issues/5042#issuecomment-845593532
The statement I wrote is as follows: CREATE TABLE `F_PO_DETAIL` ( ... `SK_MONTH` INT NOT NULL COMMENT "订货年月代理键", `PRODUCT_NO` VARCHAR(30) NOT NULL COMMENT "产品代码键", `PO_TOT_AMT` DECIMAL(27, 5) NULL COMMENT "销售额", ... ) ENGINE=OLAP DUPLICATE KEY(`DM_ETL_TIME`, `DM_DC_TIME`, `SK_MONTH`) PARTITION BY RANGE(`SK_MONTH`)() DISTRIBUTED BY HASH(`SK_MONTH`) PROPERTIES ( "dynamic_partition.time_unit" = "MONTH", "dynamic_partition.prefix" = "p", "dynamic_partition.buckets" = "10" ); But it doesn’t meet my needs. I saw the official document but the examples given are all for managing future data. How to import historical data with dynamic partition? -- 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: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org