Package io.trino.tests.product.iceberg
Class TestIcebergSparkCompatibility
- java.lang.Object
-
- io.trino.tempto.ProductTest
-
- io.trino.tests.product.iceberg.TestIcebergSparkCompatibility
-
public class TestIcebergSparkCompatibility extends io.trino.tempto.ProductTestTests compatibility between Iceberg connector and Spark Iceberg.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTestIcebergSparkCompatibility.CreateModestatic classTestIcebergSparkCompatibility.StorageFormat
-
Constructor Summary
Constructors Constructor Description TestIcebergSparkCompatibility()
-
Method Summary
-
-
-
Method Detail
-
testTrinoWithUnsupportedFileFormat
public void testTrinoWithUnsupportedFileFormat(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testTrinoReadingSparkData
public void testTrinoReadingSparkData(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testSparkReadingTrinoData
public void testSparkReadingTrinoData(TestIcebergSparkCompatibility.StorageFormat storageFormat, TestIcebergSparkCompatibility.CreateMode createMode)
-
testSparkReadingTrinoDataDataProvider
public Object[][] testSparkReadingTrinoDataDataProvider()
-
testSparkReadTrinoUuid
public void testSparkReadTrinoUuid(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testSparkCreatesTrinoDrops
public void testSparkCreatesTrinoDrops(int specVersion)
-
testTrinoCreatesSparkDrops
public void testTrinoCreatesSparkDrops()
-
testSparkReadsTrinoPartitionedTable
public void testSparkReadsTrinoPartitionedTable(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testTrinoReadsSparkPartitionedTable
public void testTrinoReadsSparkPartitionedTable(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testTrinoReadingCompositeSparkData
public void testTrinoReadingCompositeSparkData(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testSparkReadingCompositeTrinoData
public void testSparkReadingCompositeTrinoData(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testTrinoReadingSparkIcebergTablePropertiesData
public void testTrinoReadingSparkIcebergTablePropertiesData(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testTrinoReadingNestedSparkData
public void testTrinoReadingNestedSparkData(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testSparkReadingNestedTrinoData
public void testSparkReadingNestedTrinoData(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testIdBasedFieldMapping
public void testIdBasedFieldMapping(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testReadAfterPartitionEvolution
public void testReadAfterPartitionEvolution(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testTrinoShowingSparkCreatedTables
public void testTrinoShowingSparkCreatedTables(int specVersion)
-
testTrinoWritingDataWithObjectStorageLocationProvider
public void testTrinoWritingDataWithObjectStorageLocationProvider(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testTrinoWritingDataWithWriterDataPathSet
public void testTrinoWritingDataWithWriterDataPathSet(TestIcebergSparkCompatibility.StorageFormat storageFormat, int specVersion)
-
testStringPartitioningWithSpecialCharactersCtasInTrino
public void testStringPartitioningWithSpecialCharactersCtasInTrino()
-
testStringPartitioningWithSpecialCharactersInsertInTrino
public void testStringPartitioningWithSpecialCharactersInsertInTrino()
-
testStringPartitioningWithSpecialCharactersInsertInSpark
public void testStringPartitioningWithSpecialCharactersInsertInSpark()
-
testInsertReadingFromParquetTableWithNestedRowFieldNotPresentInDataFile
public void testInsertReadingFromParquetTableWithNestedRowFieldNotPresentInDataFile()
-
testTrinoSparkConcurrentInsert
public void testTrinoSparkConcurrentInsert() throws Exception- Throws:
Exception- See Also:
TestIcebergInsert.testIcebergConcurrentInsert()
-
testTrinoReadingSparkCompressedData
public void testTrinoReadingSparkCompressedData(TestIcebergSparkCompatibility.StorageFormat storageFormat, String compressionCodec)
-
testSparkReadingTrinoCompressedData
public void testSparkReadingTrinoCompressedData(TestIcebergSparkCompatibility.StorageFormat storageFormat, String compressionCodec)
-
verifyCompressionCodecsDataProvider
public void verifyCompressionCodecsDataProvider()
-
storageFormatsAndCompressionCodecs
public Object[][] storageFormatsAndCompressionCodecs()
-
testTrinoReadingMigratedNestedData
public void testTrinoReadingMigratedNestedData(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testMigratedDataWithAlteredSchema
public void testMigratedDataWithAlteredSchema(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testMigratedDataWithPartialNameMapping
public void testMigratedDataWithPartialNameMapping(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testPartialStats
public void testPartialStats()
-
testStatsAfterAddingPartitionField
public void testStatsAfterAddingPartitionField()
-
testTrinoReadsSparkRowLevelDeletes
public void testTrinoReadsSparkRowLevelDeletes(TestIcebergSparkCompatibility.StorageFormat tableStorageFormat, TestIcebergSparkCompatibility.StorageFormat deleteFileStorageFormat)
-
testTrinoReadsSparkRowLevelDeletesWithRowTypes
public void testTrinoReadsSparkRowLevelDeletesWithRowTypes(TestIcebergSparkCompatibility.StorageFormat tableStorageFormat, TestIcebergSparkCompatibility.StorageFormat deleteFileStorageFormat)
-
testSparkReadsTrinoRowLevelDeletes
public void testSparkReadsTrinoRowLevelDeletes(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testSparkReadsTrinoRowLevelDeletesWithRowTypes
public void testSparkReadsTrinoRowLevelDeletesWithRowTypes(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testDeleteAfterPartitionEvolution
public void testDeleteAfterPartitionEvolution(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testMissingMetrics
public void testMissingMetrics()
-
testOptimizeFailsOnV2IcebergTable
public void testOptimizeFailsOnV2IcebergTable()
-
specVersions
public static Object[][] specVersions()
-
storageFormats
public static Object[][] storageFormats()
-
tableFormatWithDeleteFormat
public static Object[][] tableFormatWithDeleteFormat()
-
storageFormatsWithSpecVersion
public static Object[][] storageFormatsWithSpecVersion()
-
unsupportedStorageFormats
public static Object[][] unsupportedStorageFormats()
-
testSparkReadsTrinoTableAfterCleaningUp
public void testSparkReadsTrinoTableAfterCleaningUp(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testSparkReadsTrinoTableAfterOptimizeAndCleaningUp
public void testSparkReadsTrinoTableAfterOptimizeAndCleaningUp(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testTrinoReadsTrinoTableWithSparkDeletesAfterOptimizeAndCleanUp
public void testTrinoReadsTrinoTableWithSparkDeletesAfterOptimizeAndCleanUp(TestIcebergSparkCompatibility.StorageFormat storageFormat)
-
testCleaningUpIcebergTableWithRowLevelDeletes
public void testCleaningUpIcebergTableWithRowLevelDeletes(TestIcebergSparkCompatibility.StorageFormat tableStorageFormat, TestIcebergSparkCompatibility.StorageFormat deleteFileStorageFormat)
-
testUpdateAfterSchemaEvolution
public void testUpdateAfterSchemaEvolution()
-
testUpdateOnPartitionColumn
public void testUpdateOnPartitionColumn()
-
-