Sha256: c80e7783f8dd104a0c245a4406978d25e07eb526da3b728afd7e6a5112bede46

Contents?: true

Size: 905 Bytes

Versions: 3

Compression:

Stored size: 905 Bytes

Contents

# Splitting input file plugin for Embulk

This Embulk plugin splits and inputs a text file.
By splitting a file, input tasks will be executed in multithreads and the performance will be improved.   

Lines of the text file should be separated by CR or LF or CRLF. 
The plugin searches line separators and splits a file properly.

## Overview

* **Plugin type**: input

## Configuration

- **path**: the path of a text file (string, required)
- **header_line**: whether the first line is a header or not (boolean, default: false)
- **tasks**: number of tasks (integer, default: number of available processors * 2)

### Example

```yaml
in:
  type: filesplit
  path: '/data/address.csv'
  header_line: true
  tasks: 4
  parser:
    charset: UTF-8
    newline: CRLF
    type: csv
    header_line: true
    delimiter: ','
    ...
```

### Build

```
$ ./gradle gem
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-input-filesplit-0.1.3 README.md
embulk-input-filesplit-0.1.2 README.md
embulk-input-filesplit-0.1.1 README.md