forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure prefix length does not exceed configured maximum (facebookincu…
…bator#11496) Summary: The check can't make sure the normalizedKeySize is less than or equal to maxNormalizedKeySize. That is possible `normalizedKeySize + encodedSize.value() > maxNormalizedKeySize` but related column is included in the prefix. Move the check to fix this. This is found when doing the PR: facebookincubator#11272 Pull Request resolved: facebookincubator#11496 Reviewed By: tanjialiang Differential Revision: D65850949 Pulled By: xiaoxmeng fbshipit-source-id: 2dc5fcb93f0960544b9df3f2471caa2923c70975
- Loading branch information
1 parent
c423200
commit d4bdc3b
Showing
2 changed files
with
33 additions
and
4 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