hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-21795) Rollup summary row might be missing when a mapjoin is happening on a partitioned table
Date Thu, 30 May 2019 22:26:00 GMT

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

Hive QA commented on HIVE-21795:
--------------------------------

| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} |
{color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  2m 14s{color} | {color:blue}
Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  8m 42s{color}
| {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 22s{color} |
{color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 46s{color}
| {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  5m  4s{color} | {color:blue}
ql in master has 2259 extant Findbugs warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 14s{color} |
{color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 32s{color} | {color:blue}
Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 48s{color}
| {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 24s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m 24s{color} | {color:green}
the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 47s{color}
| {color:green} ql: The patch generated 0 new + 32 unchanged - 2 fixed = 32 total (was 34)
{color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color}
| {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  5m 10s{color} |
{color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 15s{color} |
{color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 17s{color}
| {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 31m 16s{color} | {color:black}
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19)
x86_64 GNU/Linux |
| Build tool | maven |
| Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-17356/dev-support/hive-personality.sh
|
| git revision | master / ef081e8 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| modules | C: ql itests U: . |
| Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-17356/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> Rollup summary row might be missing when a mapjoin is happening on a partitioned table
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-21795
>                 URL: https://issues.apache.org/jira/browse/HIVE-21795
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Haindrich
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-21795.01.patch, HIVE-21795.02.patch, HIVE-21795.02.patch, HIVE-21795.02.patch
>
>
> * join between 2 tables; the larger is partitioned
> * mapjoin is selected
> * dpp is sending events from the small table to the large on
> * rollup: summary row is missing if dpp removes all input partitions
> the following should have a 1 row result.
> {code}
> set hive.auto.convert.join=true;
> drop table if exists store_sales_s0;
> drop table if exists store_s0;
> CREATE TABLE store_sales_s0 (ss_item_sk int,payload string,payload2 string,payload3 string)
PARTITIONED BY (ss_store_sk int) stored as orc TBLPROPERTIES( 'transactional'='false');
> CREATE TABLE store_s0 (s_item_sk int,s_store_sk int,s_state string) stored as orc TBLPROPERTIES(
'transactional'='false');
> insert into store_s0 values
>     (1,10,'XX'),
>     (2,20,'AA'),
>     (3,30,'ZZ')
>     ;
> insert into store_sales_s0 partition(ss_store_sk=9) values (1,'xxx','xxx','xxx'),(2,'xxx','xxx','xxx'),(3,'xxx','xxx','xxx'),(4,'xxx','xxx','xxx'),(5,'xxx','xxx','xxx');
> insert into store_sales_s0 partition(ss_store_sk=39) values (1,'xxx','xxx','xxx'),(2,'xxx','xxx','xxx'),(3,'xxx','xxx','xxx'),(4,'xxx','xxx','xxx'),(5,'xxx','xxx','xxx');
> explain select grouping(s_state) from store_s0, store_sales_s0 where ss_store_sk = s_store_sk
and s_state in ('SD','FL', 'MI', 'LA', 'MO', 'SC') group by rollup(ss_item_sk, s_state) order
by s_state;
> select grouping(s_state) from store_s0, store_sales_s0 where ss_store_sk = s_store_sk
and s_state in ('SD','FL', 'MI', 'LA', 'MO', 'SC') group by rollup(ss_item_sk, s_state) order
by s_state;
> {code}
> explain:
> {code}
> STAGE PLANS:
>   Stage: Stage-1
>     Tez
> #### A masked pattern was here ####
>       Edges:
>         Map 2 <- Map 1 (BROADCAST_EDGE)
> [...]
> #### A masked pattern was here ####
>       Vertices:
>         Map 1 
>             Map Operator Tree:
> [...]
>                           Dynamic Partitioning Event Operator
>                             Target column: ss_store_sk (int)
>                             Target Input: store_sales_s0
>                             Partition key expr: ss_store_sk
>                             Statistics: Num rows: 1 Data size: 4 Basic stats: COMPLETE
Column stats: COMPLETE
>                             Target Vertex: Map 2
>             Execution mode: vectorized, llap
>             LLAP IO: all inputs
> [...]
>         Map 2 
>             Map Operator Tree:
>                 TableScan
>                   alias: store_sales_s0
>                   filterExpr: ss_store_sk is not null (type: boolean)
>                   Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE Column
stats: COMPLETE
>                   Select Operator
>                     expressions: ss_item_sk (type: int), ss_store_sk (type: int)
>                     outputColumnNames: _col0, _col1
>                     Statistics: Num rows: 10 Data size: 80 Basic stats: COMPLETE Column
stats: COMPLETE
>                     Map Join Operator
>                       condition map:
>                            Inner Join 0 to 1
>                       keys:
>                         0 _col0 (type: int)
>                         1 _col1 (type: int)
>                       outputColumnNames: _col1, _col2
>                       input vertices:
>                         0 Map 1
>                       Statistics: Num rows: 10 Data size: 900 Basic stats: COMPLETE Column
stats: COMPLETE
> [...]
>             Execution mode: vectorized, llap
>             LLAP IO: all inputs
> [...]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message