Skip to content

Commit

Permalink
Fix error message of SnowflakeClient.toWriteMapping
Browse files Browse the repository at this point in the history
Also, enable testInsertArray test.
  • Loading branch information
ebyhr committed Mar 26, 2024
1 parent 7f636db commit c8ce743
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public WriteMapping toWriteMapping(ConnectorSession session, Type type)
return writeMappingFunction.convert(type);
}

throw new TrinoException(NOT_SUPPORTED, "Unsupported column type: " + type.getDisplayName() + ", simple:" + simple);
throw new TrinoException(NOT_SUPPORTED, "Unsupported column type: " + type.getDisplayName());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,6 @@ public void testAlterTableRenameColumnToLongName()
assertQuery("SELECT x FROM " + tableName, "VALUES 123");
}

@Test
@Override
public void testInsertArray()
{
// Snowflake does not support this feature.
abort("Not supported");
}

@Test
@Override
public void testInsertRowConcurrently()
Expand Down

0 comments on commit c8ce743

Please sign in to comment.