[fix](meta) fix bug for using full name in show_full_columns stmt (#28019)
This commit is contained in:
@ -1005,7 +1005,7 @@ public class ShowExecutor {
|
||||
private void handleShowColumn() throws AnalysisException {
|
||||
ShowColumnStmt showStmt = (ShowColumnStmt) stmt;
|
||||
List<List<String>> rows = Lists.newArrayList();
|
||||
DatabaseIf db = ctx.getCurrentCatalog().getDbOrAnalysisException(showStmt.getDb());
|
||||
DatabaseIf db = Env.getCurrentEnv().getInternalCatalog().getDbOrAnalysisException(showStmt.getDb());
|
||||
TableIf table = db.getTableOrAnalysisException(showStmt.getTable());
|
||||
PatternMatcher matcher = null;
|
||||
if (showStmt.getPattern() != null) {
|
||||
|
||||
Reference in New Issue
Block a user