protected ConnectorRecordSinkProvider recordSinkProvider;
protected void setupHive(String connectorId, String databaseName, String timeZoneId)
{
database = databaseName;
tablePartitionFormat = new SchemaTableName(database, "presto_test_partition_format");
tableUnpartitioned = new SchemaTableName(database, "presto_test_unpartitioned");
tableOffline = new SchemaTableName(database, "presto_test_offline");
tableOfflinePartition = new SchemaTableName(database, "presto_test_offline_partition");
view = new SchemaTableName(database, "presto_test_view");
invalidTable = new SchemaTableName(database, INVALID_TABLE);
tableBucketedStringInt = new SchemaTableName(database, "presto_test_bucketed_by_string_int");
tableBucketedBigintBoolean = new SchemaTableName(database, "presto_test_bucketed_by_bigint_boolean");
tableBucketedDoubleFloat = new SchemaTableName(database, "presto_test_bucketed_by_double_float");
tablePartitionSchemaChange = new SchemaTableName(database, "presto_test_partition_schema_change");
temporaryCreateTable = new SchemaTableName(database, "tmp_presto_test_create_" + randomName());
temporaryCreateSampledTable = new SchemaTableName(database, "tmp_presto_test_create_" + randomName());
temporaryRenameTableOld = new SchemaTableName(database, "tmp_presto_test_rename_" + randomName());
temporaryRenameTableNew = new SchemaTableName(database, "tmp_presto_test_rename_" + randomName());
temporaryCreateView = new SchemaTableName(database, "tmp_presto_test_create_" + randomName());
tableOwner = "presto_test";
invalidTableHandle = new HiveTableHandle("hive", database, INVALID_TABLE, SESSION);
dsColumn = new HiveColumnHandle(connectorId, "ds", 0, HIVE_STRING, StandardTypes.VARCHAR, -1, true);