Sha256: 675a4f16bccdec6a946e58dd6b48e2878bb0d2f76f2a12ec040ee5fe562c43bb

Contents?: true

Size: 1014 Bytes

Versions: 9

Compression:

Stored size: 1014 Bytes

Contents

in:
  type: file
  path_prefix: example/from_string.csv
  parser:
    type: csv
    columns:
      - {name: string1, type: string}
      - {name: string2, type: string}
      - {name: string3, type: string}
      - {name: string4, type: string}
      - {name: record,  type: json}
filters:
  - type: timestamp_format
    default_from_timezone: "Asia/Taipei"
    default_from_timestamp_format: ["%Y-%m-%d %H:%M:%S.%N %z", "%Y-%m-%d %H:%M:%S %z", "%Y-%m-%d %H:%M:%S", "%Y-%m-%d %z", "%Y-%m-%d"]
    default_to_timezone: "Asia/Taipei"
    default_to_timestamp_format: "%Y-%m-%d %H:%M:%S.%N"
    columns:
      - {name: string1, type: string}
      - {name: string2, type: long, to_unit: ms}
      - {name: string3, type: double, to_unit: ms}
      - {name: string4, type: timestamp}
      - {name: $.record.string1, to_timezone: "Asia/Taipei", to_format: "%Y-%m-%d %H:%M:%S.%N"}
      - {name: $.record.string2, type: long, to_unit: ms}
      - {name: $.record.string3, type: double, to_unit: ms}
out:
  type: "null"

Version data entries

9 entries across 5 versions & 1 rubygems

Version Path
embulk-filter-timestamp_format-0.3.3 example/from_string.yml
embulk-filter-timestamp_format-0.3.3 example/example.yml
embulk-filter-timestamp_format-0.3.2 example/from_string.yml
embulk-filter-timestamp_format-0.3.1 example/example.yml
embulk-filter-timestamp_format-0.3.1 example/from_string.yml
embulk-filter-timestamp_format-0.3.0 example/from_string.yml
embulk-filter-timestamp_format-0.3.0 example/example.yml
embulk-filter-timestamp_format-0.2.4 example/from_string.yml
embulk-filter-timestamp_format-0.2.4 example/example.yml