Skip to content

Commit

Permalink
Updated PBIDS Handler for the connector
Browse files Browse the repository at this point in the history
Signed-off-by: Yury Fridlyand <[email protected]>
  • Loading branch information
Yury-Fridlyand committed Feb 28, 2022
1 parent e12d2a9 commit 72dbb48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bi-connectors/PowerBIConnector/OpenSearchProject.pq
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ OpenSearchProject = [
// PBIDS Handler
DSRHandlers = [
opensearchproject = [
GetDSR = (server, schema, object, optional options) => [ protocol = "opensearchproject-odbc", address = [ server = server, port = schema, useSSL = object ] ],
GetDSR = (Server, Port, UseSSL, HostnameVerification, optional Options) => [ protocol = "opensearchproject-odbc", address = [ server = Server, port = Port, useSSL = UseSSL, hostnameVerification = HostnameVerification ] ],
GetFormula = (dsr, optional options) => () =>
let
db = OpenSearchProject.Contents(dsr[address][server], dsr[address][port], dsr[address][useSSL])
db = OpenSearchProject.Contents(dsr[address][server], dsr[address][port], dsr[address][useSSL], dsr[address][hostnameVerification])
in
db,
GetFriendlyName = (dsr) => "OpenSearch Project"
Expand Down

0 comments on commit 72dbb48

Please sign in to comment.