diff --git a/linkis-computation-governance/linkis-jdbc-driver/src/main/scala/org/apache/linkis/ujes/jdbc/UJESSQLResultSet.scala b/linkis-computation-governance/linkis-jdbc-driver/src/main/scala/org/apache/linkis/ujes/jdbc/UJESSQLResultSet.scala index 0ed47925c6..dd5ace50e7 100644 --- a/linkis-computation-governance/linkis-jdbc-driver/src/main/scala/org/apache/linkis/ujes/jdbc/UJESSQLResultSet.scala +++ b/linkis-computation-governance/linkis-jdbc-driver/src/main/scala/org/apache/linkis/ujes/jdbc/UJESSQLResultSet.scala @@ -244,6 +244,8 @@ class UJESSQLResultSet( case null => throw new LinkisSQLException(LinkisSQLErrorCode.METADATA_EMPTY) case "char" | "varchar" | "nvarchar" | "string" => value case "short" => value.toShort + case "smallint" => value.toShort + case "tinyint" => value.toShort case "int" => value.toInt case "long" => value.toLong case "float" => value.toFloat