apache / apache/beam

Support nested AND

Open
#19,177 0 comments 0 reactions 0 assignees View on GitHub
dsl P3 sql sub-task
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

There might be nested AND cases:

a = b AND (c = d AND (e = f)).

Such cases should be flattened as a = b AND c = d AND e = f.

This is useful because after done so, we can easily build keys for join inputs: each conjunction clause contributes a field of key (key is Row in SQL equi-join) for join inputs.

Imported from Jira [BEAM-7150](https://issues.apache.org/jira/browse/BEAM-7150). Original Jira may contain additional context.
Reported by: amaliujia.
Subtask of issue #19175

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.