-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
refactor(dwio): Rewrite partition file path unescape utility functions using folly::uriUnescape() #12036
Conversation
This pull request was exported from Phabricator. Differential Revision: D67917130 |
✅ Deploy Preview for meta-velox canceled.
|
Summary: To troubleshoot an unreproducable hex string unescape error in prod: https://fburl.com/scuba/xldb_koski_queries/1o0x05d8 ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
8b2739f
to
96ea958
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…kincubator#12036) Summary: To troubleshoot an unreproducable hex string unescape error in prod: https://fburl.com/scuba/xldb_koski_queries/1o0x05d8 ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
96ea958
to
8e39743
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…kincubator#12036) Summary: To troubleshoot an unreproducable hex string unescape error in prod: https://fburl.com/scuba/xldb_koski_queries/1o0x05d8 ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
8e39743
to
29bc912
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D67917130 |
29bc912
to
084a464
Compare
…unctions using folly::uriEscape() (facebookincubator#12036) Summary: Refactor the uri escape/unescape utility function to solve an unreproducable hex string unescape error in prod: https://fburl.com/scuba/xldb_koski_queries/1o0x05d8 ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
This pull request was exported from Phabricator. Differential Revision: D67917130 |
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…unctions using folly::uriEscape() (facebookincubator#12036) Summary: Pull Request resolved: facebookincubator#12036 Refactor the uri escape/unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
084a464
to
19b412c
Compare
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Refactor the uri unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
19b412c
to
d8e8d0c
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Pull Request resolved: facebookincubator#12036 Refactor the uri unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
d8e8d0c
to
59c3e80
Compare
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Refactor the uri unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
59c3e80
to
3b29e6c
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Refactor the uri unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
3b29e6c
to
f3ac5b0
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
…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 ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
…s using folly::uriUnescape() (facebookincubator#12036) Summary: Refactor the uri unescape utility function to solve an unreproducable hex string unescape error in prod ``` Expression: (*__errno_location ()) != 34 && end == tmp.data() + HEX_WIDTH Function: unescapePathName File: fbcode/velox/dwio/catalog/fbhive/FileUtils.cpp Line: 154 ``` Reviewed By: spershin Differential Revision: D67917130
c46432e
to
0cbe8a5
Compare
@darrenfu has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…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 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
0cbe8a5
to
816a542
Compare
This pull request was exported from Phabricator. Differential Revision: D67917130 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
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
Differential Revision: D67917130