Skip to content

Enable raw size consistency check conditionally#465

Open
HuamengJiang wants to merge 2 commits intofacebookincubator:mainfrom
HuamengJiang:export-D91559827
Open

Enable raw size consistency check conditionally#465
HuamengJiang wants to merge 2 commits intofacebookincubator:mainfrom
HuamengJiang:export-D91559827

Conversation

@HuamengJiang
Copy link

Summary:
As we went through the current validations, we can start to deprecate the current top level raw size accounting from the input vector and use the logical size from root column stats instead. We do so via a flag in writer options, which can then be wired up in the different downstream call sites.

Still leaves the flag on for continuous e2e validation (vader).

Differential Revision: D91559827

Huameng (Michael) Jiang added 2 commits February 4, 2026 02:12
Summary:

When making changes in stats collection path and now cross validating raw/logical size calculation from vector and field writer collection, we found some test failures in feature reaper tests due to test data specifying inconsistent input vector type and schema type. The writer supports this upcast implicitly otherwise, so the right thing to do is to support it in a lightweight fashion.

We do still have to fix the test case where it tried to pass integer to a float column.

Differential Revision: D91559828
Summary:
As we went through the current validations, we can start to deprecate the current top level raw size accounting from the input vector and use the logical size from root column stats instead. We do so via a flag in writer options, which can then be wired up in the different downstream call sites.

Still leaves the flag on for continuous e2e validation (vader).

Differential Revision: D91559827
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 4, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 4, 2026

@HuamengJiang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91559827.

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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant