haixuanTao
fd7c0939df
Run `cargo fmt --all`
2 years ago
haixuanTao
dec4b0f87d
Bump to 0.3.1-rc6
2 years ago
haixuanTao
4978f800a6
Fix clippy and rust warnings
2 years ago
haixuanTao
6c6d1c643e
bump to version v0.3.1-rc5 to test CD
2 years ago
Haixuan Xavier Tao
e35ed75e87
Merge pull request #398 from dora-rs/fix-window-path-error
Fix window path error
2 years ago
Philipp Oppermann
b5cbea1a20
Include ros2-bridge header files in `dora-node-api-cxx`
2 years ago
haixuanTao
06a7d0bf0c
Fix read error in C++ node input
Thwy were an error of typecasting within the C++ node input.
This fixes #403
I have not adressed all input type as I think a solution based on arrow FFI would be better.
2 years ago
haixuanTao
eab690d199
Revert to 0.3.0
2 years ago
haixuanTao
c2a887edf3
Nump to version 0.3.1-rc4
2 years ago
haixuanTao
0718c35265
Fix CD errors and try to release new version
2 years ago
haixuanTao
68ecf89b61
Remove explicit statement to `python3`and resolve it instead
2 years ago
haixuanTao
58a0853380
Change cargo version
2 years ago
haixuanTao
8648ce92ce
Format document
2 years ago
haixuanTao
1ad35fa817
Add `recv_async_timeout`
2 years ago
haixuanTao
0cd5281325
Use duration instead of f32 secs
2 years ago
haixuanTao
b1b69693b7
Adding a timeout method to not block indefinetely
2 years ago
haixuanTao
e45975f65a
Use cleaner `__from_elem` `avec` constructor
2 years ago
haixuanTao
2d71ad17b9
Bump to version `0.3.0`
2 years ago
haixuanTao
891cda5a9c
Bump to version v0.3.0-rc4
2 years ago
haixuanTao
fe065eec6f
replace const cache line with 128 to match arrow
2 years ago
haixuanTao
54f3a9e9b7
Bump to version `0.3.0`
2 years ago
haixuanTao
bbc8c40d3b
Bummp version to 0.3.0-rc3
2 years ago
haixuanTao
23d7f7a968
Use `CACHELINE_ALIGN` constant to align data into the right cache size corresponding to the architecture
2 years ago
haixuanTao
a20cfa489d
Bump to 0.3.0-rc2
2 years ago
haixuanTao
4cd9b4d71e
Fix `x86` pip release by type hinting integer
2 years ago
haixuanTao
dca29191bc
Bump version to `0.3.0-rc`
2 years ago
Philipp Oppermann
85338b61e2
Consider alignment when copying array into raw buffer
2 years ago
Philipp Oppermann
905e9ee726
Add more context to serialize_deserialize roundrip errors
2 years ago
Philipp Oppermann
ad3f0482ac
Avoid alignment errors by aligning raw data on deseralization
Ensures that all raw data has at least an alignment of 128.
2 years ago
Philipp Oppermann
ac7d1740c3
Fix alignment errors when receiving empty arrays
Empty `Vec`s have a dummy pointer that is set to the alignment of the item type. Thus, the pointer for empty `Vec<u8>` data is `0x1`. Using this pointer to construct a `ArrayData` instance can lead to alignment errors if the arrow array is of a type with larger alignment, e.g. float64.
This commit fixes the alignment error by checking for an empty raw buffer and constructing an empty `ArrayData` instance in this case.
Fixes #362
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
4acc3c6fd9
Fix name collision
2 years ago
Philipp Oppermann
94c0da61de
Provide higher-level function to send output from C operator
2 years ago
Philipp Oppermann
36a1f7781e
Provide accessor functions for input ID and data in C operator API
2 years ago
Philipp Oppermann
14a5531311
Fix doc test
2 years ago
Philipp Oppermann
631019f8d3
Fix some clippy warnings
2 years ago
Philipp Oppermann
df65eab292
Adjust Python operator API tests
2 years ago
Philipp Oppermann
6140681ab9
Rename and reexport `Data` enums
Makes the distinction between raw data and data messages clearer.
2 years ago
Philipp Oppermann
a54f000507
Update C++ operator API to use new 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
Philipp Oppermann
b38c112bc8
Merge branch 'main' into rust-typed-input
2 years ago
Philipp Oppermann
afae3b72ce
Merge branch 'main' into rust-typed-input
2 years ago
haixuanTao
be49c748bd
Add roundtrip test for copying data into buffer and back
2 years ago
Philipp Oppermann
13dfda65dd
Fix version nubmer in Python `__init__`
2 years ago
Philipp Oppermann
d3f9166c36
Make `safer-ffi` use `inventory v0.3`
2 years ago
Philipp Oppermann
6154415cbc
Update Rust APIs and rust-dataflow-example to use arrow types
2 years ago
Philipp Oppermann
7d96e03eed
Start to make Rust node API typed using arrow
2 years ago
haixuanTao
87399d749e
Bump version to 0.2.5
2 years ago