You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/21 17:20:27 UTC

[GitHub] [arrow] vvellanki commented on a change in pull request #12655: ARROW-15962: [C++][GANDIVA] Fix unhex errors return

vvellanki commented on a change in pull request #12655:
URL: https://github.com/apache/arrow/pull/12655#discussion_r831353806



##########
File path: cpp/src/gandiva/precompiled/string_ops.cc
##########
@@ -2736,24 +2736,24 @@ const char* to_hex_int32(int64_t context, int32_t data, int32_t* out_len) {
 
 FORCE_INLINE
 const char* from_hex_utf8(int64_t context, const char* text, int32_t text_len,
-                          int32_t* out_len) {
+                          bool text_validity, bool* out_valid, int32_t* out_len) {

Review comment:
       This is now a NULL_INTERNAL function - what should happen if text_validity is false? If the input is null, what should be the output?
   
   I dont see text_validity being used in this function




-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org