Skip to content

Commit

Permalink
Updated unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
lriggs committed Mar 22, 2024
1 parent 2ed1ab4 commit 956f60d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/gandiva/tests/utf8_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ TEST_F(TestUtf8, TestIlike) {
auto res = field("res", boolean());

// build expressions.
// like(literal(s), a)
// ilike(literal(s), a)

auto node_a = TreeExprBuilder::MakeField(field_a);
auto literal_s = TreeExprBuilder::MakeStringLiteral("%spark%");
auto literal_s = TreeExprBuilder::MakeStringLiteral("%sparK%");
auto is_like = TreeExprBuilder::MakeFunction("ilike", {node_a, literal_s}, boolean());
auto expr = TreeExprBuilder::MakeExpression(is_like, res);

Expand Down

0 comments on commit 956f60d

Please sign in to comment.