[
https://issues.apache.org/jira/browse/HIVE-23887?focusedWorklogId=468236&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-468236
]
ASF GitHub Bot logged work on HIVE-23887:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Aug/20 12:53
Start Date: 08/Aug/20 12:53
Worklog Time Spent: 10m
Work Description: sankarh commented on a change in pull request #1370:
URL: https://github.com/apache/hive/pull/1370#discussion_r467462271
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/PartitionSerializer.java
##########
@@ -59,6 +61,11 @@ public void writeTo(JsonWriter writer, ReplicationSpec
additionalPropertiesProvi
additionalPropertiesProvider.getCurrentReplicationState());
}
}
+
+ if (parameters != null && parameters.containsKey(COLUMN_STATS_ACCURATE))
{
Review comment:
There is already parameters != null check above in this method. Can we
move this code there itself?
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 468236)
Time Spent: 0.5h (was: 20m)
> Reset Columns stats in Export Statement
> ---------------------------------------
>
> Key: HIVE-23887
> URL: https://issues.apache.org/jira/browse/HIVE-23887
> Project: Hive
> Issue Type: Bug
> Components: Import/Export, Statistics
> Reporter: Ashish Sharma
> Assignee: Ashish Sharma
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> While doing "export table db.table to '/import/table' " entire column stat is
> getting exported which lead to columns stats corruption in import table.
> Reset columns stats while export to force Imported to recalculate the Columns
> stats
--
This message was sent by Atlassian Jira
(v8.3.4#803005)