forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(dwio): Rewrite partition file path unescape utility function…
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Refactor the uri unescape utility function using folly:: uriUnescape NOTE: UriEscape refactor is not part of this PR due to its underlying escape char set is only a subset of folly::uriEscape's char set causing slightly behavior discrepancy Pull Request resolved: facebookincubator#12036 Test Plan: ``` buck test //velox/dwio/catalog/fbhive/test:file-utils-tests ``` ## Koski error events before the change ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` https://fburl.com/scuba/xldb_koski_queries/c9z0941x Reviewed By: spershin Differential Revision: D67917130 Pulled By: darrenfu fbshipit-source-id: 2b54b5291bfb9a5d58f09e2c08dffea49702184c
- Loading branch information
1 parent
c965e7c
commit b13e209
Showing
4 changed files
with
35 additions
and
25 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
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