Sha256: 0bbf490846a50aadace81d1a3746fea39c4b588f6f38b6f641e1b8ba0a6a7871

Contents?: true

Size: 680 Bytes

Versions: 2

Compression:

Stored size: 680 Bytes

Contents

# in:
#   type: random
#   rows: 100
#   schema:
#     id: primary_key
#     name: string
#     score: integer
in:
  type: file
  path_prefix: example.csv
  parser:
    type: csv
    charset: UTF-8
    newline: CRLF
    null_string: 'NULL'
    skip_header_lines: 1
    comment_line_marker: '#'
    columns:
      - {name: time,  type: timestamp, format: "%Y-%m-%d"}
      - {name: id, type: long}
      - {name: name, type: string}
      - {name: score, type: double}
filters:
  - type: column
    columns:
      - {name: time, default: "2015-07-13", format: "%Y-%m-%d"}
      - {name: name, default: "foo"}
      - {name: foo,  default: 1}
      - {name: id}
out:
  type: stdout

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-filter-column-0.1.6 example.yml
embulk-filter-column-0.1.5 example.yml