Skip to content

ARROW-6372: [Rust][Datafusion] Casting from Un-signed to Signed Integers not supported#5224

Closed
paddyhoran wants to merge 1 commit intoapache:masterfrom
paddyhoran:ARROW-6372
Closed

ARROW-6372: [Rust][Datafusion] Casting from Un-signed to Signed Integers not supported#5224
paddyhoran wants to merge 1 commit intoapache:masterfrom
paddyhoran:ARROW-6372

Conversation

@paddyhoran
Copy link
Copy Markdown
Contributor

No description provided.

},
Int16 => match type_from {
Int8 | Int16 => true,
Int8 | Int16 | UInt8 => true,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

silly question, but are we excluding UInt16 here because it could overflow?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's my understanding, yes.

Copy link
Copy Markdown
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #5224 into master will decrease coverage by 4.94%.
The diff coverage is 75%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #5224       +/-   ##
===========================================
- Coverage   87.67%   82.73%    -4.95%     
===========================================
  Files        1025       91      -934     
  Lines      147030    25599   -121431     
  Branches     1437        0     -1437     
===========================================
- Hits       128915    21180   -107735     
+ Misses      17753     4419    -13334     
+ Partials      362        0      -362
Impacted Files Coverage Δ
rust/datafusion/src/optimizer/type_coercion.rs 81.41% <100%> (+0.86%) ⬆️
rust/datafusion/src/logicalplan.rs 48.69% <33.33%> (ø) ⬆️
rust/parquet/src/encodings/encoding.rs 92.1% <0%> (-0.36%) ⬇️
python/pyarrow/ipc.pxi
cpp/src/parquet/column_page.h
cpp/src/plasma/test/external_store_tests.cc
cpp/src/arrow/array/builder_decimal.cc
r/src/symbols.cpp
cpp/src/arrow/flight/internal.cc
cpp/src/arrow/compute/compute_test.cc
... and 928 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05bc63c...58597cd. Read the comment docs.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants