zhztheplayer commented on a change in pull request #1146: [CALCITE-2975] Add
the JSON_REMOVE function
URL: https://github.com/apache/calcite/pull/1146#discussion_r273935787
##########
File path:
core/src/test/java/org/apache/calcite/rel/rel2sql/RelToSqlConverterTest.java
##########
@@ -3246,6 +3246,13 @@ private void checkLiteral2(String expression, String
expected) {
sql(query).ok(expected);
}
+ @Test public void testJsonRemove() {
+ String query = "select json_remove(\"product_name\", '$[0]') from
\"product\"";
Review comment:
~~Seems to be a little confusing? `\"product_name\"` is not a valid JSON
doc.~~
Sorry it was invalid comment - please ignore.
----------------------------------------------------------------
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