Skip to content

Commit 5b7d458

Browse files
findinpathhashhar
authored andcommitted
Remove ANALYZE call on materialized view
Materialized Views are analyzed automatically in AWS Redshift now.
1 parent 0f25c5e commit 5b7d458

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugin/trino-redshift/src/test/java/io/trino/plugin/redshift/TestRedshiftTableStatisticsReader.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ public void testMaterializedView()
240240
executeInRedshift("CREATE MATERIALIZED VIEW " + schemaAndTable +
241241
" AS SELECT custkey, mktsegment, comment FROM " + TEST_SCHEMA + ".customer");
242242
executeInRedshift("REFRESH MATERIALIZED VIEW " + schemaAndTable);
243-
executeInRedshift("ANALYZE VERBOSE " + schemaAndTable);
244243
TableStatistics tableStatistics = statsReader.readTableStatistics(
245244
SESSION,
246245
new JdbcTableHandle(

0 commit comments

Comments
 (0)