dmitry-chirkov-dremio commented on code in PR #50112:
URL: https://github.com/apache/arrow/pull/50112#discussion_r3365952439


##########
cpp/src/gandiva/precompiled/time.cc:
##########
@@ -268,7 +268,12 @@ static const int WEEK_LEN[] = {6, 6, 7, 9, 8, 6, 8};
       }                                                                        
          \
     }                                                                          
          \
     if (dateSearch == 0) {                                                     
          \
-      gdv_fn_context_set_error_msg(context, "The weekday in this entry is 
invalid");     \
+      char err_msg[160];                                                       
          \
+      snprintf(err_msg, sizeof(err_msg),                                       
          \
+               "NEXT_DAY: '%.*s' is not a recognized weekday "                 
          \
+               "(expected MON|TUE|WED|THU|FRI|SAT|SUN)",                       
          \

Review Comment:
   are these the only recognizable values? Can it be "mon" or "Monday"?



-- 
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]

Reply via email to