Skip to content

[CALCITE-7360] The meaning of negation for unsigned numbers is not defined#4747

Open
mihaibudiu wants to merge 1 commit intoapache:mainfrom
mihaibudiu:issue7360
Open

[CALCITE-7360] The meaning of negation for unsigned numbers is not defined#4747
mihaibudiu wants to merge 1 commit intoapache:mainfrom
mihaibudiu:issue7360

Conversation

@mihaibudiu
Copy link
Contributor

Maybe I should change the title of the issue to "Make negation of UNSIGNED values illegal"
But no one replied to the JIRA issue, so here is a proposal for an implementation which does exactly that.

@github-actions
Copy link

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@calcite.apache.org list. Thank you for your contributions.

@github-actions github-actions bot added the stale label Feb 15, 2026
@mihaibudiu
Copy link
Contributor Author

I plan to update this PR

…fined

Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
@sonarqubecloud
Copy link

@github-actions github-actions bot removed the stale label Feb 18, 2026
@mihaibudiu
Copy link
Contributor Author

This PR makes it illegal to use - on an unsigned value.
There is some discussion in JIRA about other alternative choices - none of them will satisfy all dialects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant