embulk-filter-timestamp_format 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/build.gradle +1 -1
- data/example/example.yml +27 -0
- metadata +3 -3
- data/example/example.yml +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 120899ba971132f0473cddee556533b68414e604
|
4
|
+
data.tar.gz: 2a90beec56606124fdccd655ea2f60363da0bbb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f23e5d641d355b57624a0d525f938b01d340bc5d75f824dbf03624416d729b088752b725be101f0061265b72a5551935b5dde8d53492ae3800fd0259d1bd8df9
|
7
|
+
data.tar.gz: 041535fed29ef880b9c03f1a507cb7fb4caff1d722aeec162bc49db7c5f2b0dd0a5f6c2b654fc3984d89f49304c655cb6c9df037130696e4ea002ed7a2d85b42
|
data/CHANGELOG.md
CHANGED
data/build.gradle
CHANGED
data/example/example.yml
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
in:
|
2
|
+
type: file
|
3
|
+
path_prefix: example/from_string.csv
|
4
|
+
parser:
|
5
|
+
type: csv
|
6
|
+
columns:
|
7
|
+
- {name: string1, type: string}
|
8
|
+
- {name: string2, type: string}
|
9
|
+
- {name: string3, type: string}
|
10
|
+
- {name: string4, type: string}
|
11
|
+
- {name: record, type: json}
|
12
|
+
filters:
|
13
|
+
- type: timestamp_format
|
14
|
+
default_from_timezone: "Asia/Taipei"
|
15
|
+
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"]
|
16
|
+
default_to_timezone: "Asia/Taipei"
|
17
|
+
default_to_timestamp_format: "%Y-%m-%d %H:%M:%S.%N"
|
18
|
+
columns:
|
19
|
+
- {name: string1, type: string}
|
20
|
+
- {name: string2, type: long, to_unit: ms}
|
21
|
+
- {name: string3, type: double, to_unit: ms}
|
22
|
+
- {name: string4, type: timestamp}
|
23
|
+
- {name: $.record.string1, to_timezone: "Asia/Taipei", to_format: "%Y-%m-%d %H:%M:%S.%N"}
|
24
|
+
- {name: $.record.string2, type: long, to_unit: ms}
|
25
|
+
- {name: $.record.string3, type: double, to_unit: ms}
|
26
|
+
out:
|
27
|
+
type: "null"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-filter-timestamp_format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naotoshi Seo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -60,7 +60,7 @@ files:
|
|
60
60
|
- classpath/JsonPathCompiler-0.1.2.jar
|
61
61
|
- classpath/accessors-smart-1.1.jar
|
62
62
|
- classpath/asm-5.0.3.jar
|
63
|
-
- classpath/embulk-filter-timestamp_format-0.3.
|
63
|
+
- classpath/embulk-filter-timestamp_format-0.3.3.jar
|
64
64
|
- classpath/json-smart-2.2.1.jar
|
65
65
|
- classpath/slf4j-api-1.7.21.jar
|
66
66
|
- config/checkstyle/checkstyle.xml
|
data/example/example.yml
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
example/from_string.yml
|