Skip to content

Remove reference to AST in RefreshMaterializedViewReference#16348

Merged
martint merged 1 commit intotrinodb:masterfrom
martint:table-reference
Mar 6, 2023
Merged

Remove reference to AST in RefreshMaterializedViewReference#16348
martint merged 1 commit intotrinodb:masterfrom
martint:table-reference

Conversation

@martint
Copy link
Member

@martint martint commented Mar 2, 2023

Release notes

(x) This is not user-visible or docs only and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Mar 2, 2023
extends WriterTarget
{
private final Table table;
private final String table;
Copy link
Member

Choose a reason for hiding this comment

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

I think we should name this variable tableToStringRepresentation to stress that it is only used for toString() method. Otherwise one could try to use it to something else in future.

Another idea is to remove this field completely and maybe use TableHandle in toString()

Copy link
Member

Choose a reason for hiding this comment

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

I think it's obvious that a raw name shouldn't be used for something else. Do you have something in mind where this would be used and the author wouldn't quickly discover that it's wrong?

@martint martint merged commit ef0415f into trinodb:master Mar 6, 2023
@github-actions github-actions bot added this to the 410 milestone Mar 6, 2023
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.

3 participants