-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Conversation
plugin/trino-faker/src/test/java/io/trino/plugin/faker/TestFakerMetadata.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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
This pull request has gone a while without any activity. Tagging for triage help: @mosabua |
I'm still working on this. |
7550b15
to
0efe8b5
Compare
plugin/trino-faker/src/test/java/io/trino/plugin/faker/TestFakerViews.java
Outdated
Show resolved
Hide resolved
0efe8b5
to
7446fad
Compare
@@ -35,6 +36,11 @@ public String name() | |||
return metadata.getName(); | |||
} | |||
|
|||
public Type type() |
There was a problem hiding this comment.
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<>(); |
There was a problem hiding this comment.
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?
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: