Shekharrajak commented on code in PR #28792:
URL: https://github.com/apache/flink/pull/28792#discussion_r4110853927
##########
flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/runtime/batch/sql/CreateConnectionITCase.java:
##########
@@ -161,6 +161,38 @@ void testShowCreateSecretOnlyTemporaryConnection() {
.containsOnly(entry("type",
"default")));
}
+ @Test
+ void testDescribeTemporaryConnection() {
+ tEnv().executeSql(
+ "CREATE TEMPORARY CONNECTION my_conn COMMENT 'hi
there' "
+ + "WITH ('type' = 'default', 'k' = 'v',
'password' = 'super-secret')");
+
+ List<Row> rows = collectRows("DESCRIBE CONNECTION my_conn");
+
+ assertThat(rows)
+ .contains(
Review Comment:
Thanks , updated
https://github.com/apache/flink/pull/28792/changes/00550f0b06208df6cedf59a951b0fdd523c4c54b
--
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]