You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2018/10/30 08:54:56 UTC

[GitHub] kangkaisen opened a new pull request #250: Fix InsertStmt explain bug

kangkaisen opened a new pull request #250: Fix InsertStmt explain bug
URL: https://github.com/apache/incubator-doris/pull/250
 
 
   Currently,  `explain insert into t1 SelectStmt` output is empty.
   
   After fixing this bug, `explain insert into t1 select * from t2;` output is following:
   
   ```
   +----------------------------------------------------------------------------------------------------------------------+
   | Explain String                                                                                                       |
   +----------------------------------------------------------------------------------------------------------------------+
   | PLAN FRAGMENT 0                                                                                                      |
   |  OUTPUT EXPRS:`default_cluster:test.t2`.`dt` | `default_cluster:test.t2`.`id` | `default_cluster:test.t2`.`value` |  |
   |   PARTITION: RANGE_PARTITIONED: <slot 0>                                                                             |
   |                                                                                                                      |
   |   DPP SINK                                                                                                           |
   |     TABLE NAME: t1                                                                                                   |
   |     PARTITIONS: 10008, 10009, 10010                                                                                  |
   |                                                                                                                      |
   |   2:EXCHANGE                                                                                                         |
   |      tuple ids: 0                                                                                                    |
   |                                                                                                                      |
   | PLAN FRAGMENT 1                                                                                                      |
   |  OUTPUT EXPRS:                                                                                                       |
   |   PARTITION: RANDOM                                                                                                  |
   |                                                                                                                      |
   |   STREAM DATA SINK                                                                                                   |
   |     EXCHANGE ID: 02                                                                                                  |
   |     RANGE_PARTITIONED: <slot 0>                                                                                      |
   |                                                                                                                      |
   |   1:OLAP REWRITE NODE                                                                                                |
   |   |  tuple ids: 0                                                                                                    |
   |   |                                                                                                                  |
   |   0:OlapScanNode                                                                                                     |
   |      TABLE: t2                                                                                                       |
   |      PREAGGREGATION: ON                                                                                              |
   |      partitions=1/1                                                                                                  |
   |      rollup: t2                                                                                                      |
   |      buckets=10/10                                                                                                   |
   |      cardinality=2                                                                                                   |
   |      avgRowSize=1889.4286                                                                                            |
   |      tuple ids: 1                                                                                                    |
   +----------------------------------------------------------------------------------------------------------------------+
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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