Skip to content

Remove deprecated filterColumns overload#19800

Merged
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/clean-deprecations
Nov 17, 2023
Merged

Remove deprecated filterColumns overload#19800
findepi merged 4 commits intotrinodb:masterfrom
findepi:findepi/clean-deprecations

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Nov 17, 2023

No description provided.

Remove overloads of `Connector.beginTransaction` and
`Connector.getMetadata` deprecated since 2021.
It's been deprecated since January 2023.
It's been deprecated for 10+ releases.
@cla-bot cla-bot bot added the cla-signed label Nov 17, 2023
@github-actions github-actions bot added tests:hive hive Hive connector labels Nov 17, 2023
return tableColumns.entrySet().stream()
.collect(toImmutableMap(
Entry::getKey,
// TODO call delegate.filterColumns in bulk
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

{
Optional<SchemaTableName> sourceTableName = getSourceTableNameFromSystemTable(systemTableProviders, tableName);
if (sourceTableName.isPresent()) {
// TODO system table may have quite different columns that its source table. It's unclear why it's a good idea to conflate the two.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@findepi findepi added the no-release-notes This pull request does not require release notes entry label Nov 17, 2023
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Nov 17, 2023

CI #19799

@findepi findepi merged commit 152e7a5 into trinodb:master Nov 17, 2023
@findepi findepi deleted the findepi/clean-deprecations branch November 17, 2023 19:12
@github-actions github-actions bot added this to the 434 milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed hive Hive connector no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants