Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apacheGH-30622: [GAC-11] Integrate Timestream ODBC driver into Arrow repository #6

Closed

Conversation

alinaliBQ
Copy link

@alinaliBQ alinaliBQ commented Nov 21, 2023

Rationale for this change

Integration Apache 2.0 licensed AWS Timestream ODBC driver into the Arrow repository.

What changes are included in this PR?

Timestream ODBC driver seed code is added under cpp/src/arrow/flight/sql. No workflow for the driver is enabled.

Are these changes tested?

Tests are not covered as tests for the driver will be added as functionalities are developed.

Are there any user-facing changes?

No.

Copy link

Thanks for opening a pull request!

If this is not a minor PR. Could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

In the case of PARQUET issues on JIRA the title also supports:

PARQUET-${JIRA_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

See also:

@alinaliBQ alinaliBQ changed the title [ARROW-15111] [GAC-11] Integrate Timestream ODBC driver into Arrow repository [GAC-11] Integrate Timestream ODBC driver into Arrow repository Nov 21, 2023
@alinaliBQ alinaliBQ changed the title [GAC-11] Integrate Timestream ODBC driver into Arrow repository GH-30622: [GAC-11] Integrate Timestream ODBC driver into Arrow repository Nov 21, 2023
Copy link

❌ GitHub issue apache#30622 could not be retrieved.

@alinaliBQ alinaliBQ changed the title GH-30622: [GAC-11] Integrate Timestream ODBC driver into Arrow repository apacheGH-30622: [GAC-11] Integrate Timestream ODBC driver into Arrow repository Nov 21, 2023
@alinaliBQ alinaliBQ force-pushed the alinaliBQ/GAC-11/integrate-timestream-odbc branch from 82a6956 to ac950eb Compare November 21, 2023 23:24
amazon-auto and others added 10 commits November 23, 2023 11:12
* fix cppcheck failure

* fix build script not running and credentials could not be fetched

* restore configure-aws-credentials to v2

* add execute permission for shell scripts

* remove bash for mac build scripts

* trigger all tests
* code uploading

* fix cppcheck failure (#1)

* fix cppcheck failure

* fix build script not running and credentials could not be fetched

* restore configure-aws-credentials to v2

* add execute permission for shell scripts

* remove bash for mac build scripts

* trigger all tests

* verify signer works fine

* fix singer could not find the installer package

* change signed installer name

* fix linux package wrong name issue

* restore signer flag

* add .gitignore

* remove unneeded files

* remove unneeded files

* address comments

* add version to installer name

* remove not needed file
…mation improvement (#4)

* fix occasional test failure

* document update

* add check for credentials leak
* pass driver info to Timestream using user agent

* add log for user agent setting
Modified files using `clang-format` command. Hopefully this change fixes all styling issues.
@alinaliBQ alinaliBQ force-pushed the alinaliBQ/GAC-11/integrate-timestream-odbc branch 3 times, most recently from 6c5df02 to 52849d0 Compare November 23, 2023 22:59
@alinaliBQ alinaliBQ force-pushed the alinaliBQ/GAC-11/integrate-timestream-odbc branch from 52849d0 to 92abd9e Compare November 23, 2023 23:00
Copy link

github-actions bot commented Nov 23, 2023

Windows 2022 (x64) Build Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 3679c51.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 23, 2023

Windows 2022 (x32) Build Unit Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 3679c51.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 23, 2023

Windows 2022 (x64) Build Integration Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 3679c51.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Nov 23, 2023

Windows 2022 (x32) Build Integration Test Results

0 tests   0 ✔️  0s ⏱️
0 suites  0 💤
0 files    0

Results for commit 3679c51.

♻️ This comment has been updated with latest results.

@alinaliBQ
Copy link
Author

Closing this PR for now, as we will separate integration of driver seed from lint error fixes.

@alinaliBQ alinaliBQ closed this Nov 27, 2023
alinaliBQ pushed a commit that referenced this pull request Nov 28, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Nov 28, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 1, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 5, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 7, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
@alinaliBQ alinaliBQ deleted the alinaliBQ/GAC-11/integrate-timestream-odbc branch December 7, 2023 22:17
alinaliBQ pushed a commit that referenced this pull request Dec 13, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 18, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 18, 2023
* pass driver info to Timestream using user agent

* add log for user agent setting
alinaliBQ pushed a commit that referenced this pull request Dec 20, 2023
…mation improvement (#4)

* fix occasional test failure

* document update

* add check for credentials leak

Fix wrong linux package name and remove unneeded files (#2)

* code uploading

* fix cppcheck failure (#1)

* fix cppcheck failure

* fix build script not running and credentials could not be fetched

* restore configure-aws-credentials to v2

* add execute permission for shell scripts

* remove bash for mac build scripts

* trigger all tests

* verify signer works fine

* fix singer could not find the installer package

* change signed installer name

* fix linux package wrong name issue

* restore signer flag

* add .gitignore

* remove unneeded files

* remove unneeded files

* address comments

* add version to installer name

* remove not needed file

fix cppcheck failure (#1)

* fix cppcheck failure

* fix build script not running and credentials could not be fetched

* restore configure-aws-credentials to v2

* add execute permission for shell scripts

* remove bash for mac build scripts

* trigger all tests

code uploading

Initial commit

fix bracket missing (#5)

Pass driver info to Timestream using user agent (#6)

* pass driver info to Timestream using user agent

* add log for user agent setting

Fixing awslabs links. (#8)

Signed-off-by: forestmvey <[email protected]>

Move AWS TS ODBC Driver under flight sql subdirectory

Enable Windows builds, workflow files are based on Amazon Timestream ODBC driver seed

disable integration tests from running. The win-build.yml file is copied from Amazon Timestream ODBC driver code.

Fix CMAKE code formats

Note that rest of lint errors are not solved yet.

Fix python code doc errors

Enable linux build, the file is copied from Amazon Timestream ODBC seed

* integration tests are disabled.
* allow build scripts to be run through `chmod`.

Enable macOS builds, workflow files are copied from Amazon TS ODBC seed

Move Timestream ODBC driver seed under cpp/src/flightsql_odbc

* Updated workflows to accommodate this change.

Remove Timestream-related code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants