Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trivial log issue #250

Merged
merged 2 commits into from Nov 2, 2018
Merged

Fix trivial log issue #250

merged 2 commits into from Nov 2, 2018

Conversation

kangkaisen
Copy link
Contributor

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

@kangkaisen
Copy link
Contributor Author

Update this commit.

@kangkaisen kangkaisen changed the title Fix InsertStmt explain bug Fix trivial log issue Nov 2, 2018
@imay imay merged commit 847d29e into apache:master Nov 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants