You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/01/26 04:06:48 UTC
[GitHub] [incubator-kyuubi] pan3793 commented on a change in pull request #1843: [KYUUBI #1839] Minor refactor OperationUtil
pan3793 commented on a change in pull request #1843:
URL: https://github.com/apache/incubator-kyuubi/pull/1843#discussion_r792300645
##########
File path: externals/kyuubi-flink-sql-engine/src/main/java/org/apache/kyuubi/engine/flink/result/ResultSetUtil.java
##########
@@ -18,41 +18,21 @@
package org.apache.kyuubi.engine.flink.result;
-import java.util.ArrayList;
import java.util.List;
import org.apache.flink.table.api.DataTypes;
import org.apache.flink.table.api.ResultKind;
import org.apache.flink.table.catalog.Column;
-import org.apache.flink.table.types.DataType;
-import org.apache.flink.table.types.logical.VarCharType;
import org.apache.flink.types.Row;
-/** Utility class for flink operation. */
-public class OperationUtil {
+/** Utility class for flink result sets. */
+public class ResultSetUtil {
Review comment:
How about rewrite using Scala? Then we can avoid some `.asJava`
--
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: commits-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org