confluentinc / confluentinc/ksql
Field negative expression - user experience improvement
- Dominant language
- Java
- Stars
- 315
- Forks
- 1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
Description
ksql> select -O.ROWTIME from VS_HGAME_ORDERS_N111_STREAM O;
Code generation failed for SelectValueMapper
Caused by: Line 1, Column 11: Expression "O_ROWTIME" is not an rvalue
ksql> select -(O.ROWTIME) from VS_HGAME_ORDERS_N111_STREAM O;
Code generation failed for SelectValueMapper
Caused by: Line 1, Column 11: Expression "O_ROWTIME" is not an rvalue
ksql> select 0-(O.ROWTIME) from VS_HGAME_ORDERS_N111_STREAM O;
-1538029287000
Contributor guide
Research direction
Reproduce the three SELECT expressions in the ksql CLI against the stated stream and compare the parser or code-generation errors with the successful 0-(O.ROWTIME) form. Trace the handling of unary negative expressions and field references, then verify that the intended negative field expression works without the not-an-rvalue failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, sql
- Domain
- databases, stream-processing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100