multiwoven-integrations 0.5.0 → 0.5.1

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: 4383545bc6859b88187d4e38e70be9166e792cadf23b44ac22437202c836db9b
4
- data.tar.gz: febd77085d1f369c6444275fb6a2079a2c2c25abdd8671587c1e93e4512663e7
3
+ metadata.gz: 8c247bae51bf614083121b6ed6f8b3ab674511bbc931bbc7c224ad857fd7443a
4
+ data.tar.gz: 3e8f42157f3c79293e9f896059f9b2d6b6c9ebc2f6a9bf55bbb1af0d2769417c
5
5
  SHA512:
6
- metadata.gz: feb86afd8c6817e3fb67f8f7f525a6db44fe4325ac69b1fdda1e72dc27e4ab7d7f6e5a6415481c7a1bfc31c794590e63a8d73cef2e2efe157bd0e94f92d86a66
7
- data.tar.gz: 36f2532bf27e28434ddd1c639ed3ba2ef64ace163de40f7030763d58f1c28fda947b312ed563b50d5dbfa10ab3828cbc2c7173f15cbd7a28c4918f634d1f8740
6
+ metadata.gz: e44256ec88e53ed9942c91823772f9165e74e15f94c2013a850af18e165c646a94c41619eecbbc3c38ab4b3e0a5205bae44ded87b178bd27aaacc6a878edef7e
7
+ data.tar.gz: d06f6937d55c691ccbcb145bafc902b762a9e2782f7446fb3391a3c65d619e4a2c0be1439c1e39efc87f6bb0797115ae9077fc6f30d003d1d518e0ce2ed98536
@@ -16,6 +16,8 @@ module Multiwoven
16
16
  JSON_SCHEMA_URL = "https://json-schema.org/draft-07/schema#"
17
17
 
18
18
  # CONNECTORS
19
+ INSTALL_HTTPFS_QUERY = ENV["INSTALL_HTTPFS_QUERY"] || "INSTALL HTTPFS; LOAD HTTPFS;"
20
+
19
21
  KLAVIYO_AUTH_ENDPOINT = "https://a.klaviyo.com/api/lists/"
20
22
  KLAVIYO_AUTH_PAYLOAD = {
21
23
  data: {
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Multiwoven
4
4
  module Integrations
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.1"
6
6
 
7
7
  ENABLED_SOURCES = %w[
8
8
  Snowflake
@@ -74,6 +74,8 @@ module Multiwoven::Integrations::Source
74
74
  @session_name = "preview-#{connection_config[:region]}-#{connection_config[:bucket]}" if @session_name.to_s.empty?
75
75
  auth_data = get_auth_data(connection_config)
76
76
  conn = DuckDB::Database.open.connect
77
+ # Install and/or Load the HTTPFS extension
78
+ conn.execute(INSTALL_HTTPFS_QUERY)
77
79
  # Set up S3 configuration
78
80
  secret_query = "
79
81
  CREATE SECRET amazons3_source (
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.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Subin T P