Sha256: 916963aff38d014c595d680d08b01d884df8be632132395d2bde3ba8ce02482a

Contents?: true

Size: 953 Bytes

Versions: 7

Compression:

Stored size: 953 Bytes

Contents

in:
  type: file
  path_prefix: example/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}
      - {name: json, type: json}
filters:
  - type: column
    default_timezone: "Asia/Tokyo"
    default_timestamp_format: "%Y-%m-%d"
    add_columns:
      - {name: foo, type: long, default: 1}
      - {name: d, type: timestamp, default: "2015-07-13"}
      - {name: t, type: timestamp, default: "2015-07-13 00:00:00", timezone: "UTC", format: "%Y-%m-%d %H:%M:%S"}
      - {name: copy_score, src: score}
      - {name: $.json.foo, type: long, default: 1}
      - {name: $.json.d, type: string, default: "2015-07-13"}
      - {name: $.json.copy_foo, src: $.json.foo}
out:
  type: stdout

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
embulk-filter-column-0.6.0.pre2 example/add_columns.yml
embulk-filter-column-0.6.0.pre1 example/add_columns.yml
embulk-filter-column-0.5.4 example/add_columns.yml
embulk-filter-column-0.5.3 example/add_columns.yml
embulk-filter-column-0.5.2 example/add_columns.yml
embulk-filter-column-0.5.1 example/add_columns.yml
embulk-filter-column-0.5.0 example/add_columns.yml