apache / apache/beam

support OR

Open
#19,178 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

OR supposed to be implement in rules.

Basically when LogicalRel is generated and being converted to PhysicalRel, OR should be handled by a separate converter rule:

all conjunction clauses of OR should be converted to independent JOIN and their results are combined by UNION rel with deduplication.

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

Contributor guide

Open the contributing guide

Research direction

Start by locating the LogicalRel-to-PhysicalRel conversion rules mentioned in the issue and read the surrounding planner code; no specific files or tests are identified. Done means OR conjunction clauses are handled by a separate converter, with independent JOIN results combined through a deduplicating UNION rel.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.