Skip to content

Commit

Permalink
[INLONG-11028][SDK] Transform SQL support UrlEncode & UrlDecode funct…
Browse files Browse the repository at this point in the history
…ions

Update TestUrlDecodeFunction.java for return "" if pass null
  • Loading branch information
MOONSakura0614 committed Oct 9, 2024
1 parent ac17e4b commit 9cdcd59
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ public void testUrlDecodeFunction() throws Exception {
// case2: url_decode(null) -> null
List<String> output2 = processor2.transform("|apple|banana|cloud|1", new HashMap<>());
Assert.assertEquals(1, output2.size());
Assert.assertEquals(output2.get(0), "result=null");
Assert.assertEquals(output2.get(0), "result=");
}
}

0 comments on commit 9cdcd59

Please sign in to comment.