Sha256: fc10401439270861fede4fb38d495657497311a3144cf79fdec23075a3f64647

Contents?: true

Size: 1.29 KB

Versions: 8

Compression:

Stored size: 1.29 KB

Contents

in:
  type: file
  path_prefix: example/example.csv
  parser:
    type: csv
    charset: UTF-8
    newline: CRLF
    null_string: ''
    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: array_str, type: string}
      - {name: array_int, type: string}
      - {name: ignore,    type: string}
      - {name: boolean,   type: string}
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: array_str, type: json}
      - {name: array_int, type: json}
      - {name: boolean,   type: boolean}
      - {name: "$.json1.string", type: long}
      - {name: "$.json2.long",   type: long}
      - {name: "$.array_str[0]", type: long}
      - {name: "$.array_int[*]", type: long}
out:
  type: "null"

Version data entries

8 entries across 5 versions & 1 rubygems

Version Path
embulk-filter-typecast-0.2.2 example/from_string.yml
embulk-filter-typecast-0.2.1 example/example.yml
embulk-filter-typecast-0.2.1 example/from_string.yml
embulk-filter-typecast-0.2.0 example/from_string.yml
embulk-filter-typecast-0.2.0 example/example.yml
embulk-filter-typecast-0.1.5 example/from_string.yml
embulk-filter-typecast-0.1.5 example/example.yml
embulk-filter-typecast-0.1.4 example/from_string.yml