multiwoven-integrations 0.34.11 → 0.34.12

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4051aa0036dc3795ce89575e293c6d0c3e36cb57c143cc39b2c736e04f71461b
4
- data.tar.gz: e15d6caa850f7de4dcd87b634bf83db384458ec66b24d19a01a5aa4df165b51a
3
+ metadata.gz: 9cab4c47cb2b8615acb9490ca83db71fe20c32d78c7a5f72820bb69d7ed2b51b
4
+ data.tar.gz: 5273027c214e7610696f51b20bc9d5fa19f3a00aab0b78db444aba86fcf22d41
5
5
  SHA512:
6
- metadata.gz: bb18eb994768e5dd301714c92b3400929620b53a5c344289b8cf3f66c2d3cf8d70d725cdeadd5b93b97e84c14610da5fc400b7e6f7b66669585fdb8e3f24a012
7
- data.tar.gz: ee4334676f93a3790c6c1abcdcb76a42a0331deef422620bceb8357a194af2ef09fad9553f73332439384d67866ace0f697c8c75513fc7e05c0944dbff600379
6
+ metadata.gz: 1edaa71f204bcc4c98fdb6b9b26d698f6dfd8402ee2bdc404c613335b3fa2e7c8c56ce8eef1786b2ad4a0952d24fc420ffe423b7a7d8ba337eaae2fa44aa23a4
7
+ data.tar.gz: 4573c6094113222d69ff96dda49567152a78ea54ae408c2653fc2cd309bee7059b85ccc577bd85d83dd459e8d56d0573ed9caf8ad20eb098f098bcff31fa7c2a
@@ -47,7 +47,8 @@ module Multiwoven::Integrations::Destination
47
47
 
48
48
  def write(sync_config, records, action = "destination_insert")
49
49
  connection_config = sync_config.destination.connection_specification.with_indifferent_access
50
- table_name = sync_config.stream.name
50
+ raw_table = sync_config.stream.name
51
+ table_name = qualify_table(connection_config[:schema], raw_table)
51
52
  primary_key = sync_config.model.primary_key
52
53
  log_message_array = []
53
54
  db = create_connection(connection_config)
@@ -125,6 +126,12 @@ module Multiwoven::Integrations::Destination
125
126
  }
126
127
  end
127
128
  end
129
+
130
+ def qualify_table(schema, table)
131
+ return table if schema.blank? || schema == "public"
132
+
133
+ %("#{schema}"."#{table}")
134
+ end
128
135
  end
129
136
  end
130
137
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.34.11"
5
+ VERSION = "0.34.12"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiwoven-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.34.11
4
+ version: 0.34.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-19 00:00:00.000000000 Z
11
+ date: 2025-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport