multiwoven-integrations 0.19.0 → 0.19.1

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: 74c92fb99f1531d7844d52474ab8b105cce604bd450f8ca82c5975f7bea093af
4
- data.tar.gz: 8cf59706729c7d94e49546f51455f062ef21829f226f743d25da01e1f41a9305
3
+ metadata.gz: dbb3e326a630a72bdfc3bdd812dee5775ec035f4cb4367485c6c3f07ca95530b
4
+ data.tar.gz: 7cf87b1c5e54f38834c612f84bc5bd5afea9b50a25fe9e301a8e4f6ad9c3b80d
5
5
  SHA512:
6
- metadata.gz: 9a18cdc18d37c33ca2737ec9a8a91a462f5205761d7bb7012398f679b7e56e3581e594f38ca909e8acd8a4b9c527225ba8b22301b69bcf5aa9108ed704b083f6
7
- data.tar.gz: 579fa2afb8f1f9616f1e290a0321f0ad9a082a3f34f2607bb40c3124d219d80e17304c6e69eb713a743e4596c38a428b686478190342b638a8efb29304ee274e
6
+ metadata.gz: 4ed79bc81b1022578f20cfe10e883b120d834a8475d885383939256f8eefcb9f8acb72de4da5cefbc0c0aa7f5aeb1738c0aaa6cf65d0551ad5a25df28976f5c9
7
+ data.tar.gz: b6b3ed98a1a05ff42b290b81f2c5a309fc2baf97957bc40fb543821ce32ddfae1a75cd8daf151df8a451cecc7fa3ba75a474c4ae707fec5fb6d74c366bb209bd
@@ -39,6 +39,8 @@ module Multiwoven
39
39
  case type
40
40
  when "NUMBER"
41
41
  "integer"
42
+ when "vector"
43
+ "vector"
42
44
  else
43
45
  "string" # Default type
44
46
  end
@@ -20,7 +20,10 @@ module Multiwoven::Integrations::Destination
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;"
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.19.0"
5
+ VERSION = "0.19.1"
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.19.0
4
+ version: 0.19.1
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-01-29 00:00:00.000000000 Z
11
+ date: 2025-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport