[ 
https://issues.apache.org/jira/browse/HIVE-23887?focusedWorklogId=471520&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-471520
 ]

ASF GitHub Bot logged work on HIVE-23887:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Aug/20 14:59
            Start Date: 17/Aug/20 14:59
    Worklog Time Spent: 10m 
      Work Description: sankarh commented on a change in pull request #1370:
URL: https://github.com/apache/hive/pull/1370#discussion_r471526397



##########
File path: ql/src/test/org/apache/hadoop/hive/ql/TestTxnExIm.java
##########
@@ -566,4 +581,33 @@ public void testMMExportAborted() throws Exception {
         TestTxnCommands2.stringifyValues(data), rs);
 
   }
-}
+
+
+  @Test public void testImportOrc() throws Exception {

Review comment:
       Can we also check if import sets stats to true in case of 
autostats_gather is set to true? For both partitioned and non-partitioned 
tables. Also check the values of stats listed in 
StatsSetupConst.SUPPORTED_STATS in both source and target tables and they 
should match.




----------------------------------------------------------------
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: 471520)
    Time Spent: 1h  (was: 50m)

> Reset basic/column stats in during import.
> ------------------------------------------
>
>                 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: 1h
>  Remaining Estimate: 0h
>
> While doing "export table db.table to '/import/table' " column stats are not 
> dumped but import doesn't reset the flag which leads to incorrect stats.
> Reset columns stats while import to force Imported to recalculate the Columns 
> stats



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to