[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Resolution: Fixed Fix Version/s: 2.1.1 2.2.0 1.3.0 Status: Resolved (was: Patch Available) Pushed to master, branch-2.1, branch-1. Thanks for the review [~ashutoshc]! > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Fix For: 1.3.0, 2.2.0, 2.1.1 > > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: HIVE-13191.03.patch > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: (was: HIVE-13191.03.patch) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Open (was: Patch Available) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Patch Available (was: In Progress) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: HIVE-13191.03.patch > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.03.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: HIVE-13191.02.patch > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Patch Available (was: In Progress) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.02.patch, > HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Open (was: Patch Available) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: HIVE-13191.01.patch > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.01.patch, HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Open (was: Patch Available) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Patch Available (was: In Progress) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Attachment: HIVE-13191.patch > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: HIVE-13191.patch, tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jesus Camacho Rodriguez updated HIVE-13191: --- Status: Patch Available (was: In Progress) > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.0, 2.0.0 >Reporter: Gopal V >Assignee: Jesus Camacho Rodriguez > Attachments: tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vikram Dixit K updated HIVE-13191: -- Attachment: tez.q Along with this addition {code} diff --git a/itests/src/test/resources/testconfiguration.properties b/itests/src/test/resources/testconfiguration.properties index c891d40..a499b0a 100644 --- a/itests/src/test/resources/testconfiguration.properties +++ b/itests/src/test/resources/testconfiguration.properties @@ -70,6 +70,7 @@ disabled.query.files=ql_rewrite_gbtoidx.q,\ smb_mapjoin_8.q minitez.query.files.shared=acid_globallimit.q,\ + tez.q,\ deleteAnalyze.q,\ empty_join.q,\ alter_merge_2_orc.q,\ {code} > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Vikram Dixit K > Attachments: tez.q > > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (HIVE-13191) DummyTable map joins mix up columns between tables
[ https://issues.apache.org/jira/browse/HIVE-13191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Siddharth Seth updated HIVE-13191: -- Assignee: Vikram Dixit K > DummyTable map joins mix up columns between tables > -- > > Key: HIVE-13191 > URL: https://issues.apache.org/jira/browse/HIVE-13191 > Project: Hive > Issue Type: Bug >Affects Versions: 2.0.0, 2.1.0 >Reporter: Gopal V >Assignee: Vikram Dixit K > > {code} > SELECT > a.key, > a.a_one, > b.b_one, > a.a_zero, > b.b_zero > FROM > ( > SELECT > 11 key, > 0 confuse_you, > 1 a_one, > 0 a_zero > ) a > LEFT JOIN > ( > SELECT > 11 key, > 0 confuse_you, > 1 b_one, > 0 b_zero > ) b > ON a.key = b.key > ; > 11 1 0 0 1 > {code} > This should be 11, 1, 1, 0, 0 instead. > Disabling map-joins & using shuffle-joins returns the right result. -- This message was sent by Atlassian JIRA (v6.3.4#6332)