mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improved hive sql parser. for issue #2051
This commit is contained in:
@@ -2537,6 +2537,12 @@ public class SQLASTOutputVisitor extends SQLASTVisitorAdapter implements Paramet
|
||||
print(')');
|
||||
}
|
||||
|
||||
SQLName storedAs = x.getStoredAs();
|
||||
if (storedAs != null) {
|
||||
print0(ucase ? " STORE AS " : " store as ");
|
||||
printExpr(storedAs);
|
||||
}
|
||||
|
||||
SQLSelect select = x.getSelect();
|
||||
if (printSelect && select != null) {
|
||||
println();
|
||||
|
||||
Reference in New Issue
Block a user