ClickHouse® is a real-time analytics database management system
11940 matches across 21 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | CMakeLists.txt | 1 | cmake_minimum_required(VERSION 3.25) |
| LOW | CMakeLists.txt | 301 | set (CMAKE_C_EXTENSIONS ON) # required by most contribs written in C |
| LOW | CMakeLists.txt | 461 | ### Add targets below this comment ### |
| LOW | CMakeLists.txt | 561 | # by the linker, and so jemalloc will not be registered as system |
| LOW | CMakeLists.txt | 581 | include (cmake/warnings.cmake) |
| LOW | AGENTS.md | 21 | |
| LOW | cmake/strip_rust_symbols.sh | 1 | #!/usr/bin/env bash |
| LOW | ci/settings/settings.py | 61 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 1 | # |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 21 | ## THIS FILE ACTS AS THE MASTER FILE FOR ALL HADOOP PROJECTS. |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 41 | # is preferable, modify this file accordingly. |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 61 | # file is living. If this is not defined, Hadoop will attempt to |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 81 | # memory size. |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 101 | # in the system logs. |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 121 | # By default, Apache Hadoop overrides Java's CLASSPATH |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 141 | # Should HADOOP_CLASSPATH be first in the official CLASSPATH? |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 161 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 181 | # export HADOOP_WORKERS="${HADOOP_CONF_DIR}/workers" |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 201 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 221 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 241 | # for all the daemons. So one could define: |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 261 | # export JSVC_HOME=/usr/bin |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 281 | ### |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 301 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 321 | # |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 341 | # Specify the JVM options to be used when starting the NFS3 Gateway. |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 361 | |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 381 | # HDFS Balancer specific parameters |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 401 | # These options will be appended to the options specified as HADOOP_OPTS |
| LOW | ci/docker/integration/hive_server/hadoop-env.sh | 421 | # For example, to limit who can execute the namenode command, |
| LOW | ci/praktika/hook_cache.py | 181 | print( |
| LOW | ci/praktika/gh_auth.py | 141 | .get_value() |
| LOW | ci/praktika/infrastructure/dedicated_host.py | 21 | availability_zones: List[str] = field(default_factory=list) |
| LOW | ci/jobs/check_style.py | 601 | # testname = "mypy" |
| LOW | ci/jobs/performance_tests.py | 421 | """ |
| LOW | ci/jobs/libfuzzer_test_check.py | 1 | #!/usr/bin/env python3 |
| LOW | ci/jobs/stress_job.py | 81 | if not (result.is_ok() or result.is_failure() or result.is_error()): |
| LOW | ci/jobs/copilot_review_job.py | 41 | GH_PREFIX = "env -u GH_CONFIG_DIR" |
| LOW | ci/jobs/llvm_coverage_job.py | 381 | if p.startswith("src/") and "/tests/" in p: |
| LOW | ci/jobs/clickbench.py | 21 | # The ClickBench `create.sql` attaches `hits` on a cached disk |
| LOW | ci/jobs/scripts/docker_in_docker.sh | 21 | }' | dd of=/etc/docker/daemon.json |
| LOW | ci/jobs/scripts/find_tests.py | 201 | # has no diagnostic value for test selection. Skipping regions with too many |
| LOW | ci/jobs/scripts/find_tests.py | 321 | f"across {len(unique_files)} files" |
| LOW | ci/jobs/scripts/find_tests.py | 341 | # and finds it. The Python post-filter still only assigns results to actually-changed |
| LOW | ci/jobs/scripts/find_tests.py | 441 | test_depths = [(t, int(d)) for t, d in zip(tests, depths)] |
| LOW | ci/jobs/scripts/find_tests.py | 461 | # Skip the broad-tier2 query if we've already consumed too much time. |
| LOW | ci/jobs/scripts/find_tests.py | 541 | f"(top score={max_score})" |
| LOW | ci/jobs/scripts/find_tests.py | 741 | |
| LOW | ci/jobs/scripts/find_tests.py | 921 | # "LDAPClient" → ['LDAP', 'Client'] |
| LOW | ci/jobs/scripts/find_tests.py | 1101 | # with any MergeTree-reading primary test, even if they're completely unrelated |
| LOW | ci/jobs/scripts/find_tests.py | 1281 | # Deduplicate, keep unique keywords only (not repeated across changed files) |
| LOW | ci/jobs/scripts/find_tests.py | 1301 | kw_cond = " OR ".join( |
| LOW | ci/jobs/scripts/find_tests.py | 1541 | # still a meaningful domain signal for KeeperStorage.cpp changes. |
| LOW | ci/jobs/scripts/find_tests.py | 1861 | def sort_key(t): |
| LOW | ci/jobs/scripts/find_tests.py | 1881 | # weak signals like broad-tier2 (score=8e-7, ratio=34000x) or distant indirect-call |
| LOW | ci/jobs/scripts/print_uncovered_code.py | 461 | |
| LOW | ci/jobs/scripts/functional_tests_results.py | 21 | _clickhouse_test = Path(__file__).resolve().parents[3] / "tests" / "clickhouse-test" |
| LOW | ci/jobs/scripts/perf/compare.sh | 221 | else |
| LOW | ci/jobs/scripts/perf/compare.sh | 281 | #then |
| LOW | ci/jobs/scripts/perf/compare.sh | 581 | # all nodes. |
| 5674 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/docker/reqgenerator.py | 36 | def check_docker_file_install_with_pip(filepath): |
| LOW | ci/tests/test_result.py | 44 | def test_all_statuses_accounted_for(): |
| LOW | ci/tests/test_result.py | 54 | def test_status_values_are_uppercase(): |
| LOW | ci/tests/test_result.py | 59 | def test_status_values_are_unique(): |
| LOW | ci/tests/test_result.py | 131 | def test_create_from_bool_true(): |
| LOW | ci/tests/test_result.py | 136 | def test_create_from_bool_false(): |
| LOW | ci/tests/test_result.py | 141 | def test_create_from_aggregates_ok(): |
| LOW | ci/tests/test_result.py | 147 | def test_create_from_aggregates_fail(): |
| LOW | ci/tests/test_result.py | 153 | def test_create_from_aggregates_error(): |
| LOW | ci/tests/test_result.py | 159 | def test_create_from_aggregates_xfail_is_ok(): |
| LOW | ci/tests/test_result.py | 165 | def test_create_from_aggregates_xpass_is_fail(): |
| LOW | ci/tests/test_result.py | 171 | def test_create_from_aggregates_unknown_is_fail(): |
| LOW | ci/tests/test_result.py | 177 | def test_create_from_error_takes_priority(): |
| LOW | ci/tests/test_pytest_xfail_xpass.py | 105 | def test_xfailed_and_passed_mix(): |
| LOW | ci/tests/test_pytest_xfail_xpass.py | 129 | def test_xpassed_and_passed_mix(): |
| LOW | ci/tests/test_job_filtering.py | 162 | def test_txt_file_in_subdirectory_does_not_match_shallow_glob(self): |
| LOW | ci/tests/test_job_filtering.py | 171 | def test_txt_file_directly_under_tests_matches_shallow_glob(self): |
| LOW | ci/tests/test_job_filtering.py | 178 | def test_unrelated_extension_in_subdirectory_does_not_match(self): |
| LOW | ci/tests/test_job_filtering.py | 184 | def test_txt_file_under_same_named_subdir_does_not_match(self): |
| LOW | ci/tests/test_job_filtering.py | 195 | def test_query_file_directly_under_tests_queries_matches(self): |
| LOW | ci/tests/test_job_filtering.py | 228 | def test_docker_is_filtered_when_only_requirer_is_hook_filtered(self): |
| LOW | ci/tests/test_job_filtering.py | 247 | def test_docker_is_not_filtered_when_unfiltered_job_requires_it(self): |
| LOW | ci/tests/test_job_filtering.py | 274 | def test_build_is_rescued_when_docker_is_rescued(self): |
| LOW | ci/tests/test_job_filtering.py | 293 | def test_unrelated_jobs_are_still_filtered(self): |
| LOW | ci/tests/test_job_filtering.py | 307 | def test_all_jobs_filtered_when_nothing_is_affected(self): |
| LOW | ci/tests/test_job_filtering.py | 319 | def test_direct_artifact_dependency_rescue_already_works(self): |
| LOW | ci/tests/test_workflow_input_parsing.py | 17 | def test_parse_workflow_inputs(): |
| LOW | ci/tests/test_stress_job.py | 50 | def test_well_formed_single_row(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 59 | def test_well_formed_multiple_rows(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 71 | def test_empty_file_returns_no_rows(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 78 | def test_single_trailing_newline_is_tolerated(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 89 | def test_multiple_trailing_newlines_are_tolerated(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 96 | def test_blank_line_only_returns_no_rows(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 101 | def test_status_only_two_column_row_is_accepted(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 111 | def test_truncated_tail_row_is_collected_as_malformed(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 119 | def test_malformed_row_in_middle_does_not_drop_neighbours(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 128 | def test_polluted_file_keeps_real_failure(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 147 | def test_process_results_surfaces_polluted_file(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 163 | def test_process_results_all_malformed_reports_corrupt_not_unknown(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 172 | def test_sanitize_replaces_nul_bytes(): |
| LOW | ci/tests/test_stress_job.py | 179 | def test_sanitize_strips_carriage_returns(): |
| LOW | ci/tests/test_stress_job.py | 187 | def test_invalid_status_row_is_collected_as_malformed(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 207 | def test_escape_tsv_info_roundtrips_cr_through_parser(tmp_path): |
| LOW | ci/tests/test_stress_job.py | 224 | def test_dpkg_progress_in_info_does_not_split_row(tmp_path): |
| LOW | ci/tests/test_gh.py | 25 | def test_mapping_values_are_valid_gh_statuses(): |
| LOW | ci/tests/test_gh.py | 52 | def test_invalid_status_asserts(): |
| LOW | ci/tests/test_gh.py | 61 | def test_repo_name_from_git_remote_url(): |
| LOW | ci/tests/test_gh.py | 73 | def test_repo_name_from_git_remote_url_rejects_unexpected_format(): |
| LOW | ci/tests/test_gh.py | 104 | def _assert_table_renders_at_top_level(md): |
| LOW | ci/tests/test_gh.py | 129 | def test_to_markdown_extras_plus_truncated_failures_render_correctly(monkeypatch): |
| LOW | ci/tests/test_gh.py | 166 | def test_to_markdown_extras_plus_small_failure_table(monkeypatch): |
| LOW | ci/tests/test_gh.py | 178 | def test_to_markdown_no_extras_truncated(monkeypatch): |
| LOW | ci/tests/test_gh.py | 196 | def test_to_markdown_no_failures(monkeypatch): |
| LOW | ci/tests/test_gh.py | 209 | def test_post_commit_status_converts_transparently(monkeypatch): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 39 | def test_single_fail_is_flipped_to_ok_and_outer_becomes_success(): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 51 | def test_single_ok_is_flipped_to_fail_and_outer_becomes_failed_to_reproduce(): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 63 | def test_mixed_fail_and_ok_treats_any_fail_as_bug_reproduced(): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 76 | def test_server_died_synthetic_fail_leaf_treated_as_bug_reproduced(): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 90 | def test_error_status_with_empty_results_preserves_error(): |
| LOW | ci/tests/test_bugfix_validation_inverter.py | 110 | def test_error_status_with_partial_results_preserves_error(): |
| 2751 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ci/tests/test_job_filtering.py | 203 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 205 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 56 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 58 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 121 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 123 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 149 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 151 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 261 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/tests/test_job_filtering.py | 263 | # --------------------------------------------------------------------------- |
| MEDIUM | ci/jobs/keeper_stress_job.py | 28 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | ci/jobs/keeper_stress_job.py | 30 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | ci/jobs/keeper_stress_job.py | 45 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | ci/jobs/keeper_stress_job.py | 47 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | ci/jobs/keeper_stress_job.py | 472 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | ci/jobs/keeper_stress_job.py | 474 | # ───────────────────────────────────────────────────────────────────────────── |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 300 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 302 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 369 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 371 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 585 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 587 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 682 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datalakes.py | 684 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datagenerator.py | 222 | # ============================================================ |
| MEDIUM | tests/casa_del_dolor/catalogs/datagenerator.py | 224 | # ============================================================ |
| MEDIUM | tests/integration/test_ttl_move/test.py | 45 | # --------------------------------- |
| MEDIUM | tests/integration/test_ttl_move/test.py | 155 | # --------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 167 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 169 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 342 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 344 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 672 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 674 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 741 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 746 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 859 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 861 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 942 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 944 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 25 | # --------------------------------------------------------------------------- |
| MEDIUM | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 27 | # --------------------------------------------------------------------------- |
| MEDIUM | …storage_iceberg_with_spark/test_remove_orphan_files.py | 169 | # --------------------------------------------------------------------------- |
| MEDIUM | …storage_iceberg_with_spark/test_remove_orphan_files.py | 171 | # --------------------------------------------------------------------------- |
| MEDIUM | …storage_iceberg_with_spark/test_remove_orphan_files.py | 23 | # --------------------------------------------------------------------------- |
| MEDIUM | …storage_iceberg_with_spark/test_remove_orphan_files.py | 26 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 18 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 27 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 127 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 133 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 166 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 172 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 248 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 250 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 284 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 286 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 326 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 328 | # --------------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 399 | # ----------------------------------------------------------------------- |
| MEDIUM | …ration/test_arrowflight_interface/flight_sql_client.py | 401 | # ----------------------------------------------------------------------- |
| 357 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/docker/reqgenerator.py | 62 | except Exception as ex: |
| LOW | ci/praktika/digest.py | 20 | except Exception: |
| MEDIUM | ci/praktika/runner.py | 265 | def _restore_submodule_cache(): |
| LOW | ci/praktika/runner.py | 44 | except Exception as e: |
| LOW | ci/praktika/runner.py | 289 | except Exception as e: |
| LOW | ci/praktika/runner.py | 322 | except Exception as e: |
| LOW | ci/praktika/runner.py | 563 | except Exception as e: # json.decoder.JSONDecodeError |
| LOW | ci/praktika/runner.py | 640 | except Exception as e: |
| LOW | ci/praktika/runner.py | 692 | except Exception as ex: |
| LOW | ci/praktika/runner.py | 721 | except Exception as ex: |
| LOW | ci/praktika/runner.py | 747 | except Exception as e: |
| LOW | ci/praktika/runner.py | 818 | except Exception as e: |
| LOW | ci/praktika/runner.py | 841 | except Exception as e: |
| LOW | ci/praktika/runner.py | 875 | except Exception as e: |
| LOW | ci/praktika/runner.py | 883 | except Exception as e: |
| LOW | ci/praktika/runner.py | 976 | except Exception as e: |
| LOW | ci/praktika/runner.py | 1005 | except Exception as e: |
| LOW | ci/praktika/runner.py | 1044 | except Exception as e: |
| LOW | ci/praktika/event.py | 282 | except Exception as e: |
| LOW | ci/praktika/event.py | 394 | except Exception as e: |
| MEDIUM | ci/praktika/event.py | 648 | print(f"Error reading reverse lookup file: {e}") |
| LOW | ci/praktika/gh.py | 221 | except Exception as ex: |
| LOW | ci/praktika/gh.py | 251 | except Exception: |
| LOW | ci/praktika/gh.py | 496 | except Exception as e: |
| LOW | ci/praktika/gh.py | 516 | except Exception: |
| LOW | ci/praktika/gh.py | 641 | except Exception: |
| LOW | ci/praktika/gh.py | 676 | except Exception: |
| LOW | ci/praktika/gh.py | 869 | except Exception: |
| LOW | ci/praktika/gh.py | 965 | except Exception: |
| LOW | ci/praktika/job.py | 306 | except Exception as e: |
| LOW | ci/praktika/mangle.py | 18 | except Exception: |
| LOW | ci/praktika/mangle.py | 90 | except Exception as e: |
| MEDIUM | ci/praktika/result.py | 2003 | print(f"Error decoding line in jsonl file: {e}") |
| LOW | ci/praktika/result.py | 148 | except Exception: |
| LOW | ci/praktika/result.py | 867 | except Exception as e: |
| LOW | ci/praktika/result.py | 975 | except Exception as e: |
| LOW | ci/praktika/result.py | 1344 | except Exception as e: |
| LOW | ci/praktika/result.py | 1379 | except Exception as e: |
| LOW | ci/praktika/result.py | 1537 | except Exception as e: |
| LOW | ci/praktika/result.py | 1729 | except Exception: |
| LOW | ci/praktika/result.py | 1745 | except Exception: |
| LOW | ci/praktika/result.py | 1899 | except Exception: |
| LOW | ci/praktika/result.py | 1956 | except Exception: |
| LOW | ci/praktika/result.py | 2052 | except Exception as e: |
| LOW | ci/praktika/hook_html.py | 38 | except Exception as e: |
| LOW | ci/praktika/utils.py | 273 | except Exception: |
| LOW | ci/praktika/utils.py | 435 | except Exception as e: |
| LOW | ci/praktika/utils.py | 524 | except Exception as e: |
| LOW | ci/praktika/utils.py | 536 | except Exception as e: |
| MEDIUM | ci/praktika/utils.py | 518 | def terminate_process_group(pid, force=False): |
| MEDIUM | ci/praktika/utils.py | 530 | def terminate_process(pid, force=False): |
| LOW | ci/praktika/settings.py | 226 | except Exception as e: |
| LOW | ci/praktika/cidb.py | 282 | except Exception as ex: |
| LOW | ci/praktika/cidb.py | 321 | except Exception as ex: |
| LOW | ci/praktika/cidb.py | 427 | except Exception as ex: |
| LOW | ci/praktika/issue.py | 84 | except Exception as e: |
| LOW | ci/praktika/native_jobs.py | 273 | except Exception as e: |
| LOW | ci/praktika/native_jobs.py | 451 | except Exception as e: |
| LOW | ci/praktika/native_jobs.py | 594 | except Exception as e: |
| LOW | ci/praktika/native_jobs.py | 656 | except Exception as e: |
| 851 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/infra/cloud.py | 4 | |
| LOW | ci/docker/integration/arrowflight/flight_server.py | 5 | |
| LOW | ci/tests/test_job_filtering.py | 49 | |
| LOW | ci/tests/test_job_filtering.py | 53 | |
| LOW | ci/workflows/nightly_coverage.py | 3 | |
| LOW | ci/workflows/nightly_jepsen.py | 3 | |
| LOW | ci/workflows/merge_queue.py | 3 | |
| LOW | ci/praktika/job.py | 2 | |
| LOW | ci/praktika/job.py | 8 | |
| LOW | ci/praktika/__init__.py | 6 | |
| LOW | ci/praktika/__init__.py | 7 | |
| LOW | ci/praktika/__init__.py | 8 | |
| LOW | ci/praktika/__init__.py | 9 | |
| LOW | ci/praktika/__init__.py | 10 | |
| LOW | ci/praktika/__init__.py | 11 | |
| LOW | ci/praktika/runtime.py | 1 | |
| LOW | ci/praktika/result.py | 14 | |
| LOW | ci/praktika/cidb.py | 4 | |
| LOW | ci/praktika/native_jobs.py | 8 | |
| LOW | ci/praktika/s3.py | 7 | |
| LOW | ci/praktika/infrastructure/iam_instance_profile.py | 2 | |
| LOW | ci/praktika/infrastructure/cloud.py | 5 | |
| LOW | ci/praktika/infrastructure/cloud.py | 6 | |
| LOW | ci/praktika/infrastructure/cloud.py | 7 | |
| LOW | ci/praktika/infrastructure/cloud.py | 8 | |
| LOW | ci/praktika/infrastructure/cloud.py | 9 | |
| LOW | ci/praktika/infrastructure/cloud.py | 11 | |
| LOW | ci/praktika/infrastructure/cloud.py | 14 | |
| LOW | ci/praktika/infrastructure/cloud.py | 15 | |
| LOW | ci/praktika/infrastructure/cloud.py | 16 | |
| LOW | ci/praktika/infrastructure/cloud.py | 17 | |
| LOW | ci/praktika/infrastructure/cloud.py | 18 | |
| LOW | ci/praktika/infrastructure/cloud.py | 19 | |
| LOW | ci/praktika/infrastructure/cloud.py | 20 | |
| LOW | ci/praktika/infrastructure/autoscaling_group.py | 1 | |
| LOW | ci/praktika/infrastructure/autoscaling_group.py | 2 | |
| LOW | ci/praktika/infrastructure/lambda_function.py | 8 | |
| LOW | ci/jobs/sqllogic_test.py | 7 | |
| LOW | ci/jobs/autoassign_approvers.py | 5 | |
| LOW | ci/jobs/fast_test.py | 4 | |
| LOW | ci/jobs/fast_test.py | 18 | |
| LOW | ci/jobs/docs_job_mintlify.py | 1 | |
| LOW | ci/jobs/docs_job_mintlify.py | 4 | |
| LOW | ci/jobs/collect_clickhouse_profiles.py | 23 | |
| LOW | ci/jobs/vector_search_stress_tests.py | 17 | |
| LOW | ci/jobs/clickhouse_light.py | 4 | |
| LOW | ci/jobs/clickhouse_light.py | 7 | |
| LOW | ci/jobs/clickhouse_light.py | 8 | |
| LOW | ci/jobs/clickhouse_light.py | 9 | |
| LOW | ci/jobs/clickhouse_light.py | 15 | |
| LOW | ci/jobs/ast_fuzzer_job.py | 5 | |
| LOW | ci/jobs/scripts/stack_trace_reader.py | 2 | |
| LOW | ci/jobs/scripts/find_tests.py | 1411 | |
| LOW | ci/jobs/scripts/find_tests.py | 2072 | |
| LOW | ci/jobs/scripts/check_ci.py | 3 | |
| LOW | ci/jobs/scripts/job_hooks/promql_compliance_hook.py | 20 | |
| LOW | ci/jobs/scripts/job_hooks/promql_compliance_s3.py | 10 | |
| LOW | ci/jobs/scripts/perf/report.py | 4 | |
| LOW | ci/jobs/scripts/perf/report.py | 5 | |
| LOW | ci/jobs/scripts/perf/report.py | 8 | |
| 924 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/integration/test_storage_s3_queue/test_2.py | 0 | select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na |
| HIGH | tests/integration/test_storage_s3_queue/test_2.py | 0 | select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na |
| HIGH | tests/integration/test_storage_s3_queue/test_2.py | 0 | select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na |
| HIGH | tests/integration/test_reload_zookeeper/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | …gration/test_replicated_user_defined_functions/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | tests/integration/test_replicated_users/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | tests/integration/test_reload_zookeeper/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | …gration/test_replicated_user_defined_functions/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | tests/integration/test_replicated_users/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | …s/integration/test_reload_auxiliary_zookeepers/test.py | 0 | <clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_ |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; } |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; } |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; } |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; } |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; } |
| HIGH | tests/integration/test_format_schema_on_server/test.py | 0 | syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; } |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple(); |
| HIGH | tests/integration/test_format_schema_source/test.py | 0 | create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple(); |
| HIGH | tests/integration/test_format_schema_on_server/test.py | 0 | create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple(); |
| HIGH | tests/integration/test_format_schema_on_server/test.py | 0 | create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple(); |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_insert_select/test.py | 0 | drop table if exists {table} on cluster '{cluster_name}' sync; |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = ' |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = ' |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = ' |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f |
| HIGH | tests/integration/test_s3_cluster_restart/test.py | 0 | create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f |
| HIGH | tests/integration/test_merge_tree_s3/test.py | 0 | create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine=merget |
| HIGH | …integration/test_merge_tree_azure_blob_storage/test.py | 0 | create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine=merget |
| HIGH | …_storage_azure_blob_storage/test_check_after_upload.py | 0 | create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine=merget |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test; |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test; |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test; |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test; |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_rocksdb_options/test.py | 0 | create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); |
| HIGH | tests/integration/test_storage_rabbitmq/test.py | 0 | drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde |
| HIGH | tests/integration/test_storage_rabbitmq/test.py | 0 | drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde |
| HIGH | tests/integration/test_storage_rabbitmq/test.py | 0 | drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde |
| HIGH | tests/integration/test_storage_rabbitmq/test.py | 0 | drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde |
| HIGH | …eplicated_merge_tree_with_auxiliary_zookeepers/test.py | 0 | create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux |
| HIGH | …eplicated_merge_tree_with_auxiliary_zookeepers/test.py | 0 | create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux |
| HIGH | …on/test_drop_replica_with_auxiliary_zookeepers/test.py | 0 | create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux |
| HIGH | …sts/integration/test_graphite_merge_tree_typed/test.py | 0 | optimize table test.graphite partition 200109 final; select * from test.graphite; |
| HIGH | …sts/integration/test_graphite_merge_tree_typed/test.py | 0 | optimize table test.graphite partition 200109 final; select * from test.graphite; |
| 124 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ci/tests/test_print_stacktraces.py | 10 | ``args`` is undefined, and any helper that closed over it crashed with |
| HIGH | ci/praktika/yaml_generator.py | 205 | sudo apt-get update && sudo apt install -y python3-pip |
| HIGH | ci/praktika/native_jobs.py | 430 | f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules |
| HIGH | ci/jobs/performance_tests.py | 941 | f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodu |
| HIGH | ci/jobs/performance_tests.py | 945 | f"rm -rf ./tests/performance && git checkout {reference_sha} ./tests/performance", |
| HIGH | ci/jobs/install_check.py | 46 | clickhouse-client -q 'SELECT version()' && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 56 | > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 56 | > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 64 | } && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 74 | clickhouse-client -q 'SELECT version()' && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 79 | > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 79 | > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 87 | } && break || sleep 1 |
| HIGH | ci/jobs/install_check.py | 149 | [ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE= |
| HIGH | ci/jobs/install_check.py | 159 | [ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE= |
| HIGH | ci/jobs/keeper_stress_job.py | 487 | Shell.run("docker system prune -af --volumes || true; docker builder prune -af || true; docker network prune -f || t |
| HIGH | ci/jobs/keeper_stress_job.py | 595 | Shell.run("docker system prune -af --volumes || true; docker network prune -f || true") |
| HIGH | ci/jobs/build_toolchain.py | 660 | f" -exec sh -c 'file \"$1\" | grep -q ELF && strip --strip-unneeded \"$1\"' _ {{}} \\;" |
| HIGH | ci/jobs/collect_clickhouse_profiles.py | 347 | Shell.check(f"cp -al {PERF_DB_PATH} {server_dir}/db || cp -r {PERF_DB_PATH} {server_dir}/db") |
| HIGH | ci/jobs/collect_clickhouse_profiles.py | 348 | Shell.check(f"cp -R {PERF_WD}/coordination0 {server_dir}/coordination || mkdir -p {server_dir}/coordination") |
| HIGH | ci/jobs/collect_clickhouse_profiles.py | 391 | r = Shell.check(f"mkdir -p {PGO_BUILD_DIR} && git submodule sync && git submodule init") |
| HIGH | ci/jobs/build_clickhouse.py | 205 | f"mkdir -p {build_dir} && git submodule sync && git submodule init" |
| HIGH | ci/jobs/docs_job.py | 99 | "export DOCUSAURUS_IGNORE_SSG_WARNINGS=true && yarn build-docs", |
| HIGH | ci/jobs/scripts/clickhouse_proc.py | 174 | "(ulimit -n 1048576 2>/dev/null || ulimit -n $(ulimit -Hn)) && " |
| HIGH | ci/jobs/scripts/clickhouse_proc.py | 1026 | "head -n 1 || true" |
| HIGH | ci/jobs/scripts/clickhouse_proc.py | 1029 | f"cd {self.log_dir} && grep -a '<Fatal>' clickhouse-server*.log 2>/dev/null | head -n 1 || true" |
| HIGH | ci/jobs/scripts/clickhouse_proc.py | 1344 | f"cat /usr/share/zoneinfo/{tz} > /etc/localtime && echo '{tz}' > /etc/timezone", |
| HIGH | ci/jobs/scripts/functional_tests/export_coverage.py | 53 | f"rm -rf {temp_dir}/system_tables && mkdir -p {temp_dir}/system_tables" |
| HIGH | ci/jobs/scripts/workflow_hooks/version_log.py | 13 | f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules |
| HIGH | ci/jobs/scripts/stress/stress.py | 82 | "pgrep -f 'clickhouse-client|clickhouse client' 2>/dev/null || true", |
| HIGH | ci/jobs/scripts/stress/stress.py | 413 | "timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||:", |
| HIGH | tests/ci/create_release.py | 28 | mkdir actions-runner && cd actions-runner |
| HIGH | tests/ci/create_release.py | 48 | dpkg-buildpackage -b --no-sign && sudo dpkg -i ../reprepro_$(dpkg-parsechangelog --show-field Version)_$(dpkg-architectu |
| HIGH | tests/ci/artifactory.py | 84 | _CLEAN_LOG_FILE_CMD = f"tail -n 1000 {self.LOG_FILE} > {self.LOG_FILE}_tmp && mv {self.LOG_FILE}_tmp {self.LOG_F |
| HIGH | tests/ci/artifactory.py | 289 | rpm_command = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-clie |
| HIGH | tests/ci/artifactory.py | 290 | cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf config |
| HIGH | tests/ci/artifactory.py | 295 | rpm_command_2 = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-cl |
| HIGH | tests/ci/artifactory.py | 296 | cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf config |
| HIGH | tests/ci/ssh.py | 41 | f"{ssh_options}UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no" |
| HIGH | tests/ci/report.py | 266 | return elem.children[idx].innerText || elem.children[idx].textContent; |
| HIGH | tests/ci/report.py | 270 | v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2) ? v1 - v2 : v1.toString().localeCompare(v2) |
| HIGH | tests/ci/report.py | 295 | document.getElementById('fish').style.display = (document.body.clientHeight > 3000 && theme == 'dark') ? 'block' |
| HIGH | tests/ci/report.py | 302 | if (new_theme && new_theme != theme) {{ |
| HIGH | …zero_database_access/test_user_zero_database_access.py | 133 | "export CLICKHOUSE_USER=env_user_with_password && export CLICKHOUSE_PASSWORD=clickhouse && /usr/bin/clic |
| HIGH | tests/integration/test_postgresql_protocol/test.py | 513 | f"cd /pg_testapp && dotnet run -- --host {node.hostname} --port {server_port} --username default --password |
| HIGH | tests/integration/test_attach_without_fetching/test.py | 131 | f"cd {data_path}detached/2_0_0_0 && ls *.bin", |
| HIGH | tests/integration/test_attach_without_fetching/test.py | 141 | f"cd {data_path}detached/2_0_0_0 && rm -fr *.bin", |
| HIGH | …integration/test_merge_tree_azure_blob_storage/test.py | 807 | f"SELECT remote_path FROM system.remote_data_paths WHERE path || local_path = '{data_path}' || 'all_1_1_0/column |
| HIGH | tests/integration/test_disk_access_storage/test.py | 232 | f"grep -l '{drop_uuid}' /var/lib/clickhouse/access/*.sql || true", |
| HIGH | …ntegration/test_keeper_memory_soft_limit_ratio/test.py | 66 | ["bash", "-c", "pkill -HUP clickhouse-keeper 2>/dev/null || pkill -HUP clickhouse 2>/dev/null || true"], |
| HIGH | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 914 | ["bash", "-c", f"ls {metadata_dir}/*.avro 2>/dev/null || true"] |
| HIGH | …st_storage_iceberg_with_spark/test_expire_snapshots.py | 923 | ["bash", "-c", f"ls {metadata_dir}/*.avro 2>/dev/null || true"] |
| HIGH | …ation/test_storage_iceberg_with_spark/test_optimize.py | 168 | ["bash", "-c", f"test -f '{file_path}' && echo yes || echo no"] |
| HIGH | …ge_iceberg_with_spark/test_minmax_pruning_with_null.py | 46 | TIMESTAMP '2024-02-20 10:00:00', null, 'vasya', 5) |
| HIGH | …ge_iceberg_with_spark/test_minmax_pruning_with_null.py | 54 | TIMESTAMP '2024-03-20 15:00:00', null, 'vasilisa', 6) |
| HIGH | …ge_iceberg_with_spark/test_minmax_pruning_with_null.py | 62 | TIMESTAMP '2024-04-30 14:00:00', null, 'icebreaker', 7) |
| HIGH | …ge_iceberg_with_spark/test_minmax_pruning_with_null.py | 69 | TIMESTAMP '2024-05-30 14:00:00', null, 'iceberg', 8) |
| HIGH | tests/integration/test_postgresql_kill_query/test.py | 88 | substring(md5(random()::text || clock_timestamp()::text) from 1 for 50) as random_string |
| HIGH | tests/integration/test_mysql_protocol/test.py | 962 | f"cd /testapp && dotnet run -- --host {node.hostname} --port {server_port} --username default --password 123 |
| HIGH | tests/integration/test_storage_kafka/test_batch_fast.py | 1093 | $ make clean && make CFLAGS='-Wall -g -O2 -ftree-loop-vectorize -DNDEBUG=1 -DSG=1 -fPIC' |
| 82 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/docker/reqgenerator.py | 36 | |
| LOW | ci/docker/reqgenerator.py | 49 | |
| LOW | ci/tests/test_cleanup_test_groups.py | 49 | |
| LOW | ci/praktika/validator.py | 15 | |
| LOW | ci/praktika/validator.py | 321 | |
| LOW | ci/praktika/digest.py | 106 | |
| LOW | ci/praktika/runner.py | 164 | |
| LOW | ci/praktika/runner.py | 293 | |
| LOW | ci/praktika/runner.py | 587 | |
| LOW | ci/praktika/runner.py | 898 | |
| LOW | ci/praktika/runner.py | 937 | |
| LOW | ci/praktika/event.py | 65 | |
| LOW | ci/praktika/yaml_generator.py | 267 | |
| LOW | ci/praktika/gh.py | 194 | |
| LOW | ci/praktika/gh.py | 455 | |
| LOW | ci/praktika/gh.py | 520 | |
| LOW | ci/praktika/gh.py | 936 | |
| LOW | ci/praktika/gh.py | 1092 | |
| LOW | ci/praktika/gh.py | 947 | |
| LOW | ci/praktika/job.py | 268 | |
| LOW | ci/praktika/mangle.py | 23 | |
| LOW | ci/praktika/mangle.py | 160 | |
| LOW | ci/praktika/hook_cache.py | 13 | |
| LOW | ci/praktika/parser.py | 88 | |
| LOW | ci/praktika/result.py | 120 | |
| LOW | ci/praktika/result.py | 432 | |
| LOW | ci/praktika/result.py | 601 | |
| LOW | ci/praktika/result.py | 730 | |
| LOW | ci/praktika/result.py | 800 | |
| LOW | ci/praktika/result.py | 1295 | |
| LOW | ci/praktika/result.py | 1393 | |
| LOW | ci/praktika/result.py | 1471 | |
| LOW | ci/praktika/result.py | 1619 | |
| LOW | ci/praktika/secret.py | 29 | |
| LOW | ci/praktika/utils.py | 314 | |
| LOW | ci/praktika/utils.py | 666 | |
| LOW | ci/praktika/utils.py | 726 | |
| LOW | ci/praktika/utils.py | 833 | |
| LOW | ci/praktika/utils.py | 38 | |
| LOW | ci/praktika/utils.py | 97 | |
| LOW | ci/praktika/_environment.py | 62 | |
| LOW | ci/praktika/cidb.py | 246 | |
| LOW | ci/praktika/cidb.py | 294 | |
| LOW | ci/praktika/cidb.py | 403 | |
| LOW | ci/praktika/workflow.py | 87 | |
| LOW | ci/praktika/issue.py | 523 | |
| LOW | ci/praktika/native_jobs.py | 111 | |
| LOW | ci/praktika/native_jobs.py | 287 | |
| LOW | ci/praktika/native_jobs.py | 369 | |
| LOW | ci/praktika/native_jobs.py | 803 | |
| LOW | ci/praktika/s3.py | 92 | |
| LOW | ci/praktika/s3.py | 253 | |
| LOW | ci/praktika/s3.py | 294 | |
| LOW | ci/praktika/s3.py | 573 | |
| LOW | ci/praktika/__main__.py | 294 | |
| LOW | ci/praktika/execution/machine_init.py | 26 | |
| LOW | ci/praktika/infrastructure/iam_instance_profile.py | 30 | |
| LOW | ci/praktika/infrastructure/iam_instance_profile.py | 114 | |
| LOW | ci/praktika/infrastructure/cloud.py | 42 | |
| LOW | ci/praktika/infrastructure/image_builder.py | 108 | |
| 294 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ci/praktika/result.py | 1748 | # Create a result for the module/node that failed to collect |
| MEDIUM | ci/praktika/cidb.py | 200 | # Create the base record |
| MEDIUM | ci/praktika/cidb.py | 404 | # Create a session object |
| MEDIUM | ci/jobs/build_toolchain.py | 359 | # Create a minimal stub sysroot for cross-target builtins compilation. |
| MEDIUM | ci/jobs/collect_clickhouse_profiles.py | 596 | # Create an empty marker so the artifact still uploads |
| MEDIUM | ci/jobs/scripts/functional_tests/setup_log_cluster.sh | 96 | # Create the destination table with adapted name and structure: |
| MEDIUM | ci/jobs/scripts/check_style/check-mypy-diff.py | 339 | # Create a worktree for the base branch (master) to compare |
| MEDIUM | tests/casa_del_dolor/properties.py | 33 | # Create a list of valid characters |
| MEDIUM | tests/casa_del_dolor/properties.py | 1513 | # Create a temporary file |
| MEDIUM | tests/casa_del_dolor/properties.py | 1557 | # Create a temporary file |
| MEDIUM | tests/casa_del_dolor/utils/httpserver.py | 205 | # Create a handler factory with custom arguments |
| MEDIUM | tests/ci/create_release.py | 25 | # Create a folder |
| MEDIUM | tests/integration/test_keeper_client_config/test.py | 49 | # Create an ACL-protected node for identity tests |
| MEDIUM | tests/integration/test_postgresql_protocol/test.py | 525 | # Create a restricted user that can only SELECT from default database |
| MEDIUM | tests/integration/test_merge_tree_s3/test.py | 769 | # Create a dummy file of 2M size to fill the disk space of cache disk |
| MEDIUM | …s/integration/test_keeper_max_append_byte_size/test.py | 84 | # Create the base path once |
| MEDIUM | …egration/test_restore_replica_metadata_version/test.py | 64 | # Create a part |
| MEDIUM | …tion/test_postgresql_replica_database_engine/test_3.py | 382 | # Create a table with wrong table structure |
| MEDIUM | tests/integration/test_distributed_format/test.py | 243 | # Create a malformed directory that would cause the bug |
| MEDIUM | tests/integration/test_distributed_format/test.py | 247 | # Create a dummy file so the directory isn't considered empty |
| MEDIUM | tests/integration/test_encrypted_disk/test.py | 408 | # Create a table without data. |
| MEDIUM | tests/integration/test_filesystem/test.py | 39 | # Create a controlled directory outside user_files for symlink testing. |
| MEDIUM | …ation/test_attach_table_from_s3_plain_readonly/test.py | 67 | # Create an atomic DB with mergetree sample data |
| MEDIUM | …ation/test_attach_table_from_s3_plain_readonly/test.py | 93 | # Create a replicated database |
| MEDIUM | …ation/test_attach_table_from_s3_plain_readonly/test.py | 101 | # Create a MergeTree table at one node, by attaching the merge tree data |
| MEDIUM | tests/integration/test_keeper_invalid_digest/test.py | 80 | # Create a zookeeper connection to node1 |
| MEDIUM | …iceberg_with_spark/test_metadata_file_path_security.py | 22 | # Create a simple Iceberg table with a few versions |
| MEDIUM | tests/integration/test_backup_restore_new/test.py | 522 | # Create a column of 4GB+10K |
| MEDIUM | tests/integration/test_backup_restore_new/test.py | 2009 | # Create a materialized view and a dictionary with a local table as source. |
| MEDIUM | …/test_storage_kafka/test_schema_registry_skip_bytes.py | 101 | # Create a binary message with 19-byte envelope header + JSON payload |
| MEDIUM | tests/integration/test_dictionaries_mysql/test.py | 50 | # Create a MySQL database |
| MEDIUM | tests/integration/test_refreshable_mat_view/test.py | 91 | # Create a custom environment and add the functions |
| MEDIUM | …gration/test_backup_restore_azure_blob_storage/test.py | 308 | # Create a named collection via SQL |
| MEDIUM | …gration/test_backup_restore_azure_blob_storage/test.py | 353 | # Create a named collection via SQL with placeholder blob_path |
| MEDIUM | …tegration/test_refreshable_mat_view_replicated/test.py | 96 | # Create a custom environment and add the functions |
| MEDIUM | …ntegration/test_dictionaries_update_and_reload/test.py | 237 | # Creating the file source makes the dictionary able to load. |
| MEDIUM | …ntegration/test_dictionaries_update_and_reload/test.py | 279 | # Creating the file source makes the dictionary able to load. |
| MEDIUM | tests/integration/test_backup_restore_s3/test.py | 398 | # Create a named collection via SQL |
| MEDIUM | tests/integration/test_backup_restore_s3/test.py | 421 | # Create a named collection via SQL with a placeholder URL |
| MEDIUM | tests/integration/test_allow_feature_tier/test.py | 136 | # Creating a different table should not be possible |
| MEDIUM | tests/integration/test_allow_feature_tier/test.py | 148 | # Creating a different table and altering its settings to enable experimental should not be possible either |
| MEDIUM | tests/integration/test_keeper_raft_cert_reload/test.py | 112 | # Create a node from first node |
| MEDIUM | …/integration/test_ldap_external_user_directory/test.py | 179 | # Create the underlying table on both nodes. |
| MEDIUM | …/integration/test_ldap_external_user_directory/test.py | 190 | # Create a Distributed table on instance1 that points to local_table. |
| MEDIUM | tests/integration/test_arrowflight_storage/test.py | 194 | # Create a named collection for ArrowFlight |
| MEDIUM | tests/integration/test_arrowflight_storage/test.py | 231 | # Create a named collection with authentication |
| MEDIUM | tests/integration/test_arrowflight_storage/test.py | 269 | # Create a named collection for ArrowFlight storage |
| MEDIUM | tests/integration/test_scheduler/test.py | 1134 | # Create a test configuration with resources and workloads |
| MEDIUM | tests/integration/helpers/cluster.py | 6296 | # Create a dictionary containing cluster & instance env variables. |
| MEDIUM | …ration/test_zero_copy_drop_table_with_leftover/test.py | 70 | # Create a fake part directory that is NOT tracked in data_parts_by_info. |
| MEDIUM | …ration/test_zero_copy_drop_table_with_leftover/test.py | 194 | # Create a fake leftover part directory |
| MEDIUM | …s/queries/0_stateless/03837_db_table_uuid_collision.sh | 4 | # Creating a table via ON CLUSTER with the same UUID as an existing database should give |
| MEDIUM | …_stateless/03604_fix_hashjoin_read_after_reordering.sh | 6 | # Define the set of N values for numbers(N) |
| MEDIUM | tests/queries/0_stateless/04042_arrow_uuid_import.sh | 19 | # Create a FixedSizeBinary(16) Arrow array |
| MEDIUM | …/queries/0_stateless/04201_filesystem_symlink_cycle.sh | 7 | # Create a directory symlink cycle: a -> b, b -> a. |
| MEDIUM | tests/queries/0_stateless/03273_dictionary_rbac.sh | 11 | # Create a dictionary and a table that points to the dictionary. |
| MEDIUM | tests/queries/0_stateless/03273_dictionary_rbac.sh | 26 | # Create a user, assign only a few permissions. |
| MEDIUM | …queries/0_stateless/03803_transaction_mutation_race.sh | 22 | # Create a MergeTree table with partitioning to prevent automatic merges across partitions |
| MEDIUM | tests/queries/0_stateless/03920_kafka_insert.sh | 37 | # Create a Kafka table for producing (INSERT) |
| MEDIUM | tests/queries/0_stateless/03920_kafka_insert.sh | 54 | # Create a Kafka table for consuming (SELECT) |
| 32 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | ci/praktika/json.html | 2184 | // Step 1: Fetch sync metadata |
| LOW | ci/praktika/json.html | 2203 | // Step 2: Fetch private PR result |
| LOW | ci/praktika/json.html | 2221 | // Step 3: Transform results — prefix names, add downstream href, rewrite links |
| LOW | ci/praktika/hook_cache.py | 95 | # Step 1: Separate jobs into two groups based on digest prefix relationships |
| LOW | ci/praktika/hook_cache.py | 135 | # Step 2: Fetch records for root jobs |
| LOW | ci/praktika/hook_cache.py | 150 | # Step 3: Filter dependent jobs - only fetch if their prefix was successfully fetched |
| LOW | ci/praktika/hook_cache.py | 163 | # Step 4: Fetch records for filtered dependent jobs |
| LOW | ci/praktika/hook_cache.py | 176 | # Step 2: Apply the fetched records sequentially |
| LOW | ci/jobs/sqllogic_test.py | 458 | # Step 1: Start ClickHouse |
| LOW | ci/jobs/sqllogic_test.py | 471 | # Step 2: Clone sqllogictest repo |
| LOW | ci/jobs/sqllogic_test.py | 506 | # Step 3: Run self-test |
| LOW | ci/jobs/sqllogic_test.py | 529 | # Step 4: Run statements-test |
| LOW | ci/jobs/sqllogic_test.py | 552 | # Step 5: Run complete-test |
| LOW | ci/jobs/sqllogic_test.py | 575 | # Step 6: Generate report, check thresholds, and detect new failures |
| LOW | ci/jobs/build_toolchain.py | 485 | # Step 1: Instrument clang with BOLT |
| LOW | ci/jobs/build_toolchain.py | 505 | # Step 2: Create symlinks for the instrumented binary so cmake can |
| LOW | ci/jobs/build_toolchain.py | 519 | # Step 3: Configure ClickHouse build with BOLT-instrumented clang |
| LOW | ci/jobs/build_toolchain.py | 543 | # Step 4: Time-limited build to collect BOLT profiles |
| LOW | ci/jobs/build_toolchain.py | 568 | # Step 5: Merge BOLT profiles |
| LOW | ci/jobs/build_toolchain.py | 582 | # Step 6: Apply BOLT optimization |
| LOW | ci/jobs/build_toolchain.py | 605 | # Step 7: Replace original binary with BOLTed version |
| LOW | ci/jobs/ast_fuzzer_job.py | 80 | # Step 1: changed/new test files in this PR |
| LOW | ci/jobs/ast_fuzzer_job.py | 85 | # Step 2: tests that failed in previous CI runs for this PR |
| LOW | ci/jobs/ast_fuzzer_job.py | 94 | # Step 3: coverage-relevant tests (direct lines, indirect callees, siblings) |
| LOW | tests/ci/pr_info.py | 104 | # We need to check if the PR is created in our repo, because |
| LOW | tests/ci/cherry_pick.py | 951 | # We need to check if there is an open release branch for each cherry-pick PR |
| LOW | tests/ci/cherry_pick.py | 970 | # And then, we need to check if the original PR is marked as backported for any |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 389 | # Step 1: Verify initial 6 rows |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 405 | # Step 2: Add files in middle and end of existing partitions |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 437 | # Step 3: Add files for new hostname and newer timestamp |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 458 | # Step 4: Restart ClickHouse node (test persistence) |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 466 | # Step 5: Add mixed files (some before, some after max processed) |
| LOW | tests/integration/test_storage_s3_queue/test_6.py | 488 | # Step 6: Verify ZooKeeper structure - check partition keys |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 256 | # Step 1: Add node4 to the cluster. |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 290 | # Step 2: Remove the first follower. |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 313 | # Step 3: Add node5 to the cluster. node1/3/4 are active at this point, |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 339 | # Step 4: Remove the second follower. |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 359 | # Step 5: Add node6 to the cluster. node1/4/5 are active at this point, |
| LOW | …s/integration/test_keeper_remove_rejoin_leader/test.py | 385 | # Step 6: Yield leadership so that node4, node5, or node6 wins the next |
| LOW | tests/integration/test_ttl_multilevel_group_by/test.py | 59 | # Step 1: Ensure all 10 rows were inserted |
| LOW | tests/integration/test_ttl_multilevel_group_by/test.py | 63 | # Step 2: Wait for the first TTL (13 seconds) to apply — should reduce to 6 rows (one per item_id) |
| LOW | tests/integration/test_ttl_multilevel_group_by/test.py | 67 | # Step 3: Wait for second TTL (18 seconds since insert) to apply — should reduce to 2 rows (one per user_id) |
| LOW | …30_iceberg_optimize_metadata_not_initialized_104711.sh | 30 | # Step 1: create the table with the deflate metadata format. |
| LOW | …30_iceberg_optimize_metadata_not_initialized_104711.sh | 37 | # Step 2: provoke the corrupt-metadata-on-disk state via an INSERT with an |
| LOW | …30_iceberg_optimize_metadata_not_initialized_104711.sh | 43 | # Step 3: detach + attach to clear the in-memory `current_metadata` cache, |
| LOW | …30_iceberg_optimize_metadata_not_initialized_104711.sh | 51 | # Step 4: the previously-crashing operations must now raise a regular |
| LOW | …ateless/04079_iceberg_write_retry_explicit_metadata.sh | 18 | # Step 1: Create table and populate with two INSERTs. |
| LOW | …ateless/04079_iceberg_write_retry_explicit_metadata.sh | 28 | # Step 2: Re-create the table pointing to v1 metadata (time-travel). |
| LOW | …ateless/04079_iceberg_write_retry_explicit_metadata.sh | 36 | # Step 3: INSERT with explicit v1 path. |
| LOW | …ateless/04079_iceberg_write_retry_explicit_metadata.sh | 44 | # Step 4: Verify all data is present by reading from the latest metadata. |
| LOW | …eries/0_stateless/02832_alter_max_sessions_for_user.sh | 29 | # Step 0: Set max_sessions_for_user. |
| LOW | …eries/0_stateless/02832_alter_max_sessions_for_user.sh | 32 | # Step 1: Simulaneously run `max_sessions_for_user` queries. These queries should run without any problems. |
| LOW | …eries/0_stateless/02832_alter_max_sessions_for_user.sh | 39 | # Step 2: Run another `max_sessions_for_user` + 1 query. That query should fail. |
| LOW | …eries/0_stateless/02832_alter_max_sessions_for_user.sh | 43 | # Step 3: Stop running queries launched at step 1. |
| LOW | programs/client/FuzzLoop.cpp | 1048 | /// Step 1: EXECUTE AS oracle user — switches session; row policy applies for subsequent querie |
| LOW | programs/client/FuzzLoop.cpp | 1062 | /// Step 2: SELECT count() FROM db.t [FINAL] INTO OUTFILE — runs as oracle user (no WHERE; |
| LOW | programs/client/FuzzLoop.cpp | 1069 | /// Step 3: Reconnect to reset session back to admin user before running the comparison que |
| LOW | programs/client/FuzzLoop.cpp | 1073 | /// Step 4: SELECT count() FROM db.t [FINAL] WHERE pred INTO OUTFILE — admin user + explici |
| LOW | src/Interpreters/DDLWorker.cpp | 667 | /// Step 1: Create ephemeral node in active/ status dir. |
| LOW | src/Interpreters/DDLWorker.cpp | 717 | /// Step 2: Execute query from the task. |
| 68 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ci/docker/integration/hive_server/hadoop-env.sh | 136 | # Similarly, end users should utilize ${HOME}/.hadooprc . |
| MEDIUM | ci/tests/test_cleanup_test_groups.py | 72 | # an early confirmation that the harness is actually running the test |
| LOW | ci/jobs/scripts/perf/compare.sh | 1237 | # Grepping numactl results from log is too crazy, I'll just call it again. |
| MEDIUM | …integration/test_keeper_snapshot_rotation_race/test.py | 237 | # Assert on the counter because it is more robust than matching logs. |
| MEDIUM | tests/integration/test_ttl_move/test.py | 1407 | # It is quite robust because we don't validate mid-states interactively, the only logical check is to assert for |
| MEDIUM | …_executable_user_defined_function/test_system_table.py | 33 | # Working UDF config with comprehensive configuration options |
| MEDIUM | …/integration/test_keeper_opentelemetry_tracing/test.py | 218 | # find traces pertaining to zookeeper write requests related to our DDL |
| MEDIUM | …/integration/test_background_operations_config/test.py | 9 | # We leverage 'sleepEachRow' for mutate queries to trigger operation timeout: |
| LOW | …tegration/test_distributed_inter_server_secret/test.py | 245 | # connection from n1 to n2 from another test (and we cannot simply use |
| MEDIUM | tests/integration/test_multiple_disks/test.py | 648 | # The test tries to utilize 35/40=87.5% of space, while during last |
| MEDIUM | …ries/0_stateless/03578_parallel_replicas_minicrawl.sql | 25 | {"date":"2025-07-27","rank":43314,"domain":"clickhouse.com","log":"* Trying 172.66.40.249:80...\n* Connected to clickh |
| LOW | tests/queries/0_stateless/03015_optimize_final_rmt.sh | 19 | # this query should wait for the running merges, not just return immediately |
| MEDIUM | …ateless/01079_parallel_alter_detach_table_zookeeper.sh | 122 | # In this case, it might be more robust than SYSTEM SYNC REPLICA |
| MEDIUM | …ueries/0_stateless/04077_lwd_alter_delete_privilege.sh | 8 | # This test uses ALTER TABLE (comprehensive) to avoid that discrepancy. |
| LOW | …ueries/0_stateless/00704_drop_truncate_memory_table.sh | 21 | # But if the table will be dropped before query - just pass. |
| MEDIUM | src/Interpreters/TransactionLog.cpp | 332 | /// Definitely not safe to remove |
| MEDIUM | src/Interpreters/IJoin.h | 154 | /// This serves as a runtime check in JoiningTransform to decide whether to utilize the parallel processing of |
| MEDIUM | src/Interpreters/IJoin.h | 156 | /// If the join supports parallel processing, it can still decide during build phase whether to utilize it or not. |
| MEDIUM | src/Interpreters/HashJoin/HashJoin.h | 400 | // we can cache the selector size at construction to make the holder robust |
| MEDIUM | src/Interpreters/FileCache/FileCache.cpp | 2511 | /// we allow ourselves to be suboptional here in favour of being robust |
| MEDIUM | src/Databases/DataLake/GlueCatalog.cpp | 377 | /// Skip field if it's not "current" (for example Renamed). No idea how someone can utilize "non current |
| MEDIUM | src/Storages/ObjectStorage/DataLakes/Iceberg/Utils.cpp | 471 | /// Do not utilize filesystem cache if more precise cache enabled |
| MEDIUM | …rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp | 85 | /// Do not utilize filesystem cache if more precise cache enabled |
| MEDIUM | …rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp | 157 | /// Do not utilize filesystem cache if more precise cache enabled |
| MEDIUM | src/Storages/MergeTree/KeyCondition.h | 259 | /// Special for pointInPolygon to utilize minmax indices. |
| MEDIUM | src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp | 229 | /// Root function node must be contained in atom_map if we want to utilize primary index. |
| MEDIUM | src/Storages/MergeTree/MergeTreeWhereOptimizer.cpp | 234 | /// Non-root function node must be monotonic and deterministic in scope of query if we want to utilize prima |
| MEDIUM | src/Storages/MergeTree/MergeTreeData.h | 157 | /// Essentially it is an index too. |
| MEDIUM | src/AggregateFunctions/AggregateFunctionStatistics.cpp | 203 | /// and utilize FMA, rather than forcing a 64-bit memory store on every row. |
| MEDIUM | …eSeries/AggregateFunctionTimeseriesExtrapolatedValue.h | 156 | // extrapolationThreshold below. Essentially, we are assuming a more or |
| MEDIUM | src/IO/SharedThreadPools.h | 35 | /// This is needed to utilize as much a possible resources to accomplish some task. |
| MEDIUM | …/Processors/Formats/Impl/NativeORCBlockInputFormat.cpp | 639 | /// Transform range with the same left bound and right bound to equal, which could utilize bloom fil |
| MEDIUM | src/Processors/Formats/Impl/Parquet/Write.cpp | 845 | /// Alternatively, we could avoid using arrow's dictionary encoding code and leverage |
| MEDIUM | src/Processors/QueryPlan/ReadFromMergeTree.cpp | 293 | /// TODO: this approach is fragile, it'd be more robust to update sorting description for the whole plan during plan |
| MEDIUM | …ueryPlan/Optimizations/optimizeUseNormalProjection.cpp | 399 | /// Enables PREWHERE on projections to improve read efficiency and leverage query condition cache. |
| MEDIUM | …Plan/Optimizations/optimizeDirectReadFromTextIndex.cpp | 270 | /// 2. We want to leverage the PREWHERE for virtual columns, because text index |
| MEDIUM | …lan/Optimizations/considerEnablingParallelReplicas.cpp | 323 | // This value is an upper bound on the number of threads that can be used for reading (we simply don't have |
| MEDIUM | src/Common/Scheduler/CPULeaseAllocation.cpp | 496 | // It is better to run less threads, but utilize CPU better to avoid frequent context switches. This is how |
| MEDIUM | src/Functions/multiIf.cpp | 378 | /// Equivalent to below code. But it is able to utilize SIMD instructions. |
| MEDIUM | src/Functions/multiIf.cpp | 394 | /// Equivalent to below code. But it is able to utilize SIMD instructions. |
| MEDIUM | src/Functions/FunctionsConversion.h | 1353 | /// we want to utilize constexpr condition here, which is not mixable with value comparison |
| MEDIUM | src/Client/MultiplexedConnections.cpp | 516 | /// TODO Absolutely wrong code: read_list could be empty; motivation of rand is unclear. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docker/server/entrypoint.sh | 96 | # Check if the `defaul` user is changed through any mounted file. It will mean that user took care of it already |
| LOW | ci/praktika/event.py | 217 | # Check if any event in the group should be retained |
| LOW | ci/praktika/job.py | 279 | # Check if excluded |
| LOW | ci/praktika/job.py | 285 | # Check if included |
| LOW | ci/praktika/hook_cache.py | 116 | # Check if this job's digest starts with any other job's digest |
| LOW | ci/praktika/hook_cache.py | 153 | # Check if any successfully fetched digest is a prefix of this digest |
| LOW | ci/praktika/result.py | 1048 | # Check if colors should be used: local run + TTY + terminal supports colors |
| LOW | ci/praktika/issue.py | 267 | # Check if test name matches |
| LOW | ci/praktika/native_jobs.py | 246 | # Check if cache already exists in S3 |
| LOW | ci/praktika/native_jobs.py | 696 | # Check if any parent is reachable from BASE_BRANCH |
| LOW | ci/praktika/native_jobs.py | 701 | # Check if parent is ancestor of BASE_BRANCH or BASE_BRANCH is ancestor of parent |
| LOW | ci/praktika/__main__.py | 309 | # Check if html is in the only list (case-insensitive) |
| LOW | ci/praktika/infrastructure/lambda_function.py | 338 | # Check if function exists |
| LOW | …/praktika/infrastructure/native/lambda_slack_worker.py | 227 | # Check if any job has failed or errored |
| LOW | ci/jobs/check_style.py | 172 | # Check if any pattern matches in the concatenated string |
| LOW | ci/jobs/integration_test_job.py | 568 | # Set on_error_hook to collect logs on hard timeout |
| LOW | ci/jobs/build_toolchain.py | 560 | # Check if we collected any profiles |
| LOW | ci/jobs/scripts/check_ci.py | 592 | # Check if workflow has unknown failures before matching against open issues |
| LOW | ci/jobs/scripts/check_ci.py | 807 | # Check if PR number was provided as command-line argument |
| LOW | ci/jobs/scripts/done.py | 95 | # Display results |
| LOW | ci/jobs/scripts/log_parser.py | 404 | # Check if line matches the numbered stack trace pattern |
| LOW | ci/jobs/scripts/log_parser.py | 451 | # Check if line contains DB:: namespace |
| LOW | ci/jobs/scripts/merge_llvm_coverage.sh | 35 | # Check if tools were found |
| LOW | ci/jobs/scripts/perf/download.sh | 66 | # Check if the dataset path exists |
| LOW | ci/jobs/scripts/workflow_hooks/pr_body_check.py | 32 | # Check if the entry is on the same line (e.g. "Changelog entry: Fix something") |
| LOW | …/jobs/scripts/workflow_hooks/pr_labels_and_category.py | 178 | # Check if the category is on the same line (e.g. "Changelog category: Bug Fix") |
| LOW | ci/jobs/scripts/stress/stress.py | 386 | # Display output before raising the exception as requested |
| LOW | tests/casa_del_dolor/utils/httpserver.py | 83 | # Check if this is an async request |
| LOW | tests/casa_del_dolor/utils/backgroundworker.py | 47 | # Check if thread is already running |
| LOW | tests/casa_del_dolor/catalogs/datalakes.py | 704 | # Set timezone to match ClickHouse |
| LOW | tests/casa_del_dolor/catalogs/clickhousetospark.py | 223 | # Check if it's a named tuple element |
| LOW | tests/docker_scripts/upgrade_runner.sh | 44 | # Check if we cloned previous release repository successfully |
| LOW | tests/ci/version_helper.py | 418 | # Check if we have shallow checkout by comparing number of lines |
| LOW | tests/ci/changelog.py | 333 | # Check if the category is on the same line |
| LOW | tests/ci/changelog.py | 357 | # Check if the entry is on the same line |
| LOW | tests/ci/get_previous_release_tag.py | 44 | # Check if the artifact exists on GitHub. |
| LOW | tests/ci/ci_utils.py | 157 | # Check if there is a next page |
| LOW | tests/ci/ci_utils.py | 200 | # Check if there is a next page |
| LOW | tests/ci/cherry_pick.py | 509 | # Check if we've already pinged to avoid spamming |
| LOW | …sts/integration/test_mark_cache_profile_events/test.py | 51 | # Check if any eviction metric has increased |
| LOW | …sts/integration/test_mark_cache_profile_events/test.py | 263 | # Check if eviction metrics appear in query log |
| LOW | …ation/test_stop_insert_when_disk_close_to_full/test.py | 167 | # Set threshold to 3 MiB |
| LOW | tests/integration/test_cgroup_metrics/test.py | 137 | # Check if this is a nested cgroup (important for reproducing the bug) |
| LOW | tests/integration/test_cgroup_metrics/test.py | 231 | # Check if we've seen a meaningful increase (at least 0.001 seconds) |
| LOW | …n/test_modify_engine_on_restart/test_zk_path_exists.py | 60 | # Check if we can cancel convertation |
| LOW | tests/integration/test_jbod_balancer/test.py | 88 | # Check if we can assign new merges |
| LOW | tests/integration/test_keeper_force_recovery/test.py | 96 | # Check if node 6 has a Keeper config (it only has one after the test runs) |
| LOW | …tegration/test_prometheus_protocols/test_evaluation.py | 3098 | # Set __name__ to a constant: there is no tag "", so its value is treated as "" which always matches regex "", |
| LOW | tests/integration/helpers/network.py | 39 | # # Check if iptables exists |
| LOW | …/0_stateless/03734_client_receive_timeout_exit_code.sh | 10 | # Set interactive_delay to a very large value to prevent progress packets from resetting the timeout |
| LOW | …/0_stateless/02360_rename_table_along_with_log_name.sh | 15 | regexp="${CLICKHOUSE_DATABASE}\\.x" # Check if there are still log entries with old table name |
| LOW | tests/queries/0_stateless/03776_client_sni_override.sh | 77 | # Check if SNI was sent - extract just the ASCII representation column from the hex dump |
| LOW | …queries/0_stateless/03792_profile_events_null_queue.sh | 22 | # Check if clickhouse-driver is available |
| LOW | tests/queries/0_stateless/02874_array_random_sample.sh | 220 | # Check if the array contains exactly 2 unique elements |
| LOW | tests/queries/0_stateless/03417_http_exception_tag.sh | 26 | # Check if the response contains __exception__ followed by newline, then TAG, then newline |
| LOW | …0_stateless/03807_parquet_reader_race_next_subgroup.sh | 24 | # Read the file multiple times in parallel to trigger the race. |
| LOW | tests/queries/0_stateless/03408_parquet_checksums.sh | 21 | # Write file with checksums. |
| LOW | tests/queries/0_stateless/03408_parquet_checksums.sh | 37 | # Write file without checksums. |
| LOW | …ateless/04070_async_insert_result_rows_double_count.sh | 56 | # Print results for comparison |
| LOW | tests/stress/keeper/framework/core/preflight.py | 68 | # Check if apt-get is available (containers should be Ubuntu/Debian) |
| 15 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …va/org/apache/paimon/rest/PaimonIncrementalWriter.java | 47 | Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context); |
| CRITICAL | …a/org/apache/paimon/rest/RESTCatalogServerStarter.java | 78 | Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context); |
| CRITICAL | …integration/test_merge_tree_azure_blob_storage/test.py | 6 | from azure.core.exceptions import ResourceNotFoundError |
| CRITICAL | …ries/0_stateless/data_minio/paimon_all_types/README.md | 212 | return org.apache.paimon.catalog.CatalogFactory.createCatalog(CatalogContext.create(new Path(rootPath))); |
| CRITICAL | programs/server/js/xterm.min.js | 7 | !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ci/praktika/workflow.py | 108 | # exact match - consider it as requested job |
| HIGH | ci/jobs/scripts/stress/stress.py | 386 | # Display output before raising the exception as requested |
| HIGH | utils/merge-selector-lab/pack.py | 3 | # Forgive my ignorance. This AI-generated script is used instead of a proper js bundler. |
| HIGH | src/Storages/Kafka/StorageKafka.cpp | 145 | // Claim as many consumers as requested, but don't block |
| HIGH | src/Client/AI/tests/gtest_ai_sql_generator.cpp | 271 | // If the AI generated SQL, it should be safe |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/integration/test_storage_mysql/test.py | 819 | f"INSERT INTO clickhouse.test_joins_mysql_users VALUES (469722, 'user@example.com', '2019-08-30 07:55:01')" |
| LOW | tests/integration/test_storage_delta/test.py | 1425 | pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()), |
| LOW | tests/integration/test_storage_delta/test.py | 1595 | pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()), |
| LOW | tests/queries/0_stateless/03822_map_json_dictionary.sql | 613 | (1, 'DeepTest1', '{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"deep_value_1","numbers":[1,2,3],"nested":{ |
| LOW | tests/queries/0_stateless/02919_storage_fuzzjson.sql | 21 | "name": "Jane Doe", |
| LOW | …/queries/0_stateless/02918_fuzzjson_table_function.sql | 44 | json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", " |
| LOW | …/queries/0_stateless/02918_fuzzjson_table_function.sql | 49 | json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", " |
| LOW | …/queries/0_stateless/02918_fuzzjson_table_function.sql | 56 | json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", " |
| LOW | …/queries/0_stateless/02918_fuzzjson_table_function.sql | 65 | json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", " |
| LOW | …queries/0_stateless/02884_string_distance_function.sql | 56 | -- Lorem ipsum |
| LOW | …queries/0_stateless/02884_string_distance_function.sql | 57 | -- Chinese chars lorem ipsum |
| LOW | …queries/0_stateless/02884_string_distance_function.sql | 59 | materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'), |
| LOW | …queries/0_stateless/02884_string_distance_function.sql | 59 | materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'), |
| LOW | …queries/0_stateless/02884_string_distance_function.sql | 141 | SELECT levenshteinDistanceUTF8('半テ絶力へじづひ情日ヲフオマ型読9緊覧だづや田立だリ九高わす二申むドい生著るべや断彰ユカツ複95済モナス稿国ネサナユ近無メエ飯承ぱ項天法ら抜乾凍刷くゃイあ。公当記てあ茂全ー間仙 |
| LOW | tests/queries/0_stateless/01509_format_raw_blob.sh | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| LOW | tests/queries/0_stateless/01509_format_raw_blob.sh | 13 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| LOW | tests/performance/cryptographic_hashes.xml | 31 | <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac |
| LOW | tests/performance/cryptographic_hashes.xml | 31 | <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac |
| LOW | tests/performance/general_purpose_hashes.xml | 25 | <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac |
| LOW | tests/performance/general_purpose_hashes.xml | 25 | <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac |
| LOW | …torages/System/StorageSystemContributors.generated.cpp | 768 | "John Doe", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | ci/jobs/sqlancer_job.sh | 5 | # 2. Other than for demonstration purposes it would be wierd to write this in bash |
| LOW | …ts/integration/test_config_xml_full/configs/config.xml | 584 | Regexps are not aligned: don't forget to add ^ and $. Also don't forget to escape dot (.) metacharacter |
| MEDIUM | …queries/0_stateless/03011_definitive_guide_to_cast.sql | 137 | -- It's worth noting that the operator form does not allow to specify the type name as a string literal: |
| LOW | programs/server/config.xml | 1025 | Regexps are not aligned: don't forget to add ^ and $. Also don't forget to escape dot (.) metacharacter |
| LOW | src/Storages/ObjectStorage/S3/Configuration.cpp | 390 | /// When adding new arguments in the signature don't forget to update addStructureAndFormatToArgsIfNeeded as well. |
| LOW | src/Storages/MergeTree/MergeTreeData.cpp | 2488 | "(don't forget to return setting back to default value)", |
| LOW | src/Storages/MergeTree/MergeTreeData.cpp | 2499 | "section or in table settings in .sql file (don't forget to return setting back to default value)", |
| LOW | src/Core/BaseSettingsProgramOptions.h | 52 | /// (Don't forget to call notify() on the `variables_map` after parsing it!) |
| LOW | src/DataTypes/Native.cpp | 483 | /// When working with values of these types in LLVM, don't forget to do setAlignment(llvm::Align(8)) for all loads/s |
| LOW | src/IO/SeekableReadBuffer.h | 35 | * may get into inconsistent state. Don't forget to reset it on the first nextImpl() |
| LOW | src/IO/ReadHelpers.h | 397 | // Buffer pointer is left at EOL, don't forget to advance it. |
| LOW | src/Common/AsynchronousMetrics.cpp | 431 | // achieve temporal separation with MetricTransmitter. Don't forget to |
| LOW | src/Common/PODArray.h | 24 | * Don't forget to apply std::decay when using this constexpr. |
| LOW | src/Common/COW.h | 242 | * If you override 'mutate' method in inherited classes, don't forget to make it virtual in base class or to make i |
| LOW | src/Client/BuzzHouse/Generator/SQLExpression.cpp | 989 | /// Don't forget to clear levels! |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …eries/0_stateless/helpers/install_predefined_backup.sh | 6 | # Usage: |
| LOW | .claude/tools/cppexpr.sh | 5 | # Usage: |
| LOW | …laude/skills/keeper-stress-analysis/scripts/rebuild.sh | 4 | # Usage: |
| LOW | utils/data-lakes-importer.py | 9 | # Usage example: |
| LOW | utils/merge-selector-lab/pack.py | 95 | # Example usage |
| LOW | utils/merge-selector-lab/renderMath.js | 69 | // Example usage: |
| LOW | base/poco/Foundation/include/Poco/TypeList.h | 261 | /// Usage example: |
| LOW | base/poco/Foundation/include/Poco/Process.h | 119 | /// Usage example: |
| LOW | base/poco/Foundation/include/Poco/Process.h | 153 | /// Usage example: |
| LOW | base/poco/Foundation/include/Poco/Dynamic/Var.h | 128 | /// Example usage: |
| LOW | base/poco/Foundation/include/Poco/Dynamic/Var.h | 151 | /// Example usage: |
| LOW | src/Common/examples/parallel_aggregation.cpp | 29 | /// Usage example: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | ci/praktika/utils.py | 727 | Compresses a file or directory using zstd. Args: path: Path to the file or directory to co |
| HIGH | ci/praktika/utils.py | 834 | Compresses a file or directory using gzip. Args: path: Path to the file or directory to co |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/en/interfaces/client.md | 438 | <api_key>your-api-key-here</api_key> |
| HIGH | docs/en/interfaces/client.md | 468 | api_key: your-api-key-here |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …erg_schema_evolution/test_array_evolved_with_struct.py | 191 | |
| MEDIUM | …erg_schema_evolution/test_array_evolved_with_struct.py | 197 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …efined_function/user_scripts/input_python_exception.py | 5 | def process_data(value): |
| LOW | utils/query-latency-analyzer/js/data-processing.js | 15 | function processData(raw_data) { |