Skip to content

[hotfix][postgres] generateCreateTableEvent result is skipped - #4490

Open
CatOrLeader wants to merge 1 commit into
apache:masterfrom
CatOrLeader:master
Open

[hotfix][postgres] generateCreateTableEvent result is skipped #4490
CatOrLeader wants to merge 1 commit into
apache:masterfrom
CatOrLeader:master

Conversation

@CatOrLeader

Copy link
Copy Markdown
Contributor

What is the purpose of this pull request?

For now, the PostgresPipelineRecordEmitter class in the constructor call generateCreateTableEvent function and throws away the result of the metadata scan. This pull request fixes it and adds table DDL into the local cache map.

Brief change log

Changed the name of the inner map inside the function generateCreateTableEvent to avoid shadowing of the original class field. Additionally, add all the resulting maps into the cache.


Verifying this change

This change is a trivial rework.

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable, because it is a bug

Was generative AI tooling used to co-author this PR?
  • No

Adopt the usage of the function call result
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.

1 participant