Skip to content

Rename table layout classes, remove 'New'#10587

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/old-table-layout
Feb 1, 2022
Merged

Rename table layout classes, remove 'New'#10587
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/old-table-layout

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Jan 13, 2022

The classes NewTableLayout and ConnectorNewTableLayout had 'New' in
their names to differentiate from the old table layout-related classes.
Now, that the old table layout functionality is removed, the rationale
is no longer valid, and names need to be cleaned. It's a breaking
change, but necessary to avoid having something for legacy reasons only,
for ever.

Furthermore, the previous name like ConnectorNewTableLayout could be
understood as "layout for new tables", which is misleading, as the class
is used for new tables, for writes and execute too.

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Jan 13, 2022

We should not merge this for 369, i.e. the version when #781 is completed (#10490).

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Jan 13, 2022

CI #9415

@cla-bot cla-bot bot added the cla-signed label Jan 13, 2022
@findepi findepi added this to the 370 milestone Jan 18, 2022
The classes `NewTableLayout` and `ConnectorNewTableLayout` had 'New' in
their names to differentiate from the old table layout-related classes.
Now, that the old table layout functionality is removed, the rationale
is no longer valid, and names need to be cleaned. It's a breaking
change, but necessary to avoid having something for legacy reasons only,
for ever.

Furthermore, the previous name like `ConnectorNewTableLayout` could be
understood as "layout for new tables", which is misleading, as the class
is used for new tables, for writes and execute too.
@findepi findepi force-pushed the findepi/old-table-layout branch from 1bab8fa to e89dc24 Compare February 1, 2022 10:33
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Feb 1, 2022

(rebased)

@findepi findepi merged commit 8b0c754 into trinodb:master Feb 1, 2022
@findepi findepi deleted the findepi/old-table-layout branch February 1, 2022 16:57
@findepi findepi mentioned this pull request Feb 1, 2022
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