[ 
https://issues.apache.org/jira/browse/HIVE-22538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17021897#comment-17021897
 ] 

Krisztian Kasa commented on HIVE-22538:
---------------------------------------

1. TestAcidOnTez.testBucketedAcidInsertWithRemoveUnion failed because the 
HiveConf (confForTez) was not passed to the runStatementOnDriver() method and 
this version of the method does create a new Driver instance.
Calling the version which creates a new driver for each call fix this. 

2. materialized_view_create_rewrite_4 failed at 4th execution of the command
{code}
ALTER MATERIALIZED VIEW cmv_mat_view_n5 REBUILD;
{code}

The prior call of this command creates base version of buckets when saving the 
mv's data. One of these buckets are empty and not in an acid format (it's 
schema doesn't contains the rowid) however the mv is defined to be acid.
Adding the proper schema to the empty bucket when saving fix this.


> RS deduplication does not always enforce 
> hive.optimize.reducededuplication.min.reducer
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-22538
>                 URL: https://issues.apache.org/jira/browse/HIVE-22538
>             Project: Hive
>          Issue Type: Bug
>          Components: Physical Optimizer
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Krisztian Kasa
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22538.2.patch, HIVE-22538.3.patch, 
> HIVE-22538.4.patch, HIVE-22538.5.patch, HIVE-22538.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> For transactional tables, that property might be overriden to 1, which can 
> lead to merging final aggregation into a single stage (hence leading to 
> performance degradation). For instance, when autogather column stats is 
> enabled, this can happen for the following query:
> {code}
> set hive.support.concurrency=true;
> set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
> EXPLAIN
> CREATE TABLE x STORED AS ORC TBLPROPERTIES('transactional'='true') AS
> SELECT * FROM SRC x CLUSTER BY x.key;
> {code}



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

Reply via email to