Package io.trino.tests.hive
Class TestHiveCoercion
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.hive.HiveProductTest
-
- io.trino.tests.hive.TestHiveCoercion
-
public class TestHiveCoercion extends HiveProductTest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestHiveCoercion.AvroRequirementsstatic classTestHiveCoercion.ColumnContextstatic classTestHiveCoercion.Enginestatic classTestHiveCoercion.OrcRequirementsstatic classTestHiveCoercion.ParquetRequirementsstatic classTestHiveCoercion.RcBinaryRequirementsstatic classTestHiveCoercion.RcTextRequirementsstatic classTestHiveCoercion.TextRequirements
-
Field Summary
Fields Modifier and Type Field Description static io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_AVROstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_ORCstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_PARQUETstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_RCBINARYstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_RCTEXTstatic io.trino.tempto.fulfillment.table.hive.HiveTableDefinitionHIVE_COERCION_TEXTFILE-
Fields inherited from class io.trino.tests.hive.HiveProductTest
ERROR_COMMITTING_WRITE_TO_HIVE_RETRY_POLICY
-
-
Constructor Summary
Constructors Constructor Description TestHiveCoercion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<TestHiveCoercion.ColumnContext,String>expectedExceptionsWithContext()protected Map<String,List<Object>>expectedValuesForEngineProvider(TestHiveCoercion.Engine engine, String tableName, String decimalToFloatVal)protected voidinsertTableRows(String tableName, String floatToDoubleType)voidtestHiveCoercionAvro()voidtestHiveCoercionOrc()voidtestHiveCoercionParquet()voidtestHiveCoercionRcBinary()voidtestHiveCoercionRcText()voidtestHiveCoercionTextFile()-
Methods inherited from class io.trino.tests.hive.HiveProductTest
getHiveVersionMajor, getHiveVersionMinor, getHiveVersionPatch, isHiveVersionBefore12
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
testHiveCoercionTextFile
public void testHiveCoercionTextFile()
-
testHiveCoercionOrc
public void testHiveCoercionOrc()
-
testHiveCoercionRcText
public void testHiveCoercionRcText()
-
testHiveCoercionRcBinary
public void testHiveCoercionRcBinary()
-
testHiveCoercionParquet
public void testHiveCoercionParquet()
-
testHiveCoercionAvro
public void testHiveCoercionAvro()
-
expectedValuesForEngineProvider
protected Map<String,List<Object>> expectedValuesForEngineProvider(TestHiveCoercion.Engine engine, String tableName, String decimalToFloatVal)
-
expectedExceptionsWithContext
protected Map<TestHiveCoercion.ColumnContext,String> expectedExceptionsWithContext()
-
-