[jira] [Updated] (HIVE-17553) CBO wrongly type cast decimal literal to int
[ https://issues.apache.org/jira/browse/HIVE-17553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17553: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master. > CBO wrongly type cast decimal literal to int > > > Key: HIVE-17553 > URL: https://issues.apache.org/jira/browse/HIVE-17553 > Project: Hive > Issue Type: Bug > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17553.1.patch, HIVE-17553.2.patch > > > {code:sql}explain select 100.000BD from f{code} > {noformat} > STAGE PLANS: > Stage: Stage-0 > Fetch Operator > limit: -1 > Processor Tree: > TableScan > alias: f > Select Operator > expressions: 100 (type: int) > outputColumnNames: _col0 > ListSink > {noformat} > Notice that the expression 100.000BD is of type int instead of decimal. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17746) Regenerate spark_explainuser_1.q.out
[ https://issues.apache.org/jira/browse/HIVE-17746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16197672#comment-16197672 ] Vineet Garg commented on HIVE-17746: Hi [~pvary]. Thanks for taking care of this! The changes are good and are expected. +1. > Regenerate spark_explainuser_1.q.out > > > Key: HIVE-17746 > URL: https://issues.apache.org/jira/browse/HIVE-17746 > Project: Hive > Issue Type: Bug > Components: Test >Affects Versions: 3.0.0 >Reporter: Peter Vary >Assignee: Peter Vary > Attachments: HIVE-17746.patch > > > There is 2 changes in spark_explainuser_1.q.out: > 1., After HIVE-17465, the row numbers are different in the explain plans. > [~vgarg], [~ashutoshc]: Could you please check, wether it is an intended > change? > 2., After HIVE-17535, CBO optimization turned on and the output of the > following query changed: > {code:title=Query} > explain select explode(array('a', 'b')); > {code} > {code:title=Original} > POSTHOOK: query: explain select explode(array('a', 'b')) > POSTHOOK: type: QUERY > Plan not optimized by CBO. > > Stage-0 >Fetch Operator > limit:-1 > UDTF Operator [UDTF_2] > function name:explode > Select Operator [SEL_1] > Output:["_col0"] > TableScan [TS_0] > {code} > {code:title=New} > POSTHOOK: query: explain select explode(array('a', 'b')) > POSTHOOK: type: QUERY > Plan optimized by CBO. > > Stage-0 >Fetch Operator > limit:-1 > Select Operator [SEL_3] > Output:["_col0"] > UDTF Operator [UDTF_2] > function name:explode > Select Operator [SEL_1] > Output:["_col0"] > TableScan [TS_0] > {code} > This 2nd change does not look like a successful optimization for me. Is it > planned :) > If you think these are planned changes, then I think it would be good to > update the golden file. > Thanks, > Peter -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Attachment: HIVE-17726.1.patch > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Status: Patch Available (was: Open) > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17711: --- Attachment: HIVE-17711.patch > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17711.patch > > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16193507#comment-16193507 ] Vineet Garg commented on HIVE-17711: [~jcamachorodriguez] [~ashutoshc] can you take a look? :) > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17711.patch > > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg reassigned HIVE-17711: -- > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-16511) CBO looses inner casts on constants of complex type
[ https://issues.apache.org/jira/browse/HIVE-16511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16191721#comment-16191721 ] Vineet Garg commented on HIVE-16511: Created review request : [Review Request|https://reviews.apache.org/r/62776/]. [~ashutoshc] can you take a look? [~teddy.choi] This patch also touches vectorization code you recently added so can you take a look at it too? > CBO looses inner casts on constants of complex type > --- > > Key: HIVE-16511 > URL: https://issues.apache.org/jira/browse/HIVE-16511 > Project: Hive > Issue Type: Bug > Components: CBO, Query Planning >Reporter: Ashutosh Chauhan >Assignee: Vineet Garg > Attachments: HIVE-16511.1.patch, HIVE-16511.2.patch > > > type for map <10, cast(null as int)> becomes map-- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16193671#comment-16193671 ] Vineet Garg commented on HIVE-17711: With earlier change I accidentally added my name to PMC, latest patch should fix it. > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17711.2.patch, HIVE-17711.patch > > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17711: --- Attachment: HIVE-17711.2.patch > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17711.2.patch, HIVE-17711.patch > > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (HIVE-17711) Update committer list
[ https://issues.apache.org/jira/browse/HIVE-17711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg resolved HIVE-17711. Resolution: Fixed > Update committer list > - > > Key: HIVE-17711 > URL: https://issues.apache.org/jira/browse/HIVE-17711 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17711.2.patch, HIVE-17711.patch > > > Update hive committer list to include: > Name: Vineet Garg > Apache ID: vgarg > Organization: Hortonworks -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Attachment: HIVE-17726.3.patch > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch, > HIVE-17726.3.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Status: Patch Available (was: Open) > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch, > HIVE-17726.3.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Status: Open (was: Patch Available) > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch, > HIVE-17726.3.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (HIVE-17766) Support non-equi LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17766?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg reassigned HIVE-17766: -- > Support non-equi LEFT SEMI JOIN > --- > > Key: HIVE-17766 > URL: https://issues.apache.org/jira/browse/HIVE-17766 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > > Currently we get an error like {noformat}Non equality condition not supported > in Semi-Join{noformat} > This is required to generate better plan for EXISTS/IN correlated subquery > where such queries are transformed into LEFT SEMI JOIN. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16511) CBO looses inner casts on constants of complex type
[ https://issues.apache.org/jira/browse/HIVE-16511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16511: --- Attachment: HIVE-16511.3.patch > CBO looses inner casts on constants of complex type > --- > > Key: HIVE-16511 > URL: https://issues.apache.org/jira/browse/HIVE-16511 > Project: Hive > Issue Type: Bug > Components: CBO, Query Planning >Reporter: Ashutosh Chauhan >Assignee: Vineet Garg > Attachments: HIVE-16511.1.patch, HIVE-16511.2.patch, > HIVE-16511.3.patch > > > type for map <10, cast(null as int)> becomes map-- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16511) CBO looses inner casts on constants of complex type
[ https://issues.apache.org/jira/browse/HIVE-16511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16511: --- Status: Open (was: Patch Available) > CBO looses inner casts on constants of complex type > --- > > Key: HIVE-16511 > URL: https://issues.apache.org/jira/browse/HIVE-16511 > Project: Hive > Issue Type: Bug > Components: CBO, Query Planning >Reporter: Ashutosh Chauhan >Assignee: Vineet Garg > Attachments: HIVE-16511.1.patch, HIVE-16511.2.patch > > > type for map <10, cast(null as int)> becomes map-- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Attachment: HIVE-17726.2.patch > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Status: Open (was: Patch Available) > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Status: Patch Available (was: Open) > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16511) CBO looses inner casts on constants of complex type
[ https://issues.apache.org/jira/browse/HIVE-16511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16511: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed the patch to master after addressing review comments. Thanks for reviewing [~ashutoshc] > CBO looses inner casts on constants of complex type > --- > > Key: HIVE-16511 > URL: https://issues.apache.org/jira/browse/HIVE-16511 > Project: Hive > Issue Type: Bug > Components: CBO, Query Planning >Reporter: Ashutosh Chauhan >Assignee: Vineet Garg > Attachments: HIVE-16511.1.patch, HIVE-16511.2.patch, > HIVE-16511.3.patch > > > type for map <10, cast(null as int)> becomes map-- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16511) CBO looses inner casts on constants of complex type
[ https://issues.apache.org/jira/browse/HIVE-16511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16511: --- Status: Patch Available (was: Open) > CBO looses inner casts on constants of complex type > --- > > Key: HIVE-16511 > URL: https://issues.apache.org/jira/browse/HIVE-16511 > Project: Hive > Issue Type: Bug > Components: CBO, Query Planning >Reporter: Ashutosh Chauhan >Assignee: Vineet Garg > Attachments: HIVE-16511.1.patch, HIVE-16511.2.patch, > HIVE-16511.3.patch > > > type for map <10, cast(null as int)> becomes map-- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17726) Using exists may lead to incorrect results
[ https://issues.apache.org/jira/browse/HIVE-17726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17726: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master. > Using exists may lead to incorrect results > -- > > Key: HIVE-17726 > URL: https://issues.apache.org/jira/browse/HIVE-17726 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Zoltan Haindrich >Assignee: Vineet Garg > Attachments: HIVE-17726.1.patch, HIVE-17726.2.patch, > HIVE-17726.3.patch > > > {code} > drop table if exists tx1; > create table tx1 (a integer,b integer); > insert into tx1 values (1, 1), > (1, 2), > (1, 3); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b); > select count(*) as result,3 as expected from tx1 u > where exists (select * from tx1 v where u.a=v.a and u.b <> v.b limit 1); > {code} > current results are 6 and 2. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17823) Fix subquery Qtest of Hive on Spark
[ https://issues.apache.org/jira/browse/HIVE-17823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17823: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master, Thanks [~dapengsun] > Fix subquery Qtest of Hive on Spark > --- > > Key: HIVE-17823 > URL: https://issues.apache.org/jira/browse/HIVE-17823 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Dapeng Sun >Assignee: Dapeng Sun > Attachments: HIVE-17823.001.patch > > > The JIRA is targeted to fix the Qtest files failures of HoS due to HIVE-17726 > introduced subquery fix. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17823) Fix subquery Qtest of Hive on Spark
[ https://issues.apache.org/jira/browse/HIVE-17823?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16208061#comment-16208061 ] Vineet Garg commented on HIVE-17823: +1 > Fix subquery Qtest of Hive on Spark > --- > > Key: HIVE-17823 > URL: https://issues.apache.org/jira/browse/HIVE-17823 > Project: Hive > Issue Type: Bug >Affects Versions: 3.0.0 >Reporter: Dapeng Sun >Assignee: Dapeng Sun > Attachments: HIVE-17823.001.patch > > > The JIRA is targeted to fix the Qtest files failures of HoS due to HIVE-17726 > introduced subquery fix. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.4.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.3.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16262823#comment-16262823 ] Vineet Garg commented on HIVE-18123: [~ashutoshc] Can you take a look? > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch, HIVE-18123.2.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Attachment: HIVE-18173.1.patch > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Patch Available (was: Open) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg reassigned HIVE-18173: -- > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Patch Available (was: Open) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Attachment: (was: HIVE-18173.2.patch) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-18005) Improve size estimation for array() to be not 0
[ https://issues.apache.org/jira/browse/HIVE-18005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16273324#comment-16273324 ] Vineet Garg commented on HIVE-18005: Looks good to me. +1 > Improve size estimation for array() to be not 0 > --- > > Key: HIVE-18005 > URL: https://issues.apache.org/jira/browse/HIVE-18005 > Project: Hive > Issue Type: Sub-task > Components: Statistics >Reporter: Zoltan Haindrich >Assignee: Zoltan Haindrich > Attachments: HIVE-18005.01.patch, HIVE-18005.01.patch, > HIVE-18005.02.patch > > > happens only in case the array is not from a column; and the array contains > no column references > {code} > EXPLAIN > SELECT sort_array(array("b", "d", "c", "a")),array("1","2") FROM t > ... > Statistics: Num rows: 1 Data size: 0 Basic stats: COMPLETE > Column stats: COMPLETE > ListSink > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Open (was: Patch Available) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Attachment: HIVE-18173.2.patch > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master, thanks [~ashutoshc] > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch, HIVE-18123.2.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Patch Available (was: Open) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Open (was: Patch Available) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Attachment: HIVE-18173.2.patch > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Attachment: HIVE-18173.5.patch > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch, > HIVE-18173.3.patch, HIVE-18173.4.patch, HIVE-18173.5.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Patch Available (was: Open) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch, > HIVE-18173.3.patch, HIVE-18173.4.patch, HIVE-18173.5.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18173) Improve plans for correlated subqueries with non-equi predicate
[ https://issues.apache.org/jira/browse/HIVE-18173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18173: --- Status: Open (was: Patch Available) > Improve plans for correlated subqueries with non-equi predicate > --- > > Key: HIVE-18173 > URL: https://issues.apache.org/jira/browse/HIVE-18173 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18173.1.patch, HIVE-18173.2.patch, > HIVE-18173.3.patch, HIVE-18173.4.patch > > > HIVE-17767 optimized plan to not generate value generator (i.e. an extra join > with outer query to fetch correlated columns) for EQUAL and NOT EQUAL > predicates e.g. > {code:sql} > select * from src b where b.key in (select key from src a where b.value <> > a.value) > {code} > This should be improved and implemented for rest of the predicates e.g. LESS > THAN etc -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18272) Fix check-style violations in subquery code
[ https://issues.apache.org/jira/browse/HIVE-18272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18272: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master. Thanks [~ashutoshc] > Fix check-style violations in subquery code > --- > > Key: HIVE-18272 > URL: https://issues.apache.org/jira/browse/HIVE-18272 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18272.1.patch > > > Following files have quite a few checkstyle violations: > {{HiveSubQRemoveRelBuilder.java}} > {{HiveRelDecorrelator.java}} > {{HiveSubQueryRemoveRule.java}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18272) Fix check-style violations in subquery code
[ https://issues.apache.org/jira/browse/HIVE-18272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18272: --- Attachment: HIVE-18272.1.patch > Fix check-style violations in subquery code > --- > > Key: HIVE-18272 > URL: https://issues.apache.org/jira/browse/HIVE-18272 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18272.1.patch > > > Following files have quite a few checkstyle violations: > {{HiveSubQRemoveRelBuilder.java}} > {{HiveRelDecorrelator.java}} > {{HiveSubQueryRemoveRule.java}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18272) Fix check-style violations in subquery code
[ https://issues.apache.org/jira/browse/HIVE-18272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18272: --- Status: Patch Available (was: Open) > Fix check-style violations in subquery code > --- > > Key: HIVE-18272 > URL: https://issues.apache.org/jira/browse/HIVE-18272 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18272.1.patch > > > Following files have quite a few checkstyle violations: > {{HiveSubQRemoveRelBuilder.java}} > {{HiveRelDecorrelator.java}} > {{HiveSubQueryRemoveRule.java}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (HIVE-18272) Fix check-style violations in subquery code
[ https://issues.apache.org/jira/browse/HIVE-18272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg reassigned HIVE-18272: -- > Fix check-style violations in subquery code > --- > > Key: HIVE-18272 > URL: https://issues.apache.org/jira/browse/HIVE-18272 > Project: Hive > Issue Type: Task >Reporter: Vineet Garg >Assignee: Vineet Garg > > Following files have quite a few checkstyle violations: > {{HiveSubQRemoveRelBuilder.java}} > {{HiveRelDecorrelator.java}} > {{HiveSubQueryRemoveRule.java}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18241) Query with LEFT SEMI JOIN producing wrong result
[ https://issues.apache.org/jira/browse/HIVE-18241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18241: --- Resolution: Fixed Status: Resolved (was: Patch Available) Thanks for reviewing [~jcamachorodriguez]. Pushed this to master. > Query with LEFT SEMI JOIN producing wrong result > > > Key: HIVE-18241 > URL: https://issues.apache.org/jira/browse/HIVE-18241 > Project: Hive > Issue Type: Bug >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18241.1.patch, HIVE-18241.2.patch, > HIVE-18241.3.patch > > > Following query produces wrong result > {code:sql} > select key, value from src outr left semi join (select a.key, b.value from > src a join (select distinct value from src) b on a.value > b.value group by > a.key, b.value) inr on outr.key=inr.key and outr.value=inr.value; > {code} > Expected result is empty set but it output bunch of rows. > Schema for {{src}} table could be find in {{data/scripts/q_test_init.sql}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18241) Query with LEFT SEMI JOIN producing wrong result
[ https://issues.apache.org/jira/browse/HIVE-18241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18241: --- Status: Open (was: Patch Available) > Query with LEFT SEMI JOIN producing wrong result > > > Key: HIVE-18241 > URL: https://issues.apache.org/jira/browse/HIVE-18241 > Project: Hive > Issue Type: Bug >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18241.1.patch, HIVE-18241.2.patch > > > Following query produces wrong result > {code:sql} > select key, value from src outr left semi join (select a.key, b.value from > src a join (select distinct value from src) b on a.value > b.value group by > a.key, b.value) inr on outr.key=inr.key and outr.value=inr.value; > {code} > Expected result is empty set but it output bunch of rows. > Schema for {{src}} table could be find in {{data/scripts/q_test_init.sql}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18241) Query with LEFT SEMI JOIN producing wrong result
[ https://issues.apache.org/jira/browse/HIVE-18241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18241: --- Attachment: HIVE-18241.3.patch > Query with LEFT SEMI JOIN producing wrong result > > > Key: HIVE-18241 > URL: https://issues.apache.org/jira/browse/HIVE-18241 > Project: Hive > Issue Type: Bug >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18241.1.patch, HIVE-18241.2.patch, > HIVE-18241.3.patch > > > Following query produces wrong result > {code:sql} > select key, value from src outr left semi join (select a.key, b.value from > src a join (select distinct value from src) b on a.value > b.value group by > a.key, b.value) inr on outr.key=inr.key and outr.value=inr.value; > {code} > Expected result is empty set but it output bunch of rows. > Schema for {{src}} table could be find in {{data/scripts/q_test_init.sql}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18241) Query with LEFT SEMI JOIN producing wrong result
[ https://issues.apache.org/jira/browse/HIVE-18241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18241: --- Status: Patch Available (was: Open) Latest patch addresses review comment > Query with LEFT SEMI JOIN producing wrong result > > > Key: HIVE-18241 > URL: https://issues.apache.org/jira/browse/HIVE-18241 > Project: Hive > Issue Type: Bug >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18241.1.patch, HIVE-18241.2.patch, > HIVE-18241.3.patch > > > Following query produces wrong result > {code:sql} > select key, value from src outr left semi join (select a.key, b.value from > src a join (select distinct value from src) b on a.value > b.value group by > a.key, b.value) inr on outr.key=inr.key and outr.value=inr.value; > {code} > Expected result is empty set but it output bunch of rows. > Schema for {{src}} table could be find in {{data/scripts/q_test_init.sql}} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.7.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.2.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.7.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: (was: HIVE-17898.7.patch) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16260280#comment-16260280 ] Vineet Garg commented on HIVE-17898: Test failures are unrelated, pushing to master > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Resolution: Fixed Status: Resolved (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, > HIVE-17898.6.patch, HIVE-17898.7.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg reassigned HIVE-18123: -- > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Status: Patch Available (was: Open) > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Attachment: HIVE-18123.1.patch > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Attachment: HIVE-18123.2.patch > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch, HIVE-18123.2.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Status: Patch Available (was: Open) > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch, HIVE-18123.2.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-18123) Explain formatted improve column expression map display
[ https://issues.apache.org/jira/browse/HIVE-18123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-18123: --- Status: Open (was: Patch Available) > Explain formatted improve column expression map display > --- > > Key: HIVE-18123 > URL: https://issues.apache.org/jira/browse/HIVE-18123 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-18123.1.patch > > > HIVE-17898 introduced columnExprMap in explain formatted. Formatting of that > map was a little off. This jira is to improve the formatting. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.5.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Attachment: HIVE-17898.6.patch > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, HIVE-17898.6.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Patch Available (was: Open) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch, HIVE-17898.6.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Status: Open (was: Patch Available) > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 2.2.0, 2.1.1, 1.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Status: Patch Available (was: Open) > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 2.2.0, 2.1.1, 1.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Attachment: HIVE-16828.2.patch > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 1.2.0, 2.1.1, 2.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17898) Explain plan output enhancement
[ https://issues.apache.org/jira/browse/HIVE-17898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17898: --- Status: Open (was: Patch Available) > Explain plan output enhancement > --- > > Key: HIVE-17898 > URL: https://issues.apache.org/jira/browse/HIVE-17898 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17898.1.patch, HIVE-17898.2.patch, > HIVE-17898.3.patch, HIVE-17898.4.patch, HIVE-17898.5.patch > > > We would like to enhance the explain plan output to display additional > information e.g.: > TableScan operator should have following additional info > * Actual table name (currently only alias name is displayed) > * Database name > * Column names being scanned -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16256540#comment-16256540 ] Vineet Garg commented on HIVE-16828: [~ashutoshc] Can you take a look? > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 1.2.0, 2.1.1, 2.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.3.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Attachment: HIVE-16828.3.patch > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 1.2.0, 2.1.1, 2.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.3.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Status: Patch Available (was: Open) > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 2.2.0, 2.1.1, 1.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.3.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-16828) With CBO enabled, Query on partitioned views throws IndexOutOfBoundException
[ https://issues.apache.org/jira/browse/HIVE-16828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16828: --- Status: Open (was: Patch Available) > With CBO enabled, Query on partitioned views throws IndexOutOfBoundException > > > Key: HIVE-16828 > URL: https://issues.apache.org/jira/browse/HIVE-16828 > Project: Hive > Issue Type: Bug > Components: CBO >Affects Versions: 2.2.0, 2.1.1, 1.2.0 >Reporter: Adesh Kumar Rao >Assignee: Vineet Garg > Attachments: HIVE-16828.2.patch, HIVE-16828.patch > > > {code:java} > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Filter,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:374) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:394) > ... 98 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 102 more > Caused by: java.lang.AssertionError: Internal error: While invoking method > 'public org.apache.calcite.sql2rel.RelFieldTrimmer$TrimResult > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(org.apache.calcite.rel.core.Project,org.apache.calcite.util.ImmutableBitSet,java.util.Set)' > at org.apache.calcite.util.Util.newInternal(Util.java:789) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:534) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.dispatchTrimFields(RelFieldTrimmer.java:270) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimChild(RelFieldTrimmer.java:213) > at > org.apache.calcite.sql2rel.RelFieldTrimmer.trimFields(RelFieldTrimmer.java:466) > ... 107 more > Caused by: java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:483) > at org.apache.calcite.util.ReflectUtil$2.invoke(ReflectUtil.java:531) > ... 110 more > Caused by: java.lang.IndexOutOfBoundsException: Index: 94, Size: 94 > at java.util.ArrayList.rangeCheck(ArrayList.java:653) > at java.util.ArrayList.get(ArrayList.java:429) > at > org.apache.hadoop.hive.ql.optimizer.calcite.rules.HiveRelFieldTrimmer.trimFields(HiveRelFieldTrimmer.java:390) > {code} > Reproducible case: > 1) set "hive.security.authorization.enabled" to "true" in "hive-site.xml". > 2) {code:java} > CREATE TABLE table1 (id int) PARTITIONED BY (year int) > -- create partitioned view > CREATE VIEW view1 partitioned on (year) as select id, year from table1; > set hive.cbo.enable=true; > select year from view1; > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Attachment: HIVE-17767.5.patch > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Patch Available (was: Open) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Open (was: Patch Available) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Open (was: Patch Available) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg >Priority: Major > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Patch Available (was: Open) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg >Priority: Major > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Attachment: HIVE-17767.4.patch > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg >Priority: Major > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Open (was: Patch Available) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, HIVE-17767.6.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Open (was: Patch Available) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, HIVE-17767.6.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Attachment: HIVE-17767.6.patch > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, HIVE-17767.6.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Patch Available (was: Open) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, HIVE-17767.6.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16241519#comment-16241519 ] Vineet Garg commented on HIVE-17767: Removed those unwanted changes in latest patch. > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, > HIVE-17767.6.patch, HIVE-17767.7.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Attachment: HIVE-17767.7.patch > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, > HIVE-17767.6.patch, HIVE-17767.7.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Status: Patch Available (was: Open) > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, > HIVE-17767.6.patch, HIVE-17767.7.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (HIVE-17767) Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
[ https://issues.apache.org/jira/browse/HIVE-17767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-17767: --- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed it to master. Thanks for reviewing [~ashutoshc] > Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN > --- > > Key: HIVE-17767 > URL: https://issues.apache.org/jira/browse/HIVE-17767 > Project: Hive > Issue Type: Improvement > Components: Query Planning >Reporter: Vineet Garg >Assignee: Vineet Garg > Attachments: HIVE-17767.1.patch, HIVE-17767.2.patch, > HIVE-17767.3.patch, HIVE-17767.4.patch, HIVE-17767.5.patch, > HIVE-17767.6.patch, HIVE-17767.7.patch > > > Currently such queries are written into group by + inner join with value > generator and is inefficient. Value generator consists of join with outer > query to fetch all correlated values. This value generator could be > completely eliminated if such queries are instead rewritten into LEFT SEMI > JOIN. > Note that to do this first hive need to support LEFT SEMI JOIN with non-equi > condition (HIVE-17766). -- This message was sent by Atlassian JIRA (v6.4.14#64029)