TsReaper commented on a change in pull request #9208: 
[FLINK-13378][table-planner-blink] Fix bug: Blink-planner not support 
SingleValueAggFunction
URL: https://github.com/apache/flink/pull/9208#discussion_r306643885
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/runtime/batch/sql/join/ScalarQueryITCase.scala
 ##########
 @@ -46,6 +49,18 @@ class ScalarQueryITCase extends BatchTestBase {
     row(6, null)
   )
 
-}
+  @Before
+  override def before(): Unit = {
+    super.before()
+    registerCollection("l", l, INT_DOUBLE, "a, b")
+    registerCollection("r", r, INT_DOUBLE, "c, d")
+  }
 
+  @Test
+  def testScalarQuery(): Unit = {
 
 Review comment:
   No. I mean something like `SELECT * FROM l WHERE a = (SELECT c FROM r WHERE 
c > 3)`, so that the inner select produces more than 1 record. We should expect 
an validation failure on this case.

----------------------------------------------------------------
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