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/04/19 08:08:24 UTC

[GitHub] [incubator-doris] caiconghui opened a new issue, #9107: [Bug] DynamicPartitionScheduler not work for olap table with random hash info

caiconghui opened a new issue, #9107:
URL: https://github.com/apache/incubator-doris/issues/9107

   ### 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?
   
   java.lang.ClassCastException: class org.apache.doris.catalog.RandomDistributionInfo cannot be cast to class org.apache.doris.catalog.HashDistributionInfo (org.apache.doris.catalog.RandomDistributionInfo and org.apache.doris.catalog.HashDistributionInfo are in unnamed module of loader 'app')
           at org.apache.doris.clone.DynamicPartitionScheduler.getAddPartitionClause(DynamicPartitionScheduler.java:224) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.clone.DynamicPartitionScheduler.executeDynamicPartition(DynamicPartitionScheduler.java:398) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.clone.DynamicPartitionScheduler.executeDynamicPartitionFirstTime(DynamicPartitionScheduler.java:100) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.common.util.DynamicPartitionUtil.registerOrRemoveDynamicPartitionTable(DynamicPartitionUtil.java:424) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.catalog.Catalog.createOlapTable(Catalog.java:3951) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.catalog.Catalog.createTable(Catalog.java:3027) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.DdlExecutor.execute(DdlExecutor.java:130) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.handleDdlStmt(StmtExecutor.java:1528) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:432) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:307) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:212) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.ConnectProcessor.dispatch(ConnectProcessor.java:349) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.qe.ConnectProcessor.processOnce(ConnectProcessor.java:538) ~[palo-fe.jar:0.15-SNAPSHOT]
           at org.apache.doris.mysql.nio.ReadListener.lambda$handleEvent$0(ReadListener.java:50) ~[palo-fe.jar:0.15-SNAPSHOT]
           at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
           at java.lang.Thread.run(Thread.java:834) ~[?:?]
   
   ### What You Expected?
   
   can work for olap table with random hash info 
   
   ### How to Reproduce?
   
   create olap table with random hash info and set dynamic partition enable
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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] [incubator-doris] caiconghui closed issue #9107: [Bug] DynamicPartitionScheduler not work for olap table with random hash info

Posted by GitBox <gi...@apache.org>.
caiconghui closed issue #9107: [Bug] DynamicPartitionScheduler not work for olap table with random hash info 
URL: https://github.com/apache/incubator-doris/issues/9107


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