You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/10/12 12:05:34 UTC

[GitHub] [flink] slinkydeveloper commented on a change in pull request #17441: [FLINK-24461][table] PrintUtils common now accepts only internal data types

slinkydeveloper commented on a change in pull request #17441:
URL: https://github.com/apache/flink/pull/17441#discussion_r727070139



##########
File path: flink-table/flink-sql-client/src/test/java/org/apache/flink/table/client/gateway/local/LocalExecutorITCase.java
##########
@@ -466,8 +476,14 @@ private void executeStreamQueryTable(
                 IntStream.rangeClosed(1, result.getPayload())
                         .forEach(
                                 (page) -> {
-                                    for (Row row : executor.retrieveResultPage(resultID, page)) {
-                                        actualResults.add(row.toString());
+                                    for (RowData row :
+                                            executor.retrieveResultPage(resultID, page)) {
+                                        actualResults.add(
+                                                StringUtils.arrayAwareToString(

Review comment:
       `PrintUtils` might return nested arrays for `Row` and other structure types.




-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org