AI Slop Code RIsk Monitor

apache/paimon

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

9.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/paimon, a Java project with 3,417 GitHub stars. SynthScan examined 1,598,458 lines of code across 7234 source files, recording 10316 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 9.8 (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.

9.8
Adjusted Signal
9.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.4K
Stars
Java
Language
1.6M
Lines of Code
7.2K
Files
10.3K
Pattern Hits
2026-10-12
Scan Date
0.09
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 23.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 12.8/100 · LOW

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

Agent Over-Engineering Ratio 24.8/100 · LOW

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

PR Review Velocity Impact 39.3/100 · MEDIUM

Which changes need focused human review? 10316 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 346HIGH 327MEDIUM 454LOW 9189

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 10316 distinct pattern matches across 22 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 Identifiers6671 hits · 6256 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_leaf_modules_and_workflows(self):CODE
LOW⚡tools/ci/test_plan.py91 def test_ci_logic_and_manual_run_validate_every_consumer(self):CODE
LOW⚡tools/ci/test_plan.py98 def test_empty_diff_does_not_run_expensive_jobs(self):CODE
LOW⚡tools/ci/test_plan.py103 def test_size_guard_handles_spaces_deletions_and_symlinks(self):CODE
LOWtools/ci/test_plan.py137 def test_pr_uses_merge_base_instead_of_including_base_branch_changes(self):CODE
LOWtools/ci/test_plan.py147 def test_push_includes_all_commits_and_both_sides_of_renames(self):CODE
LOWtools/ci/test_plan.py159 def test_large_diffs_do_not_truncate_late_core_changes(self):CODE
LOWtools/ci/test_plan.py170 def test_new_branch_missing_commits_and_manual_run_fall_back(self):CODE
LOWtools/ci/test_plan.py186 def test_pr_unavailable_diff_runs_full_ci_with_unchanged_oversized_file(self):CODE
LOWtools/ci/test_plan.py207 def test_pr_size_guard_ignores_unchanged_but_rejects_changed_oversized_files(self):CODE
LOWtools/ci/test_plan.py222 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.py202def 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.py147 def test_metadata_preserves_core_and_extra_conditions(self):CODE
LOWpaimon-python/dev/test_packaging.py166 def test_dev_group_reuses_product_extras(self):CODE
LOWpaimon-python/dev/test_packaging.py176 def test_sdist_rebuild_preserves_provenance_in_another_git_repo(self):CODE
LOWpaimon-python/dev/test_packaging.py191 def test_release_override_applies_to_both_formats(self):CODE
LOWpaimon-python/dev/test_packaging.py203 def test_invalid_release_override_fails(self):CODE
LOWpaimon-python/pypaimon/write/native_write.py42def _native_partition_types_supported(schema, partition_keys, legacy_partition_name=True):CODE
LOWpaimon-python/pypaimon/write/native_write.py192 def with_blob_uri_reader_factory(self, uri_reader_factory):CODE
LOWpaimon-python/pypaimon/write/native_write.py228 def _prepare_native_arrow_data(self, data):CODE
LOW…n-python/pypaimon/write/global_index_update_checker.py23def scan_global_index_entries(table, snapshot):CODE
LOW…n-python/pypaimon/write/global_index_update_checker.py61def apply_global_index_update_action(CODE
LOWpaimon-python/pypaimon/write/native_update.py72def create_native_update_by_row_id(table, commit_user, commit_identifier):CODE
LOWpaimon-python/pypaimon/write/native_update.py91def create_native_shard_updator(table, commit_user, projection, columns, shard, shard_count, stream=False):CODE
LOWpaimon-python/pypaimon/write/native_update.py139def _supported_upsert_key_type(data_type):CODE
LOWpaimon-python/pypaimon/write/native_update.py149def _native_update_columns_supported(table, columns):CODE
LOWpaimon-python/pypaimon/write/native_update.py222def create_native_predicate_update(table, commit_user, predicate, columns=None):CODE
LOWpaimon-python/pypaimon/write/native_update.py271def _raise_native_row_id_error(error):CODE
LOWpaimon-python/pypaimon/write/native_update.py288 def update_by_arrow_with_row_id(self, data: pa.Table):CODE
LOWpaimon-python/pypaimon/write/native_update.py295 def update_by_arrow_batches_with_row_id(self, tables):CODE
LOW⚡paimon-python/pypaimon/write/file_store_commit.py1075 def _generate_partition_statistics(self, commit_entries: List[ManifestEntry]) -> List[PartitionStatistics]:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py57def _row_id_check_from_messages(messages: List[CommitMessage]) -> Optional[int]:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py79def _reject_compact_increment(messages: List[CommitMessage]):CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py184 def _set_fixed_bucket_commit_check(self, messages):CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py334 def _overwrite_hash_index_deletes(self, partition_filter, deletes):CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py777 def _try_rewrite_row_id_conflict(CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py886 def _create_dynamic_partition_filter(self, commit_messages: List[CommitMessage]):CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py904 def _create_static_partition_filter(self, overwrite_partition, commit_messages: List[CommitMessage]):CODE
6611 more matches not shown…
Hallucination Indicators346 hits · 3742 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.java308 org.apache.iceberg.data.GenericRecord.create(type);CODE
CRITICAL…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java482 org.apache.paimon.iceberg.metadata.IcebergMetadata.fromPath(CODE
CRITICAL…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java1078 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
286 more matches not shown…
Over-Commented Block1064 hits · 1014 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1#COMMENT
LOW…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java721 // Verifies correct behaviour across a full schema-evolution cycle:COMMENT
LOW…pache/paimon/iceberg/IcebergRestMetadataCommitter.java801COMMENT
LOW…pache/paimon/iceberg/IcebergRestMetadataCommitter.java821 // accumulate multiple schema versions (e.g. IDs 0, 1, 2, 3) that all haveCOMMENT
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/ray-data.md321 static_partition=None,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
1004 more matches not shown…
Decorative Section Separators262 hits · 969 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
MEDIUMpaimon-python/pypaimon/write/table_upsert_by_key.py267 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/write/table_upsert_by_key.py269 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/write/table_upsert_by_key.py300 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/write/table_upsert_by_key.py302 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/read/read_builder.py252 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/read/read_builder.py254 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/read/explain.py141# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/read/explain.py143# ---------------------------------------------------------------------------COMMENT
MEDIUM…hon/pypaimon/read/reader/aggregation_merge_function.py53# ---------------------------------------------------------------------------COMMENT
MEDIUM…hon/pypaimon/read/reader/aggregation_merge_function.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM…hon/pypaimon/read/reader/aggregation_merge_function.py118# ---------------------------------------------------------------------------COMMENT
MEDIUM…hon/pypaimon/read/reader/aggregation_merge_function.py120# ---------------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/reader/blob_descriptor_convert_reader.py120 # ------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/reader/blob_descriptor_convert_reader.py122 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…pypaimon/read/reader/blob_descriptor_convert_reader.py200 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…pypaimon/read/reader/blob_descriptor_convert_reader.py202 # ------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/reader/blob_descriptor_convert_reader.py251 # ------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/reader/blob_descriptor_convert_reader.py253 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…n-python/pypaimon/read/reader/aggregate/aggregators.py1511# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…n-python/pypaimon/read/reader/aggregate/aggregators.py1515# ---------------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/read/reader/aggregate/aggregators.py317# ---------------------------------------------------------------------------COMMENT
MEDIUM…n-python/pypaimon/read/reader/aggregate/aggregators.py319# ---------------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/scanner/chunk_shuffle_split_generator.py337# ---------------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/scanner/chunk_shuffle_split_generator.py339# ---------------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/scanner/chunk_shuffle_split_generator.py456# ---------------------------------------------------------------------------COMMENT
MEDIUM…pypaimon/read/scanner/chunk_shuffle_split_generator.py458# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py197 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py199 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py255 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py257 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py280 # ------------------------------------------------------------------COMMENT
MEDIUM⚡paimon-python/pypaimon/tests/reader_parallel_test.py282 # ------------------------------------------------------------------COMMENT
MEDIUM…on-python/pypaimon/tests/schema_evolution_read_test.py572 # ------------------------------------------------------------------COMMENT
MEDIUM…on-python/pypaimon/tests/schema_evolution_read_test.py578 # ------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py88# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py584# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py588# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py948# ---------------------------------------------------------------------------COMMENT
MEDIUMpaimon-python/pypaimon/tests/pushdown_bucket_test.py951# ---------------------------------------------------------------------------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
202 more matches not shown…
Empty Error Handlers188 hits · 832 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/__init__.py24except ImportError:CODE
HIGHpaimon-python/pypaimon/build_info.py68except OSError:CODE
HIGHpaimon-python/pypaimon/write/file_store_commit.py1070except Exception:CODE
HIGHpaimon-python/pypaimon/write/file_store_commit.py1011except Exception:CODE
HIGHpaimon-python/pypaimon/write/table_update_by_row_id.py842except (pa.lib.ArrowNotImplementedError,CODE
HIGHpaimon-python/pypaimon/write/commit/commit_rollback.py59except Exception:CODE
HIGHpaimon-python/pypaimon/write/writer/blob_file_writer.py210except Exception:CODE
HIGHpaimon-python/pypaimon/benchmark/video_random_read.py83except OSError:CODE
HIGHpaimon-python/pypaimon/benchmark/act/runner.py758except (OSError, subprocess.CalledProcessError):CODE
HIGHpaimon-python/pypaimon/benchmark/act/runner.py768except OSError: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.py270except 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/read/table_read.py692except queue.Full:CODE
HIGHpaimon-python/pypaimon/read/table_read.py1725except ValueError:CODE
HIGH…on-python/pypaimon/read/reader/format_mosaic_reader.py94except ValueError:CODE
HIGH…n-python/pypaimon/read/reader/format_pyarrow_reader.py349except binascii.Error:CODE
HIGH…imon-python/pypaimon/read/reader/format_blob_reader.py224except StopIteration:CODE
HIGH…on-python/pypaimon/read/reader/format_vortex_reader.py71except Exception:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py192except OSError:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py3169except OSError:CODE
HIGHpaimon-python/pypaimon/tests/blob_test.py4090except 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
128 more matches not shown…
Excessive Try-Catch Wrapping523 hits · 690 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/table_commit.py133 except Exception as error:CODE
LOW⚡paimon-python/pypaimon/write/file_store_commit.py1070 except Exception:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py717 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py722 except Exception as cleanup_err:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py752 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py1011 except Exception:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py1036 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py1058 except Exception as error:CODE
LOW…n-python/pypaimon/write/map_shared_shredding_writer.py191 except Exception:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py186 except Exception:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py190 except Exception as abort_error:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py265 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py275 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py442 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py533 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_delete.py309 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_update.py140 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update.py203 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update.py225 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_update.py317 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update.py365 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_update.py626 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update.py699 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update.py737 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/write_builder.py85 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py179 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py549 except Exception:CODE
LOWpaimon-python/pypaimon/write/table_upsert_by_key.py156 except Exception as error:CODE
MEDIUMpaimon-python/pypaimon/write/table_upsert_by_key.py151def _create_native_upsert(self, data, upsert_keys, columns):CODE
LOWpaimon-python/pypaimon/write/row_utils.py70 except Exception as error:CODE
LOWpaimon-python/pypaimon/write/row_key_extractor.py62 except Exception: # any failure here means "use the fallback"CODE
LOWpaimon-python/pypaimon/write/file_store_write.py369 except Exception as e:CODE
MEDIUM…mon-python/pypaimon/write/commit/conflict_detection.py221def check_conflicts(CODE
LOW…mon-python/pypaimon/write/commit/conflict_detection.py230 except Exception as e:CODE
LOW…mon-python/pypaimon/write/commit/conflict_detection.py237 except Exception as e:CODE
LOW…thon/pypaimon/write/commit/row_id_conflict_rewriter.py138 except Exception:CODE
LOW…thon/pypaimon/write/commit/row_id_conflict_rewriter.py142 except Exception:CODE
LOW…on/pypaimon/write/commit/overwrite_changes_provider.py99 except Exception:CODE
LOWpaimon-python/pypaimon/write/commit/commit_rollback.py59 except Exception:CODE
LOWpaimon-python/pypaimon/write/writer/blob_writer.py306 except Exception as e:CODE
LOW…mon-python/pypaimon/write/writer/data_vector_writer.py125 except Exception as e:CODE
LOW…mon-python/pypaimon/write/writer/single_file_writer.py51 except Exception:CODE
LOW…mon-python/pypaimon/write/writer/single_file_writer.py77 except Exception:CODE
LOW…mon-python/pypaimon/write/writer/single_file_writer.py90 except Exception:CODE
LOW…-python/pypaimon/write/writer/key_value_data_writer.py108 except Exception as e:CODE
LOW…n-python/pypaimon/write/writer/postpone_data_writer.py41 except Exception:CODE
LOW…n-python/pypaimon/write/writer/postpone_data_writer.py99 except Exception:CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py141 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py179 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py207 except Exception as e:CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py334 except Exception:CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py514 except Exception:CODE
MEDIUMpaimon-python/pypaimon/write/writer/data_writer.py175def close(self):CODE
LOW…-python/pypaimon/write/writer/composite_data_writer.py70 except Exception as e:CODE
LOW…-python/pypaimon/write/writer/composite_data_writer.py182 except Exception:CODE
LOWpaimon-python/pypaimon/write/writer/blob_file_writer.py210 except Exception:CODE
LOW…ython/pypaimon/write/writer/dedicated_format_writer.py227 except Exception as e:CODE
LOW…ython/pypaimon/write/writer/dedicated_format_writer.py314 except Exception as e:CODE
463 more matches not shown…
Deep Nesting475 hits · 414 pts
SeverityFileLineSnippetContext
LOWtools/ci/plan.py49CODE
LOWpaimon-python/dev/test_packaging.py147CODE
LOWpaimon-python/pypaimon/write/postpone_bucket.py285CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py192CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py420CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py533CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py826CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py886CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py995CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py1017CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py1184CODE
LOWpaimon-python/pypaimon/write/native_commit.py41CODE
LOW…n-python/pypaimon/write/map_shared_shredding_writer.py412CODE
LOW…n-python/pypaimon/write/map_shared_shredding_writer.py117CODE
LOW…n-python/pypaimon/write/map_shared_shredding_writer.py281CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py412CODE
LOWpaimon-python/pypaimon/write/table_update.py289CODE
LOWpaimon-python/pypaimon/write/table_update.py372CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py105CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py141CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py497CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py556CODE
LOWpaimon-python/pypaimon/write/table_update_by_row_id.py836CODE
LOWpaimon-python/pypaimon/write/native_merge_into.py32CODE
LOWpaimon-python/pypaimon/write/native_merge_into.py86CODE
LOWpaimon-python/pypaimon/write/native_blob_rows.py68CODE
LOWpaimon-python/pypaimon/write/row_key_extractor.py438CODE
LOWpaimon-python/pypaimon/write/video_format_writer.py175CODE
LOW…mon-python/pypaimon/write/commit/conflict_detection.py136CODE
LOW…mon-python/pypaimon/write/commit/conflict_detection.py679CODE
LOW…on/pypaimon/write/commit/overwrite_changes_provider.py54CODE
LOW…mon-python/pypaimon/write/writer/single_file_writer.py55CODE
LOWpaimon-python/pypaimon/write/writer/data_writer.py256CODE
LOW…ython/pypaimon/write/writer/dedicated_format_writer.py366CODE
LOW…imon-python/pypaimon/write/writer/format_row_writer.py233CODE
LOWpaimon-python/pypaimon/benchmark/clickbench_format.py171CODE
LOWpaimon-python/pypaimon/benchmark/act/runner.py749CODE
LOWpaimon-python/pypaimon/benchmark/act/robomind_agilex.py759CODE
LOWpaimon-python/pypaimon/benchmark/act/compare.py118CODE
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.py330CODE
LOWpaimon-python/pypaimon/catalog/jdbc_catalog.py50CODE
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/merge_engine_support.py241CODE
LOWpaimon-python/pypaimon/read/merge_engine_support.py261CODE
LOWpaimon-python/pypaimon/read/read_builder.py51CODE
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.py204CODE
415 more matches not shown…
Cross-Language Confusion62 hits · 381 pts
SeverityFileLineSnippetContext
HIGHpaimon-python/pypaimon/write/table_write.py331 if data.schema.equals(schema, check_metadata=True):CODE
HIGHpaimon-python/pypaimon/write/writer/write_buffer.py59 elif not data.schema.equals(self._schema):CODE
HIGHpaimon-python/pypaimon/catalog/table_query_auth.py160 "Column masking on '{}' is JSON null; refusing to read rather than "CODE
HIGH⚡…imon-python/pypaimon/manifest/schema/data_file_meta.py67 """Row-id range, failing fast if first_row_id is null (mirrors Java nonNullRowIdRange)."""STRING
HIGHpaimon-python/pypaimon/read/table_read.py337 if batch.schema.equals(target_schema, check_metadata=True):CODE
HIGH…/pypaimon/read/reader/partial_update_merge_function.py24writes "fill in" fields the earlier writes left null, so users canSTRING
HIGH…mon-python/pypaimon/read/reader/concat_batch_reader.py175 if batches and not batch.schema.equals(batches[0].schema, check_metadata=True):CODE
HIGH…hon/pypaimon/read/reader/aggregation_merge_function.py25earlier writes left null; ``AggregateMergeFunction`` runs an actualSTRING
HIGH…ython/pypaimon/read/scanner/bucket_select_converter.py216 # An empty slot (e.g. all literals were null) collapses theCOMMENT
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.py187 self.assertTrue(selected.equals(expected_array))CODE
HIGH…imon/tests/format_pyarrow_shared_shredding_map_test.py249 self.assertTrue(selected.equals(expected_array))CODE
HIGH⚡paimon-python/pypaimon/tests/reader_parallel_test.py452 self.assertTrue(serial.equals(parallel))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py213 self.assertTrue(df_serial.equals(df_parallel))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py227 self.assertTrue(serial_df.equals(parallel_df))CODE
HIGHpaimon-python/pypaimon/tests/reader_parallel_test.py481 self.assertTrue(df_s.equals(df_p))CODE
HIGH…on-python/pypaimon/tests/schema_evolution_read_test.py738 # 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…n-python/pypaimon/tests/search_result_metadata_test.py57 assert before.equals(after.select(["id"]))CODE
HIGH…imon-python/pypaimon/tests/table_upsert_by_key_test.py706 self.assertTrue(original_data.equals(self._read_all(table).sort_by('id')))CODE
HIGH⚡paimon-python/pypaimon/tests/snapshot_manager_test.py53 for payload in ('{}', '{"snapshot": null}'):CODE
HIGHpaimon-python/pypaimon/tests/filesystem_catalog_test.py394 # Default option (disabled=true) rejects nullable -> not null, mirroringCOMMENT
HIGHpaimon-python/pypaimon/tests/variant_test.py468 self._check('{"n":null,"b":true,"i":42,"s":"hello","f":1.5}')CODE
HIGH⚡paimon-python/pypaimon/tests/row_to_string_test.py53 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.py864 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.py1161 # partition value: isNull keeps null, drops non-null; equal is the reverse.COMMENT
HIGH…on/pypaimon/tests/schema_evolution_nested_read_test.py680 self.assertEqual(rows[1]['mv'], '{null, x}')CODE
HIGH⚡…n-python/pypaimon/tests/filesystem_catalog_tag_test.py126 # duration string (matching Java's Duration.toString()).COMMENT
HIGHpaimon-python/pypaimon/tests/system/tags_table_test.py139 # duration string (Java Duration.toString()).COMMENT
HIGH⚡…mon-python/pypaimon/tests/api/test_branch_dto_serde.py55 # @Nullable behavior; jackson serializes nullable Long as null).COMMENT
HIGH⚡…mon-python/pypaimon/tests/api/test_branch_dto_serde.py71 # must serialize to {} (not null, not an array, not absent).COMMENT
HIGHpaimon-python/pypaimon/tests/daft/daft_blob_test.py75 # io_config is null without creds; embedded only for valid (non-null) rows with creds.COMMENT
HIGH⚡…thon/pypaimon/tests/daft/daft_blob_native_read_test.py115 # must still be read (as null) via fallback, not dropped.COMMENT
HIGH…on-python/pypaimon/tests/daft/daft_integration_test.py498 assert pypaimon_result.equals(expected_result)CODE
HIGHpaimon-python/pypaimon/management/java_string.py26 """Java ``String.length()``: UTF-16 code units, not code points."""STRING
HIGHpaimon-python/pypaimon/utils/file_store_path_factory.py206 # Legacy Timestamp.toString() uses UTC fields. Java's non-legacyCOMMENT
HIGHpaimon-python/pypaimon/schema/arrow_schema.py78 if data.schema.equals(schema, check_metadata=False):CODE
HIGHpaimon-python/pypaimon/multimodal/arrow_utils.py65 if table.schema.equals(target_schema, check_metadata=False):CODE
HIGHpaimon-python/pypaimon/multimodal/lerobot/metadata.py556 if any(not item.equals(schema, check_metadata=False)CODE
HIGHpaimon-python/pypaimon/common/time_utils.py222 """Render a non-negative ``timedelta`` like ``java.time.Duration.toString()``.STRING
HIGHpaimon-python/pypaimon/common/predicate_json_parser.py559 All comparison results are coerced from three-valued (PyArrow null) toSTRING
HIGHpaimon-python/pypaimon/data/variant_shredding.py488 # if typed_value is null → use overflow bytes directlyCOMMENT
HIGHpaimon-python/pypaimon/ray/data_evolution_merge_join.py771 "_ROW_ID is null; planner snapshot is stale "CODE
2 more matches not shown…
Cross-File Repetition53 hits · 265 pts
SeverityFileLineSnippetContext
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 Imports240 hits · 225 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/ray_datasink.py38CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py39CODE
LOWpaimon-python/pypaimon/write/table_write.py35CODE
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/deletionvectors/__init__.py18CODE
LOWpaimon-python/pypaimon/deletionvectors/__init__.py19CODE
LOWpaimon-python/pypaimon/deletionvectors/__init__.py20CODE
LOWpaimon-python/pypaimon/deletionvectors/__init__.py20CODE
LOWpaimon-python/pypaimon/deletionvectors/__init__.py20CODE
LOWpaimon-python/pypaimon/changelog/__init__.py18CODE
LOWpaimon-python/pypaimon/changelog/__init__.py19CODE
LOWpaimon-python/pypaimon/manifest/__init__.py23CODE
LOW…imon-python/pypaimon/read/reader/aggregate/__init__.py84CODE
LOW…imon-python/pypaimon/read/reader/aggregate/__init__.py35CODE
LOW…n/pypaimon/tests/ray_data_evolution_merge_into_test.py39CODE
LOWpaimon-python/pypaimon/tests/table_merge_into_test.py38CODE
LOW…hon/pypaimon/tests/native_plan_resolved_schema_test.py30CODE
LOWpaimon-python/pypaimon/tests/reader_append_only_test.py365CODE
LOWpaimon-python/pypaimon/tests/reader_append_only_test.py443CODE
LOWpaimon-python/pypaimon/tests/reader_append_only_test.py491CODE
LOWpaimon-python/pypaimon/tests/reader_append_only_test.py574CODE
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1390CODE
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1423CODE
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.py29CODE
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
LOWpaimon-python/pypaimon/function/__init__.py23CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py20CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py20CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py20CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py20CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py20CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py27CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py27CODE
LOWpaimon-python/pypaimon/multimodal/__init__.py28CODE
180 more matches not shown…
Verbosity Indicators97 hits · 178 pts
SeverityFileLineSnippetContext
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java747 // Step 1: baselineCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java754 // Step 2: drop v2 → [k, v1]COMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java760 // Step 3: option-only alter — same fields [k, v1], increments Paimon schema IDCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java766 // 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.java1414 // Step 1: Create a Paimon table with blob field via Flink SQLCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1426 // Step 2: Get the Paimon FileStoreTable and its RowTypeCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1430 // Step 3: Create a Flink temporary table with the same schema (BYTES column)COMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1448 // Step 4: Convert Paimon RowType to Flink RowType via LogicalTypeConversionCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1452 // 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.sh731 # 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.py56 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py71 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py87 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py125 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py158 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py173 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py190 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py224 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py265 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py282 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py311 # Step 4: Verify the resultCOMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1369 # Step 1: Create table with [f0, f1]COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1398 # Step 3: Schema evolution - add column f2COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1405 # Step 4: Write f2 only for same rows (first_row_id = 0)COMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1382 # Step 2: Write data with ALL columns of old schema → write_cols = NoneCOMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1421 # Step 5: Read all columnsCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1891 # Step 2: pypaimon shard update - scan and prepare commitCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1914 # Step 3: Java compact (compact happening between scan and commit)COMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1931 # 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.java747 // Step 1: baselineCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java754 // Step 2: drop v2 → [k, v1]COMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java760 // Step 3: option-only alter — same fields [k, v1], increments Paimon schema IDCOMMENT
LOW⚡…e/paimon/iceberg/IcebergRestMetadataCommitterTest.java766 // 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.java1414 // Step 1: Create a Paimon table with blob field via Flink SQLCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1426 // Step 2: Get the Paimon FileStoreTable and its RowTypeCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1430 // Step 3: Create a Flink temporary table with the same schema (BYTES column)COMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1448 // Step 4: Convert Paimon RowType to Flink RowType via LogicalTypeConversionCOMMENT
LOW⚡…test/java/org/apache/paimon/flink/BlobTableITCase.java1452 // 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.sh731 # 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.py56 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py71 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py87 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py125 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py158 # Step 1: Create table with a, b, c, d columns (all int32)COMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py173 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py190 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py224 # Step 4: Verify the resultCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py265 # Step 2: Write initial data for a, b, c columns onlyCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py282 # Step 3: Use ShardTableUpdator to compute d = c + b - aCOMMENT
LOW…imon-python/pypaimon/tests/shard_table_updator_test.py311 # Step 4: Verify the resultCOMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1369 # Step 1: Create table with [f0, f1]COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1398 # Step 3: Schema evolution - add column f2COMMENT
LOW⚡paimon-python/pypaimon/tests/data_evolution_test.py1405 # Step 4: Write f2 only for same rows (first_row_id = 0)COMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1382 # Step 2: Write data with ALL columns of old schema → write_cols = NoneCOMMENT
LOWpaimon-python/pypaimon/tests/data_evolution_test.py1421 # Step 5: Read all columnsCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1891 # Step 2: pypaimon shard update - scan and prepare commitCOMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1914 # Step 3: Java compact (compact happening between scan and commit)COMMENT
LOW…n-python/pypaimon/tests/e2e/java_py_read_write_test.py1931 # 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…hon/pypaimon/deletionvectors/bitmap_deletion_vector.py100 # Create the full data with magic numberCOMMENT
MEDIUM…on-python/pypaimon/manifest/simple_stats_evolutions.py104 # Create a mapping from field IDs to indices in data_fields.COMMENT
MEDIUM⚡paimon-python/pypaimon/read/split_read.py904 # Create a callable method to read the deletion vectorCOMMENT
MEDIUMpaimon-python/pypaimon/read/split_read.py1646 # Create the union readerCOMMENT
MEDIUM…imon-python/pypaimon/read/datasource/ray_datasource.py151 # Create a partial function to avoid capturing self in closureCOMMENT
MEDIUM⚡paimon-python/pypaimon/tests/blob_test.py3911 # Create a valid blob file firstCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py178 # Create a temporary directory and fileCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py1410 # Create a descriptorCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py3822 # Create a table with multiple columns (should fail - blob format requires single column)COMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py3864 # Create a valid blob file firstCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py3949 # Create a blob file with substantial contentCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_test.py4203 # 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.py539 # Create a catalog and tableCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_base_test.py556 # 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.py622 # Create a unique table for each iterationCOMMENT
MEDIUMpaimon-python/pypaimon/tests/native_blob_update_test.py421 # 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.py224 # Create a 10-column append table and write 10 rowsCOMMENT
MEDIUMpaimon-python/pypaimon/tests/reader_append_only_test.py971 # Create a unique table for each iterationCOMMENT
MEDIUMpaimon-python/pypaimon/tests/blob_table_test.py4906 # 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.py813 # 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.py135 # Create a regular table and branch, then select the branch via theCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py176 # Create a new branchCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py243 # Create a new table with catalog environmentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py376 # Create a branch firstCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py424 # Create a table with a commentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py440 # Create a table with a commentCOMMENT
MEDIUM…n-python/pypaimon/tests/table/file_store_table_test.py462 # Create a write builderCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py239 # Create a tagCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py303 # Create a tagCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py311 # Create the same tag with ignore_if_exists=True - should not raise errorCOMMENT
MEDIUMpaimon-python/pypaimon/tests/table/simple_table_test.py340 # Create a tagCOMMENT
MEDIUM…-python/pypaimon/tests/rest/rest_token_file_io_test.py326 # Create a token with a standard OSS endpointCOMMENT
MEDIUMpaimon-python/pypaimon/table/file_store_table.py80 # Create a placeholder identifierCOMMENT
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.py81 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.py151Load the snapshot of table identified by the given Identifier. Args: identifier: Path of the table STRING
HIGHpaimon-python/pypaimon/catalog/catalog.py233List partitions of a table with pagination. Args: identifier: Path of the table. max_reSTRING
HIGHpaimon-python/pypaimon/catalog/catalog.py303 List all branches for the table. Args: identifier: Table identifier Returns: STRING
HIGHpaimon-python/pypaimon/catalog/catalog.py387Get a tag of a table. Args: identifier: Table identifier (Identifier or string). tag_naSTRING
HIGHpaimon-python/pypaimon/catalog/catalog.py410List tags of a table with pagination. Args: identifier: Table identifier (Identifier or string). STRING
HIGHpaimon-python/pypaimon/catalog/rest/rest_catalog.py122 Commit the Snapshot for table identified by the given Identifier. Args: identifier: Path oSTRING
HIGHpaimon-python/pypaimon/catalog/rest/rest_catalog.py444Load 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
HIGH…n-python/pypaimon/read/reader/aggregate/aggregators.py285 Return the projected fields as a tuple. Args: element: Either an ``InternalRow`` or a ``diSTRING
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
HIGHpaimon-python/pypaimon/api/rest_api.py370 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.py719Parse 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
HIGH…python/pypaimon/globalindex/btree/btree_file_footer.py76 Read footer from byte data. Args: data: Byte data containing the footer STRING
HIGH…imon-python/pypaimon/globalindex/btree/block_reader.py57Seek to slice position from record position. Args: record_position: The record position to STRING
Modern Structural Boilerplate80 hits · 80 pts
SeverityFileLineSnippetContext
LOWpaimon-python/pypaimon/__init__.py35__all__ = [CODE
LOWpaimon-python/pypaimon/write/table_commit.py26logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/file_store_commit.py54logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/ray_datasink.py41logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/table_update.py57logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/write_builder.py30logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/table_upsert_by_key.py34logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/row_key_extractor.py39logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/file_store_write.py25logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/write/writer/blob_writer.py33logger = logging.getLogger(__name__)CODE
LOW…mon-python/pypaimon/write/writer/data_vector_writer.py28logger = logging.getLogger(__name__)CODE
LOW…-python/pypaimon/write/writer/composite_data_writer.py34logger = logging.getLogger(__name__)CODE
LOW…ython/pypaimon/write/writer/dedicated_format_writer.py44logger = 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/deletionvectors/__init__.py26__all__ = [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.py67logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/catalog/rest/fuse_support.py25logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/read/table_read.py51logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/read/table_scan.py34logger = logging.getLogger(__name__)CODE
LOW…hon/pypaimon/read/reader/filter_record_batch_reader.py33logger = logging.getLogger(__name__)CODE
LOW…imon-python/pypaimon/read/datasource/ray_datasource.py36logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/read/scanner/file_scanner.py23logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/tests/rest/rest_server.py1127 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.py835__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.py59__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.py569 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/api/client.py311 def set_user_agent(self, value: str) -> None:CODE
LOWpaimon-python/pypaimon/api/client.py314 def set_error_handler(self, error_handler: ErrorHandler) -> None:CODE
LOWpaimon-python/pypaimon/api/auth/__init__.py31__all__ = [CODE
LOWpaimon-python/pypaimon/consumer/__init__.py29__all__ = [CODE
LOWpaimon-python/pypaimon/data/__init__.py32__all__ = [CODE
LOWpaimon-python/pypaimon/daft/daft_datasink.py37logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/daft/daft_datasource.py68logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/daft/__init__.py22__all__ = ["explain_paimon_scan", "read_paimon", "write_paimon", "read_blob",CODE
LOWpaimon-python/pypaimon/daft/daft_predicate_visitor.py42logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/tag/__init__.py26__all__ = ["Tag", "TagManager"]CODE
LOWpaimon-python/pypaimon/tag/tag_manager.py29logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/ray/merge_condition.py32logger = logging.getLogger(__name__)CODE
LOWpaimon-python/pypaimon/ray/bucket_join.py37__all__ = ["bucket_join"]CODE
20 more matches not shown…
Redundant / Tautological Comments36 hits · 62 pts
SeverityFileLineSnippetContext
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py212 # Check if from_branch is main branchCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py216 # Check if from_branch is blankCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py220 # Check if to_branch is blankCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py230 # Check if from_branch existsCOMMENT
LOW⚡…on-python/pypaimon/branch/filesystem_branch_manager.py234 # Check if to_branch already existsCOMMENT
LOWpaimon-python/pypaimon/catalog/filesystem_catalog.py114 # Check if database still has tablesCOMMENT
LOWpaimon-python/pypaimon/catalog/filesystem_catalog.py281 # Check if table existsCOMMENT
LOWpaimon-python/pypaimon/read/split_read.py1029 # Check if this is a SlicedSplit to get shard_file_idx_mapCOMMENT
LOWpaimon-python/pypaimon/read/streaming_table_scan.py183 # Check if we have a prefetched result readyCOMMENT
LOWpaimon-python/pypaimon/read/streaming_table_scan.py216 # Check if we found a scannable snapshot or skipped someCOMMENT
LOW…mon-python/pypaimon/read/reader/format_lance_reader.py50 # Read file metadata (footer only) to get actual schemaCOMMENT
LOW…imon-python/pypaimon/read/reader/shard_batch_reader.py37 # Check if reader is FormatBlobReader (blob type)COMMENT
LOW…imon-python/pypaimon/read/reader/shard_batch_reader.py58 # Check if batch is within the desired rangeCOMMENT
LOWpaimon-python/pypaimon/read/scanner/file_scanner.py176 # Check if manifest row range overlaps with any of the expected row rangesCOMMENT
LOWpaimon-python/pypaimon/read/scanner/file_scanner.py181 # Check if ranges intersectCOMMENT
LOWpaimon-python/pypaimon/read/scanner/file_scanner.py557 # Check if global index is enabledCOMMENT
LOWpaimon-python/pypaimon/read/scanner/file_scanner.py991 # Check if dv_ranges existsCOMMENT
LOW…ypaimon/read/scanner/data_evolution_split_generator.py267 # Check if file overlaps with any of the row rangesCOMMENT
LOW…ypaimon/read/scanner/data_evolution_split_generator.py284 # Check if blob file overlaps with any merged rangeCOMMENT
LOW⚡paimon-python/pypaimon/tests/blob_test.py3920 # Read the file and corrupt the header (last 5 bytes: index_length + version)COMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py399 # Write fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py404 # Read fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py422 # Write file using context managerCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py426 # Read fileCOMMENT
LOW⚡paimon-python/pypaimon/tests/jindo_file_system_test.py786 # Write fileCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py445 # Write file in chunksCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py510 # Write fileCOMMENT
LOWpaimon-python/pypaimon/tests/jindo_file_system_test.py526 # Write filesCOMMENT
LOWpaimon-python/pypaimon/tests/blob_table_test.py4262 # 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.py1143 # 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
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 Patterns22 hits · 20 pts
SeverityFileLineSnippetContext
LOW…hon/pypaimon/deletionvectors/bitmap_deletion_vector.py111CODE
LOW…imon-python/pypaimon/manifest/schema/data_file_meta.py91CODE
LOWpaimon-python/pypaimon/read/native_plan.py443CODE
LOWpaimon-python/pypaimon/read/table_read.py1318CODE
LOW…n-python/pypaimon/read/reader/format_pyarrow_reader.py367CODE
LOW…n-python/pypaimon/read/reader/aggregate/aggregators.py1348CODE
LOW…python/pypaimon/management/list_permissions_request.py30CODE
LOWpaimon-python/pypaimon/multimodal/query.py125CODE
LOWpaimon-python/pypaimon/multimodal/query.py168CODE
LOWpaimon-python/pypaimon/multimodal/window_dataset.py85CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py97CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py589CODE
LOWpaimon-python/pypaimon/multimodal/lerobot/dataset.py635CODE
LOWpaimon-python/pypaimon/api/api_response.py317CODE
LOWpaimon-python/pypaimon/api/api_response.py422CODE
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
LOWpaimon-python/pypaimon/globalindex/btree/block_entry.py50CODE
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
LOW…on/pypaimon/write/commit/overwrite_changes_provider.py56 # Empty table: nothing existing to delete, just add the new files.COMMENT
LOWpaimon-python/pypaimon/read/split_read.py1462 # No need to merge fields, just create a single file readerCOMMENT
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
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
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpaimon-python/pypaimon/tests/native_read_test.py905CODE
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
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpaimon-python/pypaimon/tests/rest/rest_function_test.py108 def test_function(self):CODE