Skip to content

Commit

Permalink
fix join check
Browse files Browse the repository at this point in the history
  • Loading branch information
lancelly committed Jan 21, 2025
1 parent 1e39c65 commit bb15ece
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1501,7 +1501,7 @@ private void semanticCheckForJoin(JoinNode node) {
!node.getFilter().isPresent() || node.getFilter().get().equals(TRUE_LITERAL),
String.format(
"Filter is not supported in %s. Filter is %s.",
node.getJoinType(), node.getFilter().get()));
node.getJoinType(), node.getFilter().map(Expression::toString).orElse("null")));
checkArgument(
!node.getCriteria().isEmpty(),
String.format("%s must have join keys.", node.getJoinType()));
Expand Down

0 comments on commit bb15ece

Please sign in to comment.