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

Support managing views in the Faker connector #24242

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

nineinchnick
Copy link
Member

@nineinchnick nineinchnick commented Nov 24, 2024

Description

Additional context and related issues

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(x) Release notes are required, with the following suggested text:

## Faker
* Add support for views. ({issue}`24242`)

Copy link
Member

@losipiuk losipiuk left a comment

Choose a reason for hiding this comment

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

Implementation looks fine but @raunaqmorarka comment on testing approach is sound IMO

Copy link

This pull request has gone a while without any activity. Tagging for triage help: @mosabua

@github-actions github-actions bot added the stale label Dec 23, 2024
@nineinchnick
Copy link
Member Author

I'm still working on this.

@raunaqmorarka raunaqmorarka merged commit 6ff4cad into trinodb:master Dec 26, 2024
15 checks passed
@github-actions github-actions bot added this to the 469 milestone Dec 26, 2024
@@ -35,6 +36,11 @@ public String name()
return metadata.getName();
}

public Type type()
Copy link
Member

Choose a reason for hiding this comment

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

Remove an unsued method.


private final FakerFunctionProvider functionsProvider;
@GuardedBy("this")
private final Map<SchemaTableName, ConnectorViewDefinition> views = new HashMap<>();
Copy link
Member

Choose a reason for hiding this comment

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

Could you add - [](sql-view-management) to faker.md?

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.

4 participants