Remove unnecessary logger
*/
package com.facebook.presto.tests.hive;
-import io.airlift.log.Logger;
import io.prestodb.tempto.AfterTestWithContext;
import io.prestodb.tempto.BeforeTestWithContext;
import io.prestodb.tempto.ProductTest;
@@ -48,7 +47,6 @@ public class TestAvroSchemaDefinedTable
private static final String INCOMPATIBLE_TYPE_SCHEMA = "file:///docker/volumes/presto-product-tests/avro/incompatible_type_schema.avsc";
private static final String SELECT_STAR = "SELECT * FROM " + TABLE_NAME;
private static final String COLUMNS_IN_TABLE = "SHOW COLUMNS IN " + TABLE_NAME;
- private static final Logger LOGGER = Logger.get(TestAvroSchemaDefinedTable.class);
@BeforeTestWithContext
public void createAndLoadTable()
@@ -60,13 +58,8 @@ public class TestAvroSchemaDefinedTable
@AfterTestWithContext
public void dropTestTable()
{
- try {
query(format("DROP TABLE IF EXISTS %s", TABLE_NAME));
}
- catch (Exception e) {
- LOGGER.warn(e, "failed to clean up");
- }
- }
@Test(groups = {AVRO, HIVE_CONNECTOR})
public void testSelectTable()
