Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unit test to validate modify column followed by default NULL #966

Open
wants to merge 8 commits into
base: 2.5.1
Choose a base branch
from

Set column to Nullable for Modify Add column.

8849e59
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Added unit test to validate modify column followed by default NULL #966

Set column to Nullable for Modify Add column.
8849e59
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed Jan 22, 2025 in 0s

134 tests run, 114 passed, 12 skipped, 8 failed.

Annotations

Check failure on line 100 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableAddColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableAddColumnIT.testAddColumn

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableAddColumnIT.testAddColumn(AlterTableAddColumnIT.java:100)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableAddColumnIT.testAddColumn(AlterTableAddColumnIT.java:100)

Check failure on line 86 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableChangeColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableChangeColumnIT.testChangeColumn

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableChangeColumnIT.testChangeColumn(AlterTableChangeColumnIT.java:86)

Check failure on line 79 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/AlterTableModifyColumnIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

AlterTableModifyColumnIT.testModifyColumn

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.AlterTableModifyColumnIT.testModifyColumn(AlterTableModifyColumnIT.java:79)

Check failure on line 84 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/CreateTableDataTypesIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

CreateTableDataTypesIT.testCreateTable

Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
Raw output
java.lang.NullPointerException: Cannot invoke "String.equalsIgnoreCase(String)" because the return value of "java.util.Map.get(Object)" is null
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.CreateTableDataTypesIT.testCreateTable(CreateTableDataTypesIT.java:84)

Check failure on line 104 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/DDLIgnoreRegExIT.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

DDLIgnoreRegExIT.testDDLIgnoreRegex

expected:<null> but was:<alter table sales analyze partition p2022>
Raw output
java.lang.AssertionError: expected:<null> but was:<alter table sales analyze partition p2022>
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.DDLIgnoreRegExIT.testDDLIgnoreRegex(DDLIgnoreRegExIT.java:104)

Check failure on line 881 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/MySqlDDLParserListenerImplTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnEnum

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnEnum(MySqlDDLParserListenerImplTest.java:881)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnEnum(MySqlDDLParserListenerImplTest.java:881)

Check failure on line 894 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/MySqlDDLParserListenerImplTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnJson

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnJson(MySqlDDLParserListenerImplTest.java:894)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterDatabaseAddColumnJson(MySqlDDLParserListenerImplTest.java:894)

Check failure on line 475 in sink-connector-lightweight/src/test/java/com/altinity/clickhouse/debezium/embedded/ddl/parser/MySqlDDLParserListenerImplTest.java

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

MySqlDDLParserListenerImplTest.testAlterTableWithNotNullAndDefault

java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterTableWithNotNullAndDefault(MySqlDDLParserListenerImplTest.java:475)
Raw output
java.lang.AssertionError
	at com.altinity.clickhouse.debezium.embedded.ddl.parser.MySqlDDLParserListenerImplTest.testAlterTableWithNotNullAndDefault(MySqlDDLParserListenerImplTest.java:475)