wuchong commented on a change in pull request #11186: [FLINK-16200][sql] 
Support JSON_EXISTS for blink planner
URL: https://github.com/apache/flink/pull/11186#discussion_r399162118
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/planner/expressions/JsonFunctionsTest.scala
 ##########
 @@ -125,4 +127,53 @@ class JsonFunctionsTest extends ExpressionTestBase {
     }
   }
 
+  @Test
+  def testJsonExists(): Unit = {
 
 Review comment:
   Could you add a more complex test? Checking existence on a nested fields? 
e.g. `json_exist(f0, 'lax $.info.address[0].state')`. You can take [Sql 
Server](https://docs.microsoft.com/en-us/sql/t-sql/functions/json-value-transact-sql?view=sql-server-ver15#lax-mode-and-strict-mode)
 as an example. 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to