Skip to content

Commit

Permalink
chore(CE): Dynamic sql model type added (#465)
Browse files Browse the repository at this point in the history
Co-authored-by: Basil V Bose <[email protected]>
  • Loading branch information
github-actions[bot] and bvb007 authored Nov 13, 2024
1 parent 3e39637 commit 0afaf6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Types
DestinationSyncMode = Types::String.enum("insert", "upsert")
ConnectorType = Types::String.enum("source", "destination")
ConnectorQueryType = Types::String.enum("raw_sql", "soql", "ai_ml")
ModelQueryType = Types::String.enum("raw_sql", "dbt", "soql", "table_selector", "ai_ml")
ModelQueryType = Types::String.enum("raw_sql", "dbt", "soql", "table_selector", "ai_ml", "dynamic_sql")
ConnectionStatusType = Types::String.enum("succeeded", "failed")
StreamType = Types::String.enum("static", "dynamic", "user_defined")
StreamAction = Types::String.enum("fetch", "create", "update", "delete")
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.14.0"
VERSION = "0.14.1"

ENABLED_SOURCES = %w[
Snowflake
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,11 @@ module Integrations::Protocol
model = Model.new(name: "Test", query: "SELECT * FROM table", query_type: "ai_ml", primary_key: "id")
expect("ai_ml").to include(model.query_type)
end

it "has a query_type 'dynamic_sql'" do
model = Model.new(name: "Test", query: "SELECT * FROM table", query_type: "dynamic_sql", primary_key: "id")
expect("dynamic_sql").to include(model.query_type)
end
end
end

Expand Down

0 comments on commit 0afaf6a

Please sign in to comment.