anthonylouisbsb commented on a change in pull request #10195:
URL: https://github.com/apache/arrow/pull/10195#discussion_r623264542



##########
File path: cpp/src/gandiva/precompiled/string_ops_test.cc
##########
@@ -1088,4 +1088,53 @@ TEST(TestStringOps, TestSplitPart) {
   EXPECT_EQ(std::string(out_str, out_len), "ååçåå");
 }
 
+TEST(TestStringOps, TestToHex) {
+  gandiva::ExecutionContext ctx;
+  uint64_t ctx_ptr = reinterpret_cast<gdv_int64>(&ctx);
+  gdv_int32 out_len = 0;
+  gdv_int32 in_len = 0;
+  const char* out_str;
+
+  in_len = 10;
+  out_str = to_hex_binary(ctx_ptr, "TestString", in_len, &out_len);

Review comment:
       Changed the tests




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to