-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql: Internal Error when using invalid range condition #95604
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-sql-queries
SQL Queries Team
Comments
SteveLeungYL
added
the
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
label
Jan 20, 2023
Hello, I am Blathers. I am here to help you get the issue triaged. Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here. I was unable to automatically find someone to ping. If we have not gotten back to your issue within a few business days, you can try the following:
🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
blathers-crl
bot
added
O-community
Originated from the community
X-blathers-untriaged
blathers was unable to find an owner
labels
Jan 20, 2023
This was referenced Jan 20, 2023
msirek
pushed a commit
to msirek/cockroach
that referenced
this issue
Jan 27, 2023
Fixes cockroachdb#95604 This adds missing normalization of AS OF SYSTEM TIME expressions. Without normalization, some expressions such as range conditions may result in an internal error. Release note (bug fix): This patch fixes internal errors which may occur on some AS OF SYSTEM TIME expressions.
craig bot
pushed a commit
that referenced
this issue
Jan 27, 2023
96105: sql: add logic test for function dropped by DROP OWNED BY r=chengxiong-ruan a=chengxiong-ruan With DROP FUNCTION supported in declarative schema changer, DROP OWNED BY can now drop functions. Epic: None Release note: None 96113: asof: fix internal error on AOST expression requiring normalization r=ajwerner a=msirek Fixes #95604 This adds missing normalization of AS OF SYSTEM TIME expressions. Without normalization, some expressions such as range conditions may result in an internal error. Release note (bug fix): This patch fixes internal errors which may occur on some AS OF SYSTEM TIME expressions. 96121: workflow: Cluster UI autopublishing configuration fixes r=nathanstilwell a=nathanstilwell Using action `actions/setup-node@v3` we need to provide specific configuration for the internally generated `.npmrc`. This commit sets `registry-url` and `always-auth` to be explicit and changes the environment variable `NPM_TOKEN` to `NODE_AUTH_TOKEN` since this is what the action uses internally to set the auth token. I'm also switching back to using `npm` to publish as the setup-node action uses Yarn2 internally which can not read npm configuration and must have its own `.yarnrc.yml` generated. A couple more improvements were made (since I was here), - Add explicit output when a package should be published - Check for the existence of a git tag before creating one (to prevent duplicates) - Adds `--ignore-scripts` option to publish command to prevent duplicate builds. Test publish - [Publish Cluster UI Pre-release #73](https://github.com/cockroachdb/cockroach/actions/runs/4027917363) (published [23.1.0-publishtest.0](https://www.npmjs.com/package/`@cockroachlabs/cluster-ui/v/23.1.0-publishtest.0)` and created [tag](https://github.com/cockroachdb/cockroach/releases/tag/%40cockroachlabs%2Fcluster-ui%4023.1.0-publishtest.0)) Epic: none Release note: None Co-authored-by: Chengxiong Ruan <[email protected]> Co-authored-by: Mark Sirek <[email protected]> Co-authored-by: Nathan Stilwell <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
T-sql-queries
SQL Queries Team
Describe the problem
The latest version of the CockroachDB (b861696) shows
Internal Error
when executing the following query:To Reproduce
Here is the detail steps to reproduce the bug.
make install
in the root repository folder../cockroach demo
, and then paste the PoC query to the cockroach cli environment.Internal Error
and log the stack information.Expected behavior
The
SELECT
statement's result should be a semantic error.Additional data / screenshots
Here is the outputted stack trace:
Environment:
./cockroach demo
)Additional context
The bug can be reproduced by CockroachDB release version:
CockroachDB v23.1 Testing Releases
,v22.2.2
andv22.1
. We haven't tested versions beforev22.1
.Jira issue: CRDB-23610
The text was updated successfully, but these errors were encountered: