Skip to content
Merged
Show file tree
Hide file tree
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 @@ -19,6 +19,7 @@
import io.trino.testing.BaseFailureRecoveryTest;
import io.trino.testing.QueryRunner;
import io.trino.tpch.TpchTable;
import org.junit.jupiter.api.Test;

import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -53,54 +54,62 @@ protected QueryRunner createQueryRunner(
});
}

@Test
@Override
protected boolean areWriteRetriesSupported()
{
return true;
}

@Test
@Override
protected void testAnalyzeTable()
{
// This connector does not support analyze
abort("skipped");
}

@Test
@Override
protected void testDelete()
{
// This connector does not support modifying table rows
abort("skipped");
}

@Test
@Override
protected void testDeleteWithSubquery()
{
// This connector does not support modifying table rows
abort("skipped");
}

@Test
@Override
protected void testMerge()
{
// This connector does not support modifying table rows
abort("skipped");
}

@Test
@Override
protected void testRefreshMaterializedView()
{
// This connector does not support creating materialized views
abort("skipped");
}

@Test
@Override
protected void testUpdate()
{
// This connector does not support modifying table rows
abort("skipped");
}

@Test
@Override
protected void testUpdateWithSubquery()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import io.trino.plugin.jdbc.BaseJdbcFailureRecoveryTest;
import io.trino.testing.QueryRunner;
import io.trino.tpch.TpchTable;
import org.junit.jupiter.api.Test;

import java.util.List;
import java.util.Map;
Expand Down Expand Up @@ -55,13 +56,15 @@ protected QueryRunner createQueryRunner(
});
}

@Test
@Override
protected void testUpdateWithSubquery()
{
assertThatThrownBy(super::testUpdateWithSubquery).hasMessageContaining("Unexpected Join over for-update table scan");
abort("skipped");
}

@Test
@Override
protected void testUpdate()
{
Expand Down