multiwoven-integrations 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c247bae51bf614083121b6ed6f8b3ab674511bbc931bbc7c224ad857fd7443a
4
- data.tar.gz: 3e8f42157f3c79293e9f896059f9b2d6b6c9ebc2f6a9bf55bbb1af0d2769417c
3
+ metadata.gz: fdecb7677ac11971794080ac898200969ee1b243e917ccba7f1c7ce254ebdcb5
4
+ data.tar.gz: f609d9a9cfcef3644b07352d6704c713070046c5b8e405017e3e7f8c11d112e6
5
5
  SHA512:
6
- metadata.gz: e44256ec88e53ed9942c91823772f9165e74e15f94c2013a850af18e165c646a94c41619eecbbc3c38ab4b3e0a5205bae44ded87b178bd27aaacc6a878edef7e
7
- data.tar.gz: d06f6937d55c691ccbcb145bafc902b762a9e2782f7446fb3391a3c65d619e4a2c0be1439c1e39efc87f6bb0797115ae9077fc6f30d003d1d518e0ce2ed98536
6
+ metadata.gz: 98d9e5c0028a6e6d3b45584ba8cbd01778040ec0a2a7cf77a1dc2e1a326735df427021300e3b7cf412ee270e8bbe67101c9148cf203518d6504f1af6fd32b2cd
7
+ data.tar.gz: f4aece39d2bdcb2901b2c9981e1ad4ca6ddb24333b8ab057b2fdd275c3496404569ac830abcd8d690f48ac39d493c661b305e119eee5a286d4dd211e8ba23d65
@@ -102,7 +102,9 @@ module Multiwoven::Integrations::Destination
102
102
  result[index][:tablename] = table_name
103
103
  result[index][:columns] = [column_data]
104
104
  end
105
- result
105
+ result.values.group_by { |entry| entry[:tablename] }.transform_values do |entries|
106
+ { tablename: entries.first[:tablename], columns: entries.flat_map { |entry| entry[:columns] } }
107
+ end
106
108
  end
107
109
 
108
110
  def tracking_message(success, failure)
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.5.1"
5
+ VERSION = "0.5.2"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P