This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
new 5b40263e84 [Bug](lateral-view) fix some conjunct not work on lateral
view #12105
5b40263e84 is described below
commit 5b40263e84a4bd899d7cf7375ee58b91d5fdf8cd
Author: Pxl <[email protected]>
AuthorDate: Mon Aug 29 12:08:20 2022 +0800
[Bug](lateral-view) fix some conjunct not work on lateral view #12105
---
.../src/main/java/org/apache/doris/analysis/Analyzer.java | 15 ---------------
.../java/org/apache/doris/planner/TableFunctionNode.java | 1 +
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/Analyzer.java
b/fe/fe-core/src/main/java/org/apache/doris/analysis/Analyzer.java
index 488d234e7b..d73525847b 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/Analyzer.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/Analyzer.java
@@ -1236,21 +1236,6 @@ public class Analyzer {
return result;
}
- /**
- * Return all unassigned registered conjuncts that are fully bound by given
- * list of tuple ids
- */
- public List<Expr> getAllUnassignedConjuncts(List<TupleId> tupleIds) {
- List<Expr> result = Lists.newArrayList();
- for (Expr e : globalState.conjuncts.values()) {
- if (!e.isAuxExpr() && e.isBoundByTupleIds(tupleIds) &&
!globalState.assignedConjuncts.contains(e.getId())
- && !globalState.ojClauseByConjunct.containsKey(e.getId()))
{
- result.add(e);
- }
- }
- return result;
- }
-
/**
* Return all unassigned conjuncts of the outer join referenced by
* right-hand side table ref.
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/planner/TableFunctionNode.java
b/fe/fe-core/src/main/java/org/apache/doris/planner/TableFunctionNode.java
index 9d17836aa0..c09a0fdd37 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/planner/TableFunctionNode.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/planner/TableFunctionNode.java
@@ -53,6 +53,7 @@ public class TableFunctionNode extends PlanNode {
super(id, "TABLE FUNCTION NODE");
tupleIds.addAll(inputNode.getTupleIds());
tblRefIds.addAll(inputNode.getTupleIds());
+ tblRefIds.addAll(inputNode.getTblRefIds());
lateralViewTupleIds = lateralViewRefs.stream().map(e ->
e.getDesc().getId())
.collect(Collectors.toList());
tupleIds.addAll(lateralViewTupleIds);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]