sql: INT4 column type not reported as INT4 when inspecting column types (SHOW CREATE, errors etc) #25098
Labels
A-sql-semantics
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-community
Originated from the community
S-3-ux-surprise
Issue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.
According to https://www.cockroachlabs.com/docs/stable/int.html#names-and-aliases, INT4 is treated as a 32-bit type that can't simply be aliased to a full 64-bit
INTEGER
. However, the actual code does convertINT4
columns toINTEGER
on both v1.1.4 and v2.0.1:Which is wrong -- the code or the docs?
The text was updated successfully, but these errors were encountered: