forked from opensearch-project/sql
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Microsoft feedback #35
Open
ghost
wants to merge
35
commits into
main
Choose a base branch
from
update-connector-hostname
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
040552f
Added Tableau Connector to OpenSearch SQL
c8ddfb9
Merge pull request #1 from Bit-Quill/migrate-jdbc-tableau-connector
952ff01
Added CEILING and FLOOR functions
dd357bc
Merge pull request #2 from Bit-Quill/dialect-ceilfloor-AOS220
580e1af
Added IFNULL function
a4d2c0c
Added Kyle's fix for ADDDATE and SUBDATE with resulting 00:00:00 bein…
10aba05
Added MIN and MAX for two string arguments
5a90ca7
Merge pull request #3 from Bit-Quill/timestamp-issue
fa32866
Fixed return type for MID function redefenitions, part of AOS-202
Yury-Fridlyand b852f9d
Added CAST functions to convert to int or string as part of AOS-202
Yury-Fridlyand 65437b2
Added HEXBINX and HEXBINY functions from the templace without any mod…
Yury-Fridlyand 2e50a43
Fixed cast to use the OSSQL type
Yury-Fridlyand 177d132
Added parenthesis to avoid opensearch-project/sql/issues/293
Yury-Fridlyand 2355abf
Merge pull request #6 from Bit-Quill/dialect-strings-AOS-202-CAST
Yury-Fridlyand 0df001a
Pulled from main from OpenSearch
8596513
Merge branch 'main' of github.com:Bit-Quill/opensearch-project-sql in…
f212e35
Modified Timestamp conversion formula
2df3f26
Merge pull request #8 from Bit-Quill/dialect-expr-logical-AOS205
7aaf59d
Merge pull request #5 from Bit-Quill/dialect-fix-MID-return-type-AOS-202
Yury-Fridlyand 8d8fa1a
Merge pull request #7 from Bit-Quill/dialect-math.hexbin-AOS-195
Yury-Fridlyand 385a41b
Added comment to TimestampType
26dbb7e
Updated Company Name accroding to the customer's request
Yury-Fridlyand 3a5271e
Merge pull request #9 from Bit-Quill/update-vendor-AOS-231
Yury-Fridlyand 4c63b64
Updated Vendor Name as well
Yury-Fridlyand edd2159
Merge pull request #10 from Bit-Quill/update-vendor-AOS-231-part-2
Yury-Fridlyand 07cc2f1
Merge branch 'main' of github.com:opensearch-project/sql into main
534ddc9
Added TDVT test result and a readme file
Yury-Fridlyand f88c33b
Merge pull request #25 from Bit-Quill/upload-tdvt-results-AOS-260
Yury-Fridlyand b10646c
Merge pull request #26 from opensearch-project/main
Yury-Fridlyand 076d068
Merge branch 'opensearch-project:main' into main
Yury-Fridlyand 8b58136
Merge branch 'main' of github.com:opensearch-project/sql into main
278c05f
Add Certificate Validation option (#31)
ef5597e
Merge branch 'opensearch-project:main' into main
Yury-Fridlyand be226a7
Made HostnameVerification opetional and added a default value
10fd46c
Removed file that was unintentionally added in the last commit
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ OpenSearchProjectType = type function ( | |
Documentation.FieldDescription = "Use SSL", | ||
Documentation.AllowedValues = { true, false } | ||
]), | ||
HostnameVerification as (type logical meta [ | ||
optional HostnameVerification as (type logical meta [ | ||
Documentation.FieldCaption = "Certificate validation", | ||
Documentation.FieldDescription = "Certificate validation", | ||
Documentation.AllowedValues = { true, false } | ||
|
@@ -82,7 +82,11 @@ OpenSearchProjectImpl = (Server as text, Port as number, UseSSL as logical, Host | |
ConnectionString = [ | ||
Driver = "OpenSearch SQL ODBC Driver", | ||
Host = FinalServerString, | ||
HostnameVerification = if HostnameVerification then 1 else 0 | ||
HostnameVerification = | ||
if HostnameVerification = null or HostnameVerification then | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can use the ? operator to check for nullity + get the value. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does there need to be a change for PBIDS files to specify this option? |
||
1 | ||
else | ||
0 | ||
], | ||
|
||
SQLGetInfo = Diagnostics.LogValue("SQLGetInfo_Options", [ | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tested opening PBIDS files generated with the latest connector to see if they work if the optional parameter is not given a value?
There could also be issues with TestConnection as it is expecting HostnameValidation to be set. You need to test with Gateway to confirm.