AI Slop Code Risk Monitor

apache/flink

SlopCodeMonitor badge for apache/flink Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Apache Flink

2.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/flink, a Java project with 26,441 GitHub stars. SynthScan examined 3,748,772 lines of code across 18979 source files, recording 4345 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 2.9 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.9
Adjusted Signal
2.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
26.4K
Stars
Java
Language
3.7M
Lines of Code
19.0K
Files
4.3K
Pattern Hits
2026-10-31
Scan Date
0.04
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 3.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 3063 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.3/100 · LOW

Are imports declared and package/API names verified? 892 finding(s).

Agent Over-Engineering Ratio 3.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2178 finding(s).

PR Review Velocity Impact 13.3/100 · LOW

Which changes need focused human review? 4345 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 502HIGH 324MEDIUM 98LOW 3421

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4345 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators502 hits · 5625 pts
SeverityFileLineSnippetContext
CRITICAL…main/java/org/apache/flink/table/legacy/api/Types.java154 return org.apache.flink.api.common.typeinfo.Types.ROW(types);CODE
CRITICAL…main/java/org/apache/flink/table/legacy/api/Types.java172 return org.apache.flink.api.common.typeinfo.Types.ROW_NAMED(fieldNames, types);CODE
CRITICAL⚡…/org/apache/flink/table/client/cli/CliStringsTest.java54 + "\tat org.apache.flink.table.gateway.rest.handler.statement.FetchResultsHandler.handleRequest(FetcCODE
CRITICAL⚡…/org/apache/flink/table/client/cli/CliStringsTest.java56 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServiceICODE
CRITICAL⚡…/org/apache/flink/table/client/cli/CliStringsTest.java59 + "\tat org.apache.flink.table.gateway.service.operation.OperationManager.processThrowable(OperationCODE
CRITICAL⚡…/org/apache/flink/table/client/cli/CliStringsTest.java63 + "\tat org.apache.flink.table.planner.parse.CalciteParser.parse(CalciteParser.java:60)\n"CODE
CRITICAL⚡…/org/apache/flink/table/client/cli/CliStringsTest.java67 + "\tat org.apache.flink.sql.parser.impl.FlinkSqlParserImpl.convertException(FlinkSqlParserImpl.javaCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java167 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java172 + "\tat org.apache.flink.sql.parser.impl.FlinkSqlParserImpl.generateParseException(FlinkSqlParseCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java209 + "\tat org.apache.flink.table.gateway.rest.handler.operation.AbstractOperationHandler.handleReqCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java211 + "\tat org.apache.flink.table.gateway.service.operation.OperationManager.cancelOperation(OperatCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java229 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java242 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java255 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java271 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java274 + "\tat org.apache.flink.table.gateway.service.operation.OperationManager.cancelOperation(OperatCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java288 + "\tat org.apache.flink.table.gateway.service.SqlGatewayServiceImpl.fetchResults(SqlGatewayServCODE
CRITICAL…/org/apache/flink/table/client/cli/CliStringsTest.java292 + "\tat org.apache.flink.table.planner.calcite.FlinkPlannerImpl.validate(FlinkPlannerImpl.scala:CODE
CRITICAL…che/flink/table/client/gateway/ExecutorImplITCase.java616 org.apache.flink.core.testutils.CommonTestUtils.setEnv(envMap);CODE
CRITICAL…/java/org/apache/flink/table/client/cli/CliClient.java399 org.apache.flink.core.fs.Path path = new org.apache.flink.core.fs.Path(uri.toString());CODE
CRITICAL…/apache/flink/table/runtime/application/SqlDriver.java215 org.apache.flink.core.fs.Path path = new org.apache.flink.core.fs.Path(uri);CODE
CRITICAL…le/gateway/service/application/ScriptRunnerITCase.java94 org.apache.flink.core.testutils.CommonTestUtils.setEnv(map);CODE
CRITICAL…le/gateway/service/application/ScriptRunnerITCase.java125 org.apache.flink.core.testutils.CommonTestUtils.setEnv(originalEnv);CODE
CRITICAL…/table/planner/plan/FlinkCalciteCatalogReaderTest.java191 org.apache.flink.table.api.Schema.newBuilder()CODE
CRITICAL…/table/planner/plan/FlinkCalciteCatalogReaderTest.java194 org.apache.flink.table.api.Schema.newBuilder()CODE
CRITICAL…plan/optimize/CorrelVariableNormalizerShuttleTest.java64 com.google.common.collect.ImmutableSet.of(oldId));CODE
CRITICAL…rules/logical/MetadataFilterInReadingMetadataTest.java252 metadata.put("event_time", org.apache.flink.table.api.DataTypes.TIMESTAMP(3));CODE
CRITICAL…rules/logical/MetadataFilterInReadingMetadataTest.java309 metadata.put("timestamp", org.apache.flink.table.api.DataTypes.TIMESTAMP(3));CODE
CRITICAL…rules/logical/MetadataFilterInReadingMetadataTest.java382 metadata.put("event_time", org.apache.flink.table.api.DataTypes.TIMESTAMP(3));CODE
CRITICAL…able/planner/factories/TestValuesRuntimeFunctions.java448 new org.apache.flink.streaming.api.watermark.Watermark(CODE
CRITICAL…table/planner/plan/batch/sql/join/LookupJoinTest.scala136 // at org.apache.flink.table.planner.calcite.FlinkPlannerImpl.rel(FlinkPlannerImpl.scala:125)COMMENT
CRITICAL…ink/table/planner/plan/metadata/MetadataTestUtil.scala526 .schema(org.apache.flink.table.api.Schema.newBuilder.fromResolvedSchema(resolvedSchema).build)CODE
CRITICAL…flink/table/planner/runtime/FileSystemITCaseBase.scala371 new File(new org.apache.flink.core.fs.Path("file:" + resultPath + "/a=1/.b=2").toUri)STRING
CRITICAL…main/java/org/apache/calcite/runtime/SqlFunctions.java6344 return org.apache.commons.lang3.StringUtils.replaceChars(s, search, replacement);CODE
CRITICAL…main/java/org/apache/calcite/runtime/SqlFunctions.java6357 return org.apache.commons.lang3.Strings.CI.replace(s, search, replacement);CODE
CRITICAL…/plan/rules/logical/JoinToMultiJoinForReorderRule.java640 com.google.common.collect.ImmutableMap.builder();CODE
CRITICAL…le/planner/plan/rules/logical/JoinToMultiJoinRule.java271 com.google.common.collect.ImmutableMap.copyOf(newJoinFieldRefCountsMap),CODE
CRITICAL⚡…lan/rules/logical/FlinkAggregateJoinTransposeRule.java235 final List<Integer> leftKeys = com.google.common.collect.Lists.newArrayList();CODE
CRITICAL⚡…lan/rules/logical/FlinkAggregateJoinTransposeRule.java236 final List<Integer> rightKeys = com.google.common.collect.Lists.newArrayList();CODE
CRITICAL⚡…lan/rules/logical/FlinkAggregateJoinTransposeRule.java237 final List<Boolean> filterNulls = com.google.common.collect.Lists.newArrayList();CODE
CRITICAL…lan/rules/logical/FlinkAggregateJoinTransposeRule.java492 com.google.common.collect.ImmutableList.of(newGroupSet),CODE
CRITICAL…/plan/rules/logical/ProjectMultiJoinTransposeRule.java315 com.google.common.collect.ImmutableMap.copyOf(newJoinFieldRefCountsMap),CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java196 com.google.common.collect.Iterables.getOnlyElement(argLists);CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java355 com.google.common.collect.Lists.newArrayList();CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java383 com.google.common.collect.Lists.newArrayList(CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java460 com.google.common.collect.ImmutableList.copyOf(groupSetTreeSet);CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java646 com.google.common.collect.ImmutableList.builder();CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java692 com.google.common.collect.Lists.newArrayList(aggregate.getAggCallList());CODE
CRITICAL…ogical/FlinkAggregateExpandDistinctAggregatesRule.java865 final List<RexNode> conditions = com.google.common.collect.Lists.newArrayList();CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java558 com.google.common.collect.ImmutableSet.copyOf(CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java943 com.google.common.collect.ImmutableMap.builder();CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java986 com.google.common.collect.Multimaps.newSortedSetMultimap(CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java991 return com.google.common.collect.Sets.newTreeSet();CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java1396 com.google.common.collect.ImmutableMap.copyOf(mapSubQueryNodeToCorSet);CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java1463 com.google.common.collect.ImmutableSortedMap.copyOf(oldToNewOutputs);CODE
CRITICAL…e/planner/plan/rules/logical/SubQueryDecorrelator.java1502 this.subQueryMap = com.google.common.collect.ImmutableMap.copyOf(subQueryMap);CODE
CRITICAL…le/planner/plan/rules/logical/FlinkFilterJoinRule.java111 com.google.common.collect.ImmutableList.copyOf(joinFilters);CODE
CRITICAL…le/planner/plan/rules/logical/FlinkFilterJoinRule.java124 com.google.common.collect.ImmutableList.copyOf(aboveFilters);CODE
CRITICAL…le/planner/plan/rules/logical/FlinkFilterJoinRule.java167 if (com.google.common.collect.Sets.newHashSet(joinFilters)CODE
CRITICAL…le/planner/plan/rules/logical/FlinkFilterJoinRule.java168 .equals(com.google.common.collect.Sets.newHashSet(origJoinFilters))) {CODE
442 more matches not shown…
Hyper-Verbose Identifiers1775 hits · 1608 pts
SeverityFileLineSnippetContext
LOW…/org/apache/flink/table/api/codegen/TypeAnalyzer.scala466 def getOrElseUpdate(tpe: Type)(orElse: Int => UDTDescriptor): UDTDescriptor = {CODE
LOW…me/operators/join/deltajoin/TailOutputDataHandler.java34public class TailOutputDataHandler extends DeltaJoinHandlerBase {CODE
LOW…che/flink/table/planner/calcite/FlinkPlannerImpl.scala92 def getOrCreateSqlValidator(): FlinkCalciteSqlValidator = {CODE
LOWflink-python/pyflink/find_flink_home.py33def _is_apache_flink_libraries_home(path):CODE
LOWflink-python/pyflink/serializers.py38 def _load_from_stream_without_unbatching(self, stream: BytesIO):CODE
LOWflink-python/pyflink/serializers.py159 def _load_from_stream_without_unbatching(self, stream):CODE
LOWflink-python/pyflink/gen_protos.py119def _install_grpcio_tools_and_generate_proto_files(force, output_dir):CODE
LOWflink-python/pyflink/gen_protos.py188def _check_grpcio_tools_version():CODE
LOWflink-python/pyflink/java_gateway.py40def is_launch_gateway_disabled():CODE
LOWflink-python/pyflink/pyflink_gateway_server.py87def prepare_environment_variables(env):CODE
LOWflink-python/pyflink/pyflink_gateway_server.py185def construct_flink_classpath(env):CODE
LOWflink-python/pyflink/pyflink_gateway_server.py207def construct_hadoop_classpath(env):CODE
LOWflink-python/pyflink/pyflink_gateway_server.py262def launch_gateway_server_process(env, args):CODE
LOW⚡flink-python/pyflink/datastream/functions.py149 def get_number_of_parallel_subtasks(self) -> int:CODE
LOW⚡flink-python/pyflink/datastream/functions.py156 def get_max_number_of_parallel_subtasks(self) -> int:CODE
LOW⚡flink-python/pyflink/datastream/functions.py163 def get_index_of_this_subtask(self) -> int:CODE
LOWflink-python/pyflink/datastream/functions.py179 def get_task_name_with_subtasks(self) -> str:CODE
LOWflink-python/pyflink/datastream/functions.py1584 def process_broadcast_element(self, value: IN2, ctx: Context):CODE
LOWflink-python/pyflink/datastream/functions.py1696 def process_broadcast_element(self, value: IN2, ctx: Context):CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py108 def register_slot_sharing_group(self, slot_sharing_group: SlotSharingGroup) \CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py195 def disable_operator_chaining(self) -> 'StreamExecutionEnvironment':CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py215 def is_chaining_of_operators_with_different_max_parallelism_enabled(self) -> bool:CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py290 def get_checkpointing_consistency_mode(self) -> CheckpointingMode:CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py302 def enable_changelog_state_backend(self, enabled: bool) -> 'StreamExecutionEnvironment':CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py338 def is_changelog_state_backend_enabled(self) -> Optional[bool]:CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py353 def set_default_savepoint_directory(self, directory: str) -> 'StreamExecutionEnvironment':CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py369 def get_default_savepoint_directory(self) -> Optional[str]:CODE
LOW⚡…hon/pyflink/datastream/stream_execution_environment.py593 def get_default_local_parallelism(self) -> int:CODE
LOW⚡…hon/pyflink/datastream/stream_execution_environment.py601 def set_default_local_parallelism(self, parallelism: int):CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py671 def get_execution_environment(configuration: Configuration = None) \CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py889 def is_unaligned_checkpoints_enabled(self):CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py895 def is_force_unaligned_checkpoints(self):CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py110 def get_min_pause_between_checkpoints(self) -> int:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py121 def set_min_pause_between_checkpoints(self,CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py139 def get_max_concurrent_checkpoints(self) -> int:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py150 def set_max_concurrent_checkpoints(self, max_concurrent_checkpoints: int) -> 'CheckpointConfig':CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py162 def is_fail_on_checkpointing_errors(self) -> bool:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py174 def set_fail_on_checkpointing_errors(self,CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py198 def get_tolerable_checkpoint_failure_number(self) -> int:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py207 def set_tolerable_checkpoint_failure_number(self,CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py227 def set_externalized_checkpoint_retention(CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py263 def is_externalized_checkpoints_enabled(self) -> bool:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py271 def get_externalized_checkpoint_retention(self) -> Optional['ExternalizedCheckpointRetention']:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py285 def is_unaligned_checkpoints_enabled(self) -> bool:CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py293 def enable_unaligned_checkpoints(self, enabled: bool = True) -> 'CheckpointConfig':CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py310 def disable_unaligned_checkpoints(self) -> 'CheckpointConfig':CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py326 def set_aligned_checkpoint_timeout(self, alignment_timeout: Duration) -> 'CheckpointConfig':CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py341 def get_aligned_checkpoint_timeout(self) -> 'Duration':CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py378 def set_force_unaligned_checkpoints(CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py390 def is_force_unaligned_checkpoints(self) -> 'bool':CODE
LOWflink-python/pyflink/datastream/window.py65def long_to_int_with_bit_mixing(x: int) -> int:CODE
LOWflink-python/pyflink/datastream/window.py117 def get_window_start_with_offset(timestamp: int, offset: int, window_size: int):CODE
LOWflink-python/pyflink/datastream/window.py360 def get_current_processing_time(self) -> int:CODE
LOW⚡flink-python/pyflink/datastream/window.py386 def register_processing_time_timer(self, time: int) -> None:CODE
LOW⚡flink-python/pyflink/datastream/window.py396 def register_event_time_timer(self, time: int) -> None:CODE
LOW⚡flink-python/pyflink/datastream/window.py406 def delete_processing_time_timer(self, time: int) -> None:CODE
LOWflink-python/pyflink/datastream/window.py529 def get_current_processing_time(self) -> int:CODE
LOWflink-python/pyflink/datastream/window.py779 def register_next_fire_timestamp(self,CODE
LOWflink-python/pyflink/datastream/window.py906 def register_next_fire_timestamp(self,CODE
LOWflink-python/pyflink/datastream/timerservice.py41 def register_processing_time_timer(self, timestamp: int):CODE
1715 more matches not shown…
Over-Commented Block931 hits · 910 pts
SeverityFileLineSnippetContext
LOWazure-pipelines.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWazure-pipelines.yml21# - end-to-end testsCOMMENT
LOW…link/table/types/logical/utils/LogicalTypeMerging.java201 // Adopted from "https://docs.microsoft.com/en-us/sql/t-sql/data-types/precision-COMMENT
LOWflink-table/flink-sql-client/bin/sql-client.sh1#!/usr/bin/env bashCOMMENT
LOW…rg/apache/flink/table/client/gateway/ExecutorImpl.java561 List<SqlGatewayRestAPIVersion> gatewayVersions =COMMENT
LOW…pache/flink/table/api/codegen/TypeInformationGen.scala221 def mkTraversableTypeInfo[T: c.WeakTypeTag](COMMENT
LOW…rs/join/stream/StreamingMiniBatchJoinOperatorTest.java481 "3 Bellevue Drive, Pottstown, PA 19464",COMMENT
LOW…rs/join/stream/StreamingMiniBatchJoinOperatorTest.java701 rowOfKind(COMMENT
LOW…/runtime/operators/join/interval/TimeIntervalJoin.java81COMMENT
LOW…/operators/join/stream/StreamingMultiJoinOperator.java461 // state at current depthCOMMENT
LOW…/operators/join/stream/StreamingMultiJoinOperator.java481 // true for its recursive calls).COMMENT
LOW…/operators/join/stream/StreamingMultiJoinOperator.java541 // associations that the left side has. This is only necessary for left joins to knowCOMMENT
LOW…/operators/join/stream/StreamingMultiJoinOperator.java701 true, input)); // true for isInputRecordActiveCOMMENT
LOW…rs/join/stream/bundle/InputSideHasUniqueKeyBundle.java61 return bundle.keySet();COMMENT
LOWflink-table/flink-sql-gateway/bin/sql-gateway.sh1#!/usr/bin/env bashCOMMENT
LOW…odes/exec/stream/ProcessTableFunctionTestPrograms.java2241 // Watermark transitions from 1969-12-31T23:59:59.995ZCOMMENT
LOW…odes/exec/stream/ProcessTableFunctionTestPrograms.java2281 .setupTableSource(TIMED_SOURCE_LATE_EVENTS)COMMENT
LOW…odes/exec/stream/ProcessTableFunctionTestPrograms.java2301 // to 1970-01-01T00:01:39.998ZCOMMENT
LOW…e/planner/plan/nodes/exec/common/SortTestPrograms.java61 .addSchema("a INT", "b VARCHAR", "c BIGINT")COMMENT
LOW…jsonplan/ConfigureOperatorLevelStateTtlJsonITCase.java221 // +--------------+--------------+-------------------------------------+-------------------+COMMENT
LOW…/table/planner/runtime/stream/sql/WatermarkITCase.java81 // SourceFunction does not support watermark moving back. SourceStreamTask does not supportCOMMENT
LOW…able/planner/runtime/batch/ParallelismSettingTest.java201 + " 'connector' = 'values',\n"COMMENT
LOW…/flink/table/planner/functions/CastFunctionITCase.java2081 // .fromCase(VARCHAR(5), "Flink", null)COMMENT
LOW…/flink/table/planner/functions/CastFunctionITCase.java2101 .fromCase(INTERVAL(YEAR()), 0, Period.of(0, 0, 0))COMMENT
LOW…link/table/planner/plan/stream/sql/DeltaJoinTest.scala1261 @TestCOMMENT
LOW…link/table/planner/plan/stream/sql/DeltaJoinTest.scala1421 | on b1 = c1 and b2 = c2 and c1 <> cast(b2 as double)COMMENT
LOW…link/table/planner/plan/stream/sql/DeltaJoinTest.scala1461 }COMMENT
LOW…link/table/planner/plan/stream/sql/DeltaJoinTest.scala1501 def testMultiRHS3(): Unit = {COMMENT
LOW…able/planner/plan/utils/NestedProjectionUtilTest.scala161COMMENT
LOW…table/planner/plan/batch/sql/join/LookupJoinTest.scala121 "SELECT * FROM MyTable AS T JOIN LookupTable T.proc AS D ON T.a = D.id",COMMENT
LOW…/planner/plan/metadata/FlinkRelMdHandlerTestBase.scala841 // select a, b, c from (COMMENT
LOW…/planner/plan/metadata/FlinkRelMdHandlerTestBase.scala941 // FLINK-34702 introduced.COMMENT
LOW…/planner/plan/metadata/FlinkRelMdHandlerTestBase.scala1381 batchGlobalAgg,COMMENT
LOW…/planner/plan/metadata/FlinkRelMdHandlerTestBase.scala3541 // equivalent SQL isCOMMENT
LOW…table/planner/runtime/stream/sql/CorrelateITCase.scala461 .getResultsAsStrings("MySink")COMMENT
LOW…table/planner/runtime/stream/sql/CorrelateITCase.scala481// val sink = new TestingUpsertTableSink(Array(0))COMMENT
LOW…table/planner/runtime/stream/sql/CorrelateITCase.scala501// val sql =COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala161 @TestTemplateCOMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala201 // | TOTAL | 40 | 19 |COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala241COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala381 // | TOTAL | 13 | 11 |COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala441 }COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala501 // DT3COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala541 val result = TestValuesTableFactory.getResultsAsStrings("cascadeDeltaJoinSink2")COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala601 // | DT1 | 4 + 5 = 9 | 3 + 4 = 7 |COMMENT
LOW…anner/runtime/stream/sql/CascadedDeltaJoinITCase.scala701COMMENT
LOW…pache/flink/table/planner/runtime/utils/TestData.scala781 // +----+---------------------+---+-----+-----+-------+------------+---+COMMENT
LOW…pache/flink/table/planner/runtime/utils/TestData.scala1121 // | -U | 2020-10-10 00:00:04 | 2 | 2.0 | 2.0 | 2.22 | Comment#1 | a |COMMENT
LOW…table/planner/runtime/batch/sql/Correlate2ITCase.scala161// registerFunction("funcDyn2", new UDTFWithDynamicType0)COMMENT
LOW…flink/table/planner/runtime/batch/sql/CalcITCase.scala861// def testUDFWithGetResultTypeFromLiteral(): Unit = {COMMENT
LOW…/table/planner/runtime/batch/sql/CorrelateITCase.scala261// def testDynamicTypeWithSQL(): Unit = {COMMENT
LOW…/table/planner/runtime/batch/sql/CorrelateITCase.scala281// checkResult(COMMENT
LOW…lanner/runtime/batch/sql/agg/AggregateITCaseBase.scala1241 @TestCOMMENT
LOW…lanner/runtime/batch/sql/agg/AggregateITCaseBase.scala1261// .fieldDelimiter(",")COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala141//COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala161// val column = arguments(1).asInstanceOf[Int]COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala181// row.setField(i, s.length)COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala201// }COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala221// assert(typeInfos(0).equals(Class.forName("java.lang.String")))COMMENT
LOW…nk/table/planner/utils/UserDefinedTableFunctions.scala241// row.setField(1, i)COMMENT
871 more matches not shown…
Cross-File Repetition161 hits · 805 pts
SeverityFileLineSnippetContext
HIGH…/table/planner/plan/stream/table/TableSourceTest.scala0|create table nestedtable ( | id int, | deepnested row<nested1 row<name string, `value` int>, | nested2 row<num int, flaSTRING
HIGH…nk/table/planner/plan/stream/sql/TableSourceTest.scala0|create table nestedtable ( | id int, | deepnested row<nested1 row<name string, `value` int>, | nested2 row<num int, flaSTRING
HIGH…ink/table/planner/plan/batch/sql/TableSourceTest.scala0|create table nestedtable ( | id int, | deepnested row<nested1 row<name string, `value` int>, | nested2 row<num int, flaSTRING
HIGH…link/table/planner/runtime/stream/sql/CalcITCase.scala0|create table nestedtable ( | id int, | deepnested row<nested1 row<name string, `value` int>, | nested2 row<num int, flaSTRING
HIGH…flink/table/planner/runtime/batch/sql/CalcITCase.scala0|create table nestedtable ( | id int, | deepnested row<nested1 row<name string, `value` int>, | nested2 row<num int, flaSTRING
HIGH…/planner/plan/stream/sql/PartitionableSourceTest.scala0|create table partitionabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as part2 + 1) | STRING
HIGH…e/planner/plan/batch/sql/PartitionableSourceTest.scala0|create table partitionabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as part2 + 1) | STRING
HIGH…ner/runtime/stream/sql/PartitionableSourceITCase.scala0|create table partitionabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as part2 + 1) | STRING
HIGH…nner/runtime/batch/sql/PartitionableSourceITCase.scala0|create table partitionabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as part2 + 1) | STRING
HIGH…/planner/plan/stream/sql/PartitionableSourceTest.scala0|create table partitionableandfilterabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as STRING
HIGH…e/planner/plan/batch/sql/PartitionableSourceTest.scala0|create table partitionableandfilterabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as STRING
HIGH…ner/runtime/stream/sql/PartitionableSourceITCase.scala0|create table partitionableandfilterabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as STRING
HIGH…nner/runtime/batch/sql/PartitionableSourceITCase.scala0|create table partitionableandfilterabletable ( | id int, | name string, | part1 string, | part2 int, | virtualfield as STRING
HIGH…/planner/plan/stream/sql/WindowTableFunctionTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…le/planner/plan/stream/sql/WindowDeduplicateTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…ink/table/planner/plan/stream/sql/WindowRankTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…/planner/plan/stream/sql/agg/WindowAggregateTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…tream/ExpandWindowTableFunctionTransposeRuleTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…able/planner/plan/stream/sql/join/WindowJoinTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…ical/ProjectWindowTableFunctionTransposeRuleTest.scala0|create table mytable4 ( | a int, | b string not null, | c bigint, | rowtime timestamp(3), | proctime as proctime(), | wSTRING
HIGH…able/planner/plan/stream/sql/SourceWatermarkTest.scala0| create table udftable ( | a int, | b bigint, | c timestamp(3), | d as func(c, a), | watermark for c as func(func(d, a)STRING
HIGH…ble/planner/plan/stream/sql/FilterableSourceTest.scala0| create table udftable ( | a int, | b bigint, | c timestamp(3), | d as func(c, a), | watermark for c as func(func(d, a)STRING
HIGH…planner/runtime/stream/sql/SourceWatermarkITCase.scala0| create table udftable ( | a int, | b bigint, | c timestamp(3), | d as func(c, a), | watermark for c as func(func(d, a)STRING
HIGH…che/flink/table/planner/plan/stream/sql/RankTest.scala0|select * |from ( | select category, shopid, max_price, | row_number() over (partition by category order by max_price asSTRING
HIGH…ner/plan/rules/logical/CalcRankTransposeRuleTest.scala0|select * |from ( | select category, shopid, max_price, | row_number() over (partition by category order by max_price asSTRING
HIGH…link/table/planner/runtime/stream/sql/RankITCase.scala0|select * |from ( | select category, shopid, max_price, | row_number() over (partition by category order by max_price asSTRING
HIGH…le/planner/plan/stream/sql/WindowDeduplicateTest.scala0|select | a, | window_start, | window_end, | count(*), | max(d) filter (where b > 1000), | count(distinct window_time) aSTRING
HIGH…ink/table/planner/plan/stream/sql/WindowRankTest.scala0|select | a, | window_start, | window_end, | count(*), | max(d) filter (where b > 1000), | count(distinct window_time) aSTRING
HIGH…/planner/plan/stream/sql/agg/WindowAggregateTest.scala0|select | a, | window_start, | window_end, | count(*), | max(d) filter (where b > 1000), | count(distinct window_time) aSTRING
HIGH…tream/ExpandWindowTableFunctionTransposeRuleTest.scala0|select | a, | window_start, | window_end, | count(*), | max(d) filter (where b > 1000), | count(distinct window_time) aSTRING
HIGH…nk/table/planner/plan/stream/sql/TableSourceTest.scala0|select id, | deepnested.nested1.name as nestedname, | nested.`value` as nestedvalue, | deepnested.nested2.flag as nesteSTRING
HIGH…ink/table/planner/plan/batch/sql/TableSourceTest.scala0|select id, | deepnested.nested1.name as nestedname, | nested.`value` as nestedvalue, | deepnested.nested2.flag as nesteSTRING
HIGH…link/table/planner/runtime/stream/sql/CalcITCase.scala0|select id, | deepnested.nested1.name as nestedname, | nested.`value` as nestedvalue, | deepnested.nested2.flag as nesteSTRING
HIGH…flink/table/planner/runtime/batch/sql/CalcITCase.scala0|select id, | deepnested.nested1.name as nestedname, | nested.`value` as nestedvalue, | deepnested.nested2.flag as nesteSTRING
HIGH…k/table/planner/plan/stream/sql/SubplanReuseTest.scala0|with t as (select x.a as a, x.b as b, y.d as d, y.e as e from x, y where x.a = y.d) |select t1.*, t2.* from t t1, t t2 STRING
HIGH…table/planner/plan/batch/sql/DeadlockBreakupTest.scala0|with t as (select x.a as a, x.b as b, y.d as d, y.e as e from x, y where x.a = y.d) |select t1.*, t2.* from t t1, t t2 STRING
HIGH…nk/table/planner/plan/batch/sql/SubplanReuseTest.scala0|with t as (select x.a as a, x.b as b, y.d as d, y.e as e from x, y where x.a = y.d) |select t1.*, t2.* from t t1, t t2 STRING
HIGH…k/table/planner/plan/stream/sql/SubplanReuseTest.scala0|with r as (select c, sum(a) a, sum(b) b from x group by c) | select * from r r1, r r2 where r1.a = r2.b and r2.a > 1STRING
HIGH…nk/table/planner/plan/batch/sql/SubplanReuseTest.scala0|with r as (select c, sum(a) a, sum(b) b from x group by c) | select * from r r1, r r2 where r1.a = r2.b and r2.a > 1STRING
HIGH…table/planner/plan/batch/sql/DeadlockBreakupTest.scala0|with r as (select c, sum(a) a, sum(b) b from x group by c) | select * from r r1, r r2 where r1.a = r2.b and r2.a > 1STRING
HIGH…ble/planner/plan/stream/sql/agg/GroupingSetsTest.scala0|select b, c, avg(a) as a, group_id() as g from mytable |group by grouping sets (b, c)STRING
HIGH…able/planner/plan/batch/sql/agg/GroupingSetsTest.scala0|select b, c, avg(a) as a, group_id() as g from mytable |group by grouping sets (b, c)STRING
HIGH…plan/rules/logical/DecomposeGroupingSetsRuleTest.scala0|select b, c, avg(a) as a, group_id() as g from mytable |group by grouping sets (b, c)STRING
HIGH…ble/planner/plan/stream/sql/agg/GroupingSetsTest.scala0|select b, c, | avg(a) as a, | group_id() as g, | grouping(b) as gb, | grouping(c) as gc, | grouping_id(b) as gib, | groSTRING
HIGH…able/planner/plan/batch/sql/agg/GroupingSetsTest.scala0|select b, c, | avg(a) as a, | group_id() as g, | grouping(b) as gb, | grouping(c) as gc, | grouping_id(b) as gib, | groSTRING
HIGH…plan/rules/logical/DecomposeGroupingSetsRuleTest.scala0|select b, c, | avg(a) as a, | group_id() as g, | grouping(b) as gb, | grouping(c) as gc, | grouping_id(b) as gib, | groSTRING
HIGH…/planner/plan/stream/sql/agg/WindowAggregateTest.scala0|select | window_start, | window_end, | count(*), | sum(d), | max(d) filter (where b > 1000), | count(distinct c) as uv STRING
HIGH…ical/ProjectWindowTableFunctionTransposeRuleTest.scala0|select | window_start, | window_end, | count(*), | sum(d), | max(d) filter (where b > 1000), | count(distinct c) as uv STRING
HIGH…tream/ExpandWindowTableFunctionTransposeRuleTest.scala0|select | window_start, | window_end, | count(*), | sum(d), | max(d) filter (where b > 1000), | count(distinct c) as uv STRING
HIGH…e/flink/table/planner/plan/common/UnnestTestBase.scala0|with t1 as (select a, collect(c) as words from t group by a) |select a, word, pos |from t1 cross join unnest(words) witSTRING
HIGH…nk/table/planner/runtime/stream/sql/UnnestITCase.scala0|with t1 as (select a, collect(c) as words from t group by a) |select a, word, pos |from t1 cross join unnest(words) witSTRING
HIGH…ink/table/planner/runtime/batch/sql/UnnestITCase.scala0|with t1 as (select a, collect(c) as words from t group by a) |select a, word, pos |from t1 cross join unnest(words) witSTRING
HIGH…k/table/planner/plan/batch/sql/RemoveShuffleTest.scala0|with r as (select * from x, y where a = d and c like 'he%') |select sum(b) from r group by dSTRING
HIGH…table/planner/plan/batch/sql/RemoveCollationTest.scala0|with r as (select * from x, y where a = d and c like 'he%') |select sum(b) from r group by dSTRING
HIGH…ysical/batch/RemoveRedundantLocalHashAggRuleTest.scala0|with r as (select * from x, y where a = d and c like 'he%') |select sum(b) from r group by dSTRING
HIGH…ysical/batch/RemoveRedundantLocalSortAggRuleTest.scala0|with r as (select * from x, y where a = d and c like 'he%') |select sum(b) from r group by dSTRING
HIGH…k/table/planner/plan/batch/sql/RemoveShuffleTest.scala0|select a, sum(b) from ( | select * from ( | select a, b, c, rank() over (partition by a, c order by b) rk from x) | wheSTRING
HIGH…table/planner/plan/batch/sql/RemoveCollationTest.scala0|select a, sum(b) from ( | select * from ( | select a, b, c, rank() over (partition by a, c order by b) rk from x) | wheSTRING
HIGH…ysical/batch/RemoveRedundantLocalHashAggRuleTest.scala0|select a, sum(b) from ( | select * from ( | select a, b, c, rank() over (partition by a, c order by b) rk from x) | wheSTRING
HIGH…ache/flink/table/planner/plan/batch/sql/RankTest.scala0|select * from ( | select a, b, rank() over (partition by b order by a) rk from mytable) t |where rk <= 2 and a > 10STRING
101 more matches not shown…
Cross-Language Confusion144 hits · 632 pts
SeverityFileLineSnippetContext
HIGH…hon/pyflink/datastream/stream_execution_environment.py377 return j_path.toString()CODE
HIGHflink-python/pyflink/datastream/checkpoint_storage.py200 return j_path.toString()CODE
HIGHflink-python/pyflink/datastream/checkpoint_storage.py221 return j_path.toString()CODE
HIGHflink-python/pyflink/datastream/checkpoint_storage.py224 return self._j_checkpoint_storage.toString()CODE
HIGHflink-python/pyflink/datastream/checkpoint_storage.py337 return j_path.toString()CODE
HIGHflink-python/pyflink/datastream/checkpoint_storage.py354 return self._j_checkpoint_storage.toString()CODE
HIGHflink-python/pyflink/datastream/state_backend.py161 return self._j_state_backend.toString()CODE
HIGHflink-python/pyflink/datastream/state_backend.py244 Gets the configured local DB storage paths, or null, if none were configured.STRING
HIGHflink-python/pyflink/datastream/state_backend.py280 :param options: The options to set (must not be null), see :class:`PredefinedOptions`.STRING
HIGHflink-python/pyflink/datastream/state_backend.py358 return self._j_state_backend.toString()CODE
HIGHflink-python/pyflink/datastream/state.py102 the updated value. When a partitioned state is updated with null, the state for the currentSTRING
HIGHflink-python/pyflink/datastream/slot_sharing_group.py105 return self._j_memory_size.toString()CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py80 self.assertEqual(stream_pattern.toString(), 'stream-*')CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py116 self.assertEqual(stream_pattern.toString(), 'stream-*')CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py364 offset_reset_strategy.equals(reset_strategy._to_j_offset_reset_strategy())CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py412 offset_reset_strategy.equals(reset_strategy._to_j_offset_reset_strategy())CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py497 self.assertTrue(expected_starting_offset._j_initializer.equals(j_starting_initializer))CODE
HIGH…link/datastream/connectors/tests/test_dynamic_kafka.py502 self.assertTrue(expected_stopping_offset._j_initializer.equals(j_stopping_initializer))CODE
HIGH…thon/pyflink/datastream/connectors/tests/test_kafka.py75 self.assertTrue(j_start_up_mode.equals(get_gateway().jvmCODE
HIGH…thon/pyflink/datastream/connectors/tests/test_kafka.py155 self.assertEqual(topic_pattern.toString(), 'test_topic*')CODE
HIGH⚡…thon/pyflink/datastream/connectors/tests/test_kafka.py455 self.assertEqual(guarantee.toString(), 'none')STRING
HIGH⚡…thon/pyflink/datastream/connectors/tests/test_kafka.py463 self.assertEqual(guarantee.toString(), 'at-least-once')STRING
HIGH⚡…thon/pyflink/datastream/connectors/tests/test_kafka.py471 self.assertEqual(guarantee.toString(), 'exactly-once')STRING
HIGH…thon/pyflink/datastream/connectors/tests/test_kafka.py362 offset_reset_strategy.equals(reset_strategy._to_j_offset_reset_strategy())STRING
HIGH…thon/pyflink/datastream/connectors/tests/test_kafka.py410 offset_reset_strategy.equals(reset_strategy._to_j_offset_reset_strategy())STRING
HIGH⚡flink-python/pyflink/datastream/formats/orc.py93 type_description.toString(),CODE
HIGHflink-python/pyflink/datastream/formats/csv.py66 return self._j_schema.toString()CODE
HIGH⚡…k-python/pyflink/datastream/formats/tests/test_json.py32 expected_jsons = ["{\"svt\":\"2020-02-24T12:58:09.209+0800\",\"ops\":null,\"ids\":null}",CODE
HIGH⚡…k-python/pyflink/datastream/formats/tests/test_json.py36 "{\"svt\":\"2020-02-24T12:58:09.209+0800\",\"ops\":null,\"ids\":null}"]CODE
HIGH⚡…nk-python/pyflink/datastream/formats/tests/test_csv.py231 self.assertTrue(j_row.equals(j_deserialized_row))CODE
HIGH…nk-python/pyflink/datastream/tests/test_data_stream.py1087 expected = ["+I[1, [1.1, 1.2, 1.3], [null, hi, flink], 2021-01-09, 12:00:00,"CODE
HIGH…nk-python/pyflink/datastream/tests/test_data_stream.py1404 expected = ['+I[[+I[1], +I[2]], [+I[3], +I[4]], {a=+I[5], b=+I[6]}, [(7), (8)], null]',CODE
HIGH…/datastream/tests/test_stream_execution_environment.py226 '+I[1, null, 1, true, 32767, -2147483648, 1.23, 1.98932, [102, 108, 105, 110, 107], 'STRING
HIGH…/datastream/tests/test_stream_execution_environment.py229 '+I[2, null, 2, true, -21658, 557549056, 9.87, 2.98936, [102, 108, 105, 110, 107], 'STRING
HIGHflink-python/pyflink/dataframe/dataframe.py937 null, ``ignore_empty_and_null`` controls whether to drop the row or retain one row withSTRING
HIGHflink-python/pyflink/dataframe/udf.py1421 if index.equals(input_index):CODE
HIGHflink-python/pyflink/dataframe/udf.py1432 if output.index.equals(index):CODE
HIGH⚡…ink-python/pyflink/dataframe/tests/test_over_window.py154 self.assertIn("null, null", str(default_frame))CODE
HIGH⚡…ink-python/pyflink/dataframe/tests/test_over_window.py162 self.assertIn("over(lag(amount, 1), rowtime, null, null)", str(lag))CODE
HIGH⚡…ink-python/pyflink/dataframe/tests/test_over_window.py163 self.assertIn("over(lead(amount, 1), rowtime, null, null)", str(lead))CODE
HIGH…k-python/pyflink/dataframe/tests/test_filesystem_io.py788 source.write('{"id":1,"name":"a"}\nnot-json\n{"id":2,"name":null}\n')CODE
HIGHflink-python/pyflink/fn_execution/coder_impl_slow.py743 A coder for primitive array value (the element of array won't be null).STRING
HIGHflink-python/pyflink/util/exceptions.py167 s = e.java_exception.toString()CODE
HIGHflink-python/pyflink/util/exceptions.py212 s = e.java_exception.toString()CODE
HIGHflink-python/pyflink/util/java_utils.py146 existing_urls = set([url.toString() for url in context_classloader.getURLs()])CODE
HIGHflink-python/pyflink/util/java_utils.py147 if all([url.toString() in existing_urls for url in jar_urls]):CODE
HIGHflink-python/pyflink/common/time.py55 return isinstance(other, Duration) and self._j_duration.equals(other._j_duration)CODE
HIGHflink-python/pyflink/common/configuration.py268 return self._j_configuration.equals(other._j_configuration)CODE
HIGHflink-python/pyflink/common/configuration.py273 return self._j_configuration.toString()CODE
HIGHflink-python/pyflink/common/completable_future.py95 return self._j_completable_future.toString()CODE
HIGH⚡flink-python/pyflink/common/typeinfo.py1101 if j_type_info.equals(JLocalTimeTypeInfo.LOCAL_DATE):CODE
HIGH⚡flink-python/pyflink/common/typeinfo.py1103 elif j_type_info.equals(JLocalTimeTypeInfo.LOCAL_TIME):CODE
HIGH⚡flink-python/pyflink/common/typeinfo.py1105 elif j_type_info.equals(JLocalTimeTypeInfo.LOCAL_DATE_TIME):CODE
HIGH⚡flink-python/pyflink/common/typeinfo.py1108 raise TypeError("Unsupported LocalTimeTypeInfo: %s." % j_type_info.toString())CODE
HIGHflink-python/pyflink/common/typeinfo.py1123 return java_object.equals(java_type)CODE
HIGHflink-python/pyflink/common/job_execution_result.py92 return self._j_job_execution_result.toString()CODE
HIGHflink-python/pyflink/common/job_id.py37 return self._j_job_id.toString()CODE
HIGH…hon/pyflink/common/tests/test_serialization_schemas.py143 self.assertTrue(schema1._j_serialization_schema.equals(schema2._j_serialization_schema))CODE
HIGH…hon/pyflink/common/tests/test_serialization_schemas.py144 self.assertFalse(schema1._j_serialization_schema.equals(schema3._j_serialization_schema))CODE
HIGH⚡flink-python/pyflink/table/catalog.py2015 return self._j_resolved_schema.toString()CODE
84 more matches not shown…
Decorative Section Separators66 hits · 235 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/ci/test_controller.sh36# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh38# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh76# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh78# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh99# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh101# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh115# =============================================================================COMMENT
MEDIUM⚡tools/ci/test_controller.sh117# =============================================================================COMMENT
MEDIUMtools/ci/watchdog.sh37# =============================================COMMENT
MEDIUMtools/ci/watchdog.sh39# =============================================COMMENT
MEDIUMtools/ci/watchdog.sh95# =============================================COMMENT
MEDIUMtools/ci/watchdog.sh97# =============================================COMMENT
MEDIUMdocs/content.zh/docs/sql/reference/dml/insert.md148#----------------------------------------------------------------------------COMMENT
MEDIUMdocs/content/docs/sql/reference/dml/insert.md146#----------------------------------------------------------------------------COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml31#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml33#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml109#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml111#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml134#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml136#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml168#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml170#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml198#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml200#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml241#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml243#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml263#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml265#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml277#==============================================================================COMMENT
MEDIUMflink-dist/src/main/resources/config.yaml279#==============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh28# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh30# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh38# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh131# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh141# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh392# ======================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh394# ======================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh396# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh406# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh419# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh424# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh472# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh478# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh486# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh489# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh495# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh499# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh512# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh523# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh537# =============================================================================COMMENT
MEDIUM⚡.github/workflows/community-review.sh547# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh50# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh187# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh193# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh232# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh250# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh313# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh330# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh450# =============================================================================COMMENT
MEDIUM.github/workflows/community-review.sh454# =============================================================================COMMENT
6 more matches not shown…
Unused Imports236 hits · 184 pts
SeverityFileLineSnippetContext
LOWflink-python/setup.py18CODE
LOWflink-python/docs/conf.py19CODE
LOWflink-python/pyflink/shell.py22CODE
LOWflink-python/pyflink/shell.py23CODE
LOWflink-python/pyflink/shell.py24CODE
LOWflink-python/pyflink/shell.py25CODE
LOWflink-python/pyflink/shell.py26CODE
LOWflink-python/pyflink/shell.py27CODE
LOWflink-python/pyflink/shell.py28CODE
LOWflink-python/pyflink/__init__.py28CODE
LOWflink-python/pyflink/gen_protos.py19CODE
LOWflink-python/pyflink/gen_protos.py20CODE
LOWflink-python/pyflink/gen_protos.py45CODE
LOWflink-python/pyflink/datastream/__init__.py261CODE
LOWflink-python/pyflink/datastream/__init__.py262CODE
LOWflink-python/pyflink/datastream/__init__.py263CODE
LOWflink-python/pyflink/datastream/__init__.py264CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py265CODE
LOWflink-python/pyflink/datastream/__init__.py267CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py268CODE
LOWflink-python/pyflink/datastream/__init__.py276CODE
LOWflink-python/pyflink/datastream/__init__.py276CODE
LOWflink-python/pyflink/datastream/__init__.py277CODE
LOWflink-python/pyflink/datastream/__init__.py277CODE
LOWflink-python/pyflink/datastream/__init__.py277CODE
LOWflink-python/pyflink/datastream/__init__.py277CODE
LOWflink-python/pyflink/datastream/__init__.py277CODE
LOWflink-python/pyflink/datastream/__init__.py280CODE
LOWflink-python/pyflink/datastream/__init__.py280CODE
LOWflink-python/pyflink/datastream/__init__.py280CODE
LOWflink-python/pyflink/datastream/__init__.py280CODE
LOWflink-python/pyflink/datastream/__init__.py283CODE
LOWflink-python/pyflink/datastream/__init__.py284CODE
176 more matches not shown…
Deep Nesting168 hits · 137 pts
SeverityFileLineSnippetContext
LOWflink-python/setup.py67CODE
LOWflink-python/pyflink/find_flink_home.py41CODE
LOWflink-python/pyflink/serializers.py133CODE
LOWflink-python/pyflink/gen_protos.py43CODE
LOWflink-python/pyflink/datastream/data_stream.py2822CODE
LOWflink-python/pyflink/datastream/data_stream.py1385CODE
LOWflink-python/pyflink/datastream/data_stream.py1401CODE
LOWflink-python/pyflink/datastream/data_stream.py1403CODE
LOWflink-python/pyflink/datastream/utils.py65CODE
LOWflink-python/pyflink/datastream/state.py979CODE
LOWflink-python/pyflink/datastream/state.py1010CODE
LOW…yflink/datastream/connectors/tests/test_file_system.py32CODE
LOW…nk-python/pyflink/datastream/tests/test_data_stream.py912CODE
LOW…nk-python/pyflink/datastream/tests/test_data_stream.py933CODE
LOWflink-python/pyflink/dataframe/iteration.py188CODE
LOWflink-python/pyflink/dataframe/dataframe.py3422CODE
LOWflink-python/pyflink/dataframe/dataframe.py3469CODE
LOWflink-python/pyflink/dataframe/dataframe.py3636CODE
LOWflink-python/pyflink/dataframe/dataframe.py3914CODE
LOWflink-python/pyflink/dataframe/dataframe.py3979CODE
LOWflink-python/pyflink/dataframe/dataframe.py346CODE
LOWflink-python/pyflink/dataframe/dataframe.py504CODE
LOWflink-python/pyflink/dataframe/dataframe.py556CODE
LOWflink-python/pyflink/dataframe/dataframe.py642CODE
LOWflink-python/pyflink/dataframe/dataframe.py2271CODE
LOWflink-python/pyflink/dataframe/io.py347CODE
LOWflink-python/pyflink/dataframe/llm.py687CODE
LOWflink-python/pyflink/dataframe/udf.py1329CODE
LOWflink-python/pyflink/dataframe/udf.py1455CODE
LOWflink-python/pyflink/dataframe/udf.py1493CODE
LOWflink-python/pyflink/dataframe/udf.py1460CODE
LOW…ink-python/pyflink/dataframe/tests/test_over_window.py199CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py121CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py136CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py239CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py265CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py283CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py320CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py345CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py678CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py747CODE
LOW…k-python/pyflink/dataframe/tests/test_filesystem_io.py765CODE
LOWflink-python/pyflink/dataframe/tests/test_catalog.py146CODE
LOWflink-python/pyflink/dataframe/tests/test_kafka_io.py121CODE
LOW…k-python/pyflink/dataframe/tests/test_statement_set.py102CODE
LOW…k-python/pyflink/dataframe/tests/test_statement_set.py111CODE
LOW…k-python/pyflink/dataframe/tests/test_statement_set.py187CODE
LOW…-python/pyflink/dataframe/tests/test_model_provider.py183CODE
LOW…-python/pyflink/dataframe/tests/test_model_provider.py284CODE
LOW…-python/pyflink/dataframe/tests/test_model_provider.py447CODE
LOWflink-python/pyflink/dataframe/tests/test_udtf.py368CODE
LOWflink-python/pyflink/dataframe/tests/test_convert.py89CODE
LOWflink-python/pyflink/dataframe/tests/test_convert.py266CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py973CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1417CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1486CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1631CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1677CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1794CODE
LOWflink-python/pyflink/dataframe/tests/test_udf.py1815CODE
108 more matches not shown…
Structural Annotation Overuse67 hits · 109 pts
SeverityFileLineSnippetContext
LOW⚡tools/ci/test_controller.sh37# Step 0: Check & print environment information & configure envCOMMENT
LOW⚡tools/ci/test_controller.sh77# Step 1: Rebuild jars and install Flink to local maven repositoryCOMMENT
LOW⚡tools/ci/test_controller.sh100# Step 2: Run testsCOMMENT
LOW⚡tools/ci/test_controller.sh116# Step 3: Put extra logs into $DEBUG_FILES_OUTPUT_DIRCOMMENT
LOW…zh/docs/getting-started/flink-operations-playground.md290#### Step 1: 观察输出COMMENT
LOW…zh/docs/getting-started/flink-operations-playground.md305#### Step 2: 模拟失败COMMENT
LOW…zh/docs/getting-started/flink-operations-playground.md332#### Step 3: 失败恢复COMMENT
LOW…zh/docs/getting-started/flink-operations-playground.md378#### Step 1: 停止 JobCOMMENT
LOW…nt/docs/getting-started/flink-operations-playground.md276#### Step 1: Observing the OutputCOMMENT
LOW…nt/docs/getting-started/flink-operations-playground.md291#### Step 2: Introducing a FaultCOMMENT
LOW…nt/docs/getting-started/flink-operations-playground.md318#### Step 3: RecoveryCOMMENT
LOW…nt/docs/getting-started/flink-operations-playground.md362#### Step 1: Stopping the JobCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md43### Step 1: Get the docker-compose.yml fileCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md83### Step 2: Start the ClusterCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md89### Step 3: Verify the Cluster is RunningCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md115### Step 1: Download FlinkCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md132### Step 2: Start the ClusterCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md140### Step 3: Verify the Cluster is RunningCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md166### Step 1: Verify PrerequisitesCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md178### Step 2: Install PyFlinkCOMMENT
LOWdocs/content/docs/getting-started/local_installation.md195### Step 3: Verify InstallationCOMMENT
LOWflink-end-to-end-tests/test-scripts/common.sh980# NOTE: This function requires at least Bash version >= 4 due to the usage of $BASHPID. Mac OS in 2020 still ships 3.xCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java127 // Step 1: Run the job with initial parallelism and take a checkpointCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java138 // Step 2: Restore the job with a different parallelismCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java150 // Step 3: Restore from Step 2's checkpoint with random parallelism. This validatesCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java139 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java142 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java150 // Step 5: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java157 // Step 5: Clean upCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java192 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java199 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java207 // Step 4: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java300 // Step 2: Generate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java309 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java345 // Step 5: Generate new test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java352 // Step 6: restart the Flink job with the savepointCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java508 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java515 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java523 // Step 4: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java529 // Step 5: Clean upCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java579 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java588 // Step 4: Validate records before killing TaskManagersCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java597 // Step 5: Trigger TaskManager failoverCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java604 // Step 6: Write test data again to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java614 // Step 7: Validate test resultCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java622 // Step 8: Clean upCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java127 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java180 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java289 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java324 // Step 4: Check the result and stop Flink job with a savepointCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java496 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java554 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java566 // Step 2: Write test data to external systemCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java232 // Step 1: PreparationCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java241 // Step 2: Generate test dataCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java244 // Step 3: Build and execute Flink jobCOMMENT
LOW…/connector/testframe/testsuites/SinkTestSuiteBase.java269 // Step 4: Wait for the expected result and stop Flink job with a savepointCOMMENT
LOW…/connector/testframe/testsuites/SinkTestSuiteBase.java300 // Step 4: restart the Flink job with the savepointCOMMENT
LOW…nt/filemerging/FileMergingSnapshotManagerTestBase.java527 // Step 2: restore FileMergingSnapshotManagerBase from the TaskStateSnapshot.COMMENT
LOW…/runtime/asyncprocessing/StateExecutionController.java96 // Step 1: build state future & assign context.COMMENT
7 more matches not shown…
Modern Structural Boilerplate105 hits · 106 pts
SeverityFileLineSnippetContext
LOWflink-python/pyflink/__init__.py56__all__ = [CODE
LOWflink-python/pyflink/datastream/functions.py32__all__ = [CODE
LOW…hon/pyflink/datastream/stream_execution_environment.py46__all__ = ['StreamExecutionEnvironment']CODE
LOWflink-python/pyflink/datastream/checkpoint_config.py24__all__ = ['CheckpointConfig']CODE
LOWflink-python/pyflink/datastream/window.py33__all__ = ['Window',CODE
LOWflink-python/pyflink/datastream/execution_mode.py23__all__ = ['RuntimeExecutionMode']CODE
LOWflink-python/pyflink/datastream/__init__.py291__all__ = [CODE
LOWflink-python/pyflink/datastream/checkpointing_mode.py22__all__ = ['CheckpointingMode']CODE
LOWflink-python/pyflink/datastream/data_stream.py64__all__ = ['CloseableIterator', 'DataStream', 'KeyedStream', 'ConnectedStreams', 'WindowedStream',CODE
LOW…yflink/datastream/externalized_checkpoint_retention.py20__all__ = ['ExternalizedCheckpointRetention']CODE
LOWflink-python/pyflink/datastream/checkpoint_storage.py26__all__ = [CODE
LOW…nk-python/pyflink/datastream/async_retry_strategies.py22__all__ = [CODE
LOWflink-python/pyflink/datastream/state_backend.py28__all__ = [CODE
LOWflink-python/pyflink/datastream/state.py25__all__ = [CODE
LOWflink-python/pyflink/datastream/slot_sharing_group.py19__all__ = ['MemorySize', 'SlotSharingGroup']CODE
LOWflink-python/pyflink/datastream/connectors/cassandra.py24__all__ = [CODE
LOW…-python/pyflink/datastream/connectors/elasticsearch.py27__all__ = ['FlushBackoffType',CODE
LOW…-python/pyflink/datastream/connectors/dynamic_kafka.py27__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/kinesis.py26__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/__init__.py21__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/jdbc.py24__all__ = [CODE
LOW…-python/pyflink/datastream/connectors/hybrid_source.py24__all__ = [CODE
LOW…ink-python/pyflink/datastream/connectors/number_seq.py21__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/rabbitmq.py23__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/kafka.py34__all__ = [CODE
LOW…nk-python/pyflink/datastream/connectors/file_system.py36__all__ = [CODE
LOWflink-python/pyflink/datastream/connectors/pulsar.py29__all__ = [CODE
LOWflink-python/pyflink/datastream/formats/orc.py29__all__ = [CODE
LOWflink-python/pyflink/datastream/formats/avro.py29__all__ = [CODE
LOWflink-python/pyflink/datastream/formats/parquet.py30__all__ = [CODE
LOWflink-python/pyflink/datastream/formats/csv.py29__all__ = [CODE
LOWflink-python/pyflink/datastream/formats/json.py22__all__ = [CODE
LOWflink-python/pyflink/metrics/__init__.py21__all__ = ["MetricGroup", "Metric", "Counter", "Meter", "Distribution"]CODE
LOWflink-python/pyflink/dataframe/catalog.py27__all__ = [CODE
LOWflink-python/pyflink/dataframe/iteration.py39__all__ = ["CloseableIterator"]CODE
LOWflink-python/pyflink/dataframe/over_window.py28__all__ = ["FrameBoundary", "preceding", "following"]CODE
LOWflink-python/pyflink/dataframe/dataframe.py103__all__ = ["DataFrame", "GroupedDataFrame", "col", "lit"]CODE
LOWflink-python/pyflink/dataframe/convert.py57__all__ = [CODE
LOWflink-python/pyflink/dataframe/io.py30__all__ = ["read_catalog_table", "read_generic", "read_json", "read_kafka", "read_parquet"]CODE
LOWflink-python/pyflink/dataframe/udaf.py48__all__ = ["udaf"]CODE
LOWflink-python/pyflink/dataframe/__init__.py91__all__ = [CODE
LOWflink-python/pyflink/dataframe/llm.py34__all__ = [CODE
LOW⚡flink-python/pyflink/dataframe/llm.py549def set_model_provider(provider: ModelProvider, /) -> None:CODE
LOW⚡flink-python/pyflink/dataframe/llm.py554def set_model_provider(*, provider: ModelProvider) -> None:CODE
LOW⚡flink-python/pyflink/dataframe/llm.py559def set_model_provider(name: str, provider: ModelProvider) -> None:CODE
LOWflink-python/pyflink/dataframe/llm.py628def set_default_model_provider(name: str) -> None:CODE
LOWflink-python/pyflink/dataframe/udtf.py63__all__ = ["udtf"]CODE
LOWflink-python/pyflink/dataframe/context.py28__all__ = [CODE
LOWflink-python/pyflink/dataframe/context.py65def set_table_environment(t_env: Optional[TableEnvironment]) -> None:CODE
LOWflink-python/pyflink/dataframe/dataframe_config.py24__all__ = [CODE
LOWflink-python/pyflink/dataframe/sql.py38__all__ = ["sql"]CODE
LOWflink-python/pyflink/dataframe/datatype.py25__all__ = ["DataType"]CODE
LOWflink-python/pyflink/dataframe/udf.py60__all__ = ["udf"]CODE
LOWflink-python/pyflink/fn_execution/state_impl.py109 def set_current_namespace(self, namespace: N) -> None:CODE
LOWflink-python/pyflink/fn_execution/coders.py42__all__ = ['FlattenRowCoder', 'RowCoder', 'BigIntCoder', 'TinyIntCoder', 'BooleanCoder',CODE
LOWflink-python/pyflink/fn_execution/internal_state.py48 def set_current_namespace(self, namespace: N) -> None:CODE
LOW…pyflink/fn_execution/datastream/embedded/state_impl.py52 def set_current_namespace(self, namespace) -> None:CODE
LOWflink-python/pyflink/fn_execution/formats/__init__.py20__all__ = [CODE
LOW…/pyflink/fn_execution/beam/beam_worker_pool_service.py211 def _set_log_level_overrides(config) -> None:CODE
LOWflink-python/pyflink/util/api_stability_decorators.py27__all__ = ["Deprecated", "Experimental", "Internal", "PublicEvolving", "Public"]CODE
45 more matches not shown…
Verbosity Indicators51 hits · 85 pts
SeverityFileLineSnippetContext
LOW⚡tools/ci/test_controller.sh37# Step 0: Check & print environment information & configure envCOMMENT
LOW⚡tools/ci/test_controller.sh77# Step 1: Rebuild jars and install Flink to local maven repositoryCOMMENT
LOW⚡tools/ci/test_controller.sh100# Step 2: Run testsCOMMENT
LOW⚡tools/ci/test_controller.sh116# Step 3: Put extra logs into $DEBUG_FILES_OUTPUT_DIRCOMMENT
LOW…nnector/file/table/stream/AbstractStreamingWriter.java157 // - If there are multiple entries, Flink downscaled, and we need to check if all areCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java127 // Step 1: Run the job with initial parallelism and take a checkpointCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java138 // Step 2: Restore the job with a different parallelismCOMMENT
LOW…nalignedCheckpointRescaleWithMixedExchangesITCase.java150 // Step 3: Restore from Step 2's checkpoint with random parallelism. This validatesCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java139 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java142 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java150 // Step 5: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java157 // Step 5: Clean upCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java192 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java199 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java207 // Step 4: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java300 // Step 2: Generate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java309 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java345 // Step 5: Generate new test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java352 // Step 6: restart the Flink job with the savepointCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java508 // Step 2: Write test data to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java515 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java523 // Step 4: Validate test dataCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java529 // Step 5: Clean upCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java579 // Step 3: Build and execute Flink jobCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java588 // Step 4: Validate records before killing TaskManagersCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java597 // Step 5: Trigger TaskManager failoverCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java604 // Step 6: Write test data again to external systemCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java614 // Step 7: Validate test resultCOMMENT
LOW⚡…onnector/testframe/testsuites/SourceTestSuiteBase.java622 // Step 8: Clean upCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java127 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java180 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java289 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java324 // Step 4: Check the result and stop Flink job with a savepointCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java496 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java554 // Step 1: PreparationCOMMENT
LOW…onnector/testframe/testsuites/SourceTestSuiteBase.java566 // Step 2: Write test data to external systemCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java232 // Step 1: PreparationCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java241 // Step 2: Generate test dataCOMMENT
LOW⚡…/connector/testframe/testsuites/SinkTestSuiteBase.java244 // Step 3: Build and execute Flink jobCOMMENT
LOW…/connector/testframe/testsuites/SinkTestSuiteBase.java269 // Step 4: Wait for the expected result and stop Flink job with a savepointCOMMENT
LOW…/connector/testframe/testsuites/SinkTestSuiteBase.java300 // Step 4: restart the Flink job with the savepointCOMMENT
LOW…/apache/flink/state/forst/fs/ForStFlinkFileSystem.java149 // the file system, so we need to check if it works.COMMENT
LOW…nt/filemerging/FileMergingSnapshotManagerTestBase.java527 // Step 2: restore FileMergingSnapshotManagerBase from the TaskStateSnapshot.COMMENT
LOW…/runtime/asyncprocessing/StateExecutionController.java96 // Step 1: build state future & assign context.COMMENT
LOW⚡…/runtime/asyncprocessing/AsyncExecutionController.java306 // Step 1: try to seize the capacity, if the current in-flight records exceeds the limit,COMMENT
LOW⚡…/runtime/asyncprocessing/AsyncExecutionController.java310 // Step 3: try to occupy the key and place it into right buffer.COMMENT
LOW⚡…/runtime/asyncprocessing/AsyncExecutionController.java316 // Step 4: trigger the (active) buffer if needed.COMMENT
LOW⚡…va/org/apache/flink/runtime/dispatcher/Dispatcher.java1026 // Step 1: cleanup remaining suspended jobs for the applicationCOMMENT
LOW⚡…va/org/apache/flink/runtime/dispatcher/Dispatcher.java1029 // Step 2: finalize the archived application after all jobs are marked as terminatedCOMMENT
LOW⚡…va/org/apache/flink/runtime/dispatcher/Dispatcher.java1060 // Step 3: create a dirty result for the applicationCOMMENT
LOW⚡…va/org/apache/flink/runtime/dispatcher/Dispatcher.java1065 // Step 4: perform application cleanup and mark result clean after all cleanupCOMMENT
Empty Error Handlers16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHflink-python/setup.py83except IndexError:CODE
HIGHflink-python/setup.py96except IndexError:CODE
HIGHflink-python/pyflink/find_flink_home.py81except Exception:CODE
HIGHflink-python/pyflink/find_flink_home.py68except Exception:CODE
HIGHflink-python/pyflink/dataframe/udtf.py509except Exception:CODE
HIGHflink-python/pyflink/dataframe/udf.py1106except ImportError:CODE
HIGHflink-python/pyflink/dataframe/udf.py1112except ImportError:CODE
HIGHflink-python/pyflink/dataframe/udf.py1200except Exception:CODE
HIGH…ink-python/pyflink/dataframe/tests/test_over_window.py214except TypeError:CODE
HIGH…n_execution/datastream/process/async_function/queue.py249except KeyError:CODE
HIGH…n/pyflink/fn_execution/tests/test_process_mode_boot.py145except:CODE
HIGH…/pyflink/fn_execution/table/window_process_function.py316except KeyError:CODE
HIGHflink-python/pyflink/util/api_stability_decorators.py92except (AttributeError, TypeError):CODE
HIGHflink-python/pyflink/util/java_utils.py107except Py4JJavaError:CODE
HIGHflink-python/pyflink/table/typehints.py68except ImportError:CODE
HIGHflink-python/pyflink/table/tests/test_udaf.py195except StopIteration:CODE
Excessive Try-Catch Wrapping41 hits · 44 pts
SeverityFileLineSnippetContext
LOWflink-python/pyflink/find_flink_home.py68 except Exception:CODE
LOWflink-python/pyflink/find_flink_home.py81 except Exception:CODE
LOW…python/pyflink/datastream/tests/test_async_function.py151 except Exception as e:CODE
LOW…python/pyflink/datastream/tests/test_async_function.py177 except Exception as e:CODE
LOW…python/pyflink/datastream/tests/test_async_function.py203 except Exception as e:CODE
LOW…python/pyflink/datastream/tests/test_async_function.py229 except Exception as e:CODE
LOW…python/pyflink/datastream/tests/test_async_function.py326 except Exception as e:CODE
LOWflink-python/pyflink/dataframe/catalog.py92 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/dataframe.py3269 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/dataframe.py3319 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/io.py829 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/io.py963 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/io.py1025 except Exception as error:CODE
LOWflink-python/pyflink/dataframe/udtf.py506 except Exception:CODE
LOWflink-python/pyflink/dataframe/udtf.py509 except Exception:CODE
LOW⚡flink-python/pyflink/dataframe/sql.py186 except Exception:CODE
LOW⚡flink-python/pyflink/dataframe/sql.py194 except Exception:CODE
LOWflink-python/pyflink/dataframe/sql.py328 except Exception as e:CODE
LOWflink-python/pyflink/dataframe/sql.py332 except Exception:CODE
LOWflink-python/pyflink/dataframe/sql.py400 except Exception as e:CODE
LOWflink-python/pyflink/dataframe/sql.py404 except Exception:CODE
MEDIUMflink-python/pyflink/dataframe/udf.py187def close(self) -> None:CODE
LOWflink-python/pyflink/dataframe/udf.py819 except Exception:CODE
LOWflink-python/pyflink/dataframe/udf.py1197 except Exception:CODE
LOWflink-python/pyflink/dataframe/udf.py1200 except Exception:CODE
LOWflink-python/pyflink/fn_execution/__init__.py39except Exception as e:CODE
LOWflink-python/pyflink/fn_execution/__init__.py54except Exception as e:CODE
LOW…ecution/datastream/process/async_function/operation.py138 except Exception as error:CODE
LOW…ecution/datastream/process/async_function/operation.py222 except Exception as e:CODE
LOW…ecution/datastream/process/async_function/operation.py245 except Exception as e:CODE
LOW…ecution/datastream/process/async_function/operation.py285 except Exception as e:CODE
MEDIUM…ecution/datastream/process/async_function/operation.py281def exception_handler_wrapper(self, async_function, record, result_handler):CODE
LOW…yflink/fn_execution/table/async_function/operations.py169 except Exception as e:CODE
MEDIUM…yflink/fn_execution/table/async_function/operations.py156def execute_async(rh):CODE
LOW…/pyflink/fn_execution/beam/beam_worker_pool_service.py95 except Exception:CODE
LOW…/pyflink/fn_execution/beam/beam_worker_pool_service.py145 except Exception:CODE
LOW…/pyflink/fn_execution/beam/beam_worker_pool_service.py230 except Exception as e:CODE
LOW⚡flink-python/pyflink/table/_over_window.py72 except Exception as exc:CODE
LOW…thon/pyflink/table/tests/test_async_scalar_function.py271 except Exception as e:STRING
LOW…cs/content.zh/docs/dev/datastream/operators/asyncio.md169 except Exception:CODE
LOWdocs/content/docs/dev/datastream/operators/asyncio.md184 except Exception:CODE
Self-Referential Comments13 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMazure-pipelines.yml17# This file defines an Azure Pipeline build for testing Flink. It is intended to be usedCOMMENT
MEDIUMtools/azure-pipelines/build-apache-repo.yml18# This file defines the Flink build for the "apache/flink" repository, includingCOMMENT
MEDIUMtools/ci/test_controller.sh21# This file contains generic control over the test execution.COMMENT
MEDIUMtools/ci/watchdog.sh21# This file contains a watchdog tool to monitor a task and potentially kill it afterCOMMENT
MEDIUMflink-python/pyflink/java_gateway.py108 # Create a temporary directory where the gateway server should write the connection information.COMMENT
MEDIUM⚡flink-python/pyflink/datastream/state.py931 # Creating the default Duration here would start a Py4J gateway in embedded workers.COMMENT
MEDIUM…yflink/fn_execution/table/async_function/operations.py68 # Create the eval functionCOMMENT
MEDIUM…thon/pyflink/table/tests/test_async_scalar_function.py170 # Define a regular synchronous UDFCOMMENT
MEDIUM…on/pyflink/table/tests/test_expression_completeness.py44 # The following methods have been replaced with the built-in methods in Python,COMMENT
MEDIUM…/pyflink/examples/table/async/async_scalar_function.py88 # Create a source tableCOMMENT
MEDIUMflink-python/dev/lint-python.sh206 # Create a Python 3.13 virtual environment as the base environment.COMMENT
MEDIUMflink-dist/src/main/flink-bin/bin/config.sh188# Define the main directory of the flink installationCOMMENT
MEDIUM…ts/test-scripts/test_kubernetes_pyflink_application.sh73# Create a new docker image that has python and PyFlink installed.COMMENT
AI Slop Vocabulary14 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUM…lan/rules/logical/FlinkAggregateJoinTransposeRule.java285 // metadata more robust" is fixed) places a heavy load onCOMMENT
MEDIUM…n/window/operators/TwoOutputWindowProcessOperator.java498 // we don't support user utilize processing time in window operatorsCOMMENT
MEDIUM…erators/TwoInputNonBroadcastWindowProcessOperator.java712 // we don't support user utilize processing time in window operatorsCOMMENT
MEDIUM…on/window/operators/OneInputWindowProcessOperator.java485 // we don't support user utilize processing time in window operatorsCOMMENT
LOW…n/pyflink/fn_execution/tests/test_process_mode_boot.py113 # just create an empty fileCOMMENT
MEDIUM…fs/s3native/metrics/NativeS3MetricsEmissionITCase.java154 // publishes inline, but poll to remain robust against any asynchronous delivery.COMMENT
MEDIUMflink-runtime-web/web-dashboard/package-lock.json13178 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUM…/org/apache/flink/runtime/net/ConnectionUtilsTest.java42 // using a Absolutely unreachable outside ip:portCOMMENT
MEDIUM…rators/coordination/OperatorCoordinatorHolderTest.java707 // triggered checkpoint, to ensure the test conditions are robust.COMMENT
MEDIUM…io/network/netty/ClientTransportErrorHandlingTest.java125 // Do this with explicit synchronization. Otherwise, this is not robust against slow timingsCOMMENT
MEDIUM…kpoint/filemerging/FileMergingSnapshotManagerBase.java628 // Since the rocksdb state backend will leverage the PlaceholderStreamStateHandle,COMMENT
MEDIUM…kpoint/filemerging/FileMergingSnapshotManagerBase.java701 // Since the rocksdb state backend will leverage the PlaceholderStreamStateHandle,COMMENT
MEDIUM…time/io/network/api/serialization/EventSerializer.java302 // we do not use checkpointType.ordinal() here to make the serialization robustCOMMENT
MEDIUM…ache/flink/runtime/state/heap/CopyOnWriteStateMap.java505 // need to do this check when isRehashing() is false, but in order to get a more robustCOMMENT
Example Usage Blocks9 hits · 12 pts
SeverityFileLineSnippetContext
LOW…esystems/flink-s3-fs-native/tools/download-crt-jars.sh29# Usage:COMMENT
LOW⚡.github/workflows/community-review.sh138# Usage:COMMENT
LOW⚡.github/workflows/community-review.sh403# Usage:COMMENT
LOW⚡.github/workflows/community-review.sh520# Usage:COMMENT
LOW⚡.github/workflows/community-review.sh545# Usage:COMMENT
LOWflink-end-to-end-tests/test-scripts/test_quickstarts.sh21# Usage:COMMENT
LOWflink-end-to-end-tests/test-scripts/test_table_api.sh23# Usage:COMMENT
LOW…d-to-end-tests/test-scripts/test_streaming_examples.sh22# Usage:COMMENT
LOW…end-tests/test-scripts/test_datastream_walkthroughs.sh21# Usage:COMMENT
Slop Phrases9 hits · 12 pts
SeverityFileLineSnippetContext
LOW…/java/org/apache/flink/table/api/TableEnvironment.java1135 * semantics). For set semantics ({@link ArgumentTrait#SET_SEMANTIC_TABLE}), make sure toCOMMENT
LOW…/java/org/apache/flink/table/api/TableEnvironment.java1167 * semantics). For set semantics ({@link ArgumentTrait#SET_SEMANTIC_TABLE}), make sure toCOMMENT
LOWtools/releasing/create_release_branch.sh85echo "Done. Don't forget to create the signed release tag at the end and push the changes."CODE
LOWtools/releasing/create_preview_branch.sh97echo "Done. Don't forget to create the signed release tag at the end and push the changes."CODE
LOWtools/releasing/update_branch_version.sh64echo "Don't forget to push the change."CODE
LOWtools/releasing/create_snapshot_branch.sh70echo "Done. Don't forget to push the branch."CODE
LOW…nk/connector/file/src/testutils/TestingFileSystem.java50 * TestingFileSystem#register()} method to do that, and don't forget to {@linkCOMMENT
LOW…nk/connector/file/src/testutils/TestingFileSystem.java50 * TestingFileSystem#register()} method to do that, and don't forget to {@linkCOMMENT
LOW…org/apache/flink/runtime/testutils/TestJvmProcess.java130 * <p><strong>Important:</strong> Don't forget to call {@link #destroy()} to prevent resourceCOMMENT
AI Structural Patterns13 hits · 12 pts
SeverityFileLineSnippetContext
LOWflink-python/pyflink/dataframe/dataframe.py2798CODE
LOWflink-python/pyflink/dataframe/dataframe.py2943CODE
LOWflink-python/pyflink/dataframe/dataframe.py3094CODE
LOWflink-python/pyflink/dataframe/io.py103CODE
LOWflink-python/pyflink/dataframe/io.py186CODE
LOWflink-python/pyflink/dataframe/io.py557CODE
LOWflink-python/pyflink/dataframe/llm.py228CODE
LOWflink-python/pyflink/dataframe/llm.py404CODE
LOWflink-python/pyflink/fn_execution/coder_impl_slow.py664CODE
LOWflink-python/pyflink/fn_execution/coder_impl_slow.py685CODE
LOW…k/fn_execution/datastream/process/timerservice_impl.py226CODE
LOWflink-python/pyflink/table/udf.py815CODE
LOW…python/pyflink/table/tests/test_row_based_operation.py104CODE
Redundant / Tautological Comments9 hits · 11 pts
SeverityFileLineSnippetContext
LOW…yflink/fn_execution/table/async_function/operations.py161 # Check if any result is a coroutine and await itCOMMENT
LOWflink-python/pyflink/table/types.py2012 >>> # Check if numeric values are within the allowed range.STRING
LOWflink-dist/src/main/flink-bin/bin/bash-java-utils.sh117 # Print the output in case the user redirect the log to console.COMMENT
LOW…ink-dist/src/main/flink-bin/bin/config-parser-utils.sh41# Output the resultCOMMENT
LOW…ink-dist/src/main/flink-bin/bin/migrate-config-file.sh46# Output the resultCOMMENT
LOWflink-dist/src/main/flink-bin/bin/config.sh363# Check if deprecated HADOOP_HOME is set, and specify config path to HADOOP_CONF_DIR if it's empty.COMMENT
LOWflink-dist/src/main/flink-bin/bin/config.sh386# Check if deprecated HBASE_HOME is set, and specify config path to HBASE_CONF_DIR if it's empty.COMMENT
LOW⚡.github/workflows/community-review.sh420# Check if a label exists in the repository and create it if it doesn'tCOMMENT
LOW⚡.github/workflows/community-review.sh431 # Check if the label existsCOMMENT
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdocs/content.zh/docs/connectors/models/triton.md441 'custom-headers' = '{"X-API-Key": "your-api-key", "X-Client-ID": "flink-job-123"}'CODE
HIGHdocs/content/docs/connectors/models/triton.md421 'custom-headers' = '{"X-API-Key": "your-api-key", "X-Client-ID": "flink-job-123"}'CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…che/flink/table/catalog/CatalogPropertiesUtilTest.java47 options.put("api_key", "fake_key");CODE
LOW…nk/api/java/typeutils/runtime/ValueComparatorTest.java31 new StringValue("Lorem Ipsum Dolor Omit Longer"),CODE
LOW…peutils/runtime/AbstractGenericTypeComparatorTest.java39 "Lorem Ipsum Dolor Omit Longer",CODE
LOW…ava/typeutils/runtime/CopyableValueComparatorTest.java31 new StringValue("Lorem Ipsum Dolor Omit Longer"),CODE
LOW…nk/api/common/typeutils/base/StringComparatorTest.java40 "", "Lorem Ipsum Dolor Omit Longer", "aaaa", "abcd", "abce", "abdd", "accd", "bbcd"CODE
LOW…i/common/typeutils/base/StringValueComparatorTest.java42 new StringValue("Lorem Ipsum Dolor Omit Longer"),CODE
LOW…org/apache/flink/test/testdata/WebLogAnalysisData.java30 + "url_16|tation ad sed veniam lobortis editor nonummy Ut ea ipsum aliquip dolore ut laoreet tation CODE
LOW…org/apache/flink/test/testdata/WebLogAnalysisData.java36 + "url_22|sit exerci ad ut minim convection ad ea dolore Lorem ipsum amet sit wisi sed ullamcorper iCODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…network/partition/consumer/RemoteInputChannelTest.java237 // I've added this check just to be sure. It's freezing the current implementation that'sCOMMENT
Modern AI Meta-Vocabulary2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMAGENTS.md93### DataStream API v2 (newer event-driven API)COMMENT
MEDIUM…r/runtime/stream/sql/AsyncLookupJoinTimeoutITCase.java79 * #testNoTimeoutCompletesSuccessfully()} stays as a single sanity case ensuring the scaffoldingCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…nk-python/pyflink/datastream/tests/test_data_stream.py1843CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/flink/state/changelog/ChangelogKeyedStateBackend.java897 // TODO: implement its own streamFactory.COMMENT