Class JdbcSinkColumnTypeMappingIT
java.lang.Object
io.debezium.connector.jdbc.integration.AbstractJdbcSinkTest
io.debezium.connector.jdbc.integration.postgres.JdbcSinkColumnTypeMappingIT
@Tag("all") @Tag("it") @Tag("it-postgresql")
@ExtendWith(PostgresSinkDatabaseContextProvider.class)
public class JdbcSinkColumnTypeMappingIT
extends AbstractJdbcSinkTest
Column type mapping tests for PostgreSQL.
- Author:
- Chris Cranford
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidshouldCoerceStringTypeToColumnType(SinkRecordFactory factory, String columnType, String insertValue, String updateValue) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class io.debezium.connector.jdbc.integration.AbstractJdbcSinkTest
afterEach, assertSinkConnectorIsRunning, consume, consume, dataSource, destinationTableName, getConfig, getDefaultSinkConfig, getSink, randomTableName, startSinkConnector, stopSinkConnector, topicName
-
Constructor Details
-
JdbcSinkColumnTypeMappingIT
-
-
Method Details
-
testShouldCoerceStringTypeToUuidColumnType
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-6589") public void testShouldCoerceStringTypeToUuidColumnType(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldCoerceStringTypeToJsonColumnType
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-6589") public void testShouldCoerceStringTypeToJsonColumnType(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldCoerceStringTypeToJsonbColumnType
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-6589") public void testShouldCoerceStringTypeToJsonbColumnType(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
shouldCoerceStringTypeToColumnType
private void shouldCoerceStringTypeToColumnType(SinkRecordFactory factory, String columnType, String insertValue, String updateValue) throws Exception - Throws:
Exception
-
testShouldCoerceNioByteBufferTypeToByteArrayColumnType
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-6967") public void testShouldCoerceNioByteBufferTypeToByteArrayColumnType(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithTextArrayWithASingleValue
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithTextArrayWithASingleValue(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithTextArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithTextArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithTextArrayWithNullValues
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithTextArrayWithNullValues(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithNullTextArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithNullTextArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithEmptyArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithEmptyArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithCharacterVaryingArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithCharacterVaryingArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithIntArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithIntArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithBoolArray
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7752") public void testShouldWorkWithBoolArray(SinkRecordFactory factory) throws Exception - Throws:
Exception
-
testShouldWorkWithMultipleArraysWithDifferentTypes
@ParameterizedTest @ArgumentsSource(SinkRecordFactoryArgumentsProvider.class) @FixFor("DBZ-7938") public void testShouldWorkWithMultipleArraysWithDifferentTypes(SinkRecordFactory factory) throws Exception - Throws:
Exception
-