apache / apache/beam

aggregation expression can't apply to math or arithmetic expressions

Open
#18,649 0 comments 0 reactions 0 assignees View on GitHub
dsl improvement P3 sql
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
2d 2h
Merged PRs (30d)
205

Description

fails when executing sql

'select sum(c1)****2 from PCOLLECTION group by c2'

Imported from Jira [BEAM-3558](https://issues.apache.org/jira/browse/BEAM-3558). Original Jira may contain additional context.
Reported by: vectorijk.

Contributor guide

Open the contributing guide

Research direction

No implementation file or test is named. Start by reproducing the reported SQL query, `select sum(c1)****2 from PCOLLECTION group by c2`, and trace the aggregation-expression handling in Apache Beam SQL. Done means the query executes successfully with the arithmetic expression applied to the aggregate.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.