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 2020/09/01 00:47:00 UTC
[jira] [Work logged] (HIVE-23735) Reducer misestimate for export
command
[ https://issues.apache.org/jira/browse/HIVE-23735?focusedWorklogId=476926&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-476926 ]
ASF GitHub Bot logged work on HIVE-23735:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Sep/20 00:46
Start Date: 01/Sep/20 00:46
Worklog Time Spent: 10m
Work Description: github-actions[bot] commented on pull request #1165:
URL: https://github.com/apache/hive/pull/1165#issuecomment-684124135
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 476926)
Time Spent: 20m (was: 10m)
> Reducer misestimate for export command
> --------------------------------------
>
> Key: HIVE-23735
> URL: https://issues.apache.org/jira/browse/HIVE-23735
> Project: Hive
> Issue Type: Improvement
> Reporter: Rajesh Balamohan
> Assignee: Rajesh Balamohan
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-23735.1.wip.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L6869
> {code}
> if (dest_tab.getNumBuckets() > 0) {
> ...
> }
> {code}
> For "export" command, HS2 creates a dummy table and for this table and gets "1" as the number of buckets.
> {noformat}
> set hive.stats.autogather=false;
> export table sample_table to '/tmp/export/sampe_db/t1';
> {noformat}
> This causes issues in reducer estimates and always lands up with '1' as the number of reducer task.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)