[jira] [Work logged] (HIVE-24304) Query containing UNION fails with OOM

2020-10-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-24304?focusedWorklogId=504378&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-504378
 ]

ASF GitHub Bot logged work on HIVE-24304:
-

Author: ASF GitHub Bot
Created on: 23/Oct/20 23:54
Start Date: 23/Oct/20 23:54
Worklog Time Spent: 10m 
  Work Description: vineetgarg02 merged pull request #1600:
URL: https://github.com/apache/hive/pull/1600


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 504378)
Time Spent: 0.5h  (was: 20m)

> Query containing UNION fails with OOM
> -
>
> Key: HIVE-24304
> URL: https://issues.apache.org/jira/browse/HIVE-24304
> Project: Hive
>  Issue Type: Bug
>  Components: Query Planning
>Reporter: Vineet Garg
>Assignee: Vineet Garg
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (HIVE-24304) Query containing UNION fails with OOM

2020-10-23 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-24304?focusedWorklogId=504257&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-504257
 ]

ASF GitHub Bot logged work on HIVE-24304:
-

Author: ASF GitHub Bot
Created on: 23/Oct/20 17:11
Start Date: 23/Oct/20 17:11
Worklog Time Spent: 10m 
  Work Description: jcamachor commented on a change in pull request #1600:
URL: https://github.com/apache/hive/pull/1600#discussion_r511024068



##
File path: 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/stats/HiveRelMdExpressionLineage.java
##
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.hadoop.hive.ql.optimizer.calcite.stats;
+
+
+import org.apache.calcite.rel.core.Union;
+import org.apache.calcite.rel.metadata.BuiltInMetadata;
+import org.apache.calcite.rel.metadata.MetadataDef;
+import org.apache.calcite.rel.metadata.MetadataHandler;
+import org.apache.calcite.rel.metadata.ReflectiveRelMetadataProvider;
+import org.apache.calcite.rel.metadata.RelMetadataProvider;
+import org.apache.calcite.rel.metadata.RelMetadataQuery;
+import org.apache.calcite.rex.RexNode;
+import org.apache.calcite.util.BuiltInMethod;
+import org.apache.calcite.util.ImmutableBitSet;
+import org.apache.hadoop.hive.ql.optimizer.calcite.RelOptHiveTable;
+import org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveTableScan;
+import org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveUnion;
+
+import java.util.Set;
+
+public final class HiveRelMdExpressionLineage
+implements MetadataHandler {
+  public static final RelMetadataProvider SOURCE =
+  ReflectiveRelMetadataProvider.reflectiveSource(
+  BuiltInMethod.EXPRESSION_LINEAGE.method, new 
HiveRelMdExpressionLineage());
+
+  //~ Constructors ---
+
+  private HiveRelMdExpressionLineage() {}
+
+  //~ Methods 
+
+  public MetadataDef getDef() {
+return BuiltInMetadata.ExpressionLineage.DEF;
+  }
+
+  public Set getExpressionLineage(HiveUnion rel, RelMetadataQuery mq,
+  RexNode outputExpression) {
+return null;

Review comment:
   Can we add a comment based on the JIRA discussion on why we are 
returning null for Union operator (it will help us recall in case we revisit 
this code in the future)?





This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 504257)
Time Spent: 20m  (was: 10m)

> Query containing UNION fails with OOM
> -
>
> Key: HIVE-24304
> URL: https://issues.apache.org/jira/browse/HIVE-24304
> Project: Hive
>  Issue Type: Bug
>  Components: Query Planning
>Reporter: Vineet Garg
>Assignee: Vineet Garg
>Priority: Major
>  Labels: pull-request-available
>  Time Spent: 20m
>  Remaining Estimate: 0h
>




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


[jira] [Work logged] (HIVE-24304) Query containing UNION fails with OOM

2020-10-22 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/HIVE-24304?focusedWorklogId=503928&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-503928
 ]

ASF GitHub Bot logged work on HIVE-24304:
-

Author: ASF GitHub Bot
Created on: 22/Oct/20 23:21
Start Date: 22/Oct/20 23:21
Worklog Time Spent: 10m 
  Work Description: vineetgarg02 opened a new pull request #1600:
URL: https://github.com/apache/hive/pull/1600


   
   
   ### What changes were proposed in this pull request?
   
   
   
   ### Why are the changes needed?
   
   
   
   ### Does this PR introduce _any_ user-facing change?
   
   
   
   ### How was this patch tested?
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
---

Worklog Id: (was: 503928)
Remaining Estimate: 0h
Time Spent: 10m

> Query containing UNION fails with OOM
> -
>
> Key: HIVE-24304
> URL: https://issues.apache.org/jira/browse/HIVE-24304
> Project: Hive
>  Issue Type: Bug
>  Components: Query Planning
>Reporter: Vineet Garg
>Assignee: Vineet Garg
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>




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