Package io.trino.tests.product.hive
Class TestHiveBucketedTables
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.product.hive.HiveProductTest
-
- io.trino.tests.product.hive.TestHiveBucketedTables
-
- All Implemented Interfaces:
io.trino.tempto.RequirementsProvider
public class TestHiveBucketedTables extends HiveProductTest implements io.trino.tempto.RequirementsProvider
-
-
Field Summary
Fields Modifier and Type Field Description static io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionBUCKETED_NATIONstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionBUCKETED_NATION_PREPAREDstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionBUCKETED_PARTITIONED_NATIONstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionBUCKETED_SORTED_NATION-
Fields inherited from class io.trino.tests.product.hive.HiveProductTest
ERROR_COMMITTING_WRITE_TO_HIVE_RETRY_POLICY
-
-
Constructor Summary
Constructors Constructor Description TestHiveBucketedTables()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description io.trino.tempto.RequirementgetRequirements(io.trino.tempto.configuration.Configuration configuration)voidtestAllowMultipleFilesPerBucket()voidtestBucketingVersion()voidtestBucketingWithUnsupportedDataTypes(BucketingType bucketingType, String columnToBeBucketed)static Object[][]testBucketingWithUnsupportedDataTypesDataProvider()voidtestCreateBucketedTableAsSelect()voidtestCreatePartitionedBucketedTableAsSelect()voidtestIgnorePartitionBucketingIfNotBucketed()voidtestInsertIntoBucketedTables()voidtestInsertPartitionedBucketed()voidtestSelectAfterMultipleInserts()voidtestSelectAfterMultipleInsertsForPartitionedTable()voidtestSelectAfterMultipleInsertsForSortedTable()voidtestSelectFromEmptyBucketedTableEmptyTablesAllowed()voidtestSelectFromIncompleteBucketedTableEmptyTablesAllowed()voidtestSelectStar()-
Methods inherited from class io.trino.tests.product.hive.HiveProductTest
getHiveVersionMajor, getHiveVersionMinor, getHiveVersionPatch, isHiveVersionBefore12, isHiveWithBrokenAvroTimestamps
-
-
-
-
Field Detail
-
BUCKETED_NATION
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition BUCKETED_NATION
-
BUCKETED_NATION_PREPARED
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition BUCKETED_NATION_PREPARED
-
BUCKETED_SORTED_NATION
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition BUCKETED_SORTED_NATION
-
BUCKETED_PARTITIONED_NATION
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition BUCKETED_PARTITIONED_NATION
-
-
Method Detail
-
getRequirements
public io.trino.tempto.Requirement getRequirements(io.trino.tempto.configuration.Configuration configuration)
- Specified by:
getRequirementsin interfaceio.trino.tempto.RequirementsProvider
-
testSelectStar
public void testSelectStar()
-
testIgnorePartitionBucketingIfNotBucketed
public void testIgnorePartitionBucketingIfNotBucketed()
-
testAllowMultipleFilesPerBucket
public void testAllowMultipleFilesPerBucket()
-
testSelectAfterMultipleInserts
public void testSelectAfterMultipleInserts()
-
testSelectAfterMultipleInsertsForSortedTable
public void testSelectAfterMultipleInsertsForSortedTable()
-
testSelectAfterMultipleInsertsForPartitionedTable
public void testSelectAfterMultipleInsertsForPartitionedTable()
-
testSelectFromEmptyBucketedTableEmptyTablesAllowed
public void testSelectFromEmptyBucketedTableEmptyTablesAllowed()
-
testSelectFromIncompleteBucketedTableEmptyTablesAllowed
public void testSelectFromIncompleteBucketedTableEmptyTablesAllowed()
-
testInsertPartitionedBucketed
public void testInsertPartitionedBucketed()
-
testCreatePartitionedBucketedTableAsSelect
public void testCreatePartitionedBucketedTableAsSelect()
-
testInsertIntoBucketedTables
public void testInsertIntoBucketedTables()
-
testCreateBucketedTableAsSelect
public void testCreateBucketedTableAsSelect()
-
testBucketingVersion
public void testBucketingVersion()
-
testBucketingWithUnsupportedDataTypes
public void testBucketingWithUnsupportedDataTypes(BucketingType bucketingType, String columnToBeBucketed)
-
testBucketingWithUnsupportedDataTypesDataProvider
public static Object[][] testBucketingWithUnsupportedDataTypesDataProvider()
-
-