Skip to content

Conversation

@yas-okadatech
Copy link
Contributor

Although getTables / getPrimaryKeys / getColumns expect catalog name, TableIdentifier::getDatabase() doesn't return catalog name. And getDatabase() returns null, so getTables, etc scan all catalogs unfortunatey.

In a user's environment, an error cropped up. So I need this fix.

…se it specify database name instead of category name.
@yas-okadatech yas-okadatech marked this pull request as ready for review October 24, 2024 01:58
Copy link

@r-uehara0219 r-uehara0219 left a comment

Choose a reason for hiding this comment

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

LGTM

@chikamura
Copy link
Contributor

chikamura commented Oct 24, 2024

@yas-okadatech
The changes seem correct to me. I created a similar PR, although the problem I want to fix is different.

I would assume that this PR is an attempt to reduce the differences in the code,
but most of the code of current main branch was copied from output-jdbc, so it can be largely deleted.
Please refer to this PR.

@yas-okadatech yas-okadatech merged commit 881c4f1 into trocco-io:main Oct 24, 2024
2 checks passed
@yas-okadatech yas-okadatech deleted the 27783-catalog branch October 24, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants