From 0a9ea4825f382cbc15c5bc21fbcc28bf9ac60e1a Mon Sep 17 00:00:00 2001 From: Amazon GitHub Automation <54958958+amazon-auto@users.noreply.github.com> Date: Wed, 28 Jun 2023 08:47:55 -0700 Subject: [PATCH 01/14] Initial commit --- .../CODE_OF_CONDUCT.md | 4 + amazon-timestream-odbc-driver/CONTRIBUTING.md | 59 ++++++ amazon-timestream-odbc-driver/LICENSE | 175 ++++++++++++++++++ amazon-timestream-odbc-driver/NOTICE | 1 + amazon-timestream-odbc-driver/README.md | 17 ++ 5 files changed, 256 insertions(+) create mode 100644 amazon-timestream-odbc-driver/CODE_OF_CONDUCT.md create mode 100644 amazon-timestream-odbc-driver/CONTRIBUTING.md create mode 100644 amazon-timestream-odbc-driver/LICENSE create mode 100644 amazon-timestream-odbc-driver/NOTICE create mode 100644 amazon-timestream-odbc-driver/README.md diff --git a/amazon-timestream-odbc-driver/CODE_OF_CONDUCT.md b/amazon-timestream-odbc-driver/CODE_OF_CONDUCT.md new file mode 100644 index 0000000000000..5b627cfa60b53 --- /dev/null +++ b/amazon-timestream-odbc-driver/CODE_OF_CONDUCT.md @@ -0,0 +1,4 @@ +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. diff --git a/amazon-timestream-odbc-driver/CONTRIBUTING.md b/amazon-timestream-odbc-driver/CONTRIBUTING.md new file mode 100644 index 0000000000000..c4b6a1c5081ad --- /dev/null +++ b/amazon-timestream-odbc-driver/CONTRIBUTING.md @@ -0,0 +1,59 @@ +# Contributing Guidelines + +Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional +documentation, we greatly value feedback and contributions from our community. + +Please read through this document before submitting any issues or pull requests to ensure we have all the necessary +information to effectively respond to your bug report or contribution. + + +## Reporting Bugs/Feature Requests + +We welcome you to use the GitHub issue tracker to report bugs or suggest features. + +When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already +reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: + +* A reproducible test case or series of steps +* The version of our code being used +* Any modifications you've made relevant to the bug +* Anything unusual about your environment or deployment + + +## Contributing via Pull Requests +Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: + +1. You are working against the latest source on the *main* branch. +2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. +3. You open an issue to discuss any significant work - we would hate for your time to be wasted. + +To send us a pull request, please: + +1. Fork the repository. +2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. +3. Ensure local tests pass. +4. Commit to your fork using clear commit messages. +5. Send us a pull request, answering any default questions in the pull request interface. +6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. + +GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and +[creating a pull request](https://help.github.com/articles/creating-a-pull-request/). + + +## Finding contributions to work on +Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start. + + +## Code of Conduct +This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). +For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact +opensource-codeofconduct@amazon.com with any additional questions or comments. + + +## Security issue notifications +If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. + + +## Licensing + +See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. diff --git a/amazon-timestream-odbc-driver/LICENSE b/amazon-timestream-odbc-driver/LICENSE new file mode 100644 index 0000000000000..67db8588217f2 --- /dev/null +++ b/amazon-timestream-odbc-driver/LICENSE @@ -0,0 +1,175 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. diff --git a/amazon-timestream-odbc-driver/NOTICE b/amazon-timestream-odbc-driver/NOTICE new file mode 100644 index 0000000000000..616fc58894518 --- /dev/null +++ b/amazon-timestream-odbc-driver/NOTICE @@ -0,0 +1 @@ +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. diff --git a/amazon-timestream-odbc-driver/README.md b/amazon-timestream-odbc-driver/README.md new file mode 100644 index 0000000000000..847260ca5152a --- /dev/null +++ b/amazon-timestream-odbc-driver/README.md @@ -0,0 +1,17 @@ +## My Project + +TODO: Fill this README out! + +Be sure to: + +* Change the title in this README +* Edit your repository description on GitHub + +## Security + +See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information. + +## License + +This project is licensed under the Apache-2.0 License. + From c7745ed9584d7705ef3f986d2b159b820893a5a8 Mon Sep 17 00:00:00 2001 From: RoyZhang2022 Date: Thu, 29 Jun 2023 09:38:27 -0700 Subject: [PATCH 02/14] code uploading --- .../.github/ISSUE_TEMPLATE/bug-report.yml | 84 + .../.github/ISSUE_TEMPLATE/documentation.yml | 23 + .../ISSUE_TEMPLATE/feature-request.yml | 47 + .../.github/PULL_REQUEST_TEMPLATE.md | 16 + .../.github/workflows/linux-build.yml | 280 ++ .../.github/workflows/mac-build.yml | 140 + .../.github/workflows/mac-debug-build.yml | 186 + .../workflows/remove-old-artifacts.yml | 34 + .../.github/workflows/win-build.yml | 430 ++ amazon-timestream-odbc-driver/CONTRIBUTING.md | 3 +- amazon-timestream-odbc-driver/LICENSE | 28 +- amazon-timestream-odbc-driver/LICENSE.rtf | 275 + amazon-timestream-odbc-driver/NOTICE | 45 + amazon-timestream-odbc-driver/README.md | 48 +- .../VS-C++-Settings-Export.vssettings | 244 + .../build_linux_debug32_deb.sh | 14 + .../build_linux_debug32_rpm.sh | 14 + .../build_linux_debug64_deb.sh | 14 + .../build_linux_debug64_rpm.sh | 14 + .../build_linux_release32_deb.sh | 14 + .../build_linux_release32_rpm.sh | 14 + .../build_linux_release64_deb.sh | 15 + .../build_linux_release64_rpm.sh | 14 + .../build_mac_debug64.sh | 56 + .../build_mac_release64.sh | 52 + .../build_performance_linux64.sh | 22 + .../build_performance_mac64.sh | 22 + .../build_performance_win64.ps1 | 16 + .../build_win_debug32.ps1 | 15 + .../build_win_debug64.ps1 | 15 + .../build_win_release32.ps1 | 15 + .../build_win_release64.ps1 | 15 + .../build_win_relwithdebinfo32.ps1 | 15 + .../build_win_relwithdebinfo64.ps1 | 15 + .../docs/markdown/images/Okta1.png | Bin 0 -> 78546 bytes .../docs/markdown/images/Okta2.png | Bin 0 -> 211714 bytes .../docs/markdown/images/Okta3.png | Bin 0 -> 171597 bytes .../docs/markdown/images/Okta4.png | Bin 0 -> 131659 bytes .../docs/markdown/images/Okta5.png | Bin 0 -> 79906 bytes .../docs/markdown/images/Okta6.png | Bin 0 -> 87123 bytes .../docs/markdown/images/Okta7.png | Bin 0 -> 60315 bytes .../images/azuread/aad_add_an_application.png | Bin 0 -> 174544 bytes .../images/azuread/aad_api_permissions.png | Bin 0 -> 64139 bytes .../azuread/aad_application_information.png | Bin 0 -> 39674 bytes .../images/azuread/aad_new_client_secret.png | Bin 0 -> 31738 bytes .../markdown/images/azuread/aad_overview.png | Bin 0 -> 16897 bytes .../images/azuread/aad_provisioning.png | Bin 0 -> 50435 bytes .../azuread/aad_provisioning_select_role.png | Bin 0 -> 14147 bytes .../azuread/aad_provisioning_sidebar.png | Bin 0 -> 16449 bytes .../aad_provisioning_test_connection.png | Bin 0 -> 26458 bytes .../markdown/images/azuread/aad_sidebar.png | Bin 0 -> 28424 bytes .../images/azuread/aad_single_acc_access.png | Bin 0 -> 24246 bytes .../images/azuread/aad_sso_sidebar.png | Bin 0 -> 69659 bytes .../images/azuread/aad_sso_test_btn.png | Bin 0 -> 29645 bytes .../images/azuread/aad_sso_test_sign_in.png | Bin 0 -> 108507 bytes .../images/azuread/aad_start_provisioning.png | Bin 0 -> 25134 bytes .../azuread/aad_users_and_groups_sidebar.png | Bin 0 -> 24699 bytes .../images/azuread/add_api_permissions.png | Bin 0 -> 46234 bytes .../azuread/azure_saml_configuration.png | Bin 0 -> 186598 bytes .../azuread/certificates_and_secrets.png | Bin 0 -> 23758 bytes .../azuread/configure_azure_provider.png | Bin 0 -> 18689 bytes .../images/azuread/create_saml_role.png | Bin 0 -> 70967 bytes .../azuread/default_directory_sidebar.png | Bin 0 -> 36783 bytes .../images/azuread/grant_permissions.png | Bin 0 -> 30252 bytes .../images/azuread/iam_azure_role.png | Bin 0 -> 50999 bytes .../markdown/images/azuread/iam_sidebar.png | Bin 0 -> 16751 bytes .../azuread/request_api_permissions.png | Bin 0 -> 39971 bytes .../azuread/saml_signing_certificate.png | Bin 0 -> 23055 bytes .../markdown/images/azuread/sso_test_user.png | Bin 0 -> 466316 bytes .../images/azuread/user_assignment.png | Bin 0 -> 14793 bytes .../images/change_date_time_display.png | Bin 0 -> 93078 bytes .../markdown/images/dotNet_screenshot.PNG | Bin 0 -> 31368 bytes .../docs/markdown/images/excel_dsn.png | Bin 0 -> 20448 bytes .../docs/markdown/images/excel_odbc.png | Bin 0 -> 83533 bytes .../images/excel_odbc_clear_permission.png | Bin 0 -> 81067 bytes .../markdown/images/excel_odbc_connect.png | Bin 0 -> 43940 bytes .../images/excel_odbc_dsn_settings.png | Bin 0 -> 40101 bytes .../images/excel_odbc_remove_cache.png | Bin 0 -> 139797 bytes .../docs/markdown/images/from_odbc.png | Bin 0 -> 20904 bytes .../markdown/images/from_odbc_advanced.png | Bin 0 -> 51247 bytes .../docs/markdown/images/get_data_odbc.png | Bin 0 -> 31832 bytes .../images/iodbc_dsn_default_config.png | Bin 0 -> 25238 bytes .../docs/markdown/images/mac-tableau-odbc.png | Bin 0 -> 59607 bytes .../docs/markdown/images/mac-tableau.png | Bin 0 -> 10321 bytes .../docs/markdown/images/mac_excel_dsn.png | Bin 0 -> 250261 bytes .../docs/markdown/images/mac_excel_odbc.png | Bin 0 -> 145688 bytes .../images/meta_queries_test_db-create.png | Bin 0 -> 160130 bytes .../images/odbc-data-source-admin.png | Bin 0 -> 57948 bytes .../docs/markdown/images/odbc_connect.png | Bin 0 -> 51139 bytes .../odbc_manager_dsn_default_config.png | Bin 0 -> 118470 bytes .../docs/markdown/images/odbc_navigator.png | Bin 0 -> 252528 bytes .../change_date_time_display.png | Bin 0 -> 93078 bytes .../custom_connector_connect.png | Bin 0 -> 29348 bytes .../custom_connector_navigator.png | Bin 0 -> 261781 bytes .../data_view_transform_btn.PNG | Bin 0 -> 99184 bytes .../get_data_custom_connector.png | Bin 0 -> 61610 bytes .../powerbi-connector/mquery_output_err.png | Bin 0 -> 41043 bytes .../navigator_transform_btn.png | Bin 0 -> 46683 bytes .../pbi_gateway_connector_path.png | Bin 0 -> 71372 bytes .../powerbi-connector/pbi_gateway_status.png | Bin 0 -> 130398 bytes .../pbi_service_cluster_setting.png | Bin 0 -> 181676 bytes .../images/powerbi-connector/pbi_settings.png | Bin 0 -> 39406 bytes .../powerbi-connector/pbi_update_source.png | Bin 0 -> 22224 bytes .../powerbi-connector/sample_PBI_DB.PNG | Bin 0 -> 200389 bytes .../powerbi-connector/start_test_vs.PNG | Bin 0 -> 25064 bytes .../timestream_connector_direct_query.png | Bin 0 -> 67467 bytes .../timestream_connector_import.png | Bin 0 -> 67359 bytes .../powerbi-connector/ts_databases_pg.png | Bin 0 -> 14501 bytes .../saml/iam_configure_aad_provider.png | Bin 0 -> 76402 bytes .../images/saml/iam_create_policy.png | Bin 0 -> 46274 bytes .../images/saml/iam_identity_providers.png | Bin 0 -> 17400 bytes .../images/saml/iam_trusted_entity.png | Bin 0 -> 157652 bytes .../docs/markdown/images/sampleDB-create.png | Bin 0 -> 151490 bytes .../windows-dsn-configuration-balloon.png | Bin 0 -> 16193 bytes ...dows-dsn-configuration-window-design-1.PNG | Bin 0 -> 85649 bytes ...dows-dsn-configuration-window-design-2.PNG | Bin 0 -> 69153 bytes ...dows-dsn-configuration-window-design-3.PNG | Bin 0 -> 75014 bytes ...dows-dsn-configuration-window-design-4.PNG | Bin 0 -> 84772 bytes ...dows-dsn-configuration-window-design-5.PNG | Bin 0 -> 70088 bytes ...dows-dsn-configuration-window-design-6.PNG | Bin 0 -> 67689 bytes .../images/windows-dsn-configuration.png | Bin 0 -> 30961 bytes .../docs/markdown/index.md | 64 + .../docs/markdown/setup/Okta-setup.md | 40 + .../docs/markdown/setup/aad-saml-setup.md | 292 ++ .../markdown/setup/connection-proxy-guide.md | 16 + .../docs/markdown/setup/connection-string.md | 199 + .../markdown/setup/data-population-guide.md | 90 + .../docs/markdown/setup/developer-guide.md | 511 ++ .../markdown/setup/linux-dsn-configuration.md | 107 + .../setup/linux-installation-guide.md | 131 + .../markdown/setup/macOS-dsn-configuration.md | 167 + .../setup/macOS-installation-guide.md | 30 + .../docs/markdown/setup/microsoft-excel.md | 91 + .../docs/markdown/setup/microsoft-power-bi.md | 42 + .../build_powerbi_connector.md | 48 + .../powerbi_custom_connector_direct_query.md | 53 + .../powerbi_custom_connector_import.md | 55 + .../powerbi_overview.md | 10 + .../powerbi_service.md | 53 + .../docs/markdown/setup/setup.md | 43 + .../docs/markdown/setup/tableau.md | 45 + .../setup/windows-dsn-configuration.md | 19 + .../setup/windows-installation-guide.md | 33 + .../docs/markdown/support/metadata-design.md | 40 + .../support/odbc-support-and-limitations.md | 443 ++ .../markdown/support/troubleshooting-guide.md | 102 + .../docs/markdown/support/unicode-support.md | 37 + .../performance/ALL_BUILD.vcxproj | 192 + .../performance/ALL_BUILD.vcxproj.filters | 8 + .../performance/CMakeCache.txt | 601 +++ .../INSTALL_force.rule | 1 + .../CMakeFiles/3.26.2/CMakeCCompiler.cmake | 72 + .../CMakeFiles/3.26.2/CMakeCXXCompiler.cmake | 83 + .../3.26.2/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 51712 bytes .../3.26.2/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 51712 bytes .../CMakeFiles/3.26.2/CMakeRCCompiler.cmake | 6 + .../CMakeFiles/3.26.2/CMakeSystem.cmake | 15 + .../3.26.2/CompilerIdC/CMakeCCompilerId.c | 866 ++++ .../3.26.2/CompilerIdC/CompilerIdC.exe | Bin 0 -> 14848 bytes .../3.26.2/CompilerIdC/CompilerIdC.vcxproj | 71 + .../CompilerIdC/Debug/CMakeCCompilerId.obj | Bin 0 -> 2334 bytes .../CompilerIdC/Debug/CompilerIdC.exe.recipe | 11 + .../Debug/CompilerIdC.tlog/CL.command.1.tlog | Bin 0 -> 992 bytes .../Debug/CompilerIdC.tlog/CL.read.1.tlog | Bin 0 -> 632 bytes .../Debug/CompilerIdC.tlog/CL.write.1.tlog | Bin 0 -> 500 bytes .../CompilerIdC.lastbuildstate | 2 + .../CompilerIdC.tlog/link.command.1.tlog | Bin 0 -> 1526 bytes .../Debug/CompilerIdC.tlog/link.read.1.tlog | Bin 0 -> 5458 bytes .../Debug/CompilerIdC.tlog/link.write.1.tlog | Bin 0 -> 494 bytes .../CompilerIdC/Debug/vcpkg.applocal.log | 1 + .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 855 ++++ .../3.26.2/CompilerIdCXX/CompilerIdCXX.exe | Bin 0 -> 15360 bytes .../CompilerIdCXX/CompilerIdCXX.vcxproj | 71 + .../Debug/CMakeCXXCompilerId.obj | Bin 0 -> 2401 bytes .../Debug/CompilerIdCXX.exe.recipe | 11 + .../CompilerIdCXX.tlog/CL.command.1.tlog | Bin 0 -> 1016 bytes .../Debug/CompilerIdCXX.tlog/CL.read.1.tlog | Bin 0 -> 644 bytes .../Debug/CompilerIdCXX.tlog/CL.write.1.tlog | Bin 0 -> 520 bytes .../CompilerIdCXX.lastbuildstate | 2 + .../CompilerIdCXX.tlog/link.command.1.tlog | Bin 0 -> 1550 bytes .../Debug/CompilerIdCXX.tlog/link.read.1.tlog | Bin 0 -> 5474 bytes .../CompilerIdCXX.tlog/link.write.1.tlog | Bin 0 -> 510 bytes .../CompilerIdCXX/Debug/vcpkg.applocal.log | 1 + .../CMakeFiles/3.26.2/VCTargetsPath.txt | 1 + .../CMakeFiles/3.26.2/VCTargetsPath.vcxproj | 31 + .../3.26.2/x64/Debug/VCTargetsPath.recipe | 11 + .../VCTargetsPath.lastbuildstate | 2 + .../INSTALL_force.rule | 1 + .../INSTALL_force.rule | 1 + .../INSTALL_force.rule | 1 + .../INSTALL_force.rule | 1 + .../generate.stamp.rule | 1 + .../CMakeFiles/CMakeConfigureLog.yaml | 410 ++ .../CMakeFiles/TargetDirectories.txt | 22 + .../INSTALL_force.rule | 1 + .../INSTALL_force.rule | 1 + .../performance/CMakeFiles/cmake.check_cache | 1 + .../performance/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 103 + .../CMakeFiles/generate.stamp.list | 7 + .../performance/CMakeLists.txt | 43 + .../performance/INSTALL.vcxproj | 204 + .../performance/INSTALL.vcxproj.filters | 13 + .../performance/LICENSE | 201 + .../performance/NOTICE | 33 + .../PTODBCExecution/ALL_BUILD.vcxproj | 184 + .../PTODBCExecution/ALL_BUILD.vcxproj.filters | 8 + .../PTODBCExecution/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 5 + .../PTODBCExecution/CMakeLists.txt | 26 + .../PTODBCExecution/INSTALL.vcxproj | 204 + .../PTODBCExecution/INSTALL.vcxproj.filters | 13 + .../PTODBCExecution/cmake_install.cmake | 34 + .../PTODBCExecution/performance_execution.sln | 112 + .../performance_execution.vcxproj | 345 ++ .../performance_execution.vcxproj.filters | 16 + .../performance_odbc_execution.cpp | 87 + .../PTODBCResults/ALL_BUILD.vcxproj | 184 + .../PTODBCResults/ALL_BUILD.vcxproj.filters | 8 + .../PTODBCResults/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 11 + .../performance/PTODBCResults/CMakeLists.txt | 27 + .../performance/PTODBCResults/INSTALL.vcxproj | 204 + .../PTODBCResults/INSTALL.vcxproj.filters | 13 + .../PTODBCResults/cmake_install.cmake | 34 + .../performance/PTODBCResults/packages.config | 4 + .../performance_odbc_results.cpp | 1111 +++++ .../PTODBCResults/performance_results.sln | 112 + .../PTODBCResults/performance_results.vcxproj | 345 ++ .../performance_results.vcxproj.filters | 16 + .../PerformanceHelper/ALL_BUILD.vcxproj | 184 + .../ALL_BUILD.vcxproj.filters | 8 + .../CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 2 + .../PerformanceHelper/CMakeLists.txt | 30 + .../PerformanceHelper/INSTALL.vcxproj | 204 + .../PerformanceHelper/INSTALL.vcxproj.filters | 13 + .../PerformanceHelper/cmake_install.cmake | 34 + .../PerformanceHelper/performance_helper.cpp | 145 + .../PerformanceHelper/performance_helper.h | 66 + .../PerformanceHelper/performance_helper.sln | 96 + .../performance_helper.vcxproj | 338 ++ .../performance_helper.vcxproj.filters | 24 + .../performance/README.md | 43 + .../performance/ZERO_CHECK.vcxproj | 174 + .../performance/ZERO_CHECK.vcxproj.filters | 13 + .../performance/cmake_install.cmake | 59 + .../performance/googletest/ALL_BUILD.vcxproj | 186 + .../googletest/ALL_BUILD.vcxproj.filters | 8 + .../performance/googletest/CMakeCache.txt | 108 + .../CMakeFiles/3.26.2/CMakeSystem.cmake | 15 + .../CMakeFiles/3.26.2/VCTargetsPath.txt | 1 + .../CMakeFiles/3.26.2/VCTargetsPath.vcxproj | 31 + .../3.26.2/x64/Debug/VCTargetsPath.recipe | 11 + .../VCTargetsPath.lastbuildstate | 2 + .../googletest-build.rule | 1 + .../googletest-configure.rule | 1 + .../googletest-download.rule | 1 + .../googletest-install.rule | 1 + .../googletest-mkdir.rule | 1 + .../googletest-patch.rule | 1 + .../googletest-test.rule | 1 + .../googletest-update.rule | 1 + .../googletest-complete.rule | 1 + .../CMakeFiles/CMakeConfigureLog.yaml | 11 + .../CMakeFiles/Debug/googletest-complete | 0 .../CMakeFiles/TargetDirectories.txt | 3 + .../googletest/CMakeFiles/cmake.check_cache | 1 + .../generate.stamp.rule | 1 + .../googletest.rule | 1 + .../googletest/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 21 + .../googletest/CMakeFiles/generate.stamp.list | 1 + .../CMakeFiles/googletest.dir/Labels.json | 46 + .../CMakeFiles/googletest.dir/Labels.txt | 14 + .../performance/googletest/CMakeLists.txt | 44 + .../performance/googletest/ZERO_CHECK.vcxproj | 174 + .../googletest/ZERO_CHECK.vcxproj.filters | 13 + .../googletest/cmake_install.cmake | 44 + .../googletest-build/ALL_BUILD.vcxproj | 196 + .../ALL_BUILD.vcxproj.filters | 8 + .../CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 4 + .../googletest-build/CTestTestfile.cmake | 7 + .../googletest-build/INSTALL.vcxproj | 204 + .../googletest-build/INSTALL.vcxproj.filters | 13 + .../googletest-build/cmake_install.cmake | 40 + .../googlemock/ALL_BUILD.vcxproj | 196 + .../googlemock/ALL_BUILD.vcxproj.filters | 8 + .../googlemock/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 10 + .../googlemock/CTestTestfile.cmake | 7 + .../googlemock/INSTALL.vcxproj | 204 + .../googlemock/INSTALL.vcxproj.filters | 13 + .../googlemock/cmake_install.cmake | 100 + .../googletest-build/googlemock/gmock.sln | 110 + .../googletest-build/googlemock/gmock.vcxproj | 300 ++ .../googlemock/gmock.vcxproj.filters | 19 + .../googlemock/gmock_main.vcxproj | 301 ++ .../googlemock/gmock_main.vcxproj.filters | 22 + .../googletest-distribution.sln | 110 + .../googletest/ALL_BUILD.vcxproj | 188 + .../googletest/ALL_BUILD.vcxproj.filters | 8 + .../GTestTargets-debug.cmake | 50 + .../GTestTargets-minsizerel.cmake | 50 + .../GTestTargets-release.cmake | 50 + .../GTestTargets-relwithdebinfo.cmake | 50 + .../GTestTargets.cmake | 127 + .../googletest/CMakeFiles/generate.stamp | 1 + .../CMakeFiles/generate.stamp.depend | 16 + .../googletest/CTestTestfile.cmake | 6 + .../googletest/INSTALL.vcxproj | 204 + .../googletest/INSTALL.vcxproj.filters | 13 + .../googletest/cmake_install.cmake | 133 + .../googletest/generated/GTestConfig.cmake | 33 + .../generated/GTestConfigVersion.cmake | 43 + .../googletest/generated/gmock.pc | 11 + .../googletest/generated/gmock_main.pc | 11 + .../googletest/generated/gtest.pc | 10 + .../googletest/generated/gtest_main.pc | 11 + .../googletest-build/googletest/gtest.sln | 82 + .../googletest-build/googletest/gtest.vcxproj | 299 ++ .../googletest/gtest.vcxproj.filters | 16 + .../googletest/gtest_main.vcxproj | 303 ++ .../googletest/gtest_main.vcxproj.filters | 16 + .../googletest/googletest-download.sln | 53 + .../googletest-stamp/Debug/googletest-build | 0 .../Debug/googletest-configure | 0 .../googletest-stamp/Debug/googletest-done | 0 .../Debug/googletest-download | 0 .../googletest-stamp/Debug/googletest-install | 0 .../googletest-stamp/Debug/googletest-mkdir | 0 .../googletest-stamp/Debug/googletest-patch | 0 .../googletest-stamp/Debug/googletest-test | 0 .../googletest-gitclone-lastrun.txt | 15 + .../googletest-stamp/googletest-gitinfo.txt | 15 + .../tmp/googletest-cfgcmd.txt | 1 + .../tmp/googletest-gitclone.cmake | 73 + .../tmp/googletest-gitupdate.cmake | 277 + .../tmp/googletest-mkdirs.cmake | 22 + .../performance/googletest/googletest-src | 1 + .../performance/googletest/googletest.vcxproj | 915 ++++ .../googletest/googletest.vcxproj.filters | 44 + .../x64/Debug/ALL_BUILD/ALL_BUILD.recipe | 17 + .../ALL_BUILD.tlog/ALL_BUILD.lastbuildstate | 2 + .../ALL_BUILD.tlog/CustomBuild.command.1.tlog | 10 + .../ALL_BUILD.tlog/CustomBuild.read.1.tlog | 20 + .../ALL_BUILD.tlog/CustomBuild.write.1.tlog | 2 + .../x64/Debug/ZERO_CHECK/ZERO_CHECK.recipe | 11 + .../CustomBuild.command.1.tlog | 10 + .../ZERO_CHECK.tlog/CustomBuild.read.1.tlog | 21 + .../ZERO_CHECK.tlog/CustomBuild.write.1.tlog | 2 + .../ZERO_CHECK.tlog/ZERO_CHECK.lastbuildstate | 2 + .../x64/Debug/googletest/googletest.recipe | 14 + .../CustomBuild.command.1.tlog | 150 + .../googletest.tlog/CustomBuild.read.1.tlog | 48 + .../googletest.tlog/CustomBuild.write.1.tlog | 22 + .../googletest.tlog/googletest.lastbuildstate | 2 + .../gtest/googletest-download.cmake | 44 + .../performance/gtest/googletest.cmake | 53 + .../performance/performance_tests.sln | 130 + .../run_cppcheck.ps1 | 23 + amazon-timestream-odbc-driver/run_cppcheck.sh | 27 + .../run_test_runner.bat | 32 + .../run_test_runner.sh | 33 + .../scripts/build_aws-sdk-cpp.ps1 | 45 + .../scripts/build_driver.ps1 | 54 + .../scripts/build_installer.ps1 | 30 + .../scripts/build_linux.sh | 75 + .../scripts/build_performance_win.ps1 | 56 + .../scripts/build_windows.ps1 | 57 + .../scripts/env_variables_check.sh | 41 + .../scripts/postinst_unix.sh | 48 + .../scripts/prepare_ci_output.ps1 | 33 + .../scripts/register_driver_unix.sh | 54 + .../scripts/sign_installer.ps1 | 171 + .../scripts/unix_check_changes.sh | 30 + .../scripts/win_check_changes.ps1 | 27 + .../src/CMakeLists.txt | 149 + .../src/CMakeSettings.json.in | 63 + .../src/ODBC_DRIVER_VERSION.txt | 1 + .../AmazonTimestreamAADConnector.ps1 | 47 + .../AmazonTimestream16.png | Bin 0 -> 1328 bytes .../AmazonTimestream20.png | Bin 0 -> 1637 bytes .../AmazonTimestream24.png | Bin 0 -> 1985 bytes .../AmazonTimestream32.png | Bin 0 -> 1329 bytes .../AmazonTimestream40.png | Bin 0 -> 1816 bytes .../AmazonTimestream48.png | Bin 0 -> 4907 bytes .../AmazonTimestream64.png | Bin 0 -> 3443 bytes .../AmazonTimestream80.png | Bin 0 -> 4237 bytes .../AmazonTimestreamAADConnector.mproj | 125 + .../AmazonTimestreamAADConnector.pq | 282 ++ .../AmazonTimestreamAADConnector.query.pq | 644 +++ .../Diagnostics.pqm | 181 + .../OdbcConstants.pqm | 1270 +++++ .../resources.resx | 129 + .../AmazonTimestreamConnector.mez | Bin 0 -> 37689 bytes .../AmazonTimestreamConnector.ps1 | 47 + .../.vs/AmazonTimestreamConnector/v16/.suo | Bin 0 -> 23552 bytes .../.vs/ProjectSettings.json | 3 + .../.vs/VSWorkspaceState.json | 7 + .../AmazonTimestreamConnector/.vs/slnx.sqlite | Bin 0 -> 90112 bytes .../AmazonTimestream16.png | Bin 0 -> 1328 bytes .../AmazonTimestream20.png | Bin 0 -> 1637 bytes .../AmazonTimestream24.png | Bin 0 -> 1985 bytes .../AmazonTimestream32.png | Bin 0 -> 1329 bytes .../AmazonTimestream40.png | Bin 0 -> 1816 bytes .../AmazonTimestream48.png | Bin 0 -> 4907 bytes .../AmazonTimestream64.png | Bin 0 -> 3443 bytes .../AmazonTimestream80.png | Bin 0 -> 4237 bytes .../AmazonTimestreamConnector.mproj | 125 + .../AmazonTimestreamConnector.pq | 252 + .../AmazonTimestreamConnector.query.pq | 646 +++ .../AmazonTimestreamConnector/Diagnostics.pqm | 181 + .../OdbcConstants.pqm | 1270 +++++ .../bin/Debug/AmazonTimestreamConnector.mez | Bin 0 -> 16617 bytes .../obj/Debug/AmazonTimestreamConnector.m | 252 + .../obj/Debug/Diagnostics.pqm | 181 + .../obj/Debug/OdbcConstants.pqm | 1270 +++++ .../obj/Debug/resources.resx | 135 + .../AmazonTimestreamConnector/resources.resx | 135 + .../src/cmake/FindIgnite.cmake | 52 + .../src/cmake/FindODBC.cmake | 155 + amazon-timestream-odbc-driver/src/cpp.dxg | 1722 +++++++ .../src/linux_32bit_toolchain.cmake | 28 + .../src/modules/code-coverage.cmake | 672 +++ .../src/odbc/CMakeLists.txt | 439 ++ .../common/include/common/big_integer.h | 515 ++ .../ignite/common/include/common/bits.h | 211 + .../ignite/common/include/common/concurrent.h | 547 ++ .../ignite/common/include/common/decimal.h | 505 ++ .../common/include/common/default_allocator.h | 82 + .../include/common/dynamic_size_array.h | 373 ++ .../ignite/common/include/common/expected.h | 273 + .../common/include/common/fixed_size_array.h | 260 + .../common/include/common/platform_utils.h | 125 + .../odbc/include/ignite/common/include/date.h | 144 + .../ignite/odbc/config/settable_value.h | 90 + .../ignite/odbc/diagnostic/diagnosable.h | 112 + .../src/odbc/include/ignite/odbc/odbc_error.h | 113 + .../src/odbc/include/timestream/odbc.h | 253 + .../odbc/app/application_data_buffer.h | 631 +++ .../timestream/odbc/authentication/aad.h | 62 + .../odbc/authentication/auth_type.h | 56 + .../timestream/odbc/authentication/okta.h | 89 + .../timestream/odbc/authentication/saml.h | 92 + .../include/timestream/odbc/common_types.h | 455 ++ .../timestream/odbc/config/configuration.h | 904 ++++ .../timestream/odbc/config/connection_info.h | 115 + .../odbc/config/connection_string_parser.h | 208 + .../odbc/include/timestream/odbc/connection.h | 644 +++ .../odbc/include/timestream/odbc/descriptor.h | 348 ++ .../odbc/diagnostic/diagnosable_adapter.h | 142 + .../odbc/diagnostic/diagnostic_record.h | 184 + .../diagnostic/diagnostic_record_storage.h | 222 + .../odbc/include/timestream/odbc/dsn_config.h | 105 + .../include/timestream/odbc/environment.h | 128 + .../include/timestream/odbc/ignite_error.h | 298 ++ .../timestream/odbc/interval_day_second.h | 192 + .../timestream/odbc/interval_year_month.h | 146 + .../src/odbc/include/timestream/odbc/log.h | 318 ++ .../odbc/include/timestream/odbc/log_level.h | 64 + .../timestream/odbc/meta/column_meta.h | 436 ++ .../include/timestream/odbc/meta/table_meta.h | 164 + .../odbc/query/column_metadata_query.h | 208 + .../odbc/query/column_privileges_query.h | 122 + .../timestream/odbc/query/data_query.h | 303 ++ .../odbc/query/foreign_keys_query.h | 121 + .../odbc/query/primary_keys_query.h | 122 + .../odbc/query/procedure_columns_query.h | 122 + .../timestream/odbc/query/procedures_query.h | 123 + .../include/timestream/odbc/query/query.h | 203 + .../odbc/query/special_columns_query.h | 123 + .../timestream/odbc/query/statistics_query.h | 123 + .../odbc/query/table_metadata_query.h | 278 ++ .../odbc/query/table_privileges_query.h | 122 + .../timestream/odbc/query/type_info_query.h | 143 + .../odbc/include/timestream/odbc/statement.h | 732 +++ .../timestream/odbc/system/odbc_constants.h | 73 + .../timestream/odbc/system/system_dsn.h | 46 + .../odbc/system/ui/dsn_configuration_window.h | 490 ++ .../src/odbc/include/timestream/odbc/time.h | 165 + .../odbc/include/timestream/odbc/timestamp.h | 175 + .../timestream/odbc/timestream_column.h | 140 + .../timestream/odbc/timestream_cursor.h | 137 + .../include/timestream/odbc/type_traits.h | 414 ++ .../odbc/include/timestream/odbc/utility.h | 286 ++ .../src/odbc/include/timestream/odbc/utils.h | 638 +++ .../src/odbc/install/images/awslogo.png | Bin 0 -> 3129 bytes .../src/odbc/install/install_amd64.cmd | 65 + .../src/odbc/install/install_x86.cmd | 26 + .../src/odbc/install/mac/README.txt | 10 + .../src/odbc/install/mac/Welcome.txt | 1 + .../src/odbc/install/mac/postinstall | 48 + .../install/timestream-odbc-bundle.wxs.in.x64 | 70 + .../install/timestream-odbc-bundle.wxs.in.x86 | 71 + .../odbc/install/timestream-odbc-install.ini | 6 + .../src/odbc/install/timestream-odbc.wxs.in | 112 + .../src/odbc/module.def | 67 + .../os/linux/include/ignite/common/common.h | 58 + .../include/ignite/common/concurrent_os.h | 663 +++ .../include/ignite/common/dynamic_load_os.h | 128 + .../os/linux/src/common/concurrent_os.cpp | 188 + .../os/linux/src/common/dynamic_load_os.cpp | 80 + .../os/linux/src/common/platform_utils.cpp | 126 + .../os/win/include/ignite/common/common.h | 51 + .../win/include/ignite/common/concurrent_os.h | 575 +++ .../include/ignite/common/dynamic_load_os.h | 130 + .../os/win/src/common/concurrent_os.cpp | 177 + .../os/win/src/common/dynamic_load_os.cpp | 102 + .../os/win/src/common/platform_utils.cpp | 131 + .../timestream/odbc/system/ui/custom_window.h | 220 + .../timestream/odbc/system/ui/window.h | 227 + .../win/src/system/ui/custom_window.cpp | 212 + .../system/ui/dsn_configuration_window.cpp | 1194 +++++ .../timestream/win/src/system/ui/window.cpp | 200 + .../odbc/os/timestream/win/src/system_dsn.cpp | 194 + .../odbc/src/app/application_data_buffer.cpp | 2141 ++++++++ .../src/odbc/src/authentication/aad.cpp | 165 + .../src/odbc/src/authentication/auth_type.cpp | 80 + .../src/odbc/src/authentication/okta.cpp | 191 + .../src/odbc/src/authentication/saml.cpp | 75 + .../src/odbc/src/common_types.cpp | 190 + .../src/odbc/src/config/configuration.cpp | 597 +++ .../src/odbc/src/config/connection_info.cpp | 2877 +++++++++++ .../src/config/connection_string_parser.cpp | 627 +++ .../src/odbc/src/connection.cpp | 1512 ++++++ .../src/odbc/src/descriptor.cpp | 806 +++ .../src/diagnostic/diagnosable_adapter.cpp | 67 + .../odbc/src/diagnostic/diagnostic_record.cpp | 455 ++ .../diagnostic/diagnostic_record_storage.cpp | 240 + .../src/odbc/src/dsn_config.cpp | 359 ++ .../src/odbc/src/entry_points.cpp | 654 +++ .../src/odbc/src/environment.cpp | 158 + .../ignite/common/src/common/big_integer.cpp | 775 +++ .../src/ignite/common/src/common/bits.cpp | 222 + .../ignite/common/src/common/concurrent.cpp | 93 + .../src/ignite/common/src/common/decimal.cpp | 230 + .../src/odbc/src/ignite/common/src/date.cpp | 72 + .../src/odbc/src/ignite_error.cpp | 84 + .../src/odbc/src/interval_day_second.cpp | 82 + .../src/odbc/src/interval_year_month.cpp | 64 + .../src/odbc/src/log.cpp | 194 + .../src/odbc/src/log_level.cpp | 89 + .../src/odbc/src/meta/column_meta.cpp | 423 ++ .../src/odbc/src/meta/table_meta.cpp | 31 + .../src/odbc/src/odbc.cpp | 1652 ++++++ .../odbc/src/query/column_metadata_query.cpp | 616 +++ .../src/query/column_privileges_query.cpp | 118 + .../src/odbc/src/query/data_query.cpp | 577 +++ .../src/odbc/src/query/foreign_keys_query.cpp | 127 + .../src/odbc/src/query/primary_keys_query.cpp | 111 + .../src/query/procedure_columns_query.cpp | 140 + .../src/odbc/src/query/procedures_query.cpp | 119 + .../odbc/src/query/special_columns_query.cpp | 115 + .../src/odbc/src/query/statistics_query.cpp | 141 + .../odbc/src/query/table_metadata_query.cpp | 808 +++ .../odbc/src/query/table_privileges_query.cpp | 115 + .../src/odbc/src/query/type_info_query.cpp | 420 ++ .../src/odbc/src/statement.cpp | 1313 +++++ .../src/odbc/src/time.cpp | 91 + .../src/odbc/src/timestamp.cpp | 97 + .../src/odbc/src/timestream_column.cpp | 298 ++ .../src/odbc/src/timestream_cursor.cpp | 92 + .../src/odbc/src/type_traits.cpp | 782 +++ .../src/odbc/src/utility.cpp | 461 ++ .../src/odbc/src/utils.cpp | 192 + .../src/odbc/version.rc.in | 36 + .../src/tests/CMakeLists.txt | 25 + .../src/tests/data-writer/CMakeLists.txt | 47 + .../metadata-creator/computer_table_creater.h | 121 + .../measure_metadata_creater.h | 55 + .../data-writer/timestream_data_generator.cpp | 139 + .../tests/data-writer/timestream_writer.cpp | 205 + .../src/tests/data-writer/timestream_writer.h | 56 + .../tests/input/create_credentials_file.ps1 | 50 + .../tests/input/create_credentials_file.sh | 44 + .../src/tests/integration-test/CMakeLists.txt | 130 + .../include/odbc_test_suite.h | 494 ++ .../include/sql_test_suite_fixture.h | 216 + .../integration-test/include/test_utils.h | 154 + .../src/api_robustness_test.cpp | 1033 ++++ .../src/application_data_buffer_test.cpp | 1871 +++++++ .../integration-test/src/attributes_test.cpp | 1077 ++++ .../src/connection_info_test.cpp | 235 + .../integration-test/src/connection_test.cpp | 1209 +++++ .../integration-test/src/descriptors_test.cpp | 673 +++ .../src/meta_queries_test.cpp | 4438 +++++++++++++++++ .../src/odbc_execution_test.cpp | 631 +++ .../integration-test/src/odbc_test_suite.cpp | 740 +++ .../integration-test/src/queries_test.cpp | 1799 +++++++ .../src/sql_get_info_test.cpp | 378 ++ .../tests/integration-test/src/test_utils.cpp | 95 + .../src/tests/unit-test/CMakeLists.txt | 101 + .../unit-test/include/mock/mock_connection.h | 81 + .../unit-test/include/mock/mock_environment.h | 59 + .../unit-test/include/mock/mock_httpclient.h | 91 + .../unit-test/include/mock/mock_statement.h | 44 + .../unit-test/include/mock/mock_stsclient.h | 54 + .../mock/mock_timestream_query_client.h | 69 + .../include/mock/mock_timestream_service.h | 114 + .../unit-test/include/odbc_unit_test_suite.h | 63 + .../tests/unit-test/src/column_meta_test.cpp | 997 ++++ .../unit-test/src/configuration_test.cpp | 627 +++ .../src/tests/unit-test/src/log_test.cpp | 490 ++ .../unit-test/src/mock/mock_connection.cpp | 75 + .../unit-test/src/mock/mock_environment.cpp | 44 + .../unit-test/src/mock/mock_httpclient.cpp | 179 + .../unit-test/src/mock/mock_statement.cpp | 29 + .../unit-test/src/mock/mock_stsclient.cpp | 62 + .../src/mock/mock_timestream_query_client.cpp | 46 + .../src/mock/mock_timestream_service.cpp | 173 + .../unit-test/src/odbc_unit_test_suite.cpp | 80 + .../unit_connection_string_parser_test.cpp | 215 + .../unit-test/src/unit_connection_test.cpp | 520 ++ .../unit-test/src/unit_data_query_test.cpp | 178 + .../src/tests/unit-test/src/utility_test.cpp | 177 + 617 files changed, 93736 insertions(+), 7 deletions(-) create mode 100644 amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/documentation.yml create mode 100644 amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/feature-request.yml create mode 100644 amazon-timestream-odbc-driver/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 amazon-timestream-odbc-driver/.github/workflows/linux-build.yml create mode 100644 amazon-timestream-odbc-driver/.github/workflows/mac-build.yml create mode 100644 amazon-timestream-odbc-driver/.github/workflows/mac-debug-build.yml create mode 100644 amazon-timestream-odbc-driver/.github/workflows/remove-old-artifacts.yml create mode 100644 amazon-timestream-odbc-driver/.github/workflows/win-build.yml create mode 100644 amazon-timestream-odbc-driver/LICENSE.rtf create mode 100644 amazon-timestream-odbc-driver/VS-C++-Settings-Export.vssettings create mode 100644 amazon-timestream-odbc-driver/build_linux_debug32_deb.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_debug32_rpm.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_debug64_deb.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_debug64_rpm.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_release32_deb.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_release32_rpm.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_release64_deb.sh create mode 100644 amazon-timestream-odbc-driver/build_linux_release64_rpm.sh create mode 100644 amazon-timestream-odbc-driver/build_mac_debug64.sh create mode 100644 amazon-timestream-odbc-driver/build_mac_release64.sh create mode 100644 amazon-timestream-odbc-driver/build_performance_linux64.sh create mode 100644 amazon-timestream-odbc-driver/build_performance_mac64.sh create mode 100644 amazon-timestream-odbc-driver/build_performance_win64.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_debug32.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_debug64.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_release32.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_release64.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_relwithdebinfo32.ps1 create mode 100644 amazon-timestream-odbc-driver/build_win_relwithdebinfo64.ps1 create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta1.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta2.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta3.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta4.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta5.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta6.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/Okta7.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_add_an_application.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_api_permissions.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_application_information.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_new_client_secret.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_overview.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_provisioning.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_provisioning_select_role.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_provisioning_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_provisioning_test_connection.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_single_acc_access.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_sso_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_sso_test_btn.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_sso_test_sign_in.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_start_provisioning.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/aad_users_and_groups_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/add_api_permissions.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/azure_saml_configuration.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/certificates_and_secrets.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/configure_azure_provider.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/create_saml_role.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/default_directory_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/grant_permissions.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/iam_azure_role.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/iam_sidebar.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/request_api_permissions.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/saml_signing_certificate.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/sso_test_user.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/azuread/user_assignment.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/change_date_time_display.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/dotNet_screenshot.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_dsn.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_odbc.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_odbc_clear_permission.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_odbc_connect.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_odbc_dsn_settings.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/excel_odbc_remove_cache.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/from_odbc.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/from_odbc_advanced.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/get_data_odbc.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/iodbc_dsn_default_config.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/mac-tableau-odbc.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/mac-tableau.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/mac_excel_dsn.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/mac_excel_odbc.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/meta_queries_test_db-create.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/odbc-data-source-admin.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/odbc_connect.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/odbc_manager_dsn_default_config.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/odbc_navigator.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/change_date_time_display.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/custom_connector_connect.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/custom_connector_navigator.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/data_view_transform_btn.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/get_data_custom_connector.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/mquery_output_err.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/navigator_transform_btn.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/pbi_gateway_connector_path.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/pbi_gateway_status.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/pbi_service_cluster_setting.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/pbi_settings.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/pbi_update_source.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/sample_PBI_DB.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/start_test_vs.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/timestream_connector_direct_query.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/timestream_connector_import.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/powerbi-connector/ts_databases_pg.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/saml/iam_configure_aad_provider.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/saml/iam_create_policy.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/saml/iam_identity_providers.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/saml/iam_trusted_entity.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/sampleDB-create.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-balloon.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-1.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-2.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-3.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-4.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-5.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration-window-design-6.PNG create mode 100644 amazon-timestream-odbc-driver/docs/markdown/images/windows-dsn-configuration.png create mode 100644 amazon-timestream-odbc-driver/docs/markdown/index.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/Okta-setup.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/aad-saml-setup.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/connection-proxy-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/connection-string.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/data-population-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/developer-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/linux-dsn-configuration.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/linux-installation-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/macOS-dsn-configuration.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/macOS-installation-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/microsoft-excel.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/microsoft-power-bi.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/powerbi-connector-setup/build_powerbi_connector.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/powerbi-connector-setup/powerbi_custom_connector_direct_query.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/powerbi-connector-setup/powerbi_custom_connector_import.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/powerbi-connector-setup/powerbi_overview.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/powerbi-connector-setup/powerbi_service.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/setup.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/tableau.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/windows-dsn-configuration.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/setup/windows-installation-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/support/metadata-design.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/support/odbc-support-and-limitations.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/support/troubleshooting-guide.md create mode 100644 amazon-timestream-odbc-driver/docs/markdown/support/unicode-support.md create mode 100644 amazon-timestream-odbc-driver/performance/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/CMakeCache.txt create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/14e62447de6d13207cbbea2fdbda102b/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeCCompiler.cmake create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeCXXCompiler.cmake create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeDetermineCompilerABI_C.bin create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeDetermineCompilerABI_CXX.bin create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeRCCompiler.cmake create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CMakeSystem.cmake create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/CMakeCCompilerId.c create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/CompilerIdC.exe create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/CompilerIdC.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CMakeCCompilerId.obj create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.exe.recipe create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/CL.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/CL.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/CL.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/CompilerIdC.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/link.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/link.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/CompilerIdC.tlog/link.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdC/Debug/vcpkg.applocal.log create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/CompilerIdCXX.exe create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/CompilerIdCXX.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CMakeCXXCompilerId.obj create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.exe.recipe create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CL.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/CompilerIdCXX.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/CompilerIdCXX.tlog/link.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/CompilerIdCXX/Debug/vcpkg.applocal.log create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/VCTargetsPath.txt create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/VCTargetsPath.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/x64/Debug/VCTargetsPath.recipe create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/3.26.2/x64/Debug/VCTargetsPath.tlog/VCTargetsPath.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/37d76f6657c0162af008539c50a5e6ac/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/524609b30ff52153439c47c4957ff6d8/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/5c75edf287ad8e0f49d15b874f2e92ef/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/8d1a0120af3e597fd4eb91aa0bb11e19/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/8d1a0120af3e597fd4eb91aa0bb11e19/generate.stamp.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/CMakeConfigureLog.yaml create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/TargetDirectories.txt create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/a396489aa747a075daf3ce615c871a63/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/a48c0041f19703f0a22c50cbbf9072fb/INSTALL_force.rule create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/cmake.check_cache create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/CMakeFiles/generate.stamp.list create mode 100644 amazon-timestream-odbc-driver/performance/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/performance/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/LICENSE create mode 100644 amazon-timestream-odbc-driver/performance/NOTICE create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/performance_execution.sln create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/performance_execution.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/performance_execution.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCExecution/performance_odbc_execution.cpp create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/packages.config create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/performance_odbc_results.cpp create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/performance_results.sln create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/performance_results.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PTODBCResults/performance_results.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/performance_helper.cpp create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/performance_helper.h create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/performance_helper.sln create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/performance_helper.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/PerformanceHelper/performance_helper.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/README.md create mode 100644 amazon-timestream-odbc-driver/performance/ZERO_CHECK.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/ZERO_CHECK.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeCache.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/3.26.2/CMakeSystem.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/3.26.2/VCTargetsPath.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/3.26.2/VCTargetsPath.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/3.26.2/x64/Debug/VCTargetsPath.recipe create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/3.26.2/x64/Debug/VCTargetsPath.tlog/VCTargetsPath.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-build.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-configure.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-download.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-install.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-mkdir.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-patch.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-test.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/97b953795b397eb6b26336c164a1bd87/googletest-update.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/99f496c79b02112b988a8402226f69ce/googletest-complete.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/CMakeConfigureLog.yaml create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/Debug/googletest-complete create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/TargetDirectories.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/cmake.check_cache create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/da7c0972e6ae7a7587b0d0e2b8e52111/generate.stamp.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/da7c0972e6ae7a7587b0d0e2b8e52111/googletest.rule create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/generate.stamp.list create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/googletest.dir/Labels.json create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeFiles/googletest.dir/Labels.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/ZERO_CHECK.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/ZERO_CHECK.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/CTestTestfile.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/CTestTestfile.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/gmock.sln create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/gmock.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/gmock.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/gmock_main.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googlemock/gmock_main.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest-distribution.sln create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/ALL_BUILD.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/ALL_BUILD.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/Export/0c08b8e77dd885bfe55a19a9659d9fc1/GTestTargets-debug.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/Export/0c08b8e77dd885bfe55a19a9659d9fc1/GTestTargets-minsizerel.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/Export/0c08b8e77dd885bfe55a19a9659d9fc1/GTestTargets-release.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/Export/0c08b8e77dd885bfe55a19a9659d9fc1/GTestTargets-relwithdebinfo.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/Export/0c08b8e77dd885bfe55a19a9659d9fc1/GTestTargets.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/generate.stamp create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CMakeFiles/generate.stamp.depend create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/CTestTestfile.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/INSTALL.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/INSTALL.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/cmake_install.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/GTestConfig.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/GTestConfigVersion.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/gmock.pc create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/gmock_main.pc create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/gtest.pc create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/generated/gtest_main.pc create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/gtest.sln create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/gtest.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/gtest.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/gtest_main.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-build/googletest/gtest_main.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-download.sln create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-build create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-configure create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-done create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-download create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-install create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-mkdir create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-patch create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/Debug/googletest-test create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/googletest-gitclone-lastrun.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/src/googletest-stamp/googletest-gitinfo.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/tmp/googletest-cfgcmd.txt create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/tmp/googletest-gitclone.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/tmp/googletest-gitupdate.cmake create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest-prefix/tmp/googletest-mkdirs.cmake create mode 160000 amazon-timestream-odbc-driver/performance/googletest/googletest-src create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest.vcxproj create mode 100644 amazon-timestream-odbc-driver/performance/googletest/googletest.vcxproj.filters create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ALL_BUILD/ALL_BUILD.recipe create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ALL_BUILD/ALL_BUILD.tlog/ALL_BUILD.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ALL_BUILD/ALL_BUILD.tlog/CustomBuild.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ZERO_CHECK/ZERO_CHECK.recipe create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ZERO_CHECK/ZERO_CHECK.tlog/CustomBuild.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/ZERO_CHECK/ZERO_CHECK.tlog/ZERO_CHECK.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/googletest/googletest.recipe create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/googletest/googletest.tlog/CustomBuild.command.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/googletest/googletest.tlog/CustomBuild.read.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/googletest/googletest.tlog/CustomBuild.write.1.tlog create mode 100644 amazon-timestream-odbc-driver/performance/googletest/x64/Debug/googletest/googletest.tlog/googletest.lastbuildstate create mode 100644 amazon-timestream-odbc-driver/performance/gtest/googletest-download.cmake create mode 100644 amazon-timestream-odbc-driver/performance/gtest/googletest.cmake create mode 100644 amazon-timestream-odbc-driver/performance/performance_tests.sln create mode 100644 amazon-timestream-odbc-driver/run_cppcheck.ps1 create mode 100644 amazon-timestream-odbc-driver/run_cppcheck.sh create mode 100644 amazon-timestream-odbc-driver/run_test_runner.bat create mode 100644 amazon-timestream-odbc-driver/run_test_runner.sh create mode 100644 amazon-timestream-odbc-driver/scripts/build_aws-sdk-cpp.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/build_driver.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/build_installer.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/build_linux.sh create mode 100644 amazon-timestream-odbc-driver/scripts/build_performance_win.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/build_windows.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/env_variables_check.sh create mode 100644 amazon-timestream-odbc-driver/scripts/postinst_unix.sh create mode 100644 amazon-timestream-odbc-driver/scripts/prepare_ci_output.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/register_driver_unix.sh create mode 100644 amazon-timestream-odbc-driver/scripts/sign_installer.ps1 create mode 100644 amazon-timestream-odbc-driver/scripts/unix_check_changes.sh create mode 100644 amazon-timestream-odbc-driver/scripts/win_check_changes.ps1 create mode 100644 amazon-timestream-odbc-driver/src/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/CMakeSettings.json.in create mode 100644 amazon-timestream-odbc-driver/src/ODBC_DRIVER_VERSION.txt create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector.ps1 create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream16.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream20.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream24.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream32.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream40.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream48.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream64.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestream80.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestreamAADConnector.mproj create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestreamAADConnector.pq create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/AmazonTimestreamAADConnector.query.pq create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/Diagnostics.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/OdbcConstants.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamAADConnector/resources.resx create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector.mez create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector.ps1 create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/.vs/AmazonTimestreamConnector/v16/.suo create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/.vs/ProjectSettings.json create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/.vs/VSWorkspaceState.json create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/.vs/slnx.sqlite create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream16.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream20.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream24.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream32.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream40.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream48.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream64.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestream80.png create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestreamConnector.mproj create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestreamConnector.pq create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/AmazonTimestreamConnector.query.pq create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/Diagnostics.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/OdbcConstants.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/bin/Debug/AmazonTimestreamConnector.mez create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/obj/Debug/AmazonTimestreamConnector.m create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/obj/Debug/Diagnostics.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/obj/Debug/OdbcConstants.pqm create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/obj/Debug/resources.resx create mode 100644 amazon-timestream-odbc-driver/src/PowerBIConnector/AmazonTimestreamConnector/resources.resx create mode 100644 amazon-timestream-odbc-driver/src/cmake/FindIgnite.cmake create mode 100644 amazon-timestream-odbc-driver/src/cmake/FindODBC.cmake create mode 100644 amazon-timestream-odbc-driver/src/cpp.dxg create mode 100644 amazon-timestream-odbc-driver/src/linux_32bit_toolchain.cmake create mode 100644 amazon-timestream-odbc-driver/src/modules/code-coverage.cmake create mode 100644 amazon-timestream-odbc-driver/src/odbc/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/big_integer.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/bits.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/concurrent.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/decimal.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/default_allocator.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/dynamic_size_array.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/expected.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/fixed_size_array.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/common/platform_utils.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/common/include/date.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/odbc/config/settable_value.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/odbc/diagnostic/diagnosable.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/ignite/odbc/odbc_error.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/app/application_data_buffer.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/authentication/aad.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/authentication/auth_type.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/authentication/okta.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/authentication/saml.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/common_types.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/config/configuration.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/config/connection_info.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/config/connection_string_parser.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/connection.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/descriptor.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/diagnostic/diagnosable_adapter.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/diagnostic/diagnostic_record.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/diagnostic/diagnostic_record_storage.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/dsn_config.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/environment.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/ignite_error.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/interval_day_second.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/interval_year_month.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/log.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/log_level.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/meta/column_meta.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/meta/table_meta.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/column_metadata_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/column_privileges_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/data_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/foreign_keys_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/primary_keys_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/procedure_columns_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/procedures_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/special_columns_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/statistics_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/table_metadata_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/table_privileges_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/query/type_info_query.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/statement.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/system/odbc_constants.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/system/system_dsn.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/system/ui/dsn_configuration_window.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/time.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/timestamp.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/timestream_column.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/timestream_cursor.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/type_traits.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/utility.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/include/timestream/odbc/utils.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/images/awslogo.png create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/install_amd64.cmd create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/install_x86.cmd create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/mac/README.txt create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/mac/Welcome.txt create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/mac/postinstall create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/timestream-odbc-bundle.wxs.in.x64 create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/timestream-odbc-bundle.wxs.in.x86 create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/timestream-odbc-install.ini create mode 100644 amazon-timestream-odbc-driver/src/odbc/install/timestream-odbc.wxs.in create mode 100644 amazon-timestream-odbc-driver/src/odbc/module.def create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/include/ignite/common/common.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/include/ignite/common/concurrent_os.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/include/ignite/common/dynamic_load_os.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/src/common/concurrent_os.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/src/common/dynamic_load_os.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/linux/src/common/platform_utils.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/include/ignite/common/common.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/include/ignite/common/concurrent_os.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/include/ignite/common/dynamic_load_os.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/src/common/concurrent_os.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/src/common/dynamic_load_os.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/ignite/common/os/win/src/common/platform_utils.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/include/timestream/odbc/system/ui/custom_window.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/include/timestream/odbc/system/ui/window.h create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/src/system/ui/custom_window.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/src/system/ui/dsn_configuration_window.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/src/system/ui/window.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/os/timestream/win/src/system_dsn.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/app/application_data_buffer.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/authentication/aad.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/authentication/auth_type.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/authentication/okta.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/authentication/saml.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/common_types.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/config/configuration.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/config/connection_info.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/config/connection_string_parser.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/connection.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/descriptor.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/diagnostic/diagnosable_adapter.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/diagnostic/diagnostic_record.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/diagnostic/diagnostic_record_storage.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/dsn_config.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/entry_points.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/environment.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite/common/src/common/big_integer.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite/common/src/common/bits.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite/common/src/common/concurrent.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite/common/src/common/decimal.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite/common/src/date.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/ignite_error.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/interval_day_second.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/interval_year_month.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/log.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/log_level.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/meta/column_meta.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/meta/table_meta.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/odbc.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/column_metadata_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/column_privileges_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/data_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/foreign_keys_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/primary_keys_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/procedure_columns_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/procedures_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/special_columns_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/statistics_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/table_metadata_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/table_privileges_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/query/type_info_query.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/statement.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/time.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/timestamp.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/timestream_column.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/timestream_cursor.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/type_traits.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/utility.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/src/utils.cpp create mode 100644 amazon-timestream-odbc-driver/src/odbc/version.rc.in create mode 100644 amazon-timestream-odbc-driver/src/tests/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/metadata-creator/computer_table_creater.h create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/metadata-creator/measure_metadata_creater.h create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/timestream_data_generator.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/timestream_writer.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/data-writer/timestream_writer.h create mode 100644 amazon-timestream-odbc-driver/src/tests/input/create_credentials_file.ps1 create mode 100644 amazon-timestream-odbc-driver/src/tests/input/create_credentials_file.sh create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/include/odbc_test_suite.h create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/include/sql_test_suite_fixture.h create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/include/test_utils.h create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/api_robustness_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/application_data_buffer_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/attributes_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/connection_info_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/connection_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/descriptors_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/meta_queries_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/odbc_execution_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/odbc_test_suite.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/queries_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/sql_get_info_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/integration-test/src/test_utils.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/CMakeLists.txt create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_connection.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_environment.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_httpclient.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_statement.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_stsclient.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_timestream_query_client.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/mock/mock_timestream_service.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/include/odbc_unit_test_suite.h create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/column_meta_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/configuration_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/log_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_connection.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_environment.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_httpclient.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_statement.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_stsclient.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_timestream_query_client.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/mock/mock_timestream_service.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/odbc_unit_test_suite.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/unit_connection_string_parser_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/unit_connection_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/unit_data_query_test.cpp create mode 100644 amazon-timestream-odbc-driver/src/tests/unit-test/src/utility_test.cpp diff --git a/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/bug-report.yml b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000000000..3d57ca810fda6 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,84 @@ +--- +name: "🐛 Bug Report" +description: Report a bug +title: "(short issue description)" +labels: [bug, needs-triage] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: What is the problem? A clear and concise description of the bug. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: | + What did you expect to happen? + validations: + required: true + - type: textarea + id: current + attributes: + label: Current Behavior + description: | + What actually happened? + + Please include full errors, uncaught exceptions, stack traces, and relevant logs. + If service responses are relevant, please include wire logs. + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: Reproduction Steps + description: | + Provide a self-contained, concise snippet of code that can be used to reproduce the issue. + For more complex issues provide a repo with the smallest sample that reproduces the bug. + + Avoid including business logic or unrelated code, it makes diagnosis more difficult. + The code sample should be an SSCCE. See http://sscce.org/ for details. In short, please provide a code sample that we can copy/paste, run and reproduce. + validations: + required: true + - type: textarea + id: solution + attributes: + label: Possible Solution + description: | + Suggest a fix/reason for the bug + validations: + required: false + - type: textarea + id: context + attributes: + label: Additional Information/Context + description: | + Anything else that might be relevant for troubleshooting this bug. Providing context helps us come up with a solution that is most useful in the real world. + validations: + required: false + + - type: textarea + id: odbc-log + attributes: + label: Timestream ODBC Driver Log + description: | + Timestream ODBC driver log could be helpful for root cause analysis. + validations: + required: false + + - type: input + id: odbc-version + attributes: + label: Timestream ODBC Driver version + validations: + required: true + + - type: input + id: operating-system + attributes: + label: Host Operating System and version + validations: + required: true diff --git a/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/documentation.yml b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 0000000000000..62ce15ef46007 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,23 @@ +--- +name: "📕 Documentation Issue" +description: Report an issue in the Timestream ODBC documentation or Developer Guide +title: "(short issue description)" +labels: [documentation, needs-triage] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the issue + description: A clear and concise description of the issue. + validations: + required: true + + - type: textarea + id: links + attributes: + label: Links + description: | + Include links to affected documentation page(s). + validations: + required: true diff --git a/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/feature-request.yml b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000000000..11d667d87f8eb --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,47 @@ +--- +name: 🚀 Feature Request +description: Suggest an idea for this project +title: "(short issue description)" +labels: [feature-request, needs-triage] +assignees: [] +body: + - type: textarea + id: description + attributes: + label: Describe the feature + description: A clear and concise description of the feature you are proposing. + validations: + required: true + - type: textarea + id: use-case + attributes: + label: Use Case + description: | + Why do you need this feature? For example: "I'm always frustrated when..." + validations: + required: true + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: | + Suggest how to implement the addition or change. Please include prototype/workaround/sketch/reference implementation. + validations: + required: false + - type: textarea + id: other + attributes: + label: Other Information + description: | + Any alternative solutions or features you considered, a more detailed explanation, stack traces, related issues, links for context, etc. + validations: + required: false + - type: checkboxes + id: ack + attributes: + label: Acknowledgements + options: + - label: I may be able to implement this feature request + required: false + - label: This feature might incur a breaking change + required: false diff --git a/amazon-timestream-odbc-driver/.github/PULL_REQUEST_TEMPLATE.md b/amazon-timestream-odbc-driver/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000000000..8972c34d69454 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ + +### Summary + + + +### Description + + + +### Related Issue + + + +### Additional Reviewers + + diff --git a/amazon-timestream-odbc-driver/.github/workflows/linux-build.yml b/amazon-timestream-odbc-driver/.github/workflows/linux-build.yml new file mode 100644 index 0000000000000..8598a10b93239 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/workflows/linux-build.yml @@ -0,0 +1,280 @@ +name: ODBC Driver for Linux + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + CI_OUTPUT_PATH: "ci-output" + ODBC_LIB_PATH: "${{github.workspace}}/build/odbc/lib" + ODBC_BIN_PATH: "${{github.workspace}}/build/odbc/bin" + ODBC_BUILD_PATH: "${{github.workspace}}/build/odbc/build" + TIMESTREAM_LOG_PATH: "${{github.workspace}}/build/odbc/logs" + TIMESTREAM_LOG_LEVEL: "4" + BIG_TABLE_PAGINATION_TEST_ENABLE: "TRUE" + + # # AAD Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_AAD_TEST: "TRUE" + # AAD_APP_ID: ${{secrets.AAD_APP_ID}} + # AAD_ROLE_ARN: ${{secrets.AAD_ROLE_ARN}} + # AAD_IDP_ARN: ${{secrets.AAD_IDP_ARN}} + # AAD_TENANT: ${{secrets.AAD_TENANT}} + # AAD_USER: ${{secrets.AAD_USER}} + # AAD_USER_PWD: ${{secrets.AAD_USER_PWD}} + # AAD_CLIENT_SECRET: ${{secrets.AAD_CLIENT_SECRET}} + + # # OKTA Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_OKTA_TEST: "TRUE" + # OKTA_HOST: ${{secrets.OKTA_HOST}} + # OKTA_USER: ${{secrets.OKTA_USER}} + # OKTA_USER_PWD: ${{secrets.OKTA_USER_PWD}} + # OKTA_APP_ID: ${{secrets.OKTA_APP_ID}} + # OKTA_ROLE_ARN: ${{secrets.OKTA_ROLE_ARN}} + # OKTA_IDP_ARN: ${{secrets.OKTA_IDP_ARN}} + +jobs: + build-linux64: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + + - name: Get latest version of CMake + uses: lukka/get-cmake@latest + + - name: run-cppcheck + run: | + sudo apt install cppcheck + sh run_cppcheck.sh + + - name: upload-cppcheck-results + if: failure() + uses: actions/upload-artifact@v2 + with: + name: cppcheck-results + path: cppcheck-results.log + + - name: get-dependencies + if: success() + run: | + sudo apt update + sudo apt install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev linux-headers-$(uname -r) gcc gcc-multilib g++ g++-multilib linux-headers-$(uname -r) build-essential valgrind libboost-all-dev libsasl2-dev lcov + + - name: configure-and-build-driver + run: | + ./build_linux_release64_deb.sh + + - name: update-environment-with-ODBC_DRIVER_VERSION + run: | + read -r ODBC_DRIVER_VERSION < ./src/ODBC_DRIVER_VERSION.txt + echo "ODBC_DRIVER_VERSION=$ODBC_DRIVER_VERSION" >> $GITHUB_ENV + + - name: upload-package + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamODBC_${{env.ODBC_DRIVER_VERSION}}_RELEASE_x86_64 + path: cmake-build64/AmazonTimestreamODBC_${{env.ODBC_DRIVER_VERSION}}_RELEASE_x86_64.deb + + - name: register-odbc-driver + run: | + chmod +r -R ${{env.ODBC_LIB_PATH}} + chmod +x scripts/register_driver_unix.sh + sudo bash scripts/register_driver_unix.sh + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + # run unit tests + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + ./build/odbc/bin/timestream-odbc-unit-tests --catch_system_errors=false + + - name: upload-unit-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Ubuntu 20.04 Build Unit Test Results Check" + comment_title: "Ubuntu 20.04 Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: upload-odbc-unit-test-file + if: always() && (steps.rununittests.outcome == 'failure') + uses: actions/upload-artifact@v2 + with: + name: odbc-unit-test-results + path: | + ./odbc_unit_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + ./aws_sdk_*.log + + # run odbc tests + - name: run-odbc-tests + id: runodbctests + run: | + ./build/odbc/bin/timestream-odbc-integration-tests --catch_system_errors=false + + - name: upload-odbc-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Ubuntu 20.04 Build Integration Test Results Check" + comment_title: "Ubuntu 20.04 Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-odbc-test-file + if: always() && (steps.runodbctests.outcome == 'failure') + uses: actions/upload-artifact@v2 + with: + name: odbc-test-results + path: | + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + ./aws_sdk_*.log + + build-linux64-debug: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + + - name: Get gcovr + run: | + pip install gcovr + + - name: Get latest version of CMake + uses: lukka/get-cmake@latest + + - name: run-cppcheck + run: | + sudo apt install cppcheck + sh run_cppcheck.sh + + - name: upload-cppcheck-results + if: failure() + uses: actions/upload-artifact@v2 + with: + name: cppcheck-results + path: cppcheck-results.log + + - name: get-dependencies + if: success() + run: | + sudo apt update + sudo apt install libcurl4-openssl-dev libssl-dev uuid-dev zlib1g-dev libpulse-dev linux-headers-$(uname -r) gcc gcc-multilib g++ g++-multilib linux-headers-$(uname -r) build-essential valgrind libboost-all-dev libsasl2-dev lcov + + - name: configure-and-build-driver + run: | + ./build_linux_debug64_deb.sh + + - name: update-environment-with-ODBC_DRIVER_VERSION + run: | + read -r ODBC_DRIVER_VERSION < ./src/ODBC_DRIVER_VERSION.txt + echo "ODBC_DRIVER_VERSION=$ODBC_DRIVER_VERSION" >> $GITHUB_ENV + + - name: upload-package + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamODBC_${{env.ODBC_DRIVER_VERSION}}_DEBUG_x86_64 + path: cmake-build64/AmazonTimestreamODBC_${{env.ODBC_DRIVER_VERSION}}_DEBUG_x86_64.deb + + - name: register-odbc-driver + run: | + chmod +r -R ${{env.ODBC_LIB_PATH}} + chmod +x scripts/register_driver_unix.sh + sudo bash scripts/register_driver_unix.sh + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + # run unit tests + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + ./build/odbc/bin/timestream-odbc-unit-tests --catch_system_errors=false + + - name: upload-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Ubuntu 20.04 Debug Build Unit Test Results Check" + comment_title: "Ubuntu 20.04 Debug Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: upload-unit-test-file + if: always() && (steps.rununittests.outcome == 'failure') + uses: actions/upload-artifact@v3 + with: + name: odbc-unit-test-results-linux-debug + path: | + ./odbc_unit_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + ./aws_sdk_*.log + + # run odbc tests + - name: run-odbc-tests + id: runodbctests + run: | + ./build/odbc/bin/timestream-odbc-integration-tests --catch_system_errors=false + gcovr --exclude-directories=cmake-build64/tests/integration-test/CMakeFiles/timestream-odbc-integration-tests.dir$ --exclude-directories=cmake-build64/tests/unit-test/CMakeFiles/timestream-odbc-unit-tests.dir$ --cobertura --output coverage.cobertura.xml + + - name: Code Coverage Summary Report + uses: irongut/CodeCoverageSummary@v1.2.0 + with: + filename: coverage.cobertura.xml + badge: true + format: markdown + indicators: true + output: both + + - name: Add Header for Code Coverage Summary Report + run: | + echo "## Ubuntu 20.04 Debug Build Test Results Check" > coverage-cobertura.md + cat code-coverage-results.md >> coverage-cobertura.md + + - name: Add Coverage PR Comment + uses: marocchino/sticky-pull-request-comment@v2 + if: github.event_name == 'pull_request' + with: + header: linux + recreate: true + path: coverage-cobertura.md + + - name: upload-odbc-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Ubuntu 20.04 Debug Build Integration Test Results Check" + comment_title: "Ubuntu 20.04 Debug Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-odbc-test-file + if: always() && (steps.runodbctests.outcome == 'failure') + uses: actions/upload-artifact@v3 + with: + name: odbc-test-results-linux-debug + path: | + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + ./aws_sdk_*.log + + - name: upload-coverage + if: always() + uses: actions/upload-artifact@v3 + with: + name: code-coverage-Linux + path: cmake-build64/ccov/all-merged diff --git a/amazon-timestream-odbc-driver/.github/workflows/mac-build.yml b/amazon-timestream-odbc-driver/.github/workflows/mac-build.yml new file mode 100644 index 0000000000000..17c238ed4cdc3 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/workflows/mac-build.yml @@ -0,0 +1,140 @@ +name: ODBC Driver for Mac + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + CI_OUTPUT_PATH: "ci-output" + ODBC_LIB_PATH: "${{github.workspace}}/build/odbc/lib" + ODBC_BIN_PATH: "${{github.workspace}}/build/odbc/bin" + ODBC_BUILD_PATH: "${{github.workspace}}/build/odbc/build" + TIMESTREAM_LOG_PATH: "${{github.workspace}}/build/odbc/logs" + TIMESTREAM_LOG_LEVEL: "4" + ODBCINSTINI: "${{github.workspace}}/build/odbc/lib/timestream-odbc-install.ini" + ODBCINI: "${{github.workspace}}/odbc.ini" + BIG_TABLE_PAGINATION_TEST_ENABLE: "TRUE" + + # # AAD Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_AAD_TEST: "TRUE" + # AAD_APP_ID: ${{secrets.AAD_APP_ID}} + # AAD_ROLE_ARN: ${{secrets.AAD_ROLE_ARN}} + # AAD_IDP_ARN: ${{secrets.AAD_IDP_ARN}} + # AAD_TENANT: ${{secrets.AAD_TENANT}} + # AAD_USER: ${{secrets.AAD_USER}} + # AAD_USER_PWD: ${{secrets.AAD_USER_PWD}} + # AAD_CLIENT_SECRET: ${{secrets.AAD_CLIENT_SECRET}} + + # # OKTA Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_OKTA_TEST: "TRUE" + # OKTA_HOST: ${{secrets.OKTA_HOST}} + # OKTA_USER: ${{secrets.OKTA_USER}} + # OKTA_USER_PWD: ${{secrets.OKTA_USER_PWD}} + # OKTA_APP_ID: ${{secrets.OKTA_APP_ID}} + # OKTA_ROLE_ARN: ${{secrets.OKTA_ROLE_ARN}} + # OKTA_IDP_ARN: ${{secrets.OKTA_IDP_ARN}} + +jobs: + build-mac: + runs-on: macos-11 + steps: + - uses: actions/checkout@v2 + + - name: run-cppcheck + run: | + brew install cppcheck + sh run_cppcheck.sh + - name: upload-cppcheck-results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: cppcheck-results + path: cppcheck-results.log + + - name: get-dependencies + run: | + brew tap homebrew/services + brew unlink unixodbc + brew install libiodbc + brew link --overwrite --force libiodbc + brew install cmake + brew install boost + + - name: configure-and-build-driver + run: | + ./build_mac_release64.sh + + - name: update-environment-with-ODBC_DRIVER_VERSION + run: | + read -r ODBC_DRIVER_VERSION < ./src/ODBC_DRIVER_VERSION.txt + echo "ODBC_DRIVER_VERSION=$ODBC_DRIVER_VERSION" >> $GITHUB_ENV + + - name: upload-package + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamODBC-${{env.ODBC_DRIVER_VERSION}}.pkg + path: ./cmake-build64/AmazonTimestreamODBC-${{env.ODBC_DRIVER_VERSION}}.pkg + + - name: register-odbc-driver + run: | + chmod +x scripts/register_driver_unix.sh + ./scripts/register_driver_unix.sh + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + export DYLD_LIBRARY_PATH=${{env.ODBC_LIB_PATH}}:$DYLD_LIBRARY_PATH + ./build/odbc/bin/timestream-odbc-unit-tests --catch_system_errors=false + + - name: upload-unit-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v1.30 + with: + check_name: "MacOS Big Sur 11 Build Unit Test Results Check" + comment_title: "MacOS Big Sur 11 Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: upload-unit-test-file + if: always() && (steps.rununittests.outcome == 'failure') + uses: actions/upload-artifact@v3 + with: + name: odbc-unit-test-results + path: | + ./odbc_unit_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + - name: run-integration-tests + id: runintegrationtests + run: | + export DYLD_LIBRARY_PATH=${{env.ODBC_LIB_PATH}}:$DYLD_LIBRARY_PATH + ./build/odbc/bin/timestream-odbc-integration-tests --catch_system_errors=false + + - name: upload-integration-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v1.30 + with: + check_name: "MacOS Big Sur 11 Build Integration Test Results Check" + comment_title: "MacOS Big Sur 11 Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-integration-test-file + if: always() && (steps.runintegrationtests.outcome == 'failure') + uses: actions/upload-artifact@v3 + with: + name: odbc-integration-test-results + path: | + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log diff --git a/amazon-timestream-odbc-driver/.github/workflows/mac-debug-build.yml b/amazon-timestream-odbc-driver/.github/workflows/mac-debug-build.yml new file mode 100644 index 0000000000000..8d0c7ad865218 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/workflows/mac-debug-build.yml @@ -0,0 +1,186 @@ +name: ODBC Driver for Mac (Debug) + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + CI_OUTPUT_PATH: "ci-output" + ODBC_LIB_PATH: "${{github.workspace}}/build/odbc/lib" + ODBC_BIN_PATH: "${{github.workspace}}/build/odbc/bin" + ODBC_BUILD_PATH: "${{github.workspace}}/build/odbc/build" + TIMESTREAM_LOG_PATH: "${{github.workspace}}/build/odbc/logs" + TIMESTREAM_LOG_LEVEL: "4" + ODBCINSTINI: "${{github.workspace}}/build/odbc/lib/timestream-odbc-install.ini" + ODBCINI: "${{github.workspace}}/odbc.ini" + BIG_TABLE_PAGINATION_TEST_ENABLE: "TRUE" + + # # AAD Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_AAD_TEST: "TRUE" + # AAD_APP_ID: ${{secrets.AAD_APP_ID}} + # AAD_ROLE_ARN: ${{secrets.AAD_ROLE_ARN}} + # AAD_IDP_ARN: ${{secrets.AAD_IDP_ARN}} + # AAD_TENANT: ${{secrets.AAD_TENANT}} + # AAD_USER: ${{secrets.AAD_USER}} + # AAD_USER_PWD: ${{secrets.AAD_USER_PWD}} + # AAD_CLIENT_SECRET: ${{secrets.AAD_CLIENT_SECRET}} + + # # OKTA Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_OKTA_TEST: "TRUE" + # OKTA_HOST: ${{secrets.OKTA_HOST}} + # OKTA_USER: ${{secrets.OKTA_USER}} + # OKTA_USER_PWD: ${{secrets.OKTA_USER_PWD}} + # OKTA_APP_ID: ${{secrets.OKTA_APP_ID}} + # OKTA_ROLE_ARN: ${{secrets.OKTA_ROLE_ARN}} + # OKTA_IDP_ARN: ${{secrets.OKTA_IDP_ARN}} + +jobs: + build-mac-debug: + runs-on: macos-11 + steps: + - uses: actions/checkout@v2 + + - name: run-cppcheck + run: | + brew install cppcheck + sh run_cppcheck.sh + - name: upload-cppcheck-results + if: failure() + uses: actions/upload-artifact@v3 + with: + name: cppcheck-results + path: cppcheck-results.log + + - name: get-dependencies + run: | + brew tap homebrew/services + brew unlink unixodbc + brew install libiodbc + brew link --overwrite --force libiodbc + brew install cmake + brew install boost + pip3 install gcovr + +# if action `EnricoMi/publish-unit-test-result-action/composite@v1.30` +# recognizes Python in Library/Developer/CommandLineTools instead of in /usr/local/bin/, then errors would occur + - name: set-PATH + run: | + echo "/Library/Developer/CommandLineTools/usr/bin" >> $GITHUB_PATH + echo "/usr/local/bin/" >> $GITHUB_PATH + + - name: configure-and-build-driver + run: | + ./build_mac_debug64.sh + + - name: update-environment-with-ODBC_DRIVER_VERSION + run: | + read -r ODBC_DRIVER_VERSION < ./src/ODBC_DRIVER_VERSION.txt + echo "ODBC_DRIVER_VERSION=$ODBC_DRIVER_VERSION" >> $GITHUB_ENV + + - name: upload-package + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamODBC-${{env.ODBC_DRIVER_VERSION}}.pkg + path: ./cmake-build64/AmazonTimestreamODBC-${{env.ODBC_DRIVER_VERSION}}.pkg + + - name: register-odbc-driver + run: | + chmod +x scripts/register_driver_unix.sh + ./scripts/register_driver_unix.sh + + env: + RUN_CODE_COVERAGE: ${{ true }} + BOOST_TEST_CATCH_SYSTEM_ERRORS: no + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + export DYLD_LIBRARY_PATH=${{env.ODBC_LIB_PATH}}:$DYLD_LIBRARY_PATH + ./build/odbc/bin/timestream-odbc-unit-tests --catch_system_errors=false + + - name: upload-unit-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v1.30 + with: + check_name: "MacOS Big Sur 11 Debug Build Unit Test Results Check" + comment_title: "MacOS Big Sur 11 Debug Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: run-integration-tests + id: runintegrationtests + run: | + export DYLD_LIBRARY_PATH=${{env.ODBC_LIB_PATH}}:$DYLD_LIBRARY_PATH + ./build/odbc/bin/timestream-odbc-integration-tests --catch_system_errors=false + gcovr -r .. --exclude-directories=cmake-build64/tests/integration-test/CMakeFiles/timestream-odbc-integration-tests.dir$ --exclude-directories=cmake-build64/tests/unit-test/CMakeFiles/timestream-odbc-unit-tests.dir$ --cobertura --output coverage.cobertura.xml + + - name: upload-coverage + if: always() + uses: actions/upload-artifact@v3 + with: + name: code-coverage + path: coverage.cobertura.xml + + - name: upload-integration-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v1.30 + with: + check_name: "MacOS Big Sur 11 Debug Build Integration Test Results Check" + comment_title: "MacOS Big Sur 11 Debug Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-test-file + if: always() && ((steps.runintegrationtests.outcome == 'failure') || (steps.rununittests.outcome == 'failure')) + uses: actions/upload-artifact@v3 + with: + name: odbc-test-results + path: | + ./odbc_unit_test_result.xml + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + comment_PR_mac_coverage: + runs-on: ubuntu-latest + needs: build-mac-debug + steps: + - uses: actions/checkout@v2 + + - name: Retrieve coverage + uses: actions/download-artifact@v2 + with: + name: code-coverage + + - name: Code Coverage Summary Report + uses: irongut/CodeCoverageSummary@v1.2.0 + with: + filename: coverage.cobertura.xml + badge: true + format: markdown + indicators: true + output: both + + - name: Add Header for Code Coverage Summary Report + run: | + echo "## MacOS Big Sur 11 Debug Build Code Coverage Unit and Integration Test Result" > coverage-cobertura.md + cat code-coverage-results.md >> coverage-cobertura.md + + - name: Add Coverage PR Comment + uses: marocchino/sticky-pull-request-comment@v2 + if: github.event_name == 'pull_request' + with: + header: macOS + recreate: true + path: coverage-cobertura.md + diff --git a/amazon-timestream-odbc-driver/.github/workflows/remove-old-artifacts.yml b/amazon-timestream-odbc-driver/.github/workflows/remove-old-artifacts.yml new file mode 100644 index 0000000000000..11e098e37c075 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/workflows/remove-old-artifacts.yml @@ -0,0 +1,34 @@ +# Copyright <2022> Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). +# You may not use this file except in compliance with the License. +# A copy of the License is located at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# or in the "license" file accompanying this file. This file is distributed +# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either +# express or implied. See the License for the specific language governing +# permissions and limitations under the License. + +# Adapted from https://github.com/marketplace/actions/remove-artifacts (available under MIT license) + +name: Remove Old Artifacts + +on: + schedule: + # Every day at 1am + - cron: '0 1 * * *' + +jobs: + remove-old-artifacts: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Remove Old Artifacts + uses: c-hive/gha-remove-artifacts@v1 + with: + age: '1 week' + # skip-tags will prevent tags (i.e releases) from being deleted. + skip-tags: true diff --git a/amazon-timestream-odbc-driver/.github/workflows/win-build.yml b/amazon-timestream-odbc-driver/.github/workflows/win-build.yml new file mode 100644 index 0000000000000..0c5deb3732d04 --- /dev/null +++ b/amazon-timestream-odbc-driver/.github/workflows/win-build.yml @@ -0,0 +1,430 @@ +name: ODBC Driver for Windows + +on: + push: + branches: + - main + pull_request: + branches: + - main + +env: + SIGNING_ENABLED: ${{ github.event.inputs.sign }} + CI_OUTPUT_PATH: "ci-output" + ODBC_LIB_PATH: "${{github.workspace}}/build/odbc/lib" + ODBC_BIN_PATH: "${{github.workspace}}/build/odbc/bin/Release" + ODBC_DEBUG_PATH: "${{github.workspace}}/build/odbc/bin/Debug" + ODBC_BUILD_PATH: "${{github.workspace}}/build/odbc/cmake" + VCPKG_ROOT: "c:/vcpkg" + TIMESTREAM_LOG_PATH: "${{github.workspace}}/build/odbc/logs" + TIMESTREAM_LOG_LEVEL: "4" + BIG_TABLE_PAGINATION_TEST_ENABLE: "TRUE" + + # # AAD Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_AAD_TEST: "TRUE" + # AAD_APP_ID: ${{secrets.AAD_APP_ID}} + # AAD_ROLE_ARN: ${{secrets.AAD_ROLE_ARN}} + # AAD_IDP_ARN: ${{secrets.AAD_IDP_ARN}} + # AAD_TENANT: ${{secrets.AAD_TENANT}} + # AAD_USER: ${{secrets.AAD_USER}} + # AAD_USER_PWD: ${{secrets.AAD_USER_PWD}} + # AAD_CLIENT_SECRET: ${{secrets.AAD_CLIENT_SECRET}} + + # # OKTA Test environment variables. Uncomment out to use GitHub secrets to enable AAD integration tests + # ENABLE_OKTA_TEST: "TRUE" + # OKTA_HOST: ${{secrets.OKTA_HOST}} + # OKTA_USER: ${{secrets.OKTA_USER}} + # OKTA_USER_PWD: ${{secrets.OKTA_USER_PWD}} + # OKTA_APP_ID: ${{secrets.OKTA_APP_ID}} + # OKTA_ROLE_ARN: ${{secrets.OKTA_ROLE_ARN}} + # OKTA_IDP_ARN: ${{secrets.OKTA_IDP_ARN}} + +jobs: + build-windows32: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v2 + + - name: Install Chocolatey + run: | + Set-ExecutionPolicy Bypass -Scope Process -Force + [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 + iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) + + - name: "Update path for WIX Toolset" + run: | + echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + + - name: Get latest version of CMake + uses: lukka/get-cmake@latest + + - name: add-msbuild-to-path + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Cache dependencies Windows 32 + id: cache-dependencies-windows-32 + uses: actions/cache@v3 + with: + path: | + ${{ env.VCPKG_ROOT }} + key: ${{ runner.os }}-cache-dependencies-windows-32-v1 + + - name: Install dependencies Windows + run: vcpkg integrate install; vcpkg install boost-test:x86-windows boost-asio:x86-windows boost-chrono:x86-windows boost-interprocess:x86-windows boost-regex:x86-windows boost-system:x86-windows boost-thread:x86-windows --recurse + env: + VCPKG_ROOT: ${{ env.VCPKG_ROOT }} + + - name: configure-and-build-driver + run: | + .\build_win_release32.ps1 + + - name: Build PowerBI connector + run: | + cd src/PowerBIConnector + .\AmazonTimestreamConnector.ps1 + cd ${{github.workspace}} + + - name: Upload ODBC connector build + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamConnector.mez + path: ./src/PowerBIConnector/AmazonTimestreamConnector.mez + + - name: register-driver + run: | + .\src\odbc\install\install_amd64.cmd ${{env.ODBC_BIN_PATH}}\timestream.odbc.dll ${{env.ODBC_BIN_PATH}}\timestream.odbc.dll + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + ${{env.ODBC_BIN_PATH}}/timestream-odbc-unit-tests.exe + + - name: upload-unit-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Windows x32 Build Unit Test Results Check" + comment_title: "Windows 2022 (x32) Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: upload-unit-test-file + if: always() + uses: actions/upload-artifact@v3 + with: + name: odbc-unit-test-results + path: | + ./odbc_unit_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + - name: run-integration-tests + id: runintegrationtests + run: | + ${{env.ODBC_BIN_PATH}}/timestream-odbc-integration-tests.exe + + - name: upload-integration-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Windows x32 Build Integration Test Results Check" + comment_title: "Windows 2022 (x32) Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-integration-test-file + if: always() + uses: actions/upload-artifact@v3 + with: + name: odbc-test-results + path: | + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + - name: Read VERSION file + if: ${{ env.SIGNING_ENABLED == 'true' }} + id: getversion + run: echo "::set-output name=version::$(cat src/ODBC_DRIVER_VERSION.txt)" + + - name: "Configure AWS credentials" + if: ${{ env.SIGNING_ENABLED == 'true' }} + uses: aws-actions/configure-aws-credentials@v2 + with: + role-skip-session-tagging: true + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + role-external-id: ${{ secrets.AWS_ROLE_EXTERNAL_ID }} + role-duration-seconds: 3600 + + # Name of signed executable is same as unsigned exeuctable + - name: Sign executables + if: ${{ env.SIGNING_ENABLED == 'true' }} + id: sign-executables-32 + shell: pwsh + run: | + . ./scripts/sign_installer.ps1 + choco install jq -y + Invoke-SignInstaller build\odbc\cmake\Release x86 ${{ steps.getversion.outputs.version }} ${{ secrets.AWS_UNSIGNED_BUCKET }} ${{ secrets.AWS_SIGNED_BUCKET }} ${{ secrets.AWS_KEY }} + + - name: Upload ODBC driver build + uses: actions/upload-artifact@v3 + with: + name: timestream-odbc-driver-32 + path: build/odbc/cmake/Release + + build-windows64: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v2 + + - name: Install Chocolatey + run: | + Set-ExecutionPolicy Bypass -Scope Process -Force + [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 + iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) + + - name: "Update path for WIX Toolset" + run: | + echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + + - name: Get latest version of CMake + uses: lukka/get-cmake@latest + + - name: add-msbuild-to-path + uses: microsoft/setup-msbuild@v1.0.2 + + - name: Cache dependencies Windows 64 + id: cache-dependencies-windows-64 + uses: actions/cache@v3 + with: + path: | + ${{ env.VCPKG_ROOT }} + key: ${{ runner.os }}-cache-dependencies-windows-64-v1 + + - name: Install dependencies Windows + run: vcpkg integrate install; vcpkg install boost-test:x64-windows boost-asio:x64-windows boost-chrono:x64-windows boost-interprocess:x64-windows boost-regex:x64-windows boost-system:x64-windows boost-thread:x64-windows --recurse + env: + VCPKG_ROOT: ${{env.VCPKG_ROOT}} + + - name: configure-and-build-driver + run: | + .\build_win_release64.ps1 + + - name: Build PowerBI connector + run: | + cd src/PowerBIConnector + .\AmazonTimestreamConnector.ps1 + cd ${{github.workspace}} + + - name: Upload ODBC connector build + uses: actions/upload-artifact@v3 + with: + name: AmazonTimestreamConnector.mez + path: ./src/PowerBIConnector/AmazonTimestreamConnector.mez + + - name: register-driver + run: | + .\src\odbc\install\install_amd64.cmd ${{env.ODBC_BIN_PATH}}\timestream.odbc.dll + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + - name: run-unit-tests + id: rununittests + run: | + mkdir -p "${{env.TIMESTREAM_LOG_PATH}}" + ${{env.ODBC_BIN_PATH}}/timestream-odbc-unit-tests.exe + + - name: upload-unit-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Windows 2022 (x64) Build Unit Test Results Check" + comment_title: "Windows 2022 (x64) Build Unit Test Results" + files: ./odbc_unit_test_result.xml + + - name: upload-unit-test-file + if: always() + uses: actions/upload-artifact@v3 + with: + name: odbc-unit-test-results + path: | + ./odbc_unit_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + - name: run-integration-tests + id: runintegrationtests + run: | + ${{env.ODBC_BIN_PATH}}/timestream-odbc-integration-tests.exe + + - name: upload-integration-test-report + if: always() + uses: EnricoMi/publish-unit-test-result-action/composite@v2.7.0 + with: + check_name: "Windows 2022 (x64) Build Integration Test Results Check" + comment_title: "Windows 2022 (x64) Build Integration Test Results" + files: ./odbc_test_result.xml + + - name: upload-integration-test-file + if: always() + uses: actions/upload-artifact@v3 + with: + name: odbc-test-results + path: | + ./odbc_test_result.xml + ./build/odbc/logs/timestream_odbc_*.log + + - name: Read VERSION file + if: ${{ env.SIGNING_ENABLED == 'true' }} + id: getversion + run: echo "::set-output name=version::$(cat src/ODBC_DRIVER_VERSION.txt)" + + - name: "Configure AWS credentials" + if: ${{ env.SIGNING_ENABLED == 'true' }} + uses: aws-actions/configure-aws-credentials@v2 + with: + role-skip-session-tagging: true + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }} + role-external-id: ${{ secrets.AWS_ROLE_EXTERNAL_ID }} + role-duration-seconds: 3600 + + # Name of signed executable is same as unsigned exeuctable + - name: Sign executables + if: ${{ env.SIGNING_ENABLED == 'true' }} + id: sign-executables-64 + shell: pwsh + run: | + . ./scripts/sign_installer.ps1 + choco install jq -y + Invoke-SignInstaller build\odbc\cmake\Release x64 ${{ steps.getversion.outputs.version }} ${{ secrets.AWS_UNSIGNED_BUCKET }} ${{ secrets.AWS_SIGNED_BUCKET }} ${{ secrets.AWS_KEY }} + + - name: Upload ODBC driver build + uses: actions/upload-artifact@v3 + with: + name: timestream-odbc-driver-64 + path: build/odbc/cmake/Release + + build-windows64_coverage: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v2 + + - name: Install Chocolatey + run: | + Set-ExecutionPolicy Bypass -Scope Process -Force + [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 + iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) + + - name: "Update path for WIX Toolset" + run: | + echo "C:\Program Files (x86)\WiX Toolset v3.11\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + + - name: Get latest version of CMake + uses: lukka/get-cmake@latest + + - name: add-msbuild-to-path + uses: microsoft/setup-msbuild@v1.0.2 + + - name: setup-opencppcoverage-and-add-to-path + id: setup_opencppcoverage + run: | + choco install OpenCppCoverage -y + echo "C:\Program Files\OpenCppCoverage" >> $env:GITHUB_PATH + + - name: Cache dependencies Windows 64 + id: cache-dependencies-windows-64 + uses: actions/cache@v3 + with: + path: | + ${{ env.VCPKG_ROOT }} + key: ${{ runner.os }}-cache-dependencies-windows-64-v1 + + - name: Install dependencies Windows + run: vcpkg integrate install; vcpkg install boost-test:x64-windows boost-asio:x64-windows boost-chrono:x64-windows boost-interprocess:x64-windows boost-regex:x64-windows boost-system:x64-windows boost-thread:x64-windows --recurse + env: + VCPKG_ROOT: ${{env.VCPKG_ROOT}} + + - name: configure-and-build-driver + run: | + .\build_win_debug64.ps1 + + - name: Build PowerBI connector + run: | + cd src/PowerBIConnector + .\AmazonTimestreamConnector.ps1 + cd ${{github.workspace}} + + - name: register-driver + run: | + .\src\odbc\install\install_amd64.cmd ${{env.ODBC_DEBUG_PATH}}\timestream.odbc.dll + + - name: configure-aws-credentials-for-tests + if: success() + uses: aws-actions/configure-aws-credentials@v2 + with: + aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + aws-region: us-west-2 + + - name: run-tests + run: | + # run code coverage against unit test first + opencppcoverage --sources src\odbc\src --sources src\odbc\include --export_type binary:unit.test.cov --excluded_modules boost_unit_test_framework --excluded_modules timestream-odbc-integration-tests --excluded_modules zlib --excluded_modules aws --excluded_modules boost --excluded_sources src\odbc\src\ignite --excluded_sources src\odbc\include\ignite -- ${{env.ODBC_DEBUG_PATH}}/timestream-odbc-unit-tests.exe + # run code coverage against integration test and merge the result with the unit test one + opencppcoverage --sources src\odbc\src --sources src\odbc\include --input_coverage unit.test.cov --export_type cobertura:coverage.cobertura.xml --excluded_modules boost_unit_test_framework --excluded_modules timestream-odbc-integration-tests --excluded_modules zlib --excluded_modules aws --excluded_modules boost --excluded_sources src\odbc\src\ignite --excluded_sources src\odbc\include\ignite -- ${{env.ODBC_DEBUG_PATH}}/timestream-odbc-integration-tests.exe + + - name: upload-coverage + if: always() + uses: actions/upload-artifact@v3 + with: + name: code-coverage + path: coverage.cobertura.xml + + comment_PR_coverage: + runs-on: ubuntu-latest + needs: build-windows64_coverage + steps: + - uses: actions/checkout@v2 + + - name: Retrieve coverage + uses: actions/download-artifact@v2 + with: + name: code-coverage + + - name: Code Coverage Summary Report + uses: irongut/CodeCoverageSummary@v1.2.0 + with: + filename: coverage.cobertura.xml + badge: true + format: markdown + indicators: true + output: both + + - name: Add Header for Code Coverage Summary Report + run: | + echo "## Windows 2022 (x64) Debug Build Code Coverage Test Results Check" > coverage-cobertura.md + cat code-coverage-results.md >> coverage-cobertura.md + + - name: Add Coverage PR Comment + uses: marocchino/sticky-pull-request-comment@v2 + if: github.event_name == 'pull_request' + with: + header: windows + recreate: true + path: coverage-cobertura.md diff --git a/amazon-timestream-odbc-driver/CONTRIBUTING.md b/amazon-timestream-odbc-driver/CONTRIBUTING.md index c4b6a1c5081ad..1b01e69e9bdd9 100644 --- a/amazon-timestream-odbc-driver/CONTRIBUTING.md +++ b/amazon-timestream-odbc-driver/CONTRIBUTING.md @@ -11,7 +11,8 @@ information to effectively respond to your bug report or contribution. We welcome you to use the GitHub issue tracker to report bugs or suggest features. -When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already +When filing an issue, please check [existing open](fake-link), +or [recently closed](fake-link), issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: * A reproducible test case or series of steps diff --git a/amazon-timestream-odbc-driver/LICENSE b/amazon-timestream-odbc-driver/LICENSE index 67db8588217f2..261eeb9e9f8b2 100644 --- a/amazon-timestream-odbc-driver/LICENSE +++ b/amazon-timestream-odbc-driver/LICENSE @@ -1,4 +1,3 @@ - Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -173,3 +172,30 @@ defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/amazon-timestream-odbc-driver/LICENSE.rtf b/amazon-timestream-odbc-driver/LICENSE.rtf new file mode 100644 index 0000000000000..537f12d34c3c8 --- /dev/null +++ b/amazon-timestream-odbc-driver/LICENSE.rtf @@ -0,0 +1,275 @@ +{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 Courier New;}} + +{\*\generator Msftedit 5.41.21.2500;} + +\f0\fs20 Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\par + +\par + +The Amazon Timestream ODBC Driver utilizes and modifies Apache Ignite source code.\par + +The utilized Apache Ignite source code comes from the directories modules/platforms/cpp/common, modules/platforms/cpp/odbc, and modules/platforms/cpp/common/odbc-test of Ignite 2.11.1. Not all source code from the listed directories is used, only a small part of them is used. The utilized Ignite source files are changed and cut down based on need.\par + +\par + +1) License Notice for the Boost library \par + +---------------------------------------\par + +\par + +Copyright (c) 2003 - 2021 Boost Software\par + +\par + +Distributed under the Boost Software License, Version 1.0.\par + +See http://www.boost.org/LICENSE_1_0.txt\par + +\par + +2) License Notice for Apache Ignite\par + +-----------------------------------------\par + +\par + +Apache Ignite\par + +Copyright 2021 The Apache Software Foundation\par + +\par + +This product includes software developed at\par + +The Apache Software Foundation (http://www.apache.org/).\par + +\par + +Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.\par + +You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\par + +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,\par + +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\par + +See the License for the specific language governing permissions and limitations under the License.\par + +\par + +3) License Notice for AWS SDK for C++\par + +---------------------------------------\par + +\par + +AWS SDK for C++\par + +\par + +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\par + +\par + +This product includes software developed by Amazon Technologies, Inc (http://www.amazon.com/).\par + +======================================================\par + +\par + +\viewkind4\uc1\pard\qc\lang1033\ Apache License\par + +Version 2.0, January 2004\par + +http://www.apache.org/licenses/\par + +\pard\par + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\par + +\par + +1. Definitions.\par + +\par + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.\par + +\par + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.\par + +\par + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.\par + +\par + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.\par + +\par + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation, source, and configuration files.\par + +\par + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.\par + +\par + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).\par + +\par + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.\par + +\par + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."\par + +\par + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.\par + +\par + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.\par + +\par + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license plies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.\par + +\par + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:\par + +\par + + (a) You must give any other recipients of the Work or\par + + Derivative Works a copy of this License; and\par + +\par + + (b) You must cause any modified files to carry prominent notices\par + + stating that You changed the files; and\par + +\par + + (c) You must retain, in the Source form of any Derivative Works\par + + that You distribute, all copyright, patent, trademark, and\par + + attribution notices from the Source form of the Work,\par + + excluding those notices that do not pertain to any part of\par + + the Derivative Works; and\par + +\par + + (d) If the Work includes a "NOTICE" text file as part of its\par + + distribution, then any Derivative Works that You distribute\par + + must include a readable copy of the attribution notices\par + + contained within such NOTICE file, excluding those notices\par + + that do not pertain to any part of the Derivative Works, in\par + + at least one of the following places: within a NOTICE text\par + + file distributed as part of the Derivative Works; within the\par + + Source form or documentation, if provided along with the\par + + Derivative Works; or, within a display generated by the\par + + Derivative Works, if and wherever such third-party notices\par + + normally appear. The contents of the NOTICE file are for\par + + informational purposes only and do not modify the License.\par + + You may add Your own attribution notices within Derivative\par + + Works that You distribute, alongside or as an addendum to the\par + + NOTICE text from the Work, provided that such additional\par + + attribution notices cannot be construed as modifying the\par + + License.\par + +\par + +You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.\par + +\par + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.\par + +\par + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.\par + +\par + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.\par + +\par + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.\par + +\par + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.\par + +\par + +END OF TERMS AND CONDITIONS\par + +\par + +APPENDIX: How to apply the Apache License to your work.\par + +\par + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.\par + +\par + + Copyright [yyyy] [name of copyright owner]\par + +\par + + Licensed under the Apache License, Version 2.0 (the "License");\par + + you may not use this file except in compliance with the License.\par + + You may obtain a copy of the License at\par + +\par + + http://www.apache.org/licenses/LICENSE-2.0\par + +\par + + Unless required by applicable law or agreed to in writing, software\par + + distributed under the License is distributed on an "AS IS" BASIS,\par + + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\par + + implied. See the License for the specific language governing\par + + permissions and limitations under the License.\par + +\par + +} + + diff --git a/amazon-timestream-odbc-driver/NOTICE b/amazon-timestream-odbc-driver/NOTICE index 616fc58894518..4d801a85d0388 100644 --- a/amazon-timestream-odbc-driver/NOTICE +++ b/amazon-timestream-odbc-driver/NOTICE @@ -1 +1,46 @@ +Amazon Timestream ODBC Driver Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + +The Amazon Timestream ODBC Driver utilizes and modifies Apache Ignite +source code. The utilized Apache Ignite source code comes from the directories +modules/platforms/cpp/common, modules/platforms/cpp/odbc and, +modules/platforms/cpp/common/odbc-test of Ignite 2.11.1. Not all +source code from the listed directories is used, only a small part +of them is used. The utilized Ignite source files are changed and +cut down based on need. + +1) License Notice for the Boost library +--------------------------------------- + +Copyright (c) 2003 - 2021 Boost Software + +Distributed under the Boost Software License, Version 1.0. +See http://www.boost.org/LICENSE_1_0.txt + +2) License Notice for Apache Ignite +--------------------------------------- + +Apache Ignite +Copyright 2021 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +Licensed under the Apache License, Version 2.0 (the "License"); you may not +use this software except in compliance with the License. You may obtain a +copy of the License at http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +License for the specific language governing permissions and limitations +under the License. + +3) License Notice for AWS SDK for C++ +--------------------------------------- + +AWS SDK for C++ +Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. + +This product includes software developed by +Amazon Technologies, Inc (http://www.amazon.com/). diff --git a/amazon-timestream-odbc-driver/README.md b/amazon-timestream-odbc-driver/README.md index 847260ca5152a..c8f502dd3c373 100644 --- a/amazon-timestream-odbc-driver/README.md +++ b/amazon-timestream-odbc-driver/README.md @@ -1,11 +1,15 @@ -## My Project +# Amazon Timestream ODBC Driver -TODO: Fill this README out! +## Overview -Be sure to: +The ODBC driver for the Amazon Timestream serverless time series database provides an +SQL-relational interface for developers and BI tool users. -* Change the title in this README -* Edit your repository description on GitHub +Full source code is provided. Users should be able build the library for intended platform. + +For build instructions please refer to [developer guide](docs/markdown/setup/developer-guide.md). + +For details on ODBC driver installation and usage please refer to rest of this document. ## Security @@ -15,3 +19,37 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform This project is licensed under the Apache-2.0 License. +## Documentation + +See the [product documentation](docs/markdown/index.md) for more detailed information about this driver, such as setup and configuration. + +## Setup and Usage + +To setup and use the Timestream ODBC driver, follow [these directions](docs/markdown/setup/setup.md). + +See [Azure Active Directory set-up guide](/docs/markdown/setup/aad-saml-setup.md) for setting up Azure AD account and connecting to Timestream. See [Okta set-up guide](/docs/markdown/setup/Okta-setup.md) for setting up Okta account and connecting to Timestream. + +See [PowerBI oveview](/docs/markdown/setup/powerbi-connector-setup/powerbi_overview.md) for using PowerBI with Timestream ODBC driver and connector. + +See [performance testing setup](performance/README.md) for setting up and running performance tests. + +## Connection String Syntax + +``` +DRIVER={Amazon Timestream ODBC Driver};DSN={Timestream DSN};