Re: questions about hive CBO

2015-06-17 Thread John Pullokkaran
HepPlanner is a greedy planner & VolcanoPlanner is a more exhaustive planner. ReloptCluster captures env for planning; it holds on to type factory, metadata providerŠ Having said that these are just required plumbings needed to explore plan alternatives. CalcitePlanner, Meta data providers, Relopt

questions about hive CBO

2015-06-17 Thread wangzhenhua (G)
Hi all, I'm reading the source code of Hive cbo (CalcaitePlanner), but I find it hard to follow. Listed below are some of the questions: 1. What's the relationship between HepPlanner and HiveVolcanoPlanner? 2. I don't have a clue about these concepts: clusters, traitDef and collectGarbage(). Th

[jira] [Created] (HIVE-11040) Change Derby dependency version to 10.10.2.0

2015-06-17 Thread Jason Dere (JIRA)
Jason Dere created HIVE-11040: - Summary: Change Derby dependency version to 10.10.2.0 Key: HIVE-11040 URL: https://issues.apache.org/jira/browse/HIVE-11040 Project: Hive Issue Type: Bug

Re: Review Request 35576: HIVE-11028 Tez: table self join and join with another table fails with IndexOutOfBoundsException

2015-06-17 Thread Jason Dere
> On June 17, 2015, 7:39 p.m., John Pullokkaran wrote: > > ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConstantPropagate.java, > > line 46 > > > > > > As we discussed, Couldn't we move foldExpr from ConstantPropaga

Re: PL/HQL and Hive

2015-06-17 Thread Alan Gates
In Apache projects there are contributors and committers. Contributors are anyone who helps with the project via code, docs, tests, bug reports, etc. Committers can commit code, though it must still be reviewed by other committers. On the process of becoming a committer in Hive see https://

[jira] [Created] (HIVE-11039) Write a tool to allow people with datanucelus.identifierFactory=datanucleus2 to migrate their metastore to datanucleus1 naming

2015-06-17 Thread Sushanth Sowmyan (JIRA)
Sushanth Sowmyan created HIVE-11039: --- Summary: Write a tool to allow people with datanucelus.identifierFactory=datanucleus2 to migrate their metastore to datanucleus1 naming Key: HIVE-11039 URL: https://issues.

Re: Review Request 35532: HIVE-11025 In windowing spec, when the datatype is decimal, it's comparing the value against NULL value incorrectly

2015-06-17 Thread Aihua Xu
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35532/ --- (Updated June 17, 2015, 10:47 p.m.) Review request for hive. Repository: hive

Re: Review Request 35532: HIVE-11025 In windowing spec, when the datatype is decimal, it's comparing the value against NULL value incorrectly

2015-06-17 Thread Ashutosh Chauhan
> On June 17, 2015, 4:08 p.m., Ashutosh Chauhan wrote: > > ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunction.java, > > line 1240 > > > > > > This doesn't seem right. isGreater() (as oppose to isEqu

Re: Review Request 35532: HIVE-11025 In windowing spec, when the datatype is decimal, it's comparing the value against NULL value incorrectly

2015-06-17 Thread Aihua Xu
> On June 17, 2015, 4:08 p.m., Ashutosh Chauhan wrote: > > ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunction.java, > > line 1240 > > > > > > This doesn't seem right. isGreater() (as oppose to isEqu

Review Request 35582: HIVE-11029:hadoop.proxyuser.mapr.groups does not work to restrict the groups that can be impersonated

2015-06-17 Thread Na Yang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35582/ --- Review request for hive, Chao Sun, Szehon Ho, and Xuefu Zhang. Bugs: HIVE-11029

[jira] [Created] (HIVE-11038) MiniTezCli tests are hanging

2015-06-17 Thread Wei Zheng (JIRA)
Wei Zheng created HIVE-11038: Summary: MiniTezCli tests are hanging Key: HIVE-11038 URL: https://issues.apache.org/jira/browse/HIVE-11038 Project: Hive Issue Type: Bug Components: Hive,

