Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Multiwoven/multiwoven into …
Browse files Browse the repository at this point in the history
…cherry-pick-ce-commit-95c7852c8bd33e9aff951dfd3e1709a54d35000a
  • Loading branch information
pabss-ai2 committed Jul 19, 2024
2 parents b7ce633 + ebf8158 commit d5a22dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrations/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ GIT
PATH
remote: .
specs:
multiwoven-integrations (0.5.0)
multiwoven-integrations (0.5.1)
activesupport
async-websocket
aws-sdk-athena
Expand Down
2 changes: 2 additions & 0 deletions integrations/lib/multiwoven/integrations/core/constants.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module Constants
JSON_SCHEMA_URL = "https://json-schema.org/draft-07/schema#"

# CONNECTORS
INSTALL_HTTPFS_QUERY = ENV["INSTALL_HTTPFS_QUERY"] || "INSTALL HTTPFS; LOAD HTTPFS;"

KLAVIYO_AUTH_ENDPOINT = "https://a.klaviyo.com/api/lists/"
KLAVIYO_AUTH_PAYLOAD = {
data: {
Expand Down
2 changes: 1 addition & 1 deletion integrations/lib/multiwoven/integrations/rollout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Multiwoven
module Integrations
VERSION = "0.5.0"
VERSION = "0.5.1"

ENABLED_SOURCES = %w[
Snowflake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def create_connection(connection_config)
@session_name = "preview-#{connection_config[:region]}-#{connection_config[:bucket]}" if @session_name.to_s.empty?
auth_data = get_auth_data(connection_config)
conn = DuckDB::Database.open.connect
# Install and/or Load the HTTPFS extension
conn.execute(INSTALL_HTTPFS_QUERY)
# Set up S3 configuration
secret_query = "
CREATE SECRET amazons3_source (
Expand Down

0 comments on commit d5a22dd

Please sign in to comment.