Skip to content

Commit 83f9a5b

Browse files
committed
#AI commit# 开发阶段: 去除code打印
1 parent 98bd138 commit 83f9a5b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/interceptor/impl

linkis-computation-governance/linkis-entrance/src/main/scala/org/apache/linkis/entrance/interceptor/impl/Explain.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ object SQLExplain extends Explain {
145145
error
146146
.append("SET LOCATION is not allowed. ")
147147
.append("Please remove the SET LOCATION clause and retry. ")
148-
.append(s"SQL: ${if (code.length > 100) code.take(100) + "..." else code}")
149148
return false
150149
}
151150

@@ -159,7 +158,6 @@ object SQLExplain extends Explain {
159158
error
160159
.append("CREATE TABLE with LOCATION clause is not allowed. ")
161160
.append("Please remove the LOCATION clause and retry. ")
162-
.append(s"SQL: ${if (code.length > 100) code.take(100) + "..." else code}")
163161
return false
164162
}
165163

0 commit comments

Comments
 (0)