Skip to content

Remove Block writePositionTo and BlockBuilder appendStructure#10602

Merged
dain merged 1 commit intotrinodb:masterfrom
dain:remove-block-append-position
Feb 2, 2022
Merged

Remove Block writePositionTo and BlockBuilder appendStructure#10602
dain merged 1 commit intotrinodb:masterfrom
dain:remove-block-append-position

Conversation

@dain
Copy link
Copy Markdown
Member

@dain dain commented Jan 14, 2022

Description

These methods are used almost exclusively by tests and have a huge footprint in our SPI. Additionally, the methods are dangerous to use because they do not interact with Types. The methods are replaced with the existing Type appendTo or writeObject methods.

Documentation

  • User facing documentation needed
  • Release notes entry needed

Release notes

SPI

  • Remove unnecessary Block writePositionTo and BlockBuilder appendStructure methods. Use of these methods can be replaced with the existing Type appendTo or writeObject methods. ({issue}10602 )

These methods are use almost exclusively by tests and have a huge
footprint in our SPI. Additionally, the methods are dangerous to use
because they do not interact with Types. The methods are replaced with
the existing Type appendTo or writeObject methods.
@dain dain force-pushed the remove-block-append-position branch from 34c4261 to e696cb1 Compare February 1, 2022 23:08
@dain dain merged commit 0daa29c into trinodb:master Feb 2, 2022
@dain dain deleted the remove-block-append-position branch February 2, 2022 17:10
@dain dain added this to the 370 milestone Feb 2, 2022
@dain dain mentioned this pull request Feb 2, 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.

2 participants