-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
refactor: Move some logic from URLFunctions.h to URIParser
Summary: There's some UDFs outside of prestosql's URL functions where I'd like to reuse some of the logic I wrote for handling URIs. Specifically: * tryConsumeIPV6Address: this is generally useful for parsing IPv6 addresses * isMultipleInvalidSequences: this is generally useful for determining how many valid subsequences make up an invalid code point from tryGetUtf8CharLength. * extractParameter: this is generally useful for extracting the parameter from a URI's query string This change moves those functions into URIParser where they can be reused. Differential Revision: D66832201
1 parent
37a5ffb
commit 9044c56
Showing
3 changed files
with
165 additions
and
144 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