This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 186
ODBC: Use literals instead of parameters in Power BI data connector #652
Merged
chloe-zh
merged 36 commits into
opendistro-for-elasticsearch:develop
from
rupal-bq:feature/odbc/pbi
Aug 3, 2020
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
427bd79
pbi connector
401a053
update names
11856cd
- add mez file
e693269
nit
4158974
nit
586793f
image resize
9cb48a4
resize image
c234b88
remove extra lines
0d0c050
nit
50d4ccf
update mez file
023fb67
rename connector
0b857c0
rename mez file
06ae486
- add basic & aws auth
b2ff222
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
3f6ff5d
add connector
ad73d91
update doc
91d5cbe
add ssl for auth
ddc725b
update docs for errors
b946351
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
2bd944c
- remove sqlgetinfo & sqlcapabilities values from connector
ed0afb9
adding EncryptedConnectionString
22dc963
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
82e9a72
add data type for columns
5022f1f
add alternate column size
f4c7068
reverting changes in catalog test
a76c382
nit
debe0c5
revert changes for column size validation
6add9da
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
a80eee8
address PR comments
e6490e4
Update SQL_GROUP_BY value for fixing query folding issue
e1032c3
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
9a36d47
removing AstVisitor for resolving query folding issue with data type …
8fa089b
fix parameter binding issue
4a874c7
Merge branch 'develop' of https://github.com/rupal-bq/sql into featur…
d681bf8
simplify changes
10986bb
update user doc for pbi
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Binary file modified
BIN
+172 Bytes
(100%)
sql-odbc/src/PowerBIConnector/bin/Release/OdfeSqlOdbcPBIConnector.mez
Binary file not shown.
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.
Can you confirm these options for date/time/timestamp literals? Wondering if this refers to the
{dt ...}
-type syntax we've seen before, which ODFE SQL plugin doesn't supportThere 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.
Yes, this refers to
{d ..}
syntax. But if we don't set this to true then date values will always be specified using Parameter Binding (https://docs.microsoft.com/en-us/power-query/odbc) which is also not supported.I will check if it is possible to report the escape sequence syntax unsupported.
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.
ODBC driver sets
SQL_DATETIME_LITERALS
to 0 in SQLGetInfo and a value of "0" means that SQL-92 datetime literals are not supported. (https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlgetinfo-function?view=sql-server-ver15)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.
Verified with @rupal-bq that timestamp values work with the current PBI connector; will look back at this when we include DirectQuery support