-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
colexec: messed up batch type schema (probably with CASE operator - the implementation of OR) #48622
Comments
Hello, I am Blathers. I am here to help you get the issue triaged. It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates. I have CC'd a few people who may be able to assist you:
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 otan. |
Thanks for the report! Yes, the schema would be very helpful. Also, if you don't mind, running |
|
here go, schema will post later
|
Have you able to deduce from the above @yuzefovich ? Turn out it real difficult to have a reduce test case, just the schema alone wont be enough, some random data I put in won't crash cockroachdb either, should I just dump database and give it to you ? (it relative small) P/s: if yes, then can I have your email ? |
Eye-balling the plan I don't see what the problem is, so having a reproduction would be immensely helpful if you're ok with sharing the data. My email is [email protected]. In the meantime, if this issue is blocking you, you could disable vectorization with |
Sent! Another issue I've mention in email about |
Thanks, I'll take a look! Regardless the difficulties with |
Thanks to your reproduction I was able to spot a bug pretty quickly, fix incoming :) |
48552: geo/geomfn: implement ST_Relate and ST_ContainsProperly r=sumeerbhola a=otan Commit on top of #48522. Added ST_ContainsProperly to the optimizer as well that calls it to use Covers. Also update the RFC to claim ST_ContainsProperly as indexed backed. Release note (sql change): Implemented the geometry based builtins `ST_Relate` and `ST_ContainsProperly`. 48659: colexec: fix type schema for LEFT SEMI and LEFT ANTI joins r=yuzefovich a=yuzefovich LEFT SEMI and LEFT ANTI joins output only all the columns from the left, however, we mistakenly put the columns from the right into `result.ColumnTypes`. Fixes: #48622. Release note (bug fix): Previously, CockroachDB could encounter an internal error when a query with LEFT SEMI or LEFT ANTI join was performed via the vectorized execution engine in some cases, and now this has been fixed. This is likely to occur only with `vectorize=on` setting. Co-authored-by: Oliver Tan <[email protected]> Co-authored-by: Yahor Yuzefovich <[email protected]>
Got this error when run a complicated query (query below)
version
Let me know if we need database schema.
The text was updated successfully, but these errors were encountered: