embulk-output-vertica 0.5.9 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/embulk-output-vertica.gemspec +1 -1
- data/lib/embulk/output/vertica.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f0b0d02a9ff30f770a79446f61fde851384cad2
|
4
|
+
data.tar.gz: 00593d52bc997c70edf0346b61b7dd364123f7ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cd6fb398bb1d00afd15d288a5a7d7d3684d8390bc2e7a9dfe32c3c74e090ee27192367d61b881331b346a563e4ec6b00866d84fcbd80d40c58313ba63b2f506
|
7
|
+
data.tar.gz: 3df83b2b636d78fe7748aec6218c4d23c090bcc7cca5da447f42f71910e6b4a6c2d8b80b710ea083b0ffcf38cf1d860eeedbbc8641eff330e9e5df7af499ad47
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "embulk-output-vertica"
|
3
|
-
spec.version = "0.
|
3
|
+
spec.version = "0.6.0"
|
4
4
|
spec.authors = ["eiji.sekiya", "Naotoshi Seo"]
|
5
5
|
spec.email = ["eiji.sekiya.0326@gmail.com", "sonots@gmail.com"]
|
6
6
|
spec.summary = "Vertica output plugin for Embulk"
|
@@ -102,7 +102,8 @@ module Embulk
|
|
102
102
|
|
103
103
|
# insert select from the temp table
|
104
104
|
connect(task) do |jv|
|
105
|
-
|
105
|
+
hint = '/*+ direct */ ' if task['copy_mode'] == 'DIRECT' # I did not prepare a specific option, does anyone want?
|
106
|
+
query(jv, %[INSERT #{hint}INTO #{quoted_schema}.#{quoted_table} SELECT * FROM #{quoted_schema}.#{quoted_temp_table}])
|
106
107
|
jv.commit
|
107
108
|
end
|
108
109
|
ensure
|