No commit activity in last 3 years
No release in over 3 years
Copy records and run another embulk by using them as input data source.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0
>= 10.0
 Project Readme

Copy filter plugin for Embulk

Release CI Status Badge

Copy records and run another embulk by using them as input data source.

The Document for Japanese is here.

Overview

  • Plugin type: filter

Configuration

  • copy: Another embulk configurations except in. (array of CopyEmbulkConfig, optional)
    • Either copy or config option is required.
    • When config option is removed, this option become a required option.
  • config: [DEPRECATED: Use copy option] Another embulk configurations except in. (CopyEmbulkConfig, optional)

Configuration for CopyEmbulkConfig

  • name: The name of the bulk load to copy. (string, optional)
  • exec: The embulk executor plugin configuration. (config, optional)
    • max_threads: The maximum number of threads for that the bulk load runs concurrently. (int, default: The number of available CPU cores)
  • filters: The embulk filter plugin configurations. (array of config, default: [])
  • out: The embulk output plugin configuration.

Example

filters:
  - type: copy
    copy:
      - name: copy-01
        filters:
          - type: remove_columns
            remove: ["t"]
        out:
          type: stdout
      - exec:
          max_threads: 4
        filters:
          - type: remove_columns
            remove: ["payload"]
        out:
          type: stdout

Development

Run the example

$ ./gradlew gem
$ embulk run example/config.yml -Ibuild/gemContents/lib

Run tests

$ ./gradlew scalatest

Build

$ ./gradlew gem --write-locks  # -t to watch change of files and rebuild continuously

Release gem

Fix build.gradle, then

$ ./gradlew gemPush

CHANGELOG

CHANGELOG.md

License

MIT LICENSE