embulk-input-presto 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/embulk-input-presto.gemspec +1 -1
- data/lib/embulk/input/presto/explain_parser.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67bf35a9ef204c218a7af863542d53bc5a13b1a6
|
4
|
+
data.tar.gz: 6c4de11cbdb9459f5ac4f908e59ac94c5ae9336f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a29287ee6349c3d2528619fe2ad608e24490f8f8dce5219643f60b4cdb65ed18a0280faad5596432ee568f2598d7f1578f5e8f85db282dd9dd83b2cf1eefd823
|
7
|
+
data.tar.gz: 4ef631e76e880378e047ca66d5b806f96583764dcb50de57d3c56dceedc84836d6ceccfa31e893a29bf7cfc0f258552d2d0ffd57c332f693f3388a3cae29ddac
|
data/embulk-input-presto.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
Gem::Specification.new do |spec|
|
3
3
|
spec.name = "embulk-input-presto"
|
4
|
-
spec.version = "0.2.
|
4
|
+
spec.version = "0.2.1"
|
5
5
|
spec.authors = ["toyama0919"]
|
6
6
|
spec.summary = "Facebook Presto input plugin for Embulk"
|
7
7
|
spec.description = "Facebook Presto input plugin for Embulk."
|
@@ -7,7 +7,7 @@ module Embulk
|
|
7
7
|
column_name_raw, column_type_raw = explain_text.split(' => ')
|
8
8
|
names = column_name_raw.split('[').last.split(']').first.split(',').map{ |name| name.strip }
|
9
9
|
types = column_type_raw.split('[').last.split(']').first.split(',').map{ |info| info.split(':').last }
|
10
|
-
|
10
|
+
names.zip(types)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embulk-input-presto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- toyama0919
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|