Skip to content

Commit 22c9bb7

Browse files
author
dapeng
committed
Merge branch 'feat_1.8_primaryKey' into '1.8_test_3.10.x'
先去除join维表的条件校验 See merge request !278
2 parents 52e5d1d + 2bfd651 commit 22c9bb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/src/main/java/com/dtstack/flink/sql/side/SideSqlExec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,9 +789,9 @@ private void joinFun(Object pollObj, Map<String, Table> localTableCache,
789789
throw new RuntimeException("can't not find side table:" + joinInfo.getRightTableName());
790790
}
791791

792-
if(!checkJoinCondition(joinInfo.getCondition(), joinInfo.getRightTableAlias(), sideTableInfo)){
793-
throw new RuntimeException("ON condition must contain all equal fields!!!");
794-
}
792+
// if(!checkJoinCondition(joinInfo.getCondition(), joinInfo.getRightTableAlias(), sideTableInfo)){
793+
// throw new RuntimeException("ON condition must contain all equal fields!!!");
794+
// }
795795

796796
rightScopeChild.setRowTypeInfo(sideTableInfo.getRowTypeInfo());
797797

0 commit comments

Comments
 (0)