Socket
Book a DemoInstallSign in
Socket

fluent-plugin-s3-arrow

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-s3-arrow

0.2.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

fluent-plugin-s3-arrow

Extends the fluent-plugin-s3 compression algorithm to enable red-arrow compression.

Installation

Requirements

RubyGems

$ gem install fluent-plugin-s3-arrow

Bundler

Add following line to your Gemfile:

gem "fluent-plugin-s3-arrow"

And then execute:

$ bundle

Configuration

Example of fluent-plugin-s3-arrow configuration.

<match pattern>
  @type s3

  # fluent-plugin-s3 configurations ...

  <format>
    @type json # This plugin currently supports only json formatter.
  </format>

  store_as arrow
  <arrow>
    format parquet
    compression gzip

    schema_from static
    <static>
      schema [
        {"name": "test_string", "type": "string"},
        {"name": "test_uint64", "type": "uint64"}
      ]
    </static>
  </arrow>
</match>

format and compression

This plugin supports multiple columnar formats and compressions by using red-arrow. Valid settings are below.

formatcompression
arrowgzip, zstd
featherzstd
parquetgzip, snappy, zstd

schema

Schema of columnar formats.

schema_from static

Set the schema statically.

schema_from static
<static>
  schema [
    {"name": "test_string", "type": "string"},
    {"name": "test_uint64", "type": "uint64"}
  ]
</static>
schema (required)

An array containing the names and types of the fields.

schema_from glue

Retrieve the schema from the AWS Glue Data Catalog.

schema_from glue
<glue>
  catalog test_catalog
  database test_db
  table test_table
</glue>
catalog

The name of the data catalog for which to retrieve the definition. The default value is the same as the AWS API CatalogId.

database

The name of the database for which to retrieve the definition. The default value is default.

table (required)

The name of the table for which to retrieve the definition.

License

Apache License, Version 2.0

FAQs

Package last updated on 27 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.