You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/13 07:02:15 UTC

[GitHub] [doris] zhangy5 opened a new issue, #10800: [Bug] create dynamic partition table without resource tag wrong, when there is no default resource tag

zhangy5 opened a new issue, #10800:
URL: https://github.com/apache/doris/issues/10800

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   set be resource tag like:
   [
   <img width="1231" alt="image" src="https://user-images.githubusercontent.com/10826066/178670588-527f428a-eefd-4953-882e-d4a1d1282cd0.png">
   ](url)
   
   create table:
   `CREATE TABLE `dperror3` (
     `k1` date NULL,
     `k2` int(11) NULL,
     `k3` smallint(6) NULL,
     `v1` varchar(2048) NULL,
     `v2` datetime NULL DEFAULT "2014-02-04 15:36:00"
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`, `k2`, `k3`)
   COMMENT 'OLAP'
   PARTITION BY RANGE(`k1`)
   ()
   DISTRIBUTED BY HASH(`k2`) BUCKETS 32
   PROPERTIES (
   "dynamic_partition.enable" = "true",
   "dynamic_partition.time_unit" = "DAY",
   "dynamic_partition.time_zone" = "Asia/Shanghai",
   "dynamic_partition.start" = "-3",
   "dynamic_partition.end" = "3",
   "dynamic_partition.prefix" = "p",
   "dynamic_partition.buckets" = "32",
   "dynamic_partition.create_history_partition" = "false",
   "dynamic_partition.history_partition_num" = "-1",
   "dynamic_partition.hot_partition_num" = "0",
   "dynamic_partition.reserved_history_periods" = "NULL",
   "dynamic_partition.remote_storage_policy" = "",
   "dynamic_partition.replication_allocation" = "tag.location.default: 3",
   "in_memory" = "false",
   "storage_format" = "V2"
   );`
   
   [
   <img width="644" alt="image" src="https://user-images.githubusercontent.com/10826066/178670873-e1c55982-01a0-43f7-b28a-956066db9c8b.png">
   ](url)
   
   
   ### What You Expected?
   
   create failed.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   there is a doc error. 
   help create table
   [
   <img width="708" alt="image" src="https://user-images.githubusercontent.com/10826066/178671228-2c535ab9-6b7c-4fb4-b529-267ab7a0bd3c.png">
   ](url)
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] morningman closed issue #10800: [Bug] create dynamic partition table without resource tag wrong, when there is no default resource tag

Posted by GitBox <gi...@apache.org>.
morningman closed issue #10800: [Bug] create dynamic partition table without resource tag wrong, when there is no default resource tag
URL: https://github.com/apache/doris/issues/10800


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org