@Test
public void testGetTableSchemaUnpartitioned()
throws Exception
{
ConnectorTableHandle tableHandle = getTableHandle(tableUnpartitioned);
ConnectorTableMetadata tableMetadata = metadata.getTableMetadata(tableHandle);
Map<String, ColumnMetadata> map = uniqueIndex(tableMetadata.getColumns(), columnNameGetter());
assertPrimitiveField(map, 0, "t_string", VARCHAR, false);
assertPrimitiveField(map, 1, "t_tinyint", BIGINT, false);