datapipe2 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fns/mssql_to_pgsql.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: 99e153e6dcd823df9fcd95beb13fae4b284d857d
|
4
|
+
data.tar.gz: 200e0416be134014d3c26b2fe94e14c15c00fc34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d5bc715fc364a5f1f58acc137cf6b27c7dfa1dac678978727a9835734c670e3fd0dec9d39779e4557b68c6f073803638cf6c7c4b7998acf95c4b1b70f205c19
|
7
|
+
data.tar.gz: 6d7c15771d7431d6b0dbeef363a1c9210182f2ff647c38410ec36ea79deafc00c12d55140a29435da31ce87c6d3200ce96a65b91c923c4b229263af422b60698
|
data/lib/fns/mssql_to_pgsql.rb
CHANGED
@@ -17,7 +17,7 @@ def mssql_to_pgsql(select_sql, table_name, columns)
|
|
17
17
|
count = 0
|
18
18
|
results.each(as: :array, cache_rows: false) do |r|
|
19
19
|
count += 1
|
20
|
-
print '.' if count %
|
20
|
+
print '.' if count % 100_000 == 0
|
21
21
|
d.connection.put_copy_data "#{r.join('|')}\n"
|
22
22
|
end
|
23
23
|
puts ""
|