Unverified Commit 49261951 authored by Licho's avatar Licho Committed by GitHub

fix: create view as to ddl catalog (#2786)

Signed-off-by: 's avatarlicho <lecho.sun@gmail.com>
parent efd8cbb3
...@@ -29,7 +29,7 @@ import java.util.regex.Pattern; ...@@ -29,7 +29,7 @@ import java.util.regex.Pattern;
public enum SqlType { public enum SqlType {
SELECT("SELECT", "^SELECT.*"), SELECT("SELECT", "^SELECT.*"),
CREATE("CREATE", "^CREATE(?!.*AS SELECT).*$"), CREATE("CREATE", "^CREATE(?!\\s+TABLE.*AS SELECT).*$"),
DROP("DROP", "^DROP.*"), DROP("DROP", "^DROP.*"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment