Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4220,7 +4220,7 @@ protected AbstractLongAssert<?> testTaskScaleWriters(
String tableName = "task_scale_writers_" + randomNameSuffix();
try {
@Language("SQL") String createTableSql = format(
"CREATE TABLE %s WITH (format = 'ORC') AS SELECT * FROM tpch.sf5.orders",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

"CREATE TABLE %s WITH (format = 'ORC') AS SELECT * FROM tpch.sf2.orders",
tableName);
assertUpdate(
Session.builder(session)
Expand All @@ -4238,7 +4238,7 @@ protected AbstractLongAssert<?> testTaskScaleWriters(
.setSystemProperty(FAULT_TOLERANT_EXECUTION_HASH_DISTRIBUTION_WRITE_TASK_TARGET_SIZE, "2GB")
.build(),
createTableSql,
(long) computeActual("SELECT count(*) FROM tpch.sf5.orders").getOnlyValue());
3000000);

long files = (long) computeScalar("SELECT count(DISTINCT \"$path\") FROM " + tableName);
return assertThat(files);
Expand Down