[jira] [Created] (HIVE-11037) HiveOnTez: make explain user level = true as default

2015-06-17 Thread Pengcheng Xiong (JIRA)
Pengcheng Xiong created HIVE-11037: -- Summary: HiveOnTez: make explain user level = true as default Key: HIVE-11037 URL: https://issues.apache.org/jira/browse/HIVE-11037 Project: Hive Issue T

[jira] [Created] (HIVE-11036) Race condition in DataNucleus makes Metastore to hang

2015-06-17 Thread Ashutosh Chauhan (JIRA)
Ashutosh Chauhan created HIVE-11036: --- Summary: Race condition in DataNucleus makes Metastore to hang Key: HIVE-11036 URL: https://issues.apache.org/jira/browse/HIVE-11036 Project: Hive Issu

Re: PL/HQL and Hive

2015-06-17 Thread Dmitry Tolpeko
Alan, HPL/SQL is a good name, I am ok with this change. Right now I am the only one developer of PL/HQL. Which status will I be given in the Hive project, so I can continue developing the tool? I will read docs and try to create a patch. Thanks, Dmitry On Wed, Jun 17, 2015 at 9:55 PM, Alan Gate

Re: Review Request 35576: HIVE-11028 Tez: table self join and join with another table fails with IndexOutOfBoundsException

2015-06-17 Thread John Pullokkaran
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35576/#review88269 --- ql/src/java/org/apache/hadoop/hive/ql/optimizer/ConstantPropagate.j

Re: PL/HQL and Hive

2015-06-17 Thread Alan Gates
Here's what we need to do: 1) You need to file a JIRA proposing to contribute the code. 2) You can then contribute the code as a patch to that JIRA. As long as you've written all the code yourself this is sufficient to hand legal rights to Apache to contribute the code. If others beyond you h

Review Request 35576: HIVE-11028 Tez: table self join and join with another table fails with IndexOutOfBoundsException

2015-06-17 Thread Jason Dere
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35576/ --- Review request for hive, Gunther Hagleitner and John Pullokkaran. Bugs: HIVE-11

Re: Review Request 34897: CBO: Calcite Operator To Hive Operator (Calcite Return Path) Empty tabAlias in columnInfo which triggers PPD

2015-06-17 Thread pengcheng xiong
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34897/ --- (Updated June 17, 2015, 5:54 p.m.) Review request for hive and Jesús Camacho Ro

Hive-0.14 - Build # 987 - Still Failing

2015-06-17 Thread Apache Jenkins Server
Changes for Build #980 Changes for Build #981 Changes for Build #982 Changes for Build #983 Changes for Build #984 Changes for Build #985 Changes for Build #986 Changes for Build #987 No tests ran. The Apache Jenkins build system has built Hive-0.14 (build #987) Status: Still Failing C

Re: Review Request 34897: CBO: Calcite Operator To Hive Operator (Calcite Return Path) Empty tabAlias in columnInfo which triggers PPD

2015-06-17 Thread Jesús Camacho Rodríguez
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34897/#review88242 --- ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/translator/

Re: Review Request 35532: HIVE-11025 In windowing spec, when the datatype is decimal, it's comparing the value against NULL value incorrectly

2015-06-17 Thread Ashutosh Chauhan
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35532/#review88235 --- ql/src/java/org/apache/hadoop/hive/ql/udf/ptf/WindowingTableFunctio

[jira] [Created] (HIVE-11035) PPD: Orc Split elimination fails because filterColumns=[-1]

2015-06-17 Thread Gopal V (JIRA)
Gopal V created HIVE-11035: -- Summary: PPD: Orc Split elimination fails because filterColumns=[-1] Key: HIVE-11035 URL: https://issues.apache.org/jira/browse/HIVE-11035 Project: Hive Issue Type: Bug

Re: Review Request 34757: HIVE-10844: Combine equivalent Works for HoS[Spark Branch]

2015-06-17 Thread chengxiang li
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/34757/ --- (Updated June 17, 2015, 8:59 a.m.) Review request for hive and Xuefu Zhang. C