Sha256: c7dc389d39eb030e05474e6fea0520854996666bdaf9b935ed686ab0e6e90087

Contents?: true

Size: 1.02 KB

Versions: 2

Compression:

Stored size: 1.02 KB

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: timestamp, type: string}
      - {name: "null",    type: string}
      - {name: long,      type: string}
      - {name: string,    type: string}
      - {name: double,    type: string}
      - {name: json1,     type: string}
      - {name: json2,     type: string}
      - {name: boolean,   type: boolean}
filters:
  - type: typecast
    columns:
      - {name: timestamp, type: timestamp, format: "%Y-%m-%d %H:%M:%S.%N", timezone: "+09:00"}
      - {name: "null",    type: long}
      - {name: long,      type: long}
      - {name: string,    type: string}
      - {name: double,    type: double}
      - {name: json1,     type: json}
      - {name: json2,     type: json}
      - {name: boolean,   type: boolean}
      - {name: "$.json1.string", type: long}
      - {name: "$.json2.long",   type: long}
out:
  type: "null"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
embulk-filter-typecast-0.1.3 example/example2.yml
embulk-filter-typecast-0.1.2 example/example2.yml