presto-main/src/main/java/io/prestosql/sql/planner/optimizations/MetadataQueryOptimizer.java/MetadataQueryOptimizer/visitTableScan
class MetadataQueryOptimizer:        @Override
        public PlanNode visitTableScan(TableScanNode node, RewriteContext<Void> context)
        {
            return replacement;
        }