{"id":23450798,"url":"https://github.com/red-data-tools/fluent-plugin-s3-arrow","last_synced_at":"2025-04-13T20:15:07.949Z","repository":{"id":44752240,"uuid":"285490155","full_name":"red-data-tools/fluent-plugin-s3-arrow","owner":"red-data-tools","description":"Extends the fluent-plugin-s3 compression algorithm to enable red-arrow compression.","archived":false,"fork":false,"pushed_at":"2022-01-26T21:28:49.000Z","size":70,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-25T15:01:32.011Z","etag":null,"topics":["arrow","aws","fluentd","fluentd-plugin","parquet","s3"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red-data-tools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-06T06:18:52.000Z","updated_at":"2022-01-26T21:28:50.000Z","dependencies_parsed_at":"2022-09-02T06:44:31.274Z","dependency_job_id":null,"html_url":"https://github.com/red-data-tools/fluent-plugin-s3-arrow","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Ffluent-plugin-s3-arrow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Ffluent-plugin-s3-arrow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Ffluent-plugin-s3-arrow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Ffluent-plugin-s3-arrow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red-data-tools","download_url":"https://codeload.github.com/red-data-tools/fluent-plugin-s3-arrow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774968,"owners_count":21159534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arrow","aws","fluentd","fluentd-plugin","parquet","s3"],"created_at":"2024-12-24T00:15:10.915Z","updated_at":"2025-04-13T20:15:07.927Z","avatar_url":"https://github.com/red-data-tools.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fluent-plugin-s3-arrow\n\n[![Gem Version](https://badge.fury.io/rb/fluent-plugin-s3-arrow.svg)](https://badge.fury.io/rb/fluent-plugin-s3-arrow)\n\nExtends the [fluent-plugin-s3](https://github.com/fluent/fluent-plugin-s3) compression algorithm to enable [red-arrow](https://github.com/apache/arrow/tree/master/ruby/red-arrow) compression.\n\n## Installation\n\n### Requirements\n\n- Apache Arrow GLib and Apache Parquet GLib\n  - See Apache [Arrow install document](https://arrow.apache.org/install/) for details.\n- [red-arrow](https://github.com/apache/arrow/tree/master/ruby/red-arrow)\n- [red-parquet](https://github.com/apache/arrow/tree/master/ruby/red-parquet)\n\n### RubyGems\n\n```\n$ gem install fluent-plugin-s3-arrow\n```\n\n### Bundler\n\nAdd following line to your Gemfile:\n\n```ruby\ngem \"fluent-plugin-s3-arrow\"\n```\n\nAnd then execute:\n\n```\n$ bundle\n```\n\n## Configuration\n\nExample of fluent-plugin-s3-arrow configuration.\n\n```\n\u003cmatch pattern\u003e\n  @type s3\n\n  # fluent-plugin-s3 configurations ...\n\n  \u003cformat\u003e\n    @type json # This plugin currently supports only json formatter.\n  \u003c/format\u003e\n\n  store_as arrow\n  \u003carrow\u003e\n    format parquet\n    compression gzip\n\n    schema_from static\n    \u003cstatic\u003e\n      schema [\n        {\"name\": \"test_string\", \"type\": \"string\"},\n        {\"name\": \"test_uint64\", \"type\": \"uint64\"}\n      ]\n    \u003c/static\u003e\n  \u003c/arrow\u003e\n\u003c/match\u003e\n```\n\n### format and compression\n\nThis plugin supports multiple columnar formats and compressions by using red-arrow. Valid settings are below.\n\n|  format  |  compression |\n| ---- | ---- |\n|  arrow | gzip, zstd |\n|  feather | zstd |\n|  parquet   | gzip, snappy, zstd |\n\n### schema\n\nSchema of columnar formats.\n#### schema_from static\n\nSet the schema statically.\n\n```\nschema_from static\n\u003cstatic\u003e\n  schema [\n    {\"name\": \"test_string\", \"type\": \"string\"},\n    {\"name\": \"test_uint64\", \"type\": \"uint64\"}\n  ]\n\u003c/static\u003e\n```\n\n##### schema (required)\n\nAn array containing the names and types of the fields.\n#### schema_from glue\n\nRetrieve the schema from the AWS Glue Data Catalog.\n\n```\nschema_from glue\n\u003cglue\u003e\n  catalog test_catalog\n  database test_db\n  table test_table\n\u003c/glue\u003e\n```\n\n##### catalog\n\nThe name of the data catalog for which to retrieve the definition. The default value is the same as the [AWS API CatalogId](https://docs.aws.amazon.com/glue/latest/webapi/API_GetTable.html).\n\n##### database\n\nThe name of the database for which to retrieve the definition.  The default value is `default`.\n##### table (required)\n\nThe name of the table for which to retrieve the definition.\n\n## License\n\nApache License, Version 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Ffluent-plugin-s3-arrow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred-data-tools%2Ffluent-plugin-s3-arrow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Ffluent-plugin-s3-arrow/lists"}