Package io.trino.tests.product.hive
Class TestHiveCoercion
java.lang.Object
io.trino.tempto.ProductTest
io.trino.tests.product.hive.HiveProductTest
io.trino.tests.product.hive.TestHiveCoercion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic final classstatic final classstatic final classstatic final classstatic final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionstatic final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Map<TestHiveCoercion.ColumnContext,String> expectedValuesForEngineProvider(Engine engine, String tableName, String decimalToFloatVal, String floatToDecimalVal) protected voidinsertTableRows(String tableName, String floatToDoubleType) voidvoidvoidvoidvoidvoidMethods inherited from class io.trino.tests.product.hive.HiveProductTest
getHiveVersionMajor, getHiveVersionMinor, getHiveVersionPatch, isHiveWithBrokenAvroTimestamps
-
Field Details
-
HIVE_COERCION_TEXTFILE
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_TEXTFILE -
HIVE_COERCION_PARQUET
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_PARQUET -
HIVE_COERCION_AVRO
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_AVRO -
HIVE_COERCION_ORC
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_ORC -
HIVE_COERCION_RCTEXT
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_RCTEXT -
HIVE_COERCION_RCBINARY
public static final io.trino.tempto.fulfillment.table.hive.HiveTableDefinition HIVE_COERCION_RCBINARY
-
-
Constructor Details
-
TestHiveCoercion
public TestHiveCoercion()
-
-
Method Details
-
testHiveCoercionTextFile
public void testHiveCoercionTextFile() -
testHiveCoercionOrc
public void testHiveCoercionOrc() -
testHiveCoercionRcText
public void testHiveCoercionRcText() -
testHiveCoercionRcBinary
public void testHiveCoercionRcBinary() -
testHiveCoercionParquet
public void testHiveCoercionParquet() -
testHiveCoercionAvro
public void testHiveCoercionAvro() -
insertTableRows
-
expectedValuesForEngineProvider
-
expectedExceptionsWithContext
-