Skip to content

Remove deprecated DML ConnectorMetadata methods#12342

Merged
losipiuk merged 13 commits intotrinodb:masterfrom
losipiuk:lo/remove-deprecated-spi
May 13, 2022
Merged

Remove deprecated DML ConnectorMetadata methods#12342
losipiuk merged 13 commits intotrinodb:masterfrom
losipiuk:lo/remove-deprecated-spi

Conversation

@losipiuk
Copy link
Copy Markdown
Member

ConnectorMetadata methods were augmented about 6 months ago with an extra RetryMode parameter.
This PR migrates remaining connectors to use non-deprecated overrides and removes deprecated ones .

Description

Is this change a fix, improvement, new feature, refactoring, or other?

Cleanup

Is this a change to the core query engine, a connector, client library, or the SPI interfaces? (be specific)

SPI

Documentation

(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.

Release notes

TODO

( ) No release notes entries required.
( ) Release notes entries required with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label May 11, 2022
@losipiuk losipiuk requested review from electrum, findepi and hashhar May 11, 2022 21:54
Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

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

LGTM % Piotr's comment. Sufficient time has passed IMO.

One suggestion I have is to maybe amend the JavaDocs for new methods to mention what to do with RetryMode (i.e. safe to ignore, how to consume it etc.).

@losipiuk losipiuk force-pushed the lo/remove-deprecated-spi branch from a4a4434 to 02d8afa Compare May 13, 2022 12:21
@losipiuk losipiuk force-pushed the lo/remove-deprecated-spi branch from 02d8afa to 3739fad Compare May 13, 2022 14:14
@losipiuk losipiuk merged commit 342a15f into trinodb:master May 13, 2022
@github-actions github-actions bot added this to the 381 milestone May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants