cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.03k stars 3.8k forks source link

colexec: projection operators do not support NULL as a constant argument #41001

Open yuzefovich opened 5 years ago

yuzefovich commented 5 years ago

As Rafi noticed here https://github.com/cockroachdb/cockroach/pull/40927#pullrequestreview-292024506, projection operators do not support having NULL as a constant argument. At the moment, all such cases we'll be rejected by the vectorized engine because of https://github.com/cockroachdb/cockroach/blob/master/pkg/sql/colexec/execplan.go#L1096, so it is not a high priority bug, but we should fix it at some point.

Jira issue: CRDB-5494

github-actions[bot] commented 1 year ago

We have marked this issue as stale because it has been inactive for 18 months. If this issue is still relevant, removing the stale label or adding a comment will keep it active. Otherwise, we'll close it in 10 days to keep the issue queue tidy. Thank you for your contribution to CockroachDB!