Skip to content

Commit

Permalink
aws: Distinguish parquet compression method
Browse files Browse the repository at this point in the history
Currently, it should be handled on out_s3. So, it is just for used to
specify the parquet format.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed May 20, 2024
1 parent 7de2c45 commit c2d4815
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/fluent-bit/aws/flb_aws_compress.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#define FLB_AWS_COMPRESS_NONE 0
#define FLB_AWS_COMPRESS_GZIP 1
#define FLB_AWS_COMPRESS_ARROW 2
#define FLB_AWS_COMPRESS_PARQUET 3

/*
* Get compression type from compression keyword. The return value is used to identify
Expand Down
5 changes: 5 additions & 0 deletions src/aws/flb_aws_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ static const struct compression_option compression_options[] = {
&out_s3_compress_arrow
},
#endif
{
FLB_AWS_COMPRESS_PARQUET,
"parquet",
NULL /* Currently, it is implemented in out_s3 specific source */
},
{ 0 }
};

Expand Down

0 comments on commit c2d4815

Please sign in to comment.