-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpp arrow type schema for union types
- Loading branch information
Showing
23 changed files
with
203 additions
and
307 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# This is a sha256 hash for all direct and indirect dependencies of this crate's build script. | ||
# It can be safely removed at anytime to force the build script to run again. | ||
# Check out build.rs to see how it's computed. | ||
b35cba3304a890ee701e159b7bcc8df64877412531afae9ccf875838e1d262a9 | ||
4945c6a5462b379e74846b23eb272fadc9b00bf029ae55e902345ee24bc887e5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,30 @@ | ||
// NOTE: This file was autogenerated by re_types_builder; DO NOT EDIT. | ||
// Based on "crates/re_types/definitions/rerun/testing/datatypes/fuzzy.fbs" | ||
|
||
#include <arrow/api.h> | ||
|
||
#include "../datatypes/affix_fuzzer1.hpp" | ||
#include "affix_fuzzer3.hpp" | ||
|
||
namespace rr { | ||
namespace datatypes { | ||
std::shared_ptr<arrow::DataType> AffixFuzzer3::to_arrow_datatype() { | ||
return arrow::dense_union({ | ||
arrow::field("_null_markers", arrow::null(), true, nullptr), | ||
arrow::field("degrees", arrow::float32(), false, nullptr), | ||
arrow::field("radians", arrow::float32(), false, nullptr), | ||
arrow::field( | ||
"craziness", | ||
arrow::list(arrow::field( | ||
"item", rr::datatypes::AffixFuzzer1::to_arrow_datatype(), false, nullptr)), | ||
false, | ||
nullptr), | ||
arrow::field("fixed_size_shenanigans", | ||
arrow::fixed_size_list( | ||
arrow::field("item", arrow::float32(), false, nullptr), 3), | ||
false, | ||
nullptr), | ||
}); | ||
} | ||
} // namespace datatypes | ||
} // namespace rr |
Oops, something went wrong.