Skip to content

Commit

Permalink
Remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kasiafi authored and kokosing committed May 31, 2022
1 parent 3595a4f commit 1a2475d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import io.trino.execution.warnings.WarningCollector;
import io.trino.metadata.ColumnPropertyManager;
import io.trino.metadata.FunctionKind;
import io.trino.metadata.FunctionManager;
import io.trino.metadata.FunctionMetadata;
import io.trino.metadata.MaterializedViewDefinition;
import io.trino.metadata.MaterializedViewPropertyManager;
Expand Down Expand Up @@ -173,7 +172,6 @@ public final class ShowQueriesRewrite
@Inject
public ShowQueriesRewrite(
Metadata metadata,
FunctionManager functionManager,
SqlParser parser,
AccessControl accessControl,
SessionPropertyManager sessionPropertyManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,6 @@ private AnalyzerFactory createAnalyzerFactory(QueryExplainerFactory queryExplain
new DescribeOutputRewrite(sqlParser),
new ShowQueriesRewrite(
plannerContext.getMetadata(),
plannerContext.getFunctionManager(),
sqlParser,
accessControl,
sessionPropertyManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5990,7 +5990,6 @@ private Analyzer createAnalyzer(Session session, AccessControl accessControl)
{
StatementRewrite statementRewrite = new StatementRewrite(ImmutableSet.of(new ShowQueriesRewrite(
plannerContext.getMetadata(),
plannerContext.getFunctionManager(),
SQL_PARSER,
accessControl,
new SessionPropertyManager(),
Expand Down

0 comments on commit 1a2475d

Please sign in to comment.