You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/06/29 11:47:00 UTC
[jira] [Work logged] (HIVE-26365) Remove column statistics collection task from merge statement plan
| ![](cid:jira-generated-image-avatar-825ea2cc-13c0-481e-a477-19cad6d40444) |
[ASF GitHub
Bot](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=githubbot)
**added a worklog** on [![Sub-task](cid:jira-generated-image-
avatar-572392ce-6780-4945-9428-d71ca1fcf844)
HIVE-26365](https://issues.apache.org/jira/browse/HIVE-26365)
---|---
|
---
|
kasakrisz opened a new pull request, #3411:
URL: <https://github.com/apache/hive/pull/3411>
1. 1. 1. What changes were proposed in this pull request?
Disable generating auto column stats collecting pipeline in the execution plan
in case of Update/Delete/Merge statements.
1. 1. 1. Why are the changes needed?
* Column stats are marked stale after executing Update/Delete/Merge statements because it can not be generated from the changed rows in case of delete operation so adding the pipeline into insert branches of a merge does not makes sense.
* For Update/Delete statements only the way we checking whether adding the pipeline is refactored.
1. 1. 1. Does this PR introduce _any_ user-facing change?
No. But output of explain merge statements may changes.
1. 1. 1. How was this patch tested?
```
mvn test -Dtest.output.overwrite -DskipSparkTests
-Dtest=TestMiniLlapLocalCliDriver -Dqfile=sqlmerge.q,sqlmerge_stats.q -pl
itests/qtest -Pitests
```
---
| Worklog entry: | 10m logged by [ASF GitHub
Bot](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=githubbot)
---|---
Change By: | [ASF GitHub
Bot](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=githubbot)
Remaining Estimate: | 0h
Time Spent: | 10m
| | [ ![Add Comment](cid:jira-generated-image-static-comment-icon-
abe40608-0241-4710-a560-64d86617d020)
](https://issues.apache.org/jira/browse/HIVE-26365#add-comment "Add Comment")
| [Add Comment](https://issues.apache.org/jira/browse/HIVE-26365#add-comment
"Add Comment")
---|---
| This message was sent by Atlassian Jira (v8.20.10#820010-sha1:ace47f9) | |
![Atlassian logo](https://issues.apache.org/jira/images/mail/atlassian-email-
logo.png)
---