asereda-gs commented on a change in pull request #800:
[CALCITE-2460][CALCITE-2459] Add implementation of To_Base64 and From_Base64
to SqlFunctions
URL: https://github.com/apache/calcite/pull/800#discussion_r298726134
##########
File path:
core/src/test/java/org/apache/calcite/sql/test/SqlOperatorBaseTest.java
##########
@@ -4277,6 +4277,76 @@ private void checkNullOperand(SqlTester tester, String
op) {
tester.checkNull("ASCII(cast(null as varchar(1)))");
}
+ @Test public void testToBase64() {
+ final SqlTester tester1 = tester(SqlLibrary.MYSQL);
Review comment:
can you pls add test for empty / single char string(s) ?
----------------------------------------------------------------
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]
With regards,
Apache Git Services