From d4dc8afb8710a857e8b0dccef462ab43a4bb0691 Mon Sep 17 00:00:00 2001 From: ChengJie1053 <18033291053@163.com> Date: Mon, 11 Dec 2023 18:19:11 +0800 Subject: [PATCH] Fix nebula query bug (#5029) --- .../engineplugin/nebula/executor/NebulaEngineConnExecutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkis-engineconn-plugins/nebula/src/main/java/org/apache/linkis/engineplugin/nebula/executor/NebulaEngineConnExecutor.java b/linkis-engineconn-plugins/nebula/src/main/java/org/apache/linkis/engineplugin/nebula/executor/NebulaEngineConnExecutor.java index 188ea60ec4..402afd6e17 100644 --- a/linkis-engineconn-plugins/nebula/src/main/java/org/apache/linkis/engineplugin/nebula/executor/NebulaEngineConnExecutor.java +++ b/linkis-engineconn-plugins/nebula/src/main/java/org/apache/linkis/engineplugin/nebula/executor/NebulaEngineConnExecutor.java @@ -333,7 +333,7 @@ private void queryOutput( .map( x -> { try { - return x.asString(); + return x.toString(); } catch (Exception e) { return ""; }