Sha256: 7bb712c8e0f9bb453c262e074b54a0013f7ce005efe7662081049738b25eaf22

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

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: foo,   type: string}
      - {name: bar,   type: string}
      - {name: flag,  type: boolean}
      - {name: id,    type: long}
      - {name: name,  type: string}
      - {name: score, type: double}
filters:
  - type: row
    conditions:
      - {column: flag,  operator: ==}
      - {column: foo,   operator: "IS NULL"}
      - {column: id,    operator: ==,  argument: 97}
      - {column: name,  operator: ==,  argument: "xxxx", not: true}
      - {column: score, operator: ">", argument: 2000}
      - {column: score, operator: "<", argument: 6000}
      - {column: time,  operator: ==,  argument: "2015-07-13", format: "%Y-%m-%d"}
out:
  type: stdout

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
embulk-filter-row-0.1.2 example.yml
embulk-filter-row-0.1.1 example.yml
embulk-filter-row-0.1.0 example.yml