jhugomoore commented on code in PR #3184:
URL: https://github.com/apache/calcite/pull/3184#discussion_r1182865341
##########
core/src/test/java/org/apache/calcite/test/SqlFunctionsTest.java:
##########
@@ -1054,6 +1055,54 @@ private void thereAndBack(byte[] bytes) {
// ok
}
}
+ @Test void testPosition() {
+ assertThat(3, is(position("c", "abcdec")));
+ assertThat(3, is(position("c", "abcdec", 2)));
Review Comment:
Ah great point! I had thought this felt a little off, thanks!
--
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]