dataduck 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dataduck/redshift_destination.rb +1 -1
- data/lib/dataduck/version.rb +1 -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: fe8282d59eb88fd3529fa4c7d60d77c6697140c6
|
4
|
+
data.tar.gz: e1443aec70fec01dc53483ad936932660cfa9c26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1568c7aff71eaf8c5d334b868ec9d4da7aea394e866373ec08b47266590b812bdc70500e16bb31b8b0e1f8281a1b0297a1722fda7611943ba189549492fb406
|
7
|
+
data.tar.gz: 190c3007f8cebf6bd432ae3ae63a48bee40a7bf1f3c3b12eb46e2e8c71e78c31adb2745cb127be0505e90ac3a0d65742a0cfcb8abc5769d22ce09459a803c841
|
@@ -72,7 +72,7 @@ module DataDuck
|
|
72
72
|
props_string = props_array.join(', ')
|
73
73
|
|
74
74
|
distribution_clause = table.distribution_key ? "DISTKEY(#{ table.distribution_key })" : ""
|
75
|
-
distribution_style_clause = table.distribution_style ? "DISTSTYLE #{ distribution_style }" : ""
|
75
|
+
distribution_style_clause = table.distribution_style ? "DISTSTYLE #{ table.distribution_style }" : ""
|
76
76
|
index_clause = table.indexes.length > 0 ? "INTERLEAVED SORTKEY (#{ table.indexes.join(',') })" : ""
|
77
77
|
|
78
78
|
"CREATE TABLE IF NOT EXISTS #{ table_name } (#{ props_string }) #{ distribution_clause } #{ distribution_style_clause } #{ index_clause }"
|
data/lib/dataduck/version.rb
CHANGED