Skip to content

Commit

Permalink
ARROW-3882: [Rust] Cast Kernel for most types
Browse files Browse the repository at this point in the history
This is an implementation of a cast kernel for most Arrow types.

Limitations (when PR is complete):
* Casting to or from `StructArray` not supported
* Casting `ListArray` to non-list array not supported
* Casting of incompatible primitive types not supported (e.g. temporal to boolean)

Author: Neville Dipale <nevilledips@gmail.com>
Author: Wakahisa <nevilledips@gmail.com>

Closes #3797 from nevi-me/ARROW-3882 and squashes the following commits:

67c3ab3 <Wakahisa> Merge branch 'master' into ARROW-3882
0f42cd1 <Neville Dipale> replace cast macros with generic functions
66acfb3 <Neville Dipale> move cast_kernels > kernels/cast
9784313 <Neville Dipale> fix doc comment
04c7307 <Neville Dipale> boolean casts, documentation, error handling
4a8906b <Neville Dipale> cast binary -> numeric
c3b8961 <Neville Dipale> use arrow cast in datafusion
ae9509c <Neville Dipale> ARROW-3882:  Cast Kernel for most types
  • Loading branch information
nevi-me authored and andygrove committed Mar 13, 2019
1 parent 95d62ca commit 92433c8
Show file tree
Hide file tree
Showing 4 changed files with 553 additions and 83 deletions.
Loading

0 comments on commit 92433c8

Please sign in to comment.