-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zip UDF fast path breaks with non-dense in order elements (#3564)
Summary: Pull Request resolved: #3564 The fuzzer discovered an issue with the Zip UDF #3542 I hadn't accounted for the fact that just because all of the arrays are flat and the same size, doesn't mean they all have the same offsets into their elements Vectors. E.g. with 3 arrays of size 3, the offsets could be 0, 3, 6 or 6, 3, 0 or 0, 4, 7 (if there are unused elements) When this is the case the fast path added to the Zip UDF produces incorrect results. The fix is just to validate the offsets are the same in addition to the sizes. Reviewed By: kagamiori Differential Revision: D42183237 fbshipit-source-id: 5aa720d9fb10eaa777f186dcc08d056e639a8ee6
- Loading branch information
1 parent
bacce93
commit 797711e
Showing
2 changed files
with
184 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters