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

Add getFileRawDataSize Test Utilities #73

Closed

Conversation

phoenixawe
Copy link
Contributor

Summary:

Changes

Adding functions to the TestUtils.h in tests folders of both encodings and velox which allows us to calculate the raw data size of files by reading.

  • Note the special handling for Nullable encoding types and String data types in the getRawChunkSize function.

Context

This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 19, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 21, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 22, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 22, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 22, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 22, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 24, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 24, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 27, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 27, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Aug 27, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 19, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin, helfman

Differential Revision: D61050482
phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 19, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482

Reviewed By: sdruzkin, helfman
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 19, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin, helfman

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 19, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Reviewed By: sdruzkin, helfman

Differential Revision: D61050482
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawDataSize` function.

# Context
This will be used by nimble_dump later on.
RawDataSize is for streams and encodings, so this captures the raw data size *after* some optimizations such as deduping are applied, but *before* compression and serde.

Reviewed By: sdruzkin, helfman

Differential Revision: D61050482
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D61050482

phoenixawe added a commit to phoenixawe/nimble that referenced this pull request Sep 19, 2024
Summary:
Pull Request resolved: facebookincubator#73

# Changes

Adding functions to the TestUtils.h in tests folders of both `encodings` and `velox` which allows us to calculate the raw data size of files by reading.
- Note the special handling for Nullable encoding types and String data types in the `getRawChunkSize` function.

# Context
This is necessary to check the correctness of the raw data size stat added in the following diff, which calculates the size when writing.
This change will also be used by nimble_dump later on (to be implemented in a later diff).

Differential Revision: D61050482

Reviewed By: sdruzkin, helfman
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in eda098a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants