Skip to content

fix(table): preserve narrow LIST column types and widen numeric cells - #1484

Open
MicaTeneral wants to merge 4 commits into
devfrom
fix/list-column-types-1457
Open

MicaTeneral wants to merge 4 commits into
devfrom
fix/list-column-types-1457

Conversation

@MicaTeneral

Copy link
Copy Markdown
Collaborator

Fixes #1457. Homogeneous I16/I32/F32/TIMESPAN lists retain their type; numeric mixes promote and retain nulls. F32 row insertion widens into an F64 column. Both new regressions passed. Compared with 0534771: 5564 vs 5562 passed, 24 skipped each, same five failing assertions (missing python3/xxd and IPC readiness).

@singaraiona singaraiona left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified at 33960ff.

  • Constructor: the table constructor builds the column as would for homogeneous narrow-type LISTs and lossless mixes, BOOL/U8 included (#1464's widening set). Nulls are exact, and typed-null BOOL/U8 cells store false/0.
  • insert/upsert: both take F32 into F64.
  • Docs and tests: the docs are accurate, and the tests fail on earlier rounds.
  • Speed: 10M-row builds are faster, except a mixed I64/F64 list at +8%.

Approved.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

table constructor rejects LIST columns of I16, I32, F32 or TIMESPAN, and narrow numeric mixes, that as accepts

2 participants