Skip to content

Commit 557f350

Browse files
committed
【fix】remove local_sql_plugin judgment
1 parent b16a9fd commit 557f350

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

core/src/main/java/com/dtstack/flink/sql/parser/SqlParser.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ public static SqlTree parseSql(String sql) throws Exception {
6464
throw new RuntimeException("sql is not null");
6565
}
6666

67-
if(LOCAL_SQL_PLUGIN_ROOT == null){
68-
throw new RuntimeException("need to set local sql plugin root");
69-
}
70-
7167
sql = DtStringUtil.dealSqlComment(sql)
7268
.replaceAll("\r\n", " ")
7369
.replaceAll("\n", " ")

0 commit comments

Comments
 (0)