This is an automated email from the ASF dual-hosted git repository.
krisztiankasa pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 72488e40fa6 HIVE-26524: Use Calcite to remove sections of a query plan
known never produces rows - ADDENDUM (Krisztian Kasa, reviewed by Stamatis
Zampetakis)
72488e40fa6 is described below
commit 72488e40fa695723851f8a42cca2fd3e23504af8
Author: Krisztian Kasa <[email protected]>
AuthorDate: Wed Nov 16 05:16:27 2022 +0100
HIVE-26524: Use Calcite to remove sections of a query plan known never
produces rows - ADDENDUM (Krisztian Kasa, reviewed by Stamatis Zampetakis)
---
.../hadoop/hive/ql/optimizer/calcite/reloperators/HiveValues.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveValues.java
b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveValues.java
index b23218d4953..9ce813e015f 100644
---
a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveValues.java
+++
b/ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/reloperators/HiveValues.java
@@ -32,7 +32,7 @@ import java.util.List;
* Subclass of {@link org.apache.calcite.rel.core.Values}.
* Specialized to Hive engine.
*/
-public class HiveValues extends Values {
+public class HiveValues extends Values implements HiveRelNode {
public HiveValues(RelOptCluster cluster, RelDataType rowType,
ImmutableList<ImmutableList<RexLiteral>> tuples,
RelTraitSet traits) {
@@ -43,4 +43,8 @@ public class HiveValues extends Values {
public RelNode copy(RelTraitSet traitSet, List<RelNode> inputs) {
return new HiveValues(getCluster(), getRowType(), tuples, getTraitSet());
}
+
+ @Override
+ public void implement(Implementor implementor) {
+ }
}