417675894 opened a new issue, #7701: URL: https://github.com/apache/seatunnel/issues/7701
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened 1. create index in oracle create unique index My_Index on MyTable (DECODE("RECORDSTATUS", 'Y', "ORGANIZATION_NAME", NULL)) Oracle-CDC AbstractJdbcSourceChunkSplitter.java ``` List<ConstraintKey> uniqueKeys = dialect.getUniqueKeys(jdbc, tableId); if (!uniqueKeys.isEmpty()) { Table table = dialect.queryTableSchema(jdbc, tableId).getTable(); for (ConstraintKey uniqueKey : uniqueKeys) { List<ConstraintKey.ConstraintKeyColumn> uniqueKeyColumns = uniqueKey.getColumnNames(); for (ConstraintKey.ConstraintKeyColumn uniqueKeyColumn : uniqueKeyColumns) { Column column = table.columnWithName(uniqueKeyColumn.getColumnName()); **if (column!=null && isEvenlySplitColumn(column))** { splitColumn = columnComparable(splitColumn, column); if (sqlTypePriority(splitColumn) == 1) { return splitColumn; } } } } } ``` ### SeaTunnel Version 2.3.7 ### SeaTunnel Config ```conf common ``` ### Running Command ```shell common ``` ### Error Exception ```log "java.lang.RuntimeException: Generate Splits for table error\n\tat org.apache.seatunnel.connectors.cdc.base.source.enumerator.splitter.AbstractJdbcSourceChunkSplitter.generateSplits(AbstractJdbcSourceChunkSplitter.java:112)\n\tat org.apache.seatunnel.connectors.cdc.base.source.enumerator.SnapshotSplitAssigner.getNext(SnapshotSplitAssigner.java:185)\n\tat org.apache.seatunnel.connectors.cdc.base.source.enumerator.HybridSplitAssigner.getNext(HybridSplitAssigner.java:98)\n\tat org.apache.seatunnel.connectors.cdc.base.source.enumerator.IncrementalSourceEnumerator.assignSplits(IncrementalSourceEnumerator.java:172)\n\tat ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
