pan3793 commented on code in PR #4701:
URL: https://github.com/apache/kyuubi/pull/4701#discussion_r1166259604
##########
externals/kyuubi-flink-sql-engine/src/test/scala/org/apache/kyuubi/engine/flink/operation/FlinkOperationSuite.scala:
##########
@@ -1066,6 +1066,32 @@ abstract class FlinkOperationSuite extends
HiveJDBCTestHelper with WithFlinkTest
}
}
+ test("ensure data is exactly-once added to the resultSet") {
+ withSessionConf()(Map(ENGINE_FLINK_MAX_ROWS.key -> "20"))(Map.empty) {
+ withJdbcStatement() { statement =>
+ statement.execute(
+ """
+ |create table tbl_src (
+ | a bigint
+ | ) with (
+ | 'connector' = 'datagen',
+ | 'rows-per-second'='1',
+ | 'fields.a.kind'='sequence',
+ | 'fields.a.start'='1',
+ | 'fields.a.end'='5'
+ | )
+ |""".stripMargin)
+ val resultSet = statement.executeQuery(s"select a from tbl_src")
Review Comment:
the leading `s` is not required here
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]