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

*BREAKING CHANGE* Remove pyhdb #11469

Merged
merged 11 commits into from
Feb 14, 2022
Merged

Conversation

hithwen
Copy link
Contributor

@hithwen hithwen commented Feb 8, 2022

pyhdb library has some stability issue so we cannnot, in good faith, leave users exposed to it. From 7.35 onwards users will need to perform a manual install of hdbcli to use SAP Hana integration.

This PR:

  • Removes pyhdb from the agent
  • Removes pyhdb compatibility from the integration
  • Updates documentation to inform the user that they need to manually install hdbcli to use the integration, while before it was an optional step

This PR is best viewed hiding whitespace changes

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

4 similar comments
@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

@github-actions
Copy link

github-actions bot commented Feb 8, 2022

Label changelog/Changed was added to this Pull Request, so the next release will bump major version. Please make sure this is a breaking change, or use the changelog/Fixed label.

@hithwen hithwen marked this pull request as ready for review February 10, 2022 12:19
@hithwen hithwen requested review from a team as code owners February 10, 2022 12:19
@@ -48,7 +48,7 @@ def initialize(self):
cursor.execute("BACKUP DATA USING FILE ('/tmp/backup')")

def connect(self):
self.conn = pyhdb.connect(**self.connection_args)
self.conn = HanaConnection(**self.connection_args)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may resolve the remaining flakiness on tests

alai97
alai97 previously approved these changes Feb 10, 2022
Copy link
Contributor

@alai97 alai97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, four copy nits!

sap_hana/README.md Outdated Show resolved Hide resolved
sap_hana/README.md Outdated Show resolved Hide resolved
sap_hana/README.md Outdated Show resolved Hide resolved
sap_hana/tests/README.md Outdated Show resolved Hide resolved
Co-authored-by: Austin Lai <76412946+alai97@users.noreply.github.com>
Co-authored-by: Austin Lai <76412946+alai97@users.noreply.github.com>
yzhan289
yzhan289 previously approved these changes Feb 11, 2022
@codecov
Copy link

codecov bot commented Feb 11, 2022

Codecov Report

Merging #11469 (b35bda8) into master (ce3eaaa) will decrease coverage by 0.79%.
The diff coverage is 65.90%.

Flag Coverage Δ
sap_hana 91.06% <65.90%> (-1.34%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@sarah-witt
Copy link
Contributor

/azp run PR Changes

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: Sarah Witt <sarah.witt@datadoghq.com>
@hithwen hithwen merged commit 205201c into master Feb 14, 2022
@hithwen hithwen deleted the j/AI-2201-remove-shipped-library branch February 14, 2022 16:03
github-actions bot pushed a commit that referenced this pull request Feb 14, 2022
* Remove pyhdb

Co-authored-by: Austin Lai <76412946+alai97@users.noreply.github.com>
Co-authored-by: Sarah Witt <sarah.witt@datadoghq.com> 205201c
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.

6 participants