-
Notifications
You must be signed in to change notification settings - Fork 141
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
PowerBI certification changes #349
Merged
Merged
Changes from 96 commits
Commits
Show all changes
99 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 3f3fa1f
Added few small changes to simplify connector developing and debugging
Yury-Fridlyand 6f046dc
Typo fix
Yury-Fridlyand f529282
Added a simple test from TDVT: case bool0 from test calcs_data (an ex…
Yury-Fridlyand b215357
Modified the driver to recognize its support for conversion of types
b4f3e91
Removed changes from a different branch
431e01a
Removed changes from a different branch
e8dafaa
Made the connector convert keyword columns to string columns
a22afac
Fix requested by PR review
Yury-Fridlyand 47c3445
Merge pull request #11 from Bit-Quill/pbi-connector-dbg-tricks
Yury-Fridlyand 4a97b6c
Modified integration tests to reflect support for conversion types
f295608
Removed connector changes
bd49c92
Merge pull request #13 from Bit-Quill/pbi-add-a-tdvt-test-AOS-234
Yury-Fridlyand 284376e
Change values to bitmasks
8b4e6d2
Merge pull request #14 from Bit-Quill/type-conversion
f3af5e1
Add timestamp as a type for the driver
5e91eb4
Added timestamp to SQLGetTypeInfo for the ODBC Driver
1817773
Reverted some previous changes
bb59319
Removed generated test output file
bbeed55
Merge pull request #15 from Bit-Quill/driver-timestamp
463350c
Merge branch 'main' of github.com:opensearch-project/sql into powerbi…
766abf4
Renamed SqlOdbcPBIConnector to OpenSearch
d4cc709
According to AOS-248, we have to build the server address string prop…
Yury-Fridlyand 78434e9
Merge branch 'powerbi-main' into pbi-connector-build-server-string-AO…
Yury-Fridlyand 0f3cab0
Added version and disable trace output as per Microsoft's feedback
2336a80
Added documentation for the OpenSearch connector
d5227b8
Renamed connector markdown file to follow naming conventions
0cde588
Changed image file extention as it was not being detected by GitHub
562ee41
Updating docs according to PR #16 comments.
Yury-Fridlyand 396ce1c
Added GitHub actions script to build Tableau and Power BI connector. …
Yury-Fridlyand 1d3cceb
A typo fix in yml
Yury-Fridlyand c277fe2
A dummy commit to make GitHub Actions start the desired workflow
Yury-Fridlyand 2be30f3
Workflow fix - pack Tableau ODBC connector instead of JDBC one
Yury-Fridlyand 604adbf
Fix line endings in the workflow file
Yury-Fridlyand 91dd569
Another dummy commit to start the desired workflow
Yury-Fridlyand 6b89593
Fix paths in the GitHub workflow
Yury-Fridlyand 015fa7b
Modified workflow to trigger on changes of itself
Yury-Fridlyand 081392e
Path fix for preparation step
Yury-Fridlyand 450d483
Added some changes to the second PBI connector - they should differ m…
Yury-Fridlyand a62bdd1
Renamed PBI connector files
Yury-Fridlyand 47530d0
Moved Tableau JDBC connector to bi-connectors
Yury-Fridlyand 21e0bdf
Added packing Tableau JDBC connector
Yury-Fridlyand f5692cc
Renamed Power BI connector as "OpenSearch Project"
Yury-Fridlyand a432ac2
Renamed output artifact
Yury-Fridlyand b8d14e9
Update SqlOdbcPBIConnector.pq according to PR review notes
Yury-Fridlyand 7a83e2d
Update SqlOdbcPBIConnector.pq according to PR review notes
Yury-Fridlyand 26d29ac
Modified code that builds the server string
Yury-Fridlyand 6d432ee
Merge branch 'pbi-connector-build-server-string-AOS-248' of github.co…
Yury-Fridlyand f6b808b
Merge pull request #17 from Bit-Quill/naming-convention
fe18c68
Merge branch 'powerbi-main' into pbi-connector-build-server-string-AO…
Yury-Fridlyand f53a46d
Merge branch 'powerbi-main' into add-github-workflow-pack-bi-connecto…
Yury-Fridlyand 3c8910b
Merge branch 'powerbi-main' of github.com:Bit-Quill/opensearch-projec…
e9ec9fb
Fixed grammatical errors, added a docs directory, and updated the con…
64539dc
Removed md file as it was moved to the docs directory
017cae1
Fixed grammatical errors and updated the old power bi support document
45810b7
Removed extra line
624c4ab
Merge pull request #18 from Bit-Quill/connector-documentation
4cadfd1
Disabled building Tableau ODBC connector, because it is not ready for…
Yury-Fridlyand 6e37870
Updated workflow step description
Yury-Fridlyand 3b4b026
Merge branch 'powerbi-main' into pbi-connector-build-server-string-AO…
Yury-Fridlyand 9151460
Merge pull request #16 from Bit-Quill/pbi-connector-build-server-stri…
Yury-Fridlyand ccb52f4
Removed packing ODBC driver for Tableau (re: 4cadfd18).
Yury-Fridlyand 2e67626
Updated workflow, because connector source files were renamed after m…
Yury-Fridlyand 741c963
Merge pull request #19 from Bit-Quill/add-github-workflow-pack-bi-con…
3bb0941
Revert "Add GitHub workflow to pack BI connectors"
Yury-Fridlyand 10d5061
Merge pull request #20 from Bit-Quill/revert-19-add-github-workflow-p…
Yury-Fridlyand 1234bc9
Changed string replacement in the main connector file
Yury-Fridlyand 1bd65af
Merge branch 'powerbi-main' into add-github-workflow-pack-bi-connecto…
Yury-Fridlyand b287841
Script was modified according to PR comments
Yury-Fridlyand 7211482
Merge pull request #21 from Bit-Quill/add-github-workflow-pack-bi-con…
Yury-Fridlyand 0194958
Removed Tableau ODBC connector
Yury-Fridlyand 116cd49
Merge pull request #23 from Bit-Quill/remove-tableau-odbc-connector
Yury-Fridlyand b14b4e8
Merge branch 'main' of github.com:opensearch-project/sql into powerbi…
c89a86c
Merged OpenSearch-sql main to this branch and updated links as per th…
21997d1
Merge branch 'main' of github.com:opensearch-project/sql into powerbi…
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: Build connectors for BI tools | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'bi-connectors/PowerBIConnector/**' | ||
- 'bi-connectors/TableauConnector/**' | ||
- '.github/workflows/bi-connectors.yml' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Pack Tableau JDBC connector | ||
id: pack-tableau-jdbc | ||
run: | | ||
zip -r opensearch_sql_jdbc.taco . -x *.taco | ||
working-directory: bi-connectors/TableauConnector/opensearch_sql_jdbc | ||
- name: Prepare Power BI ODBC connector | ||
run: | | ||
cp OpenSearch.pq OpenSearch.m | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Pack Power BI ODBC connector | ||
id: pack-powerbi-odbc-os-proj | ||
run: | | ||
zip OpenSearchProject.mez *.png *.m *.resx *.pqm | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Prepare Power BI ODBC connector for 'Amazon OpenSearch Service' | ||
id: prep-powerbi-odbc-amz-os-svc | ||
run: | | ||
sed -i 's/<value>OpenSearch Project<\/value>/<value>Amazon OpenSearch Service<\/value>/g' resources.resx | ||
sed -i 's/Documentation.Name = "OpenSearch Project"/Documentation.Name = "Amazon OpenSearch Service"/g' OpenSearch.m | ||
sed -i 's/section OpenSearch;/section AmazonOpenSearchConnector;/' OpenSearch.m | ||
sed -i 's/\[DataSource.Kind="OpenSearch", Publish="OpenSearch.Publish"\]/[DataSource.Kind="AmazonOpenSearchConnector", Publish="AmazonOpenSearchConnector.Publish"]/g' OpenSearch.m | ||
sed -i 's/OpenSearch.Contents/AmazonOpenSearchConnector.Contents/g' OpenSearch.m | ||
sed -i 's/OpenSearch.Publish/AmazonOpenSearchConnector.Publish/g' OpenSearch.m | ||
sed -i 's/OpenSearch.Icons/AmazonOpenSearchConnector.Icons/g' OpenSearch.m | ||
sed -i 's/OpenSearchImpl/AmazonOpenSearchConnectorImpl/g' OpenSearch.m | ||
sed -i 's/OpenSearchType/AmazonOpenSearchConnectorType/g' OpenSearch.m | ||
sed -i 's/OpenSearch = \[/AmazonOpenSearchConnector = [/' OpenSearch.m | ||
# sed -i 's/"opensearch-sql"/"Amazon-OpenSearch-Service"/g' OpenSearch.m | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Pack Power BI ODBC connector for 'Amazon OpenSearch Service' | ||
id: pack-powerbi-odbc-amz-os-svc | ||
run: | | ||
zip AmazonOpenSearchService.mez *.png *.m *.resx *.pqm | ||
working-directory: bi-connectors/PowerBIConnector | ||
- name: Upload Tableau JDBC connector | ||
if: steps.pack-tableau-jdbc.outcome == 'success' | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: TableauConnectors | ||
path: bi-connectors/TableauConnector/opensearch_sql_jdbc/opensearch_sql_jdbc.taco | ||
- name: Upload Power BI ODBC connectors | ||
if: steps.pack-powerbi-odbc-os-proj.outcome == 'success' || (steps.prep-powerbi-odbc-amz-os-svc.outcome == 'success' && steps.pack-powerbi-odbc-amz-os-svc.outcome == 'success') | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: PBIConnectors | ||
path: 'bi-connectors/PowerBIConnector/*.mez' |
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
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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file not shown.
66 changes: 66 additions & 0 deletions
66
bi-connectors/PowerBIConnector/docs/AmazonOpenSearchService.md
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Connecting Amazon OpenSearch Service to Microsoft Power BI Desktop | ||
|
||
>[!Note] | ||
|
||
>The following connector article is provided by Amazon, the owner of this connector and a member of the Microsoft Power Query Connector Certification Program. If you have questions regarding the content of this article or have changes you would like to see made to this article, visit the OpenSearch website and use the support channels there. | ||
|
||
## Summary | ||
| Item | Description | | ||
| ---- | ----------- | | ||
| Release State | General Availability | | ||
| Products | Power BI Desktop | | ||
| Authentication Types Supported | Basic | | ||
|
||
## Prerequisites | ||
* Microsoft Power BI Desktop | ||
* [OpenSearch](https://docs-beta.opensearch.org/opensearch/install/index/) | ||
* [OpenSearch SQL ODBC driver](https://docs-beta.opensearch.org/search-plugins/sql/odbc/) | ||
|
||
## Capabilities supported | ||
* Import | ||
* DirectQuery | ||
|
||
## Connect to Amazon OpenSearch Service | ||
1. Open Power BI Desktop. | ||
|
||
2. Click on **Home** > **Get Data** > **More** > **Other**. Select **Amazon OpenSearch Service**. Click on **Connect**. | ||
|
||
<img src="img/pbi_select_connector_amz.png" width="500"> | ||
|
||
3. You will get a warning for using a third-party service. Click on **Continue**. | ||
|
||
<img src="img/pbi_third_party_warning.png" width="500"> | ||
|
||
4. Enter host and port values and select your preferred SSL option. Click on **OK**. | ||
|
||
<img src="img/pbi_connection_string_options.png" width="500"> | ||
|
||
5. Select authentication option. Enter credentials if required and click on **Connect**. | ||
|
||
<img src="img/pbi_auth.png" width="500"> | ||
|
||
6. Select required table. Data preview will be loaded. | ||
|
||
<img src="img/pbi_data_preview.png"> | ||
|
||
7. Click on **Load**. | ||
|
||
8. Select required columns for creating a graph. | ||
|
||
<img src="img/pbi_simple_graph.png"> | ||
|
||
|
||
## Troubleshooting | ||
|
||
* If you get the following error, please install the [OpenSearch SQL ODBC Driver](https://docs-beta.opensearch.org/search-plugins/sql/odbc/). | ||
|
||
<img src="img/pbi_error_driver_not_installed.png" width="350"> | ||
|
||
* If you get the following error, | ||
|
||
<img src="img/pbi_error_conn.png" width="350"> | ||
|
||
1. Check if host and port values are correct. | ||
2. Check if auth credentials are correct. | ||
3. Check if server is running. | ||
|
Oops, something went wrong.
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.
minor: we are not using the beta links anymore
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.
Thank you for the heads up. This has now been updated