scovich commented on PR #12309: URL: https://github.com/apache/arrow-rs/pull/12309#issuecomment-7046766051
> * Field names are compared as bytes, which orders them as `str` does, so a search does not validate UTF-8 Double checking: The spec requires that a variant object’s field IDs must be listed in lexicographic order of their field names, using unsigned byte ordering of the UTF-8 encodings. So this optimization should not break sort ordering. It might allow an invalid utf8 search key to match an invalid utf8 field that was already present, but hopefully the key was already validated? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
