Shar-jeel-Sajid
4647ee23c8
using context in error handling
1 year ago
Shar-jeel-Sajid
c655d1f103
formatting
1 year ago
Shar-jeel-Sajid
755c5b452a
Made conversion generic
1 year ago
Shar-jeel-Sajid
a88196e331
linting and renaming
1 year ago
Shar-jeel-Sajid
0bb576008f
cast_values for f64
1 year ago
Shar-jeel-Sajid
0e4bcddb24
Added f16 type conversion
1 year ago
Shar-jeel-Sajid
524eaa0dec
Very small typo
Co-authored-by: Haixuan Xavier Tao <tao.xavier@outlook.com>
1 year ago
Shar-jeel-Sajid
ee5426565b
Combining macros
1 year ago
Shar-jeel-Sajid
77532746ff
procedural macros in from_impls file
1 year ago
Shar-jeel-Sajid
f89c2638ef
procedural macros in into_impls file
1 year ago
Haroon Tahir
7ceffa6d5c
Changed String conversion in from to simplify the code and handle edge cases removed arrow-convert crate from cargo.toml as well since it is not being used
1 year ago
Haroon Tahir
7872ef2483
Removed conversion for &String since &str covers that use case
1 year ago
Shar-jeel-Sajid
a25be9df0b
Now support conversion for chrono::NaiveDateTime
1 year ago
Shar-jeel-Sajid
a2ce18ae2b
Now support Date32,Date64,Tim32second,Time32millisecond,Time64microsecond,Time64nanosecond
1 year ago
Shar-jeel-Sajid
39a7bd25f7
Resolved issues
1 year ago
Shar-jeel-Sajid
fbba2ecd93
Added Datatype NaiveDate and NaiveTime
1 year ago
Haroon Tahir
9530603944
fixed string conversion to use reference
1 year ago
Haroon Tahir
90ab326504
Added missing types in from_impl.rs that were previously present in to_impl.rs and added in mutable string type conversion in both
1 year ago
Shar-jeel-Sajid
fef99c4c4e
Adding String DataType
1 year ago
Shar-jeel-Sajid
1e585b0fc1
Added TestCases
1 year ago
yjhmelody
ca614753a1
chore: use workspace edition
1 year ago
Philipp Oppermann
8e8034d103
Set `repository` metadata for all our crates
1 year ago
jacques Perrault
52045f3af8
add try from for floats
1 year ago
Philipp Oppermann
e5a037afea
Improve error messages
2 years ago
haixuanTao
565bda5d99
Rename dora-cli to dora in examples
2 years ago
Philipp Oppermann
854aea0408
Remove `ArrayData -> ArrowData` From impl
2 years ago
Philipp Oppermann
571a5890a2
Run rustfmt
2 years ago
haixuanTao
b93b01bb1a
Removing not necessary functions
2 years ago
haixuanTao
127a8a313c
Adding conversion from `ArrayData` for simpler conversion and adding `Vec<u8>` conversion
2 years ago
Philipp Oppermann
c6ce45785f
Rework raw data to arrow array conversion
- If input has no data, return an empty `NullArray` instead of an empty byte array.
- If input contains Vec data (instead of shared memory data), use safe `arrow::buffer::Buffer::from_vec` constructor, which is also zero-copy.
2 years ago
Philipp Oppermann
8cc5837cfa
Update `arrow` and `pyo3` dependencies to latest versions
2 years ago
Philipp Oppermann
10c15d5074
Fix: Remove invalid array length checks when reading byte arrays
2 years ago
Philipp Oppermann
8f9e2cae61
Add more Rust<->arrow conversions
2 years ago
Philipp Oppermann
9a10280595
Simplify reading of primitive and string types from arrow arrays
- introduce a new `ArrayData` wrapper struct
- implement `TryFrom` to convert to primitive types and strings
- update examples to use the new conversion functions
2 years ago
Philipp Oppermann
89f980e753
Simplify arrow array construction through new `IntoArrow` trait
2 years ago