Flink CDC is a streaming data integration tool
This report presents the forensic synthetic code analysis of apache/flink-cdc, a Java project with 6,442 GitHub stars. SynthScan v2.0 examined 412,889 lines of code across 2038 source files, recording 610 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 10.0 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 610 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …cdc/runtime/partitioning/PrePartitionOperatorTest.java | 208 | org.apache.flink.cdc.common.data.GenericRecordData.of())) | CODE |
| CRITICAL | …/java/org/apache/flink/cdc/common/types/DataField.java | 124 | ? org.apache.flink.table.api.DataTypes.FIELD( | CODE |
| CRITICAL | …/java/org/apache/flink/cdc/common/types/DataField.java | 126 | : org.apache.flink.table.api.DataTypes.FIELD( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 108 | ? org.apache.flink.table.api.DataTypes.CHAR(length) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 109 | : org.apache.flink.table.api.DataTypes.CHAR(length).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 112 | ? org.apache.flink.table.api.DataTypes.VARCHAR(length) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 113 | : org.apache.flink.table.api.DataTypes.VARCHAR(length).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 116 | ? org.apache.flink.table.api.DataTypes.BOOLEAN() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 117 | : org.apache.flink.table.api.DataTypes.BOOLEAN().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 120 | ? org.apache.flink.table.api.DataTypes.BINARY(length) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 121 | : org.apache.flink.table.api.DataTypes.BINARY(length).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 124 | ? org.apache.flink.table.api.DataTypes.VARBINARY(length) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 125 | : org.apache.flink.table.api.DataTypes.VARBINARY(length).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 128 | ? org.apache.flink.table.api.DataTypes.DECIMAL(precision, scale) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 129 | : org.apache.flink.table.api.DataTypes.DECIMAL(precision, scale).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 132 | ? org.apache.flink.table.api.DataTypes.TINYINT() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 133 | : org.apache.flink.table.api.DataTypes.TINYINT().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 136 | ? org.apache.flink.table.api.DataTypes.SMALLINT() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 137 | : org.apache.flink.table.api.DataTypes.SMALLINT().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 140 | ? org.apache.flink.table.api.DataTypes.INT() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 141 | : org.apache.flink.table.api.DataTypes.INT().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 144 | ? org.apache.flink.table.api.DataTypes.DATE() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 145 | : org.apache.flink.table.api.DataTypes.DATE().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 148 | ? org.apache.flink.table.api.DataTypes.TIME(precision) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 149 | : org.apache.flink.table.api.DataTypes.TIME(precision).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 152 | ? org.apache.flink.table.api.DataTypes.BIGINT() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 153 | : org.apache.flink.table.api.DataTypes.BIGINT().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 156 | ? org.apache.flink.table.api.DataTypes.FLOAT() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 157 | : org.apache.flink.table.api.DataTypes.FLOAT().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 160 | ? org.apache.flink.table.api.DataTypes.DOUBLE() | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 161 | : org.apache.flink.table.api.DataTypes.DOUBLE().notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 164 | ? org.apache.flink.table.api.DataTypes.TIMESTAMP(precision) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 165 | : org.apache.flink.table.api.DataTypes.TIMESTAMP(precision).notNull(); | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 168 | ? org.apache.flink.table.api.DataTypes.TIMESTAMP_WITH_LOCAL_TIME_ZONE( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 170 | : org.apache.flink.table.api.DataTypes.TIMESTAMP_WITH_LOCAL_TIME_ZONE( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 175 | ? org.apache.flink.table.api.DataTypes.TIMESTAMP_WITH_TIME_ZONE(precision) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 176 | : org.apache.flink.table.api.DataTypes.TIMESTAMP_WITH_TIME_ZONE(precision) | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 181 | ? org.apache.flink.table.api.DataTypes.ARRAY( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 183 | : org.apache.flink.table.api.DataTypes.ARRAY( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 189 | ? org.apache.flink.table.api.DataTypes.MAP( | CODE |
| CRITICAL⚡ | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 191 | : org.apache.flink.table.api.DataTypes.MAP( | CODE |
| CRITICAL | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 203 | ? org.apache.flink.table.api.DataTypes.ROW(fields) | CODE |
| CRITICAL | …apache/flink/cdc/common/types/utils/DataTypeUtils.java | 204 | : org.apache.flink.table.api.DataTypes.ROW(fields).notNull(); | CODE |
| CRITICAL | …g/apache/flink/cdc/common/factories/FactoryHelper.java | 171 | return org.apache.flink.configuration.Configuration.fromMap(formatConfigMap); | CODE |
| CRITICAL | …rc/main/java/org/apache/flink/cdc/cli/CliFrontend.java | 109 | org.apache.flink.configuration.Configuration.fromMap(configuration.toMap()); | CODE |
| CRITICAL | …rc/main/java/org/apache/flink/cdc/cli/CliFrontend.java | 171 | org.apache.flink.configuration.ConfigurationUtils.convertValue( | CODE |
| CRITICAL | …nectors/oracle/source/OracleSourceValueConverters.java | 47 | return io.debezium.data.geometry.Geometry.builder(); | CODE |
| CRITICAL | …nectors/oracle/source/OracleSourceValueConverters.java | 101 | io.debezium.data.geometry.Geometry.createValue( | CODE |
| CRITICAL | …nectors/oracle/source/OracleSourceValueConverters.java | 109 | io.debezium.data.geometry.Geometry.createValue( | CODE |
| CRITICAL | …flink/cdc/debezium/internal/DebeziumChangeFetcher.java | 175 | // the retry is handled in io.debezium.connector.common.BaseSourceTask.poll() | COMMENT |
| CRITICAL | …dc/debezium/event/DebeziumSchemaDataTypeInference.java | 108 | || org.apache.kafka.connect.data.Date.LOGICAL_NAME.equals(schema.name())) { | CODE |
| CRITICAL | …dc/debezium/event/DebeziumSchemaDataTypeInference.java | 114 | if (org.apache.kafka.connect.data.Time.LOGICAL_NAME.equals(schema.name())) { | CODE |
| CRITICAL | …dc/debezium/event/DebeziumSchemaDataTypeInference.java | 128 | || org.apache.kafka.connect.data.Timestamp.LOGICAL_NAME.equals(schema.name())) { | CODE |
| CRITICAL | …m/connector/mysql/MySqlStreamingChangeEventSource.java | 1160 | gtidSet = new com.github.shyiko.mysql.binlog.GtidSet(filteredGtidSetStr); | CODE |
| CRITICAL | …m/connector/mysql/MySqlStreamingChangeEventSource.java | 1166 | gtidSet = new com.github.shyiko.mysql.binlog.GtidSet(""); | CODE |
| CRITICAL | …/io/debezium/connector/mysql/MySqlValueConverters.java | 182 | return io.debezium.data.geometry.Point.builder(); | CODE |
| CRITICAL | …/io/debezium/connector/mysql/MySqlValueConverters.java | 191 | return io.debezium.data.geometry.Geometry.builder(); | CODE |
| CRITICAL | …/io/debezium/connector/mysql/MySqlValueConverters.java | 749 | io.debezium.data.geometry.Geometry.createValue( | CODE |
| CRITICAL | …/io/debezium/connector/mysql/MySqlValueConverters.java | 759 | io.debezium.data.geometry.Point.createValue( | CODE |
| CRITICAL | …/io/debezium/connector/mysql/MySqlValueConverters.java | 790 | io.debezium.data.geometry.Geometry.createValue( | CODE |
| 275 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …/flink/cdc/common/types/variant/BinaryVariantUtil.java | 61 | public static final int PRIMITIVE = 0; | COMMENT |
| LOW | …/flink/cdc/common/types/variant/BinaryVariantUtil.java | 81 | // Its type info should be: 000_b2_b1b0: | COMMENT |
| LOW | …/flink/cdc/common/types/variant/BinaryVariantUtil.java | 101 | // 8-byte IEEE double. | COMMENT |
| LOW | …common/types/variant/BinaryVariantInternalBuilder.java | 321 | COMMENT | |
| LOW | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 81 | // In CDC-style table matching, table names could be separated by `,` character. | COMMENT |
| LOW | tools/update_version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/license_check.rb | 1 | #!/usr/bin/env ruby | COMMENT |
| LOW | tools/cdcup/cdcup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/cdcup/src/app.rb | 1 | #!/usr/bin/env ruby | COMMENT |
| LOW | tools/cdcup/src/download_libs.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/source/my_sql.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/source/values_source.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/sink/kafka.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/sink/doris.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/sink/paimon.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/sink/values_sink.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/cdcup/src/sink/star_rocks.rb | 1 | # frozen_string_literal: true | COMMENT |
| LOW | tools/releasing/create_source_release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/releasing/create_release_branch.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/releasing/deploy_staging_jars.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/releasing/update_branch_version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | flink-cdc-dist/src/main/flink-cdc-bin/bin/flink-cdc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …nk-cdc-dist/src/main/flink-cdc-bin/conf/flink-cdc.yaml | 1 | ################################################################################ | COMMENT |
| LOW | …ine-e2e-tests/src/test/resources/rules/incomplete.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …peline-e2e-tests/src/test/resources/rules/invalid.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …line-e2e-tests/src/test/resources/rules/malformed.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ine-e2e-tests/src/test/resources/rules/unexpected.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …peline-e2e-tests/src/test/resources/rules/vanilla.yaml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …e-e2e-tests/src/test/resources/docker/mongodb/setup.js | 1 | // Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ource-e2e-tests/src/test/resources/docker/tidb/pd.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ource-e2e-tests/src/test/resources/docker/tidb/pd.toml | 41 | key-path = "" | COMMENT |
| LOW | …ource-e2e-tests/src/test/resources/docker/tidb/pd.toml | 81 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 21 | # e.g.: 78_000 = "1.3m" | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 41 | # max-tasks-low = 8000 | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 61 | # advertise-addr = "" | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 81 | # concurrent-recv-snap-limit = 32 | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 101 | # data-dir = "/tmp/tikv/store" | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 121 | # pd endpoints | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 141 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 161 | # raft-entry-max-size = "8MB" | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 181 | # The minimum number of delete tombstones to trigger manual compaction. | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 201 | [coprocessor] | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 221 | # Number of open files that can be used by the DB. You may need to | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 241 | # 2 : PointInTimeRecovery, Recover to point-in-time consistency; | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 261 | # are older than wal-ttl-seconds will be deleted. | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 281 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 301 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 321 | # Maximal Rocksdb info log files to be kept. | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 341 | # lz4hc: kLZ4HCCompression | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 361 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 381 | COMMENT | |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 401 | # during table initialization. | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 421 | [rocksdb.writecf] | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 441 | [rocksdb.lockcf] | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 461 | max-open-files = 1024 | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 481 | [raftdb.defaultcf] | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tikv.toml | 501 | [security] | COMMENT |
| LOW | …rce-e2e-tests/src/test/resources/docker/tidb/tidb.toml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| 119 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 93 | // Step 1: escape the dot with a backslash, but keep it as a placeholder (like `$`). | COMMENT |
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 98 | // Step 2: replace all remaining dots (`.`) to quoted version (`\.`), as a separator between | COMMENT |
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 104 | // Step 3: restore placeholder to normal RegEx matcher (`.`) | COMMENT |
| LOW | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 148 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 198 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 203 | // Step 3: snapshot reader's state | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 206 | // Step 4: restart reader from a restored state | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 213 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 158 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 187 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 194 | // Step 3: add splits that need to be removed and do not read it, then snapshot reader's | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 199 | // Step 4: remove table 'prefix_customers' and restart reader from a restored state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 207 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 269 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 298 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 302 | // Step 3: snapshot reader's state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 305 | // Step 4: restart reader from a restored state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 310 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW⚡ | …nectors/mysql/debezium/reader/SnapshotSplitReader.java | 160 | // Step 1: execute snapshot read task | COMMENT |
| LOW⚡ | …nectors/mysql/debezium/reader/SnapshotSplitReader.java | 163 | // Step 2: read binlog events between low and high watermark and backfill | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 76 | // Step 1: Fix old channels' GTID ranges | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 81 | // Step 2: For new channels, use server's full GTID to skip all history | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 86 | // Step 3: Merge fixed old channels + new channels | COMMENT |
| LOW | …s/postgres/source/reader/PostgresSourceReaderTest.java | 233 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW | …s/postgres/source/reader/PostgresSourceReaderTest.java | 262 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW | …dc/connectors/iceberg/sink/IcebergMetadataApplier.java | 169 | // Step 0: Create namespace if not exists. | COMMENT |
| LOW | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 71 | // Step 1: Bucket assignment operator | COMMENT |
| LOW⚡ | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 83 | // Step 2: Partition by bucket index | COMMENT |
| LOW⚡ | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 92 | // Step 3: Flush event alignment | COMMENT |
| LOW | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 103 | // Step 4: Unwrap and write to Hudi | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 93 | // Step 1: escape the dot with a backslash, but keep it as a placeholder (like `$`). | COMMENT |
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 98 | // Step 2: replace all remaining dots (`.`) to quoted version (`\.`), as a separator between | COMMENT |
| LOW⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 104 | // Step 3: restore placeholder to normal RegEx matcher (`.`) | COMMENT |
| LOW | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 148 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 198 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 203 | // Step 3: snapshot reader's state | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 206 | // Step 4: restart reader from a restored state | COMMENT |
| LOW⚡ | …ctors/oracle/source/reader/OracleSourceReaderTest.java | 213 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 158 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 187 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 194 | // Step 3: add splits that need to be removed and do not read it, then snapshot reader's | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 199 | // Step 4: remove table 'prefix_customers' and restart reader from a restored state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 207 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 269 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 298 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 302 | // Step 3: snapshot reader's state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 305 | // Step 4: restart reader from a restored state | COMMENT |
| LOW⚡ | …nectors/mysql/source/reader/MySqlSourceReaderTest.java | 310 | // Step 5: check the finished unacked splits between original reader and restarted reader | COMMENT |
| LOW⚡ | …nectors/mysql/debezium/reader/SnapshotSplitReader.java | 160 | // Step 1: execute snapshot read task | COMMENT |
| LOW⚡ | …nectors/mysql/debezium/reader/SnapshotSplitReader.java | 163 | // Step 2: read binlog events between low and high watermark and backfill | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 76 | // Step 1: Fix old channels' GTID ranges | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 81 | // Step 2: For new channels, use server's full GTID to skip all history | COMMENT |
| LOW⚡ | …c/main/java/io/debezium/connector/mysql/GtidUtils.java | 86 | // Step 3: Merge fixed old channels + new channels | COMMENT |
| LOW | …s/postgres/source/reader/PostgresSourceReaderTest.java | 233 | // Step 1: start source reader and assign snapshot splits | COMMENT |
| LOW | …s/postgres/source/reader/PostgresSourceReaderTest.java | 262 | // Step 2: wait the snapshot splits finished reading | COMMENT |
| LOW | …dc/connectors/iceberg/sink/IcebergMetadataApplier.java | 169 | // Step 0: Create namespace if not exists. | COMMENT |
| LOW | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 71 | // Step 1: Bucket assignment operator | COMMENT |
| LOW⚡ | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 83 | // Step 2: Partition by bucket index | COMMENT |
| LOW⚡ | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 92 | // Step 3: Flush event alignment | COMMENT |
| LOW | …apache/flink/cdc/connectors/hudi/sink/v2/HudiSink.java | 103 | // Step 4: Unwrap and write to Hudi | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 281 | #============================================================================== | COMMENT |
| MEDIUM⚡ | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 283 | #============================================================================== | COMMENT |
| MEDIUM⚡ | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 293 | #============================================================================== | COMMENT |
| MEDIUM⚡ | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 295 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 23 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 25 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 112 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 114 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 142 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 144 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 185 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 187 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 221 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 223 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 259 | #============================================================================== | COMMENT |
| MEDIUM | …cli/src/test/resources/flink-home/conf/flink-conf.yaml | 261 | #============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/cdcup/src/source/my_sql.rb | 25 | def prepend_to_docker_compose_yaml(docker_compose_yaml) | CODE |
| LOW | tools/cdcup/src/source/values_source.rb | 26 | def prepend_to_docker_compose_yaml(_); end | CODE |
| LOW | tools/cdcup/src/sink/kafka.rb | 25 | def prepend_to_docker_compose_yaml(docker_compose_yaml) | CODE |
| LOW | tools/cdcup/src/sink/doris.rb | 25 | def prepend_to_docker_compose_yaml(docker_compose_yaml) | CODE |
| LOW | tools/cdcup/src/sink/paimon.rb | 27 | def prepend_to_docker_compose_yaml(docker_compose_yaml) | CODE |
| LOW | tools/cdcup/src/sink/values_sink.rb | 26 | def prepend_to_docker_compose_yaml(_); end | CODE |
| LOW | tools/cdcup/src/sink/star_rocks.rb | 25 | def prepend_to_docker_compose_yaml(docker_compose_yaml) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/postgres/source/reader/PostgresSourceReaderTest.java | 307 | "ALTER TABLE customer.\"Customers\" ADD COLUMN email VARCHAR(255) DEFAULT 'test@test.com'"); | CODE |
| LOW | …s/source/fetch/IncrementalSourceStreamFetcherTest.java | 150 | "ALTER TABLE customer.\"Customers\" ADD COLUMN email VARCHAR(255) DEFAULT 'test@test.com'"); | CODE |
| LOW | …s/source/fetch/IncrementalSourceStreamFetcherTest.java | 183 | + " email varchar(255, 0) DEFAULT VALUE 'test@test.com'::character varying\n" | CODE |
| LOW | …k/cdc/composer/flink/FlinkPipelineTransformITCase.java | 2109 | .physicalColumn("name", DataTypes.STRING(), "name column", "Jane Doe") | CODE |
| LOW | …k/cdc/composer/flink/FlinkPipelineTransformITCase.java | 2172 | "CreateTableEvent{tableId=default_namespace.default_schema.mytable1, schema=columns={`id` INT NO | CODE |
| LOW | …che/flink/cdc/composer/specs/TransformSpecsITCase.java | 210 | "Lorem ipsum".getBytes(StandardCharsets.UTF_8), | CODE |
| LOW | …che/flink/cdc/composer/specs/TransformSpecsITCase.java | 211 | "dolor sit amet".getBytes(StandardCharsets.UTF_8), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …a/org/apache/flink/cdc/common/route/TableIdRouter.java | 87 | // Essentially, we're just trying to swap escaped `\\.` and unescaped `.`. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update_version.sh | 57 | # Check if FLINK_VERSION is set | COMMENT |
| LOW | flink-cdc-dist/src/main/flink-cdc-bin/bin/flink-cdc.sh | 21 | # Check if FLINK_HOME is set in command-line arguments by "--flink-home" | COMMENT |
| LOW | flink-cdc-dist/src/main/flink-cdc-bin/bin/flink-cdc.sh | 27 | # Check if the value is not empty | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …g/apache/flink/cdc/runtime/parser/TransformParser.java | 382 | // Otherwise, append it at the end. Don't forget to set the index! | COMMENT |
| LOW | tools/releasing/update_branch_version.sh | 62 | echo "If this is a new version to be released (or a candidate to be voted on), don't forget to create a signed release t | CODE |