AI Slop Code Risk Monitor

apache/paimon

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

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.

10.5 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/paimon, a Java project with 3,439 GitHub stars. SynthScan examined 1,698,403 lines of code across 7621 source files, recording 12498 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 10.5 (Moderate 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.

10.5
Adjusted Signal
10.5
Raw Pattern Score
100%
Time Factor
2026-11-01
Last Push
3.4K
Stars
Java
Language
1.7M
Lines of Code
7.6K
Files
12.5K
Pattern Hits
2026-10-31
Scan Date
0.09
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 26.5/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 12.6/100 · LOW

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

Agent Over-Engineering Ratio 27.2/100 · MEDIUM

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

PR Review Velocity Impact 41.8/100 · MEDIUM

Which changes need focused human review? 12498 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 351HIGH 364MEDIUM 440LOW 11343

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 12498 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers8391 hits · 7920 pts
SeverityFileLineSnippetContext
LOW⚡tools/ci/test_result.py42 def test_selected_groups_pass_and_unselected_groups_skip(self):CODE
LOW⚡tools/ci/test_result.py45 def test_selected_failure_cancellation_and_unexpected_skip_fail(self):CODE
LOW⚡tools/ci/test_result.py50 def test_planner_failure_fails_even_if_other_groups_report_success(self):CODE
LOW⚡tools/ci/test_plan.py36 def test_spark_keeps_common_docs_and_interoperability_tests(self):CODE
LOW⚡tools/ci/test_plan.py45 def test_shared_and_unknown_changes_run_all_java(self):CODE
LOW⚡tools/ci/test_plan.py52 def test_parent_pom_also_validates_python_build(self):CODE
LOW⚡tools/ci/test_plan.py56 def test_docs_and_markdown_do_not_start_maven(self):CODE
LOW⚡tools/ci/test_plan.py64 def test_mixed_changes_take_union(self):CODE
LOW⚡tools/ci/test_plan.py74 def test_java_python_fixtures_run_python(self):CODE
LOW⚡tools/ci/test_plan.py82 def test_rest_contract_runs_java_and_python(self):CODE
LOW⚡tools/ci/test_plan.py93 def test_leaf_modules_and_workflows(self):CODE
LOW⚡tools/ci/test_plan.py102 def test_ci_logic_and_manual_run_validate_every_consumer(self):CODE
LOW⚡tools/ci/test_plan.py109 def test_empty_diff_does_not_run_expensive_jobs(self):CODE
LOW⚡tools/ci/test_plan.py114 def test_size_guard_handles_spaces_deletions_and_symlinks(self):CODE
LOWtools/ci/test_plan.py148 def test_pr_uses_merge_base_instead_of_including_base_branch_changes(self):CODE
LOWtools/ci/test_plan.py158 def test_push_includes_all_commits_and_both_sides_of_renames(self):CODE
LOWtools/ci/test_plan.py170 def test_large_diffs_do_not_truncate_late_core_changes(self):CODE
LOWtools/ci/test_plan.py181 def test_new_branch_missing_commits_and_manual_run_fall_back(self):CODE
LOWtools/ci/test_plan.py197 def test_pr_unavailable_diff_runs_full_ci_with_unchanged_oversized_file(self):CODE
LOWtools/ci/test_plan.py218 def test_pr_size_guard_ignores_unchanged_but_rejects_changed_oversized_files(self):CODE
LOWtools/ci/test_plan.py233 def test_github_outputs_are_valid_json_and_summary_explains_selection(self):CODE
LOWtools/ci/test_deploy_maven_repository.py31 def test_deploy_runs_once_without_recursing_into_reactor(self):CODE
LOWtools/ci/test_java_commands.py43 def test_every_lane_builds_dependencies_but_only_tests_selected_modules(self):CODE
LOWtools/ci/test_java_commands.py56 def test_spark_retains_all_connector_versions_and_scala_variants(self):CODE
LOWtools/ci/test_java_commands.py76 def test_flink_coverage_includes_cdc_and_both_major_versions(self):CODE
LOWtools/ci/test_java_commands.py92 def test_unknown_suite_fails_instead_of_silently_running_no_tests(self):CODE
LOWtools/ci/test_java_commands.py98 def test_python_build_selects_runnable_modules_not_just_aggregator_poms(self):CODE
LOWdocs/scripts/validate-rest-openapi.js90 function requireRequiredProperties(schemaName, names) {CODE
LOWdocs/scripts/validate-rest-openapi.js97 function requireTypedIntegerProperties(schemaName, names) {CODE
LOWdocs/scripts/validate-rest-openapi.js194function requireArrayOfIdentifiers(contract, schemaName, propertyName) {CODE
LOWdocs/scripts/validate-rest-openapi.js207function requireNullableStringProperty(contract, schemaName, propertyName) {CODE
LOWdocs/scripts/validate-rest-openapi.js419function validateManagementOpenApi() {CODE
LOWpaimon-python/conftest.py198def pytest_collection_modifyitems(items):CODE
LOWpaimon-python/dev/test_packaging.py104 def test_sdist_and_wheel_share_version_and_commit(self):CODE
LOWpaimon-python/dev/test_packaging.py116 def test_distribution_contents(self):CODE
LOWpaimon-python/dev/test_packaging.py293 def test_metadata_preserves_core_and_extra_conditions(self):CODE
LOWpaimon-python/dev/test_packaging.py312 def test_readerwriterlock_python_compatibility(self):CODE
LOWpaimon-python/dev/test_packaging.py329 def test_python_ci_dependencies_do_not_pull_native_sql(self):CODE
LOWpaimon-python/dev/test_packaging.py352 def test_dev_group_reuses_product_extras(self):CODE
LOWpaimon-python/dev/test_packaging.py363 def test_sdist_rebuild_preserves_provenance_in_another_git_repo(self):CODE
LOWpaimon-python/dev/test_packaging.py378 def test_release_override_applies_to_both_formats(self):CODE
LOWpaimon-python/dev/test_packaging.py390 def test_invalid_release_override_fails(self):CODE
LOWpaimon-python/pypaimon/write/merge_condition.py94def try_parse_self_merge_predicate(condition, fields) -> Optional[Predicate]:CODE
LOWpaimon-python/pypaimon/write/merge_condition.py116def _parse_self_merge_expression(condition, fields):CODE
LOWpaimon-python/pypaimon/write/merge_inputs.py262def _resolve_target_projection(CODE
LOWpaimon-python/pypaimon/write/merge_inputs.py359def _validate_source_has_target_cols(CODE
LOWpaimon-python/pypaimon/write/merge_transform.py45def vectorized_matched_transform(CODE
LOWpaimon-python/pypaimon/write/merge_transform.py70def vectorized_delete_transform(CODE
LOWpaimon-python/pypaimon/write/merge_transform.py80def vectorized_insert_transform(CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py69def _cast_binary_to_table_schema(table: pa.Table, target_schema: pa.Schema) -> pa.Table:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py483def _write_primary_key_groups(CODE
LOW…mon-python/pypaimon/write/commit_message_serializer.py225def deserialize_commit_message(data: bytes, partition_fields: List[DataField],CODE
LOWpaimon-python/pypaimon/write/table_update.py73 def _update_by_arrow_with_row_id(self, table: pa.Table, commit_identifier: int) -> List[CommitMessage]:CODE
LOWpaimon-python/pypaimon/write/table_update.py77 def _upsert_by_arrow_with_key(CODE
LOWpaimon-python/pypaimon/write/table_update.py130 def _validate_predicate_update(self, assignments, read_columns, has_callable, has_array):CODE
LOWpaimon-python/pypaimon/write/table_update.py145 def update_by_arrow_with_row_id(self, table: pa.Table) -> List[CommitMessage]:CODE
LOWpaimon-python/pypaimon/write/table_update.py149 def update_by_arrow_batches_with_row_id(self, tables: Iterable[pa.Table]) -> List[CommitMessage]:CODE
LOWpaimon-python/pypaimon/write/table_update.py235 def update_by_arrow_with_row_id(CODE
LOWpaimon-python/pypaimon/write/update_dispatch.py77 def _update_by_arrow_with_row_id(self, table: pa.Table, commit_identifier: int) -> List[CommitMessage]:CODE
LOWpaimon-python/pypaimon/write/update_dispatch.py88 def _upsert_by_arrow_with_key(CODE
8331 more matches not shown…
Hallucination Indicators351 hits · 3792 pts
SeverityFileLineSnippetContext
CRITICAL…java/org/apache/paimon/jindo/JindoMultiPartUpload.java76 new com.aliyun.jindodata.api.spec.protos.JdoObjectPartList();CODE
CRITICAL…org/apache/paimon/core/IcebergDVCompatibilityTest.java392 org.apache.iceberg.data.GenericRecord.create(type);CODE
CRITICAL…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java549 org.apache.paimon.iceberg.metadata.IcebergMetadata.fromPath(CODE
CRITICAL…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java1145 org.apache.paimon.iceberg.metadata.IcebergMetadata.fromPath(CODE
CRITICAL⚡…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java95 org.apache.paimon.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java103 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java106 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java109 "col2", org.apache.flink.cdc.common.types.DataTypes.INT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java193 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java196 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java199 "col2", org.apache.flink.cdc.common.types.DataTypes.INT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java202 org.apache.flink.cdc.common.types.DataTypes.INT().notNull())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java224 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java227 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java230 "col2", org.apache.flink.cdc.common.types.DataTypes.INT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java252 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java255 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java259 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java262 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java265 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java295 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java298 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java302 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java305 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java308 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java334 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java337 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java341 org.apache.flink.cdc.common.types.DataTypes.BOOLEAN())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java344 org.apache.flink.cdc.common.types.DataTypes.BINARY(3))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java347 org.apache.flink.cdc.common.types.DataTypes.VARBINARY(10))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java350 org.apache.flink.cdc.common.types.DataTypes.BYTES())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java353 org.apache.flink.cdc.common.types.DataTypes.TINYINT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java356 org.apache.flink.cdc.common.types.DataTypes.SMALLINT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java358 "int", org.apache.flink.cdc.common.types.DataTypes.INT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java361 org.apache.flink.cdc.common.types.DataTypes.FLOAT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java364 org.apache.flink.cdc.common.types.DataTypes.DOUBLE())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java367 org.apache.flink.cdc.common.types.DataTypes.DECIMAL(6, 3))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java369 "char", org.apache.flink.cdc.common.types.DataTypes.CHAR(5))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java372 org.apache.flink.cdc.common.types.DataTypes.VARCHAR(10))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java375 org.apache.flink.cdc.common.types.DataTypes.STRING())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java377 "date", org.apache.flink.cdc.common.types.DataTypes.DATE())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java379 "time", org.apache.flink.cdc.common.types.DataTypes.TIME())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java382 org.apache.flink.cdc.common.types.DataTypes.TIME(6))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java385 org.apache.flink.cdc.common.types.DataTypes.TIMESTAMP())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java388 org.apache.flink.cdc.common.types.DataTypes.TIMESTAMP(3))CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java391 org.apache.flink.cdc.common.types.DataTypes.TIMESTAMP_LTZ())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java394 org.apache.flink.cdc.common.types.DataTypes.TIMESTAMP_LTZ(CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java442 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java445 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java448 "col2", org.apache.flink.cdc.common.types.DataTypes.INT())CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java479 org.apache.flink.cdc.common.types.DataTypes.STRING()),CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java485 org.apache.flink.cdc.common.types.DataTypes.STRING())));CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java490 org.apache.flink.cdc.common.types.DataTypes.STRING())));CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java495 org.apache.flink.cdc.common.types.DataTypes.STRING()),CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java500 "col7_after", org.apache.flink.cdc.common.types.DataTypes.STRING()),CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java531 org.apache.flink.cdc.common.schema.Schema.newBuilder()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java534 org.apache.flink.cdc.common.types.DataTypes.STRING()CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java539 org.apache.flink.cdc.common.types.DataTypes.STRING(),CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java543 org.apache.flink.cdc.common.types.DataTypes.STRING(),CODE
CRITICAL⚡…ink/pipeline/cdc/schema/PaimonMetadataApplierTest.java547 org.apache.flink.cdc.common.types.DataTypes.STRING(),CODE
291 more matches not shown…
Over-Commented Block1348 hits · 1294 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1#COMMENT
LOW…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java781COMMENT
LOW…pache/paimon/iceberg/IcebergRestMetadataCommitter.java821 // an empty schema that occupies schema ID 0. Paimon's own schema IDs startCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-1.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-5.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-4.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-3.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-2.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…cdc/src/test/resources/mongodb/database/test-data-6.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…n-flink-cdc/src/test/resources/mongodb/docker/setup.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…nk-cdc/src/test/resources/mongodb/table/inventory-2.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…nk-cdc/src/test/resources/mongodb/table/inventory-3.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…nk-cdc/src/test/resources/mongodb/table/inventory-4.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…nk-cdc/src/test/resources/mongodb/table/inventory-1.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/test/resources/mongodb/table/defaultid/defaultId-1.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…/test/resources/mongodb/table/defaultid/defaultId-2.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…resources/mongodb/table/computedcolumn/test-table-2.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…resources/mongodb/table/computedcolumn/test-table-1.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…src/test/resources/mongodb/table/event/event-insert.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…src/test/resources/mongodb/table/event/event-delete.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…src/test/resources/mongodb/table/event/event-update.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…rc/test/resources/mongodb/table/event/event-replace.js1// Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ctors/mysql/source/connection/JdbcConnectionPools.java61 // Intentionally no-op.COMMENT
LOW…e/paimon/flink/action/RemoveUnexistingFilesAction.java221 public void endInput() {COMMENT
LOWtools/ci/utils.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/test_result.py1#!/usr/bin/env python3COMMENT
LOWtools/ci/plan.py1#!/usr/bin/env python3COMMENT
LOWtools/ci/test_plan.py1#!/usr/bin/env python3COMMENT
LOWtools/ci/test_deploy_maven_repository.py1#!/usr/bin/env python3COMMENT
LOWtools/ci/test_java_commands.py1#!/usr/bin/env python3COMMENT
LOWtools/ci/run-java-tests.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/sonar_check.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/docs.sh1#!/usr/bin/env bashCOMMENT
LOWtools/releasing/create_source_release.sh1#!/usr/bin/env bashCOMMENT
LOWtools/releasing/create_release_branch.sh1#!/usr/bin/env bashCOMMENT
LOWtools/releasing/sign_maven_repository.sh1#!/usr/bin/env bashCOMMENT
LOWtools/releasing/deploy_maven_repository.sh1#!/usr/bin/env bashCOMMENT
LOWtools/releasing/update_branch_version.sh1#!/usr/bin/env bashCOMMENT
LOW…-tests/src/test/resources-filtered/docker-compose.yaml1################################################################################COMMENT
LOWdocs/docs/pypaimon/reading.md341print(read_builder.explain())COMMENT
LOWdocs/docs/pypaimon/reading.md361# Files: 4COMMENT
LOWdocs/static/rest-catalog-open-api.yaml1#COMMENT
LOWdocs/static/rest-management-open-api.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/conftest.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/pyproject.toml1################################################################################COMMENT
LOWpaimon-python/setup.py1##########################################################################COMMENT
LOWpaimon-python/dev/test_packaging.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/dev/cfg.ini1################################################################################COMMENT
LOWpaimon-python/dev/run_mixed_tests.sh1#!/bin/bashCOMMENT
LOWpaimon-python/dev/lint-python.sh1#!/usr/bin/env bashCOMMENT
LOWpaimon-python/dev/check_license_header.py1#!/usr/bin/env pythonCOMMENT
LOWpaimon-python/dev/auto-check.sh1#!/usr/bin/env bashCOMMENT
LOWpaimon-python/dev/check-licensing.sh1#!/usr/bin/env bashCOMMENT
LOWpaimon-python/dev/install.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/pypaimon/_version.py1##########################################################################COMMENT
LOWpaimon-python/pypaimon/__init__.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/pypaimon/build_info.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/pypaimon/write/table_commit.py1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWpaimon-python/pypaimon/write/merge_condition.py1################################################################################COMMENT
LOWpaimon-python/pypaimon/write/merge_inputs.py1################################################################################COMMENT
1288 more matches not shown…
Decorative Section Separators240 hits · 888 pts
SeverityFileLineSnippetContext
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml23 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml25 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml77 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml79 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml109 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml111 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml187 # ----------------------------------------COMMENT
MEDIUM…-tests/src/test/resources-filtered/docker-compose.yaml189 # ----------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/read/read_builder.py258 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/read/read_builder.py260 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/read/explain.py142# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/read/explain.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py199 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py201 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py258 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py260 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py284 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py286 # ------------------------------------------------------------------COMMENT
MEDIUM…on-python/pypaimon/tests/schema_evolution_read_test.py573 # ------------------------------------------------------------------COMMENT
MEDIUM…on-python/pypaimon/tests/schema_evolution_read_test.py579 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py90# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py92# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py588# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py592# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py952# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py955# ---------------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py48# ======================================================================COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py50# ======================================================================COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py125# ======================================================================COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py127# ======================================================================COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py151 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py153 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py166 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py168 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py199 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py201 # ------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py219# ======================================================================COMMENT
MEDIUM…n-python/pypaimon/tests/data_evolution_test_helpers.py221# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py42# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py44# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py179 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py181 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py197 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py199 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py326 # ==================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py328 # ==================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1430 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1432 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1735# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1737# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1778# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1780# ======================================================================COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1931 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1933 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1945 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/table_update_test.py1947 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/table_update_test.py1526 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/table_update_test.py1528 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…imon-python/pypaimon/tests/table_upsert_by_key_test.py64 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…imon-python/pypaimon/tests/table_upsert_by_key_test.py66 # ------------------------------------------------------------------COMMENT
180 more matches not shown…
Empty Error Handlers195 hits · 868 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/__init__.py24except ImportError:CODE
HIGHpaimon-python/pypaimon/build_info.py68except OSError:CODE
HIGHpaimon-python/pypaimon/write/backend_dispatch.py513except Exception:CODE
HIGHpaimon-python/pypaimon/changelog/changelog_manager.py332except FileNotFoundError:CODE
HIGHpaimon-python/pypaimon/changelog/changelog_manager.py347except FileNotFoundError:CODE
HIGHpaimon-python/pypaimon/changelog/changelog_manager.py200except FileNotFoundError:CODE
HIGHpaimon-python/pypaimon/catalog/filesystem_catalog.py280except TableNotExistException:CODE
HIGHpaimon-python/pypaimon/manifest/__init__.py24except ImportError:CODE
HIGH…imon-python/pypaimon/manifest/manifest_file_manager.py236except KeyError:CODE
HIGHpaimon-python/pypaimon/manifest/fastavro_py36_compat.py74except ImportError:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py194except OSError:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py3223except OSError:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py4145except Exception:CODE
HIGHpaimon-python/pypaimon/tests/ray_read_by_row_id_test.py61except Exception:CODE
HIGHpaimon-python/pypaimon/tests/ray_bucket_join_test.py60except Exception:CODE
HIGHpaimon-python/pypaimon/tests/oss_file_io_test.py76except Exception:CODE
HIGHpaimon-python/pypaimon/tests/ray_data_test.py59except (ImportError, AttributeError):CODE
HIGHpaimon-python/pypaimon/tests/ray_data_test.py68except Exception:CODE
HIGHpaimon-python/pypaimon/tests/ray_data_test.py72except OSError:CODE
HIGHpaimon-python/pypaimon/tests/ray_data_test.py55except (ImportError, AttributeError):CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py338except Exception:CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py412except Exception:CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py452except Exception:CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py471except Exception:CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py486except Exception:CODE
HIGHpaimon-python/pypaimon/tests/external_paths_test.py510except Exception:CODE
HIGHpaimon-python/pypaimon/tests/vector_table_test.py141except OSError:CODE
HIGHpaimon-python/pypaimon/tests/split_provider_test.py68except OSError:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py101except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py122except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py141except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py162except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py181except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py194except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py221except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py265except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py297except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py309except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py338except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py350except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py380except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py393except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py430except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py439except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py476except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py486except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py496except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py533except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py542except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py580except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py590except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py600except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py638except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py648except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py658except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py696except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py705except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py741except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py750except SystemExit:CODE
HIGHpaimon-python/pypaimon/tests/cli_table_test.py787except SystemExit:CODE
135 more matches not shown…
Excessive Try-Catch Wrapping529 hits · 711 pts
SeverityFileLineSnippetContext
LOWpaimon-python/dev/check_license_header.py44 except Exception as e:CODE
LOWpaimon-python/pypaimon/build_info.py46 except Exception:CODE
LOWpaimon-python/pypaimon/write/merge_condition.py107 except Exception:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py187 except Exception:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py191 except Exception as abort_error:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py266 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py276 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py435 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py526 except Exception:CODE
LOWpaimon-python/pypaimon/write/row_utils.py83 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/backend_dispatch.py52 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/backend_dispatch.py513 except Exception:CODE
LOW…n-python/pypaimon/snapshot/renaming_snapshot_commit.py98 except Exception as e:CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py186 except Exception:CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py415 except Exception:CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_loader.py71 except Exception as e:CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py141 except Exception as e:CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py169 except Exception as e:CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py194 except Exception as e:CODE
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py246 except Exception as e:CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py299 except Exception as e:CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py365 except Exception as e:CODE
LOW⚡paimon-python/pypaimon/changelog/changelog_manager.py59 except Exception as e:CODE
LOW⚡paimon-python/pypaimon/changelog/changelog_manager.py70 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py85 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py203 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py253 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py276 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py298 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py335 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py350 except Exception as e:CODE
LOWpaimon-python/pypaimon/changelog/changelog.py84 except Exception as e:CODE
LOWpaimon-python/pypaimon/catalog/table_rollback.py43 except Exception as e:CODE
LOWpaimon-python/pypaimon/catalog/filesystem_catalog.py253 except Exception as e:CODE
LOWpaimon-python/pypaimon/catalog/jdbc_catalog.py127 except Exception:CODE
LOWpaimon-python/pypaimon/catalog/jdbc_catalog.py451 except Exception:CODE
LOWpaimon-python/pypaimon/catalog/jdbc_catalog.py522 except Exception:CODE
MEDIUMpaimon-python/pypaimon/catalog/jdbc_catalog.py123def transaction(self):CODE
LOWpaimon-python/pypaimon/catalog/rest/rest_catalog.py154 except Exception as e:CODE
LOW…imon-python/pypaimon/manifest/manifest_list_manager.py155 except Exception as e:CODE
LOW…imon-python/pypaimon/manifest/manifest_file_manager.py408 except Exception:CODE
LOW…imon-python/pypaimon/manifest/manifest_file_manager.py464 except Exception as e:CODE
LOWpaimon-python/pypaimon/manifest/manifest_sidecar.py492 except Exception as error:CODE
LOWpaimon-python/pypaimon/manifest/index_manifest_file.py164 except Exception as e:CODE
LOWpaimon-python/pypaimon/manifest/index_manifest_file.py218 except Exception as e:CODE
LOWpaimon-python/pypaimon/manifest/index_manifest_file.py276 except Exception as e:CODE
LOWpaimon-python/pypaimon/read/read_dispatch.py391 except Exception as error:CODE
LOWpaimon-python/pypaimon/read/read_explain.py223 except Exception:CODE
MEDIUMpaimon-python/pypaimon/read/read_explain.py220def _safe_bucket_mode(table) -> str:CODE
LOWpaimon-python/pypaimon/read/datasource/torch_dataset.py498 except Exception:CODE
LOWpaimon-python/pypaimon/read/datasource/torch_dataset.py637 except Exception as e:CODE
LOWpaimon-python/pypaimon/tests/blob_test.py4145 except Exception:CODE
MEDIUMpaimon-python/pypaimon/tests/ray_read_by_row_id_test.py57def tearDownClass(cls):CODE
LOWpaimon-python/pypaimon/tests/ray_read_by_row_id_test.py61 except Exception:CODE
MEDIUMpaimon-python/pypaimon/tests/ray_bucket_join_test.py56def tearDownClass(cls):CODE
LOWpaimon-python/pypaimon/tests/ray_bucket_join_test.py60 except Exception:CODE
LOW⚡paimon-python/pypaimon/tests/oss_file_io_test.py76 except Exception:CODE
LOW…-python/pypaimon/tests/s3_client_compatibility_test.py72 except Exception as error:CODE
LOWpaimon-python/pypaimon/tests/ray_data_test.py68 except Exception:CODE
LOW⚡paimon-python/pypaimon/tests/external_paths_test.py338 except Exception:CODE
469 more matches not shown…
Cross-Language Confusion89 hits · 555 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/catalog/table_query_auth.py157 "Column masking on '{}' is JSON null; refusing to read rather than "CODE
HIGH…imon-python/pypaimon/manifest/schema/data_file_meta.py66 """Row-id range, failing fast if first_row_id is null (mirrors Java nonNullRowIdRange)."""STRING
HIGHpaimon-python/pypaimon/read/file_scanner.py79 # Like ReadBuilder.withPartitionFilter(null), remove theCOMMENT
HIGHpaimon-python/pypaimon/read/read_support.py151 if batch.schema.equals(target_schema, check_metadata=True):CODE
HIGH…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py296 self.assertTrue(left.equals(right), suffix)CODE
HIGHpaimon-python/pypaimon/tests/ray_read_by_row_id_test.py532 self.assertTrue(real_schema.equals(empty.schema().base_schema))CODE
HIGH…imon/tests/format_pyarrow_shared_shredding_map_test.py185 self.assertTrue(selected.equals(expected_array))CODE
HIGH…imon/tests/format_pyarrow_shared_shredding_map_test.py247 self.assertTrue(selected.equals(expected_array))CODE
HIGH⚡paimon-python/pypaimon/tests/reader_parallel_test.py456 self.assertTrue(serial.equals(parallel))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py215 self.assertTrue(df_serial.equals(df_parallel))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py229 self.assertTrue(serial_df.equals(parallel_df))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py485 self.assertTrue(df_s.equals(df_p))CODE
HIGH…on-python/pypaimon/tests/multimodal_lance_view_test.py53 assert result.equals(expected)CODE
HIGH…on-python/pypaimon/tests/schema_evolution_read_test.py739 # while the old (non-null) file still reads correctly.COMMENT
HIGHpaimon-python/pypaimon/tests/polars_map_null_test.py72 assert batch.schema.equals(schema, check_metadata=True)CODE
HIGH…python/pypaimon/tests/test_format_row_reader_writer.py96 # null, plus the 19..28 band and the compact p<=18 path.COMMENT
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py104 assert result.equals(baseline)CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py105 assert result.equals(_expected(table, runs))CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py115 assert result.equals(baseline)CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py179 assert result.equals(_expected(fixture[1], [(i, i) for i in rows]))CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py237 assert optimized.equals(baseline)CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py238 assert optimized.equals(table.slice(selected_row, 1))CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py384 assert result.equals(baseline)CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py488 assert actual.equals(_expected(fixture[1], [(5, 6), (4500, 4501)]))CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py517 assert actual.equals(_expected(fixture[1], [(4500, 4540)]))CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py620 assert actual.equals(baseline)CODE
HIGH⚡paimon-python/pypaimon/tests/parquet_page_index_test.py621 assert actual.equals(_expected(table.select(names), runs))CODE
HIGHpaimon-python/pypaimon/tests/parquet_page_index_test.py146 assert result.equals(_expected(table, kwargs.get('row_ranges', RUNS)))CODE
HIGHpaimon-python/pypaimon/tests/parquet_page_index_test.py640 assert actual.equals(baseline)CODE
HIGHpaimon-python/pypaimon/tests/parquet_page_index_test.py682 assert actual.equals(table.slice(4500, 41))CODE
HIGH⚡…on/pypaimon/tests/native_constructed_evolution_test.py40 ['[9]', '[1, null]', '[]', None, '[2, 3]']),CODE
HIGH⚡…on/pypaimon/tests/native_constructed_evolution_test.py43 ['{null}', None, '{[1, null]}', '{[]}']),CODE
HIGH⚡…on/pypaimon/tests/native_constructed_evolution_test.py46 ['{one -> [1, null], empty -> [], missing -> null}', None, '{}']),CODE
HIGH⚡…on/pypaimon/tests/native_constructed_evolution_test.py49 [{'a': None}, None, {'a': '[1, null]'}, {'a': '[]'}]),CODE
HIGH⚡…python/pypaimon/tests/merge_execution_protocol_test.py290 assert result.schema.equals(schema, check_metadata=True)CODE
HIGH⚡…on/pypaimon/tests/native_schema_evolution_cast_test.py442 ['[1970-01-01 00:00:00.000000000, 1969-12-31 23:59:59.999999999, null]', None,CODE
HIGH⚡…on/pypaimon/tests/native_schema_evolution_cast_test.py446 ['{x -> 00:00:00.0, y -> 00:00:00.101, n -> null}', None, '{}', '{p -> 00:00:00.1}']),CODE
HIGH⚡…on/pypaimon/tests/native_schema_evolution_cast_test.py450 ['{00:00:00.0, 1969-12-31 23:59:59.999999999}', None, '{null, null}',CODE
HIGH…n-python/pypaimon/tests/search_result_metadata_test.py57 assert before.equals(after.select(["id"]))CODE
HIGH…on-python/pypaimon/tests/schema_evolution_cast_test.py85 assert aligned.schema.equals(pa.schema([rows]))CODE
HIGH⚡…imon-python/pypaimon/tests/native_system_table_test.py172 assert rows[0]['min_value_stats'] == '{id=1, pt=a, value=null}'CODE
HIGH⚡…imon-python/pypaimon/tests/native_system_table_test.py256 assert stats[('id',)]['min_value_stats'] == '{id=1, value=null}'CODE
HIGH⚡…imon-python/pypaimon/tests/native_system_table_test.py257 assert stats[('value',)]['min_value_stats'] == '{id=null, value=41}'CODE
HIGH⚡…n-python/pypaimon/tests/native_cast_completion_test.py211 assert batches.schema.equals(batch.schema, check_metadata=True)CODE
HIGH⚡…n-python/pypaimon/tests/native_cast_completion_test.py221 assert batches.schema.equals(batch.schema, check_metadata=True)CODE
HIGH…imon-python/pypaimon/tests/table_upsert_by_key_test.py711 self.assertTrue(original_data.equals(self._read_all(table).sort_by('id')))CODE
HIGH⚡paimon-python/pypaimon/tests/native_schema_cast_test.py85 assert result.equals(pa.array(expected, type=target_arrow))CODE
HIGHpaimon-python/pypaimon/tests/native_schema_cast_test.py198 assert result.equals(pa.array(expected, type=arrow))CODE
HIGH⚡paimon-python/pypaimon/tests/snapshot_manager_test.py53 for payload in ('{}', '{"snapshot": null}'):CODE
HIGHpaimon-python/pypaimon/tests/filesystem_catalog_test.py406 # Default option (disabled=true) rejects nullable -> not null, mirroringCOMMENT
HIGHpaimon-python/pypaimon/tests/multimodal_lance_test.py555 assert lance.dataset(str(path)).schema.equals(previous.schema, check_metadata=True)CODE
HIGHpaimon-python/pypaimon/tests/variant_test.py474 self._check('{"n":null,"b":true,"i":42,"s":"hello","f":1.5}')CODE
HIGH⚡paimon-python/pypaimon/tests/row_to_string_test.py52 self.assertEqual("{null, a}", cast_row_to_string(_row(("INT", None),CODE
HIGH⚡…imon-python/pypaimon/tests/batch_vector_lookup_test.py120 assert all(table.equals(expected) for table in actual)CODE
HIGHpaimon-python/pypaimon/tests/data_evolution_test.py865 self.assertEqual(arrow_res3.num_rows, 0) # Arrow: NULL==NULL is null, filtered outCODE
HIGH…hon/pypaimon/tests/table_read_chunked_overflow_test.py60 self.assertTrue(actual.schema.equals(schema, check_metadata=True))CODE
HIGHpaimon-python/pypaimon/tests/reader_append_only_test.py843 # partition value: isNull keeps null, drops non-null; equal is the reverse.COMMENT
HIGH…on/pypaimon/tests/schema_evolution_nested_read_test.py677 self.assertEqual(rows[1]['mv'], '{null, x}')CODE
HIGH…mon-python/pypaimon/tests/python_stream_schema_test.py68 assert batch.schema.equals(reader.schema, check_metadata=True)CODE
HIGH…python/pypaimon/tests/native_sliced_split_read_test.py248 assert result.schema.equals(schema, check_metadata=True)CODE
29 more matches not shown…
Deep Nesting621 hits · 542 pts
SeverityFileLineSnippetContext
LOWtools/ci/plan.py52CODE
LOWpaimon-python/dev/test_packaging.py293CODE
LOWpaimon-python/pypaimon/write/merge_condition.py138CODE
LOWpaimon-python/pypaimon/write/merge_inputs.py48CODE
LOWpaimon-python/pypaimon/write/merge_inputs.py284CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py405CODE
LOWpaimon-python/pypaimon/write/backend_dispatch.py497CODE
LOWpaimon-python/pypaimon/write/backend_dispatch.py517CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py166CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py237CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py325CODE
LOWpaimon-python/pypaimon/snapshot/time_travel_util.py80CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py332CODE
LOWpaimon-python/pypaimon/catalog/jdbc_catalog.py56CODE
LOWpaimon-python/pypaimon/catalog/rest/fuse_support.py39CODE
LOW…imon-python/pypaimon/manifest/manifest_file_manager.py55CODE
LOW…imon-python/pypaimon/manifest/manifest_file_manager.py197CODE
LOWpaimon-python/pypaimon/manifest/manifest_sidecar.py344CODE
LOWpaimon-python/pypaimon/manifest/manifest_sidecar.py475CODE
LOWpaimon-python/pypaimon/manifest/manifest_sidecar.py509CODE
LOW…mon-python/pypaimon/manifest/simple_stats_evolution.py71CODE
LOWpaimon-python/pypaimon/manifest/schema/file_entry.py92CODE
LOWpaimon-python/pypaimon/read/read_builder.py50CODE
LOWpaimon-python/pypaimon/read/read_type.py41CODE
LOWpaimon-python/pypaimon/read/read_type.py82CODE
LOWpaimon-python/pypaimon/read/read_type.py195CODE
LOWpaimon-python/pypaimon/read/table_read.py222CODE
LOWpaimon-python/pypaimon/read/read_support.py140CODE
LOWpaimon-python/pypaimon/read/scan_config.py25CODE
LOWpaimon-python/pypaimon/read/query_auth_split.py71CODE
LOWpaimon-python/pypaimon/read/split_serializer.py196CODE
LOWpaimon-python/pypaimon/read/split_serializer.py286CODE
LOWpaimon-python/pypaimon/read/split_serializer.py568CODE
LOWpaimon-python/pypaimon/read/streaming_table_scan.py92CODE
LOWpaimon-python/pypaimon/read/sliced_split.py112CODE
LOW…imon-python/pypaimon/read/datasource/ray_datasource.py112CODE
LOWpaimon-python/pypaimon/read/datasource/torch_dataset.py603CODE
LOWpaimon-python/pypaimon/read/datasource/torch_dataset.py624CODE
LOW…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py108CODE
LOW…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py145CODE
LOW…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py223CODE
LOW…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py373CODE
LOW…n-python/pypaimon/tests/multimodal_lerobot_ray_test.py464CODE
LOW…-python/pypaimon/tests/native_mod_bucket_write_test.py166CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3236CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3460CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3501CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3582CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3620CODE
LOWpaimon-python/pypaimon/tests/blob_test.py3659CODE
LOWpaimon-python/pypaimon/tests/blob_test.py5975CODE
LOWpaimon-python/pypaimon/tests/blob_test.py5999CODE
LOWpaimon-python/pypaimon/tests/native_write_type_test.py83CODE
LOWpaimon-python/pypaimon/tests/native_write_type_test.py117CODE
LOW…imon/tests/format_pyarrow_shared_shredding_map_test.py187CODE
LOW…imon/tests/format_pyarrow_shared_shredding_map_test.py249CODE
LOW…-python/pypaimon/tests/native_variant_iterator_test.py149CODE
LOW…/pypaimon/tests/native_historical_write_commit_test.py111CODE
LOW…-python/pypaimon/tests/read_execution_boundary_test.py171CODE
LOW…mon-python/pypaimon/tests/native_blob_consumer_test.py92CODE
561 more matches not shown…
Cross-File Repetition56 hits · 280 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/write/table_write.py0roll current files before the next logical write group if needed.STRING
HIGH…-python/pypaimon/execution/python/write/table_write.py0roll current files before the next logical write group if needed.STRING
HIGH…ecution/python/write/writer/dedicated_format_writer.py0roll current files before the next logical write group if needed.STRING
HIGH…thon/pypaimon/table/source/full_text_search_builder.py0partition predicate used to prune index manifest entries.STRING
HIGH…-python/pypaimon/table/source/hybrid_search_builder.py0partition predicate used to prune index manifest entries.STRING
HIGH…n/pypaimon/table/source/batch_vector_search_builder.py0partition predicate used to prune index manifest entries.STRING
HIGH…-python/pypaimon/table/source/vector_search_builder.py0partition predicate used to prune index manifest entries.STRING
HIGH…est/scala/org/apache/paimon/spark/PaimonSinkTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…paimon/spark/sql/CreateAndDeleteTagProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…rg/apache/paimon/spark/sql/RollbackProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…est/scala/org/apache/paimon/spark/PaimonSinkTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…/spark/procedure/CreateAndDeleteTagProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…pache/paimon/spark/procedure/BranchProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…e/paimon/spark/procedure/ReplaceTagProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…rk/procedure/CreateTagFromTimestampProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…/paimon/spark/procedure/AlterBranchProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…mon/spark/procedure/ExpireSnapshotsProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…che/paimon/spark/procedure/RollbackProcedureTest.scala0|create table t (a int, b string) |tblproperties ('primary-key'='a', 'bucket'='3') |STRING
HIGH…/org/apache/paimon/spark/sql/InsertOverwriteTest.scala0|create table t (a int, b string) |tblproperties ($prop) |STRING
HIGH…he/paimon/spark/sql/InsertOverwriteTableTestBase.scala0|create table t (a int, b string) |tblproperties ($prop) |STRING
HIGH…g/apache/paimon/spark/sql/DataFrameWriteTestBase.scala0|create table t (a int, b string) |tblproperties ($prop) |STRING
HIGH…/org/apache/paimon/spark/sql/InsertOverwriteTest.scala0|create table t (a int, b int, c string) |using paimon |tblproperties ($prop) |partitioned by (a) |STRING
HIGH…he/paimon/spark/sql/InsertOverwriteTableTestBase.scala0|create table t (a int, b int, c string) |using paimon |tblproperties ($prop) |partitioned by (a) |STRING
HIGH…apache/paimon/spark/sql/TableValuedFunctionsTest.scala0|create table t (a int, b int, c string) |using paimon |tblproperties ($prop) |partitioned by (a) |STRING
HIGH…he/paimon/spark/rowops/PaimonCopyOnWriteScanTest.scala0create table t (id int, name string) | using paimon | tblproperties ('primary-key' = 'id', 'bucket' = '1')STRING
HIGH…g/apache/paimon/spark/sql/MergeIntoAlignmentTest.scala0create table t (id int, name string) | using paimon | tblproperties ('primary-key' = 'id', 'bucket' = '1')STRING
HIGH…org/apache/paimon/spark/sql/WriteMergeSchemaTest.scala0create table t (id int, name string) | using paimon | tblproperties ('primary-key' = 'id', 'bucket' = '1')STRING
HIGH…/paimon/spark/procedure/FastForwardProcedureTest.scala0|create table t (id string, name string) |using paimon |tblproperties ('primary-key'='id') |STRING
HIGH…n/spark/procedure/RemoveOrphanFilesProcedureTest.scala0|create table t (id string, name string) |using paimon |tblproperties ('primary-key'='id') |STRING
HIGH…org/apache/paimon/spark/sql/AnalyzeTableTestBase.scala0|create table t (id string, name string) |using paimon |tblproperties ('primary-key'='id') |STRING
HIGH…mon/spark/procedure/DropGlobalIndexProcedureTest.scala0|create table t (id int, title string, content string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-perSTRING
HIGH…n/spark/procedure/CreateGlobalIndexProcedureTest.scala0|create table t (id int, title string, content string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-perSTRING
HIGH…aimon/spark/procedure/FMGlobalIndexProcedureTest.scala0|create table t (id int, title string, content string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-perSTRING
HIGH…a/org/apache/paimon/spark/sql/FullTextSearchTest.scala0|create table t (id int, title string, content string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-perSTRING
HIGH…ala/org/apache/paimon/spark/sql/HybridSearchTest.scala0|create table t (id int, title string, content string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-perSTRING
HIGH…mon/spark/procedure/DropGlobalIndexProcedureTest.scala0|create table t (id int, name string, pt string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-per-shardSTRING
HIGH…n/spark/procedure/CreateGlobalIndexProcedureTest.scala0|create table t (id int, name string, pt string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-per-shardSTRING
HIGH…/org/apache/paimon/spark/sql/RowTrackingTestBase.scala0|create table t (id int, name string, pt string) |tblproperties ( | 'bucket' = '-1', | 'global-index.row-count-per-shardSTRING
HIGH…e/paimon/spark/procedure/ExpireTagsProcedureTest.scala0|create table t (id string, name string) |using paimon |STRING
HIGH…e/paimon/spark/procedure/PurgeFilesProcedureTest.scala0|create table t (id string, name string) |using paimon |STRING
HIGH…rg/apache/paimon/spark/sql/PaimonSystemTableTest.scala0|create table t (id string, name string) |using paimon |STRING
HIGH…st/scala/org/apache/paimon/spark/sql/DDLTestBase.scala0|create table rtas (id bigint, data string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '2') |STRING
HIGH…/org/apache/paimon/spark/sql/FormatTableTestBase.scala0|create table rtas (id bigint, data string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '2') |STRING
HIGH…g/apache/paimon/spark/sql/DataFrameWriteTestBase.scala0|create table rtas (id bigint, data string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '2') |STRING
HIGH…paimon/spark/sql/ReplaceTableWithRestCatalogTest.scala0|create table rtas (id bigint, data string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '2') |STRING
HIGH…ache/paimon/spark/sql/DDLWithHiveCatalogTestBase.scala0|create table rtas (id bigint, data string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '2') |STRING
HIGH…st/scala/org/apache/paimon/spark/sql/DDLTestBase.scala0|replace table rt (id bigint, name string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '4') |STRING
HIGH…paimon/spark/sql/ReplaceTableWithRestCatalogTest.scala0|replace table rt (id bigint, name string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '4') |STRING
HIGH…ache/paimon/spark/sql/DDLWithHiveCatalogTestBase.scala0|replace table rt (id bigint, name string) |using paimon |tblproperties ('primary-key' = 'id', 'bucket' = '4') |STRING
HIGH…paimon/spark/sql/MergeIntoNotMatchedBySourceTest.scala0|merge into target |using source |on target.a = source.a |when matched and target.a = 5 then update set b = source.b + tSTRING
HIGH…a/org/apache/paimon/spark/sql/DeletionVectorTest.scala0|merge into target |using source |on target.a = source.a |when matched and target.a = 5 then update set b = source.b + tSTRING
HIGH…g/apache/paimon/spark/sql/MergeIntoTableTestBase.scala0|merge into target |using source |on target.a = source.a |when matched and target.a = 5 then update set b = source.b + tSTRING
HIGH…/org/apache/paimon/spark/sql/RowTrackingTestBase.scala0|merge into target |using source |on target.a = source.a |when matched and target.a = 5 then update set b = source.b + tSTRING
HIGH…/spark/sql/CatalogManagedPartitionEdgeParityTest.scala0create table $tablename (id int, payload string, dt string, hour string) |using csv |partitioned by (dt, hour) |tblpropeSTRING
HIGH…n/spark/sql/CatalogManagedPartitionDdlParityTest.scala0create table $tablename (id int, payload string, dt string, hour string) |using csv |partitioned by (dt, hour) |tblpropeSTRING
HIGH…mon/spark/sql/CatalogManagedPartitionAnalyzeTest.scala0create table $tablename (id int, payload string, dt string, hour string) |using csv |partitioned by (dt, hour) |tblpropeSTRING
Unused Imports241 hits · 230 pts
SeverityFileLineSnippetContext
LOWpaimon-python/pypaimon/__init__.py29CODE
LOWpaimon-python/pypaimon/__init__.py30CODE
LOWpaimon-python/pypaimon/__init__.py31CODE
LOWpaimon-python/pypaimon/__init__.py32CODE
LOWpaimon-python/pypaimon/__init__.py33CODE
LOWpaimon-python/pypaimon/__init__.py23CODE
LOWpaimon-python/pypaimon/write/postpone_bucket.py18CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/merge_transform.py23CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py38CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py39CODE
LOWpaimon-python/pypaimon/write/table_delete.py24CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py28CODE
LOWpaimon-python/pypaimon/write/table_write.py31CODE
LOWpaimon-python/pypaimon/write/commit_message.py24CODE
LOWpaimon-python/pypaimon/branch/__init__.py18CODE
LOWpaimon-python/pypaimon/branch/__init__.py18CODE
LOWpaimon-python/pypaimon/branch/__init__.py19CODE
LOWpaimon-python/pypaimon/branch/__init__.py20CODE
LOWpaimon-python/pypaimon/changelog/__init__.py18CODE
LOWpaimon-python/pypaimon/changelog/__init__.py19CODE
LOWpaimon-python/pypaimon/manifest/__init__.py23CODE
LOWpaimon-python/pypaimon/read/read_builder.py37CODE
LOWpaimon-python/pypaimon/read/stream_read_builder.py35CODE
LOWpaimon-python/pypaimon/read/table_read.py37CODE
LOWpaimon-python/pypaimon/read/table_scan.py22CODE
LOWpaimon-python/pypaimon/read/table_scan.py22CODE
LOWpaimon-python/pypaimon/read/table_scan.py25CODE
LOWpaimon-python/pypaimon/read/table_scan.py32CODE
LOW…ython/pypaimon/tests/contiguous_window_dataset_test.py1055CODE
LOW…n/pypaimon/tests/ray_data_evolution_merge_into_test.py40CODE
LOWpaimon-python/pypaimon/tests/table_merge_into_test.py38CODE
LOWpaimon-python/pypaimon/tests/variant_test.py1580CODE
LOW…hon/pypaimon/tests/native_plan_resolved_schema_test.py30CODE
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1380CODE
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1413CODE
LOW…python/pypaimon/tests/e2e/hdfs/hdfs_native_e2e_test.py52CODE
LOWpaimon-python/pypaimon/tests/daft/daft_catalog_test.py21CODE
LOWpaimon-python/pypaimon/tests/daft/daft_explain_test.py21CODE
LOWpaimon-python/pypaimon/tests/daft/daft_data_test.py25CODE
LOW…on-python/pypaimon/tests/daft/daft_integration_test.py21CODE
LOWpaimon-python/pypaimon/tests/daft/daft_sink_test.py26CODE
LOW…/pypaimon/tests/daft/daft_pk_distributed_write_test.py21CODE
LOW…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py21CODE
LOW…mon-python/pypaimon/tests/daft/daft_on_ray_e2e_test.py25CODE
LOWpaimon-python/pypaimon/tests/rest/rest_server.py35CODE
LOWpaimon-python/pypaimon/cli/__init__.py18CODE
LOWpaimon-python/pypaimon/function/__init__.py18CODE
LOWpaimon-python/pypaimon/function/__init__.py18CODE
LOWpaimon-python/pypaimon/function/__init__.py19CODE
LOWpaimon-python/pypaimon/function/__init__.py19CODE
LOWpaimon-python/pypaimon/function/__init__.py19CODE
LOWpaimon-python/pypaimon/function/__init__.py19CODE
LOWpaimon-python/pypaimon/function/__init__.py19CODE
181 more matches not shown…
Verbosity Indicators97 hits · 178 pts
SeverityFileLineSnippetContext
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java814 // Step 1: baselineCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java821 // Step 2: drop v2 → [k, v1]COMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java827 // Step 3: option-only alter — same fields [k, v1], increments Paimon schema IDCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java833 // Step 4: re-add v2 as BIGINT — new field ID, distinct from original v2 (STRING)COMMENT
LOW⚡…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java88 // Step 1: Convert CDC Schema to Paimon SchemaCOMMENT
LOW⚡…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java92 // Step 2: Validate Paimon SchemaCOMMENT
LOW…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java132 // Step 3: Convert it backCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java229 // Step 1: Convert CDC Event to Paimon EventCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java236 // Step 2: Check Paimon Row specsCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java248 // Step 3: Convert it backCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java255 // Step 4: Validate itCOMMENT
LOW…test/java/org/apache/paimon/flink/BlobTableITCase.java1444 // Step 1: Create a Paimon table with blob field via Flink SQLCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1456 // Step 2: Get the Paimon FileStoreTable and its RowTypeCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1460 // Step 3: Create a Flink temporary table with the same schema (BYTES column)COMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1478 // Step 4: Convert Paimon RowType to Flink RowType via LogicalTypeConversionCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1482 // Step 5: Assert that schemaEquals considers them equalCOMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2091 // Step 1: Write delta data at dt=20250808COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2096 // Step 2: Start streaming job (captures delta position)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2099 // Step 3: Collect Phase 1 output (should include delta@20250808)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2106 // Step 4: Write NEW snapshot data at dt=20250809 (simulates race condition)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2111 // Step 5: Write NEW delta data at dt=20250810COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2116 // Step 6: Collect Phase 2 output (should include delta@20250810)COMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java240 // Step 1: prepend key columns to each row: (key, value) -> JoinedRowCOMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java276 // Step 2: local sort by key columns (no shuffle)COMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java292 // Step 3: remove the prepended key columns and convert back to RowDataCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java158 // Step 1: Build CanonicalizedHeaders (x-acs-* headers, sorted, lowercase)COMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java161 // Step 2: Build CanonicalizedResource (path + sorted query string)COMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java164 // Step 3: Build StringToSignCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java172 // Step 4: Calculate signatureCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java175 // Step 5: Build Authorization headerCOMMENT
LOWpaimon-python/dev/run_mixed_tests.sh714 # Step 1: Java writes 5 base filesCOMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py744 # Step 1: Write data to Paimon table using write_arrow (large_binary type)COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py759 # Step 2: Read from Paimon table using to_ray()COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py783 # Step 3: Simulate user pipeline: map_batches returns Python dict,COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py802 # Step 4: Write mapped dataset back via write_ray().COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py813 # Step 5: Verify the data was written correctlyCOMMENT
LOW⚡…imon-python/pypaimon/tests/shard_table_updator_test.py79 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py94 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py110 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py148 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py181 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py196 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py213 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py247 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py288 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py305 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py334 # Step 4: Verify the resultCOMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1364 # Step 1: Create table with [f0, f1]COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1393 # Step 3: Schema evolution - add column f2COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1400 # Step 4: Write f2 only for same rows (first_row_id = 0)COMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1377 # Step 2: Write data with ALL columns of old schema → write_cols = NoneCOMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1416 # Step 5: Read all columnsCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1881 # Step 2: pypaimon shard update - scan and prepare commitCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1903 # Step 3: Java compact (compact happening between scan and commit)COMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1920 # Step 4: pypaimon rewrites stale evolution files against the compacted rangeCOMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java897 // Step 1: write data with schemaId=0COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java900 // Step 2: ALTER TABLE SET an unrelated option -> schemaId becomes 1COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java904 // Step 3: write more data with schemaId=1COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java907 // Step 4: compact blob table using DataEvolutionCompactCoordinatorCOMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java1078 // Step 1: write blob data — blob files record writeCols=["f2"]COMMENT
37 more matches not shown…
Structural Annotation Overuse97 hits · 178 pts
SeverityFileLineSnippetContext
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java814 // Step 1: baselineCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java821 // Step 2: drop v2 → [k, v1]COMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java827 // Step 3: option-only alter — same fields [k, v1], increments Paimon schema IDCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java833 // Step 4: re-add v2 as BIGINT — new field ID, distinct from original v2 (STRING)COMMENT
LOW⚡…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java88 // Step 1: Convert CDC Schema to Paimon SchemaCOMMENT
LOW⚡…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java92 // Step 2: Validate Paimon SchemaCOMMENT
LOW…/paimon/flink/pipeline/cdc/util/TypeConverterTest.java132 // Step 3: Convert it backCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java229 // Step 1: Convert CDC Event to Paimon EventCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java236 // Step 2: Check Paimon Row specsCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java248 // Step 3: Convert it backCOMMENT
LOW⚡…he/paimon/flink/pipeline/cdc/util/DataConvertTest.java255 // Step 4: Validate itCOMMENT
LOW…test/java/org/apache/paimon/flink/BlobTableITCase.java1444 // Step 1: Create a Paimon table with blob field via Flink SQLCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1456 // Step 2: Get the Paimon FileStoreTable and its RowTypeCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1460 // Step 3: Create a Flink temporary table with the same schema (BYTES column)COMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1478 // Step 4: Convert Paimon RowType to Flink RowType via LogicalTypeConversionCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1482 // Step 5: Assert that schemaEquals considers them equalCOMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2091 // Step 1: Write delta data at dt=20250808COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2096 // Step 2: Start streaming job (captures delta position)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2099 // Step 3: Collect Phase 1 output (should include delta@20250808)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2106 // Step 4: Write NEW snapshot data at dt=20250809 (simulates race condition)COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2111 // Step 5: Write NEW delta data at dt=20250810COMMENT
LOW⚡…ava/org/apache/paimon/flink/FlinkChainTableITCase.java2116 // Step 6: Collect Phase 2 output (should include delta@20250810)COMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java240 // Step 1: prepend key columns to each row: (key, value) -> JoinedRowCOMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java276 // Step 2: local sort by key columns (no shuffle)COMMENT
LOW…he/paimon/flink/compact/IncrementalClusterCompact.java292 // Step 3: remove the prepended key columns and convert back to RowDataCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java158 // Step 1: Build CanonicalizedHeaders (x-acs-* headers, sorted, lowercase)COMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java161 // Step 2: Build CanonicalizedResource (path + sorted query string)COMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java164 // Step 3: Build StringToSignCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java172 // Step 4: Calculate signatureCOMMENT
LOW⚡…java/org/apache/paimon/rest/auth/DLFOpenApiSigner.java175 // Step 5: Build Authorization headerCOMMENT
LOWpaimon-python/dev/run_mixed_tests.sh714 # Step 1: Java writes 5 base filesCOMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py744 # Step 1: Write data to Paimon table using write_arrow (large_binary type)COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py759 # Step 2: Read from Paimon table using to_ray()COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py783 # Step 3: Simulate user pipeline: map_batches returns Python dict,COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py802 # Step 4: Write mapped dataset back via write_ray().COMMENT
LOWpaimon-python/pypaimon/tests/ray_data_test.py813 # Step 5: Verify the data was written correctlyCOMMENT
LOW⚡…imon-python/pypaimon/tests/shard_table_updator_test.py79 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py94 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py110 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py148 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py181 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py196 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py213 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py247 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py288 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py305 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py334 # Step 4: Verify the resultCOMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1364 # Step 1: Create table with [f0, f1]COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1393 # Step 3: Schema evolution - add column f2COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1400 # Step 4: Write f2 only for same rows (first_row_id = 0)COMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1377 # Step 2: Write data with ALL columns of old schema → write_cols = NoneCOMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1416 # Step 5: Read all columnsCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1881 # Step 2: pypaimon shard update - scan and prepare commitCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1903 # Step 3: Java compact (compact happening between scan and commit)COMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1920 # Step 4: pypaimon rewrites stale evolution files against the compacted rangeCOMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java897 // Step 1: write data with schemaId=0COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java900 // Step 2: ALTER TABLE SET an unrelated option -> schemaId becomes 1COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java904 // Step 3: write more data with schemaId=1COMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java907 // Step 4: compact blob table using DataEvolutionCompactCoordinatorCOMMENT
LOW⚡…/test/java/org/apache/paimon/append/BlobTableTest.java1078 // Step 1: write blob data — blob files record writeCols=["f2"]COMMENT
37 more matches not shown…
Self-Referential Comments53 hits · 152 pts
SeverityFileLineSnippetContext
MEDIUM…on-python/pypaimon/manifest/simple_stats_evolutions.py104 # Create a mapping from field IDs to indices in data_fields.COMMENT
MEDIUM…imon-python/pypaimon/read/datasource/ray_datasource.py154 # Create a partial function to avoid capturing self in closureCOMMENT
MEDIUM⚡paimon-python/pypaimon/tests/blob_test.py3966 # Create a valid blob file firstCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py180 # Create a temporary directory and fileCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py1461 # Create a descriptorCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py3877 # Create a table with multiple columns (should fail - blob format requires single column)COMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py3919 # Create a valid blob file firstCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py4004 # Create a blob file with substantial contentCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py4258 # Create a BlobDescriptor pointing to the local fileCOMMENT
MEDIUM⚡paimon-python/pypaimon/tests/oss_file_io_test.py85 # Create a test directoryCOMMENT
MEDIUM⚡paimon-python/pypaimon/tests/oss_file_io_test.py246 # Create a fileCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_base_test.py542 # Create a catalog and tableCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_base_test.py559 # Create a ManifestFileManagerCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py172 # Create a different config fileCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py281 # Create a CSV file with test dataCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py322 # Create a JSON file with test dataCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py362 # Create a table to dropCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py374 # Create the table firstCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py1061 # Create a dedicated table for this test with two batches of dataCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py1126 # Create a table to renameCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py1335 # Create a table with no dataCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py1357 # Create a partitioned table for drop-partition testCOMMENT
MEDIUMpaimon-python/pypaimon/tests/cli_table_test.py1401 # Create a partitioned tableCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_primary_key_test.py569 # Create a unique table for each iterationCOMMENT
MEDIUMpaimon-python/pypaimon/tests/native_blob_update_test.py425 # Create a new logical column with no files in the older snapshot.COMMENT
MEDIUM⚡…-python/pypaimon/tests/delta_varint_compressor_test.py175 # Create a sequence with small deltasCOMMENT
MEDIUMpaimon-python/pypaimon/tests/binary_row_test.py227 # Create a 10-column append table and write 10 rowsCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_append_only_test.py653 # Create a unique table for each iterationCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_table_test.py4885 # Create a unique table for each iterationCOMMENT
MEDIUM⚡…n-python/pypaimon/tests/filesystem_catalog_tag_test.py230 # Create a second snapshotCOMMENT
MEDIUM…n-python/pypaimon/tests/filesystem_catalog_tag_test.py252 # Create a second snapshotCOMMENT
MEDIUMpaimon-python/pypaimon/tests/branch_manager_test.py129 # Create a mock manager with minimal dependenciesCOMMENT
MEDIUMpaimon-python/pypaimon/tests/branch_manager_test.py180 # Create a branch directoryCOMMENT
MEDIUM…-python/pypaimon/tests/py36/rest_ao_read_write_test.py815 # Create a ManifestFileManagerCOMMENT
MEDIUM⚡…python/pypaimon/tests/manifest/manifest_schema_test.py77 # Create a mapping of field names to field definitions for easier testingCOMMENT
MEDIUM…python/pypaimon/tests/manifest/manifest_schema_test.py126 # Create a mapping of field names to field definitions for easier testingCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py154 # Create a regular table and branch, then select the branch via theCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py195 # Create a new branchCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py262 # Create a new table with catalog environmentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py395 # Create a branch firstCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py443 # Create a table with a commentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py459 # Create a table with a commentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py481 # Create a write builderCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py240 # Create a tagCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py304 # Create a tagCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py312 # Create the same tag with ignore_if_exists=True - should not raise errorCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py341 # Create a tagCOMMENT
MEDIUM…-python/pypaimon/tests/rest/rest_token_file_io_test.py683 # Create a token with a standard OSS endpointCOMMENT
MEDIUMpaimon-python/pypaimon/table/file_store_table.py75 # Create a placeholder identifierCOMMENT
MEDIUM…ution/python/deletionvectors/bitmap_deletion_vector.py100 # Create the full data with magic numberCOMMENT
MEDIUM⚡…on-python/pypaimon/execution/python/read/split_read.py869 # Create a callable method to read the deletion vectorCOMMENT
MEDIUM…on-python/pypaimon/execution/python/read/split_read.py1623 # Create the union readerCOMMENT
MEDIUMpaimon-python/pypaimon/data/generic_variant.py563 # Create an Arrow StructArray ready for writingSTRING
Docstring Block Structure24 hits · 120 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/snapshot/snapshot_commit.py82 Commit the given snapshot. Args: base_snapshot_uuid: UUID of the snapshot on which the comSTRING
HIGH…n-python/pypaimon/snapshot/renaming_snapshot_commit.py56 Commit the snapshot using file renaming. Args: base_snapshot_uuid: UUID of the base snapshSTRING
HIGHpaimon-python/pypaimon/snapshot/time_travel_util.py85 Try to travel to a snapshot based on the options. Supports the following time travel options: STRING
HIGH…on-python/pypaimon/snapshot/catalog_snapshot_commit.py52 Commit the snapshot using the catalog. Args: base_snapshot_uuid: UUID of the snapshot on wSTRING
HIGHpaimon-python/pypaimon/changelog/changelog_manager.py157Try to get a changelog for the given snapshot ID. Args: snapshot_id: Snapshot ID Returns: STRING
HIGHpaimon-python/pypaimon/catalog/catalog.py157Load the snapshot of table identified by the given Identifier. Args: identifier: Path of the table STRING
HIGHpaimon-python/pypaimon/catalog/catalog.py243List partitions of a table with pagination. Args: identifier: Path of the table. max_reSTRING
HIGHpaimon-python/pypaimon/catalog/catalog.py313 List all branches for the table. Args: identifier: Table identifier Returns: STRING
HIGHpaimon-python/pypaimon/catalog/catalog.py397Get a tag of a table. Args: identifier: Table identifier (Identifier or string). tag_naSTRING
HIGHpaimon-python/pypaimon/catalog/catalog.py420List tags of a table with pagination. Args: identifier: Table identifier (Identifier or string). STRING
HIGHpaimon-python/pypaimon/catalog/rest/rest_catalog.py125 Commit the Snapshot for table identified by the given Identifier. Args: identifier: Path oSTRING
HIGHpaimon-python/pypaimon/catalog/rest/rest_catalog.py486Load the latest snapshot for table. Args: identifier: Path of the table (Identifier or string). STRING
HIGHpaimon-python/pypaimon/manifest/schema/file_entry.py93Merge file entries: ADD and DELETE of the same file cancel each other. - ADD: if identifier already in map, raiSTRING
HIGHpaimon-python/pypaimon/cli/cli.py33 Load catalog configuration from a YAML file. Args: config_path: Path to the catalog configuration STRING
HIGHpaimon-python/pypaimon/common/where_parser.py75Parse a SQL-like WHERE clause string into a Predicate. Args: where_string: The WHERE clause string (withoutSTRING
HIGHpaimon-python/pypaimon/common/options/options_utils.py31 Convert a value to the target type. Args: value: The value to convert target_tSTRING
HIGHpaimon-python/pypaimon/table/instant.py65Deserialize an Instant from a dictionary. Args: data: A dictionary with a 'type' field indicating tSTRING
HIGH…/execution/python/read/reader/aggregate/aggregators.py285 Return the projected fields as a tuple. Args: element: Either an ``InternalRow`` or a ``diSTRING
HIGH…xecution/python/globalindex/btree/btree_file_footer.py77 Read footer from byte data. Args: data: Byte data containing the footer Returns: STRING
HIGH…mon/execution/python/globalindex/btree/block_reader.py57Seek to slice position from record position. Args: record_position: The record position to seek to STRING
HIGHpaimon-python/pypaimon/api/rest_api.py380 Commit snapshot for table. Args: identifier: Database name and table name tablSTRING
HIGHpaimon-python/pypaimon/consumer/consumer.py44 Load consumer from file path with retry mechanism. Args: file_io: FileIO instance for readSTRING
HIGHpaimon-python/pypaimon/data/variant_shredding.py411Parse the ``variant.shreddingSchema`` option value. Args: json_str: JSON-encoded Paimon ROW type where eachSTRING
HIGHpaimon-python/pypaimon/tag/tag_manager.py102 Return the tag or throw exception indicating the tag not found. Args: tag_name: NaSTRING
Modern Structural Boilerplate84 hits · 84 pts
SeverityFileLineSnippetContext
LOWpaimon-python/pypaimon/__init__.py35__all__ = [CODE
LOWpaimon-python/pypaimon/write/merge_condition.py32logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/postpone_bucket.py21__all__ = ["PostponeBucketPlan", "PostponeBucketPlanner"]CODE
LOWpaimon-python/pypaimon/write/merge_transform.py38__all__ = [CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py41logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/table_update.py34__all__ = ["TableUpdate", "BatchTableUpdate", "StreamTableUpdate", "ShardTableUpdator"]CODE
LOWpaimon-python/pypaimon/write/backend_dispatch.py31logger = logging.getLogger(__name__)CODE
LOW…n-python/pypaimon/snapshot/renaming_snapshot_commit.py23logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/snapshot/snapshot_manager.py24logger = logging.getLogger(__name__)CODE
LOW…on-python/pypaimon/snapshot/catalog_snapshot_commit.py27logger = logging.getLogger(__name__)CODE
LOW…on-python/pypaimon/branch/filesystem_branch_manager.py28logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/branch/__init__.py22__all__ = ['BranchManager', 'DEFAULT_MAIN_BRANCH', 'CatalogBranchManager', 'FileSystemBranchManager']CODE
LOWpaimon-python/pypaimon/branch/branch_manager.py23logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/changelog/changelog_manager.py27logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/changelog/__init__.py21__all__ = ['Changelog', 'ChangelogManager']CODE
LOWpaimon-python/pypaimon/changelog/changelog.py24logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/catalog/rest/rest_catalog.py70logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/catalog/rest/fuse_support.py25logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/read/table_read.py654__all__ = ["TableRead", "ROW_KIND_COLUMN"]CODE
LOWpaimon-python/pypaimon/read/streaming_table_scan.py179__all__ = ['AsyncStreamingTableScan', 'StreamTableScan']CODE
LOWpaimon-python/pypaimon/read/table_scan.py188__all__ = [CODE
LOW…imon-python/pypaimon/read/datasource/ray_datasource.py37logger = logging.getLogger(__name__)CODE
LOW⚡paimon-python/pypaimon/tests/rest/rest_server.py1314 def set_query_principals(self, *principals: str) -> None:CODE
LOWpaimon-python/pypaimon/tests/rest/rest_server.py2126 def set_table_token(self, identifier: Identifier, token: "RESTToken") -> None:CODE
LOWpaimon-python/pypaimon/utils/file_type.py25logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/filesystem/pvfs.py48logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/cli/__init__.py20__all__ = ['main']CODE
LOWpaimon-python/pypaimon/multimodal/window_dataset.py1049__all__ = ["ContiguousWindowDataset"]CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py62__all__ = [CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/__init__.py27__all__ = [CODE
LOWpaimon-python/pypaimon/multimodal/rosbag/__init__.py26__all__ = [CODE
LOWpaimon-python/pypaimon/common/options/__init__.py28__all__ = [CODE
LOWpaimon-python/pypaimon/table/rollback_helper.py22logger = logging.getLogger(__name__)CODE
LOW…mon-python/pypaimon/table/data_evolution_merge_into.py28__all__ = [CODE
LOWpaimon-python/pypaimon/table/iceberg/__init__.py20__all__ = ["IcebergTable"]CODE
LOWpaimon-python/pypaimon/table/system/__init__.py20__all__ = ["SystemTable"]CODE
LOWpaimon-python/pypaimon/table/row/offset_row.py54 def set_row_kind_byte(self, row_kind_byte: int) -> None:CODE
LOWpaimon-python/pypaimon/table/row/generic_row.py597 def _set_null_bit(cls, bytes_data: bytearray, offset: int, pos: int) -> None:CODE
LOWpaimon-python/pypaimon/table/object/__init__.py24__all__ = [CODE
LOWpaimon-python/pypaimon/table/format/__init__.py27__all__ = [CODE
LOWpaimon-python/pypaimon/execution/native/read/plan.py35logger = logging.getLogger(__name__)CODE
LOW…n/pypaimon/execution/python/write/file_store_commit.py54logger = logging.getLogger(__name__)CODE
LOW…python/pypaimon/execution/python/write/table_update.py57logger = logging.getLogger(__name__)CODE
LOW…pypaimon/execution/python/write/table_upsert_by_key.py42logger = logging.getLogger(__name__)CODE
LOW…n/pypaimon/execution/python/write/row_key_extractor.py36logger = logging.getLogger(__name__)CODE
LOW…on/pypaimon/execution/python/write/file_store_write.py38logger = logging.getLogger(__name__)CODE
LOW…/pypaimon/execution/python/write/writer/blob_writer.py36logger = logging.getLogger(__name__)CODE
LOW…on/execution/python/write/writer/data_vector_writer.py28logger = logging.getLogger(__name__)CODE
LOW…execution/python/write/writer/composite_data_writer.py34logger = logging.getLogger(__name__)CODE
LOW…ecution/python/write/writer/dedicated_format_writer.py45logger = logging.getLogger(__name__)CODE
LOW…/pypaimon/execution/python/deletionvectors/__init__.py26__all__ = [CODE
LOW…pypaimon/execution/python/read/merge_engine_support.py216__all__ = [CODE
LOW…on/python/read/native_full_text_global_index_reader.py41__all__ = [CODE
LOW…on-python/pypaimon/execution/python/read/table_read.py52logger = logging.getLogger(__name__)CODE
LOW…ution/python/read/reader/filter_record_batch_reader.py35logger = logging.getLogger(__name__)CODE
LOW…pypaimon/execution/python/read/scanner/file_scanner.py23logger = logging.getLogger(__name__)CODE
LOW…paimon/execution/python/globalindex/index_freshness.py25logger = logging.getLogger(__name__)CODE
LOW…mon/execution/python/globalindex/memory_slice_input.py34 def set_position(self, position: int) -> None:CODE
LOW…ution/python/globalindex/bitmap/bitmap_index_writer.py208 def _update_min_max(self, key) -> None:CODE
LOW…lobalindex/lumina/lumina_vector_global_index_reader.py35__all__ = [CODE
24 more matches not shown…
Redundant / Tautological Comments33 hits · 57 pts
SeverityFileLineSnippetContext
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py214 # Check if from_branch is main branchCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py218 # Check if from_branch is blankCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py222 # Check if to_branch is blankCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py232 # Check if from_branch existsCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py236 # Check if to_branch already existsCOMMENT
LOWpaimon-python/pypaimon/catalog/filesystem_catalog.py117 # Check if database still has tablesCOMMENT
LOWpaimon-python/pypaimon/catalog/filesystem_catalog.py293 # Check if table existsCOMMENT
LOW⚡paimon-python/pypaimon/tests/blob_test.py3975 # Read the file and corrupt the header (last 5 bytes: index_length + version)COMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py882 # Write fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py887 # Read fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py905 # Write file using context managerCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py909 # Read fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py1269 # Write fileCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py928 # Write file in chunksCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py993 # Write fileCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py1009 # Write filesCOMMENT
LOWpaimon-python/pypaimon/tests/blob_table_test.py4241 # Check if the field name matches the actual blob column nameCOMMENT
LOW…n-python/pypaimon/tests/rest/rest_object_table_test.py135 # Write files via pvfs, including a nested subdirectory fileCOMMENT
LOWpaimon-python/pypaimon/tests/rest/rest_server.py2142 # Check if table existsCOMMENT
LOW⚡paimon-python/pypaimon/cli/cli_table.py393 # Check if table is FileStoreTableCOMMENT
LOWpaimon-python/pypaimon/schema/table_schema.py67 # Check if primary keys contain all partition keysCOMMENT
LOWpaimon-python/pypaimon/schema/schema.py76 # Check if Vector type with dedicated file formatCOMMENT
LOW…on-python/pypaimon/execution/python/read/split_read.py994 # Check if this is a SlicedSplit to get shard_file_idx_mapCOMMENT
LOW…mon/execution/python/read/reader/shard_batch_reader.py37 # Check if reader is FormatBlobReader (blob type)COMMENT
LOW…mon/execution/python/read/reader/shard_batch_reader.py58 # Check if batch is within the desired rangeCOMMENT
LOW…pypaimon/execution/python/read/scanner/file_scanner.py178 # Check if manifest row range overlaps with any of the expected row rangesCOMMENT
LOW…pypaimon/execution/python/read/scanner/file_scanner.py183 # Check if ranges intersectCOMMENT
LOW…pypaimon/execution/python/read/scanner/file_scanner.py552 # Check if global index is enabledCOMMENT
LOW…pypaimon/execution/python/read/scanner/file_scanner.py963 # Check if dv_ranges existsCOMMENT
LOW…/python/read/scanner/data_evolution_split_generator.py267 # Check if file overlaps with any of the row rangesCOMMENT
LOW…/python/read/scanner/data_evolution_split_generator.py284 # Check if blob file overlaps with any merged rangeCOMMENT
LOWpaimon-python/pypaimon/tag/tag_manager.py272 # Check if old tag existsCOMMENT
LOWpaimon-python/pypaimon/tag/tag_manager.py276 # Check if new tag already existsCOMMENT
AI Structural Patterns26 hits · 24 pts
SeverityFileLineSnippetContext
LOW…imon-python/pypaimon/manifest/schema/data_file_meta.py91CODE
LOWpaimon-python/pypaimon/read/table_read.py461CODE
LOW…python/pypaimon/management/list_permissions_request.py30CODE
LOWpaimon-python/pypaimon/multimodal/query.py144CODE
LOWpaimon-python/pypaimon/multimodal/query.py187CODE
LOWpaimon-python/pypaimon/multimodal/window_dataset.py99CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py98CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py633CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py679CODE
LOWpaimon-python/pypaimon/execution/native/read/plan.py44CODE
LOW…on-python/pypaimon/execution/native/read/table_read.py72CODE
LOW…ution/python/deletionvectors/bitmap_deletion_vector.py111CODE
LOW…on-python/pypaimon/execution/python/read/table_read.py434CODE
LOW…on-python/pypaimon/execution/python/read/table_read.py458CODE
LOW…on-python/pypaimon/execution/python/read/split_read.py1348CODE
LOW…/execution/python/read/reader/format_pyarrow_reader.py386CODE
LOW…/execution/python/read/reader/aggregate/aggregators.py1348CODE
LOW…imon/execution/python/globalindex/btree/block_entry.py50CODE
LOWpaimon-python/pypaimon/api/api_response.py325CODE
LOWpaimon-python/pypaimon/api/api_response.py430CODE
LOWpaimon-python/pypaimon/daft/daft_datasource.py305CODE
LOWpaimon-python/pypaimon/daft/daft_paimon.py196CODE
LOWpaimon-python/pypaimon/daft/daft_paimon.py468CODE
LOWpaimon-python/pypaimon/ray/ray_paimon.py53CODE
LOWpaimon-python/pypaimon/ray/ray_paimon.py150CODE
LOWpaimon-python/pypaimon/ray/range_join.py331CODE
Fake / Example Data15 hits · 14 pts
SeverityFileLineSnippetContext
LOW…ion/cdc/mongodb/strategy/MongoVersionStrategyTest.java53 assertThat(result).containsEntry("name", "John Doe");CODE
LOW…ion/cdc/mongodb/strategy/MongoVersionStrategyTest.java77 assertThat(result).containsEntry("name", "John Doe");CODE
LOW…ormat/debezium/DebeziumAvroRecordParserTestSimple.java70 afterRecord.put("name", "John Doe");CODE
LOW…source/align/AlignedContinuousFileSplitEnumerator.java71 private static final String PLACEHOLDER_SPLIT = "placeholder";CODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py272 fake_token = MagicMock()CODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py273 fake_token.token = token_payloadCODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py275 fake_file_io.token = fake_tokenCODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py312 fake_token = MagicMock()CODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py313 fake_token.token = initial_tokenCODE
LOW⚡…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py315 fake_file_io.token = fake_tokenCODE
LOW…n-python/pypaimon/tests/daft/daft_catalog_rest_test.py327 fake_token.token = refreshed_tokenCODE
LOW…ache/paimon/operation/AllPlaceholdersRecordReader.java42 private static final Path PLACEHOLDER_PATH = new Path("placeholder");CODE
LOW…g/apache/paimon/data/variant/PaimonShreddingUtils.java806 new RowToColumnConverter(RowType.of(new DataField(0, "placeholder", readType)));CODE
LOW…va/org/apache/paimon/format/csv/CsvFileFormatTest.java90 // Second row: "John Doe",,"Developer" (empty middle field)COMMENT
LOW…va/org/apache/paimon/format/csv/CsvFileFormatTest.java94 assertThat(fields[0]).isEqualTo("John Doe");CODE
AI Slop Vocabulary5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMpaimon-python/pypaimon/tests/write/write_buffer_test.py142 # harness has none of; record that it ran and do the rest.COMMENT
LOW…mon-python/pypaimon/tests/rest/test_fuse_local_path.py221 # Should not raise, just set state to FalseCOMMENT
LOW…tion/python/write/commit/overwrite_changes_provider.py68 # Empty table: nothing existing to delete, just add the new files.COMMENT
LOW…on-python/pypaimon/execution/python/read/split_read.py1439 # No need to merge fields, just create a single file readerCOMMENT
MEDIUM…ava/org/apache/paimon/sort/zorder/ZOrderByteUtils.java41 * https://aws.amazon.com/blogs/database/z-order-indexing-for-multifaceted-queries-in-amazon-dynamodb-part-2/COMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…on-python/pypaimon/tests/search_task_execution_test.py93 def execute_task(payload, shared):CODE
LOWpaimon-python/pypaimon/tests/rest/rest_function_test.py108 def test_function(self):CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/releasing/update_branch_version.sh61echo "If this is a new version to be released (or a candidate to be voted on), don't forget to create a signed release tCODE