sql: b'xxxx' should be parsed as a BIT(n) #74579
Labels
A-sql-pgcompat
Semantic compatibility with PostgreSQL
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
E-quick-win
Likely to be a quick win for someone experienced.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
In Postgres, a literal like
b'1001'
is parsed as aBIT(4)
:We know it is not parsed as a
VARBIT
because the output isbit
, instead ofbit varying
.In CRDB v21.2.3, it is parsed as a
BYTES
:We should match Postgres for consistency.
Jira issue: CRDB-12158
The text was updated successfully, but these errors were encountered: