Package io.trino.tests.product.hive
Class BaseTestHiveCoercion
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.hive.HiveProductTest
io.trino.tests.product.hive.BaseTestHiveCoercion
- Direct Known Subclasses:
TestHiveCoercionOnPartitionedTable,TestHiveCoercionOnUnpartitionedTable
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncolumnContext(String format, String column) columnContext(String version, String format, String column) protected voiddoTestHiveCoercion(io.trino.tempto.fulfillment.table.hive.HiveTableDefinition tableDefinition) protected Map<BaseTestHiveCoercion.ColumnContext,String> protected Map<BaseTestHiveCoercion.ColumnContext,String> expectedValuesForEngineProvider(Engine engine, String tableName, String decimalToFloatVal, String floatToDecimalVal) protected voidinsertTableRows(String tableName, String floatToDoubleType) protected static io.trino.tempto.fulfillment.table.TableInstance<?>mutableTableInstanceOf(io.trino.tempto.fulfillment.table.TableDefinition tableDefinition) removeUnsupportedColumnsForHive(List<String> columns, String tableName) removeUnsupportedColumnsForTrino(List<String> columns, String tableName) Methods inherited from class io.trino.tests.product.hive.HiveProductTest
getHiveVersionMajor, getHiveVersionMinor, getHiveVersionPatch, isHiveWithBrokenAvroTimestamps
-
Constructor Details
-
BaseTestHiveCoercion
public BaseTestHiveCoercion()
-
-
Method Details
-
doTestHiveCoercion
protected void doTestHiveCoercion(io.trino.tempto.fulfillment.table.hive.HiveTableDefinition tableDefinition) -
insertTableRows
-
expectedValuesForEngineProvider
-
removeUnsupportedColumnsForHive
-
removeUnsupportedColumnsForTrino
-
expectedExceptionsWithHiveContext
-
expectedExceptionsWithTrinoContext
-
mutableTableInstanceOf
protected static io.trino.tempto.fulfillment.table.TableInstance<?> mutableTableInstanceOf(io.trino.tempto.fulfillment.table.TableDefinition tableDefinition) -
columnContext
public static BaseTestHiveCoercion.ColumnContext columnContext(String version, String format, String column) -
columnContext
-