multiwoven-integrations 0.19.1 → 0.19.2

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: dbb3e326a630a72bdfc3bdd812dee5775ec035f4cb4367485c6c3f07ca95530b
4
- data.tar.gz: 7cf87b1c5e54f38834c612f84bc5bd5afea9b50a25fe9e301a8e4f6ad9c3b80d
3
+ metadata.gz: dd27dadd05c144915946a884b9b67c99ddbc930eeb0eb8e6f55349d4d102d934
4
+ data.tar.gz: 20a4a4b9a48e1d3db0363a3fe818b700bc8e5b8450182352ae529e79066b7510
5
5
  SHA512:
6
- metadata.gz: 4ed79bc81b1022578f20cfe10e883b120d834a8475d885383939256f8eefcb9f8acb72de4da5cefbc0c0aa7f5aeb1738c0aaa6cf65d0551ad5a25df28976f5c9
7
- data.tar.gz: b6b3ed98a1a05ff42b290b81f2c5a309fc2baf97957bc40fb543821ce32ddfae1a75cd8daf151df8a451cecc7fa3ba75a474c4ae707fec5fb6d74c366bb209bd
6
+ metadata.gz: d4298844ab2b17e0a7787e0b145b2926526c0fd902cb3816693d3506ff6ff280b2dd2fa6ad421315aa442ccd91704db14bb638c4098f4c9252ace3fea6e68a21
7
+ data.tar.gz: 8ef8c1751d98f516c8f3aaaa3668bb78588e8195022b420e7626a3ccfb9d2a3431d584dd0fb1a3680483f43f7fa614b69bf84c4d51b623a038d13fded433055e
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.19.1"
5
+ VERSION = "0.19.2"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -20,7 +20,10 @@ module Multiwoven::Integrations::Source
20
20
 
21
21
  def discover(connection_config)
22
22
  connection_config = connection_config.with_indifferent_access
23
- query = "SELECT table_name, column_name, data_type, is_nullable
23
+ query = "SELECT table_name, column_name,
24
+ CASE WHEN data_type = 'USER-DEFINED' THEN udt_name ELSE data_type END
25
+ AS data_type,
26
+ is_nullable
24
27
  FROM information_schema.columns
25
28
  WHERE table_schema = '#{connection_config[:schema]}' AND table_catalog = '#{connection_config[:database]}'
26
29
  ORDER BY table_name, ordinal_position;"
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.19.1
4
+ version: 0.19.2
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-02-05 00:00:00.000000000 Z
11
+ date: 2025-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport