diff options
Diffstat (limited to 'fluent-bit/src/aws/compression/arrow/compress.h')
-rw-r--r-- | fluent-bit/src/aws/compression/arrow/compress.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/fluent-bit/src/aws/compression/arrow/compress.h b/fluent-bit/src/aws/compression/arrow/compress.h new file mode 100644 index 00000000..82e94f43 --- /dev/null +++ b/fluent-bit/src/aws/compression/arrow/compress.h @@ -0,0 +1,13 @@ +/* + * This function converts out_s3 buffer into Apache Arrow format. + * + * `json` is a string that contain (concatenated) JSON objects. + * + * `size` is the length of the json data (excluding the trailing + * null-terminator character). + * + * Return 0 on success (with `out_buf` and `out_size` updated), + * and -1 on failure + */ + +int out_s3_compress_arrow(void *json, size_t size, void **out_buf, size_t *out_size); |