Repository Analysis

ClickHouse/ClickHouse

ClickHouse® is a real-time analytics database management system

4.4 Likely human-written View on GitHub
4.4
Adjusted Score
4.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
47,704
Stars
C++
Language
3,249,722
Lines of Code
27302
Files
11940
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 5HIGH 335MEDIUM 705LOW 10895

Pattern Findings

11940 matches across 21 categories. Click a row to expand file-level details.

Over-Commented Block5734 hits · 5694 pts
SeverityFileLineSnippet
LOWCMakeLists.txt1cmake_minimum_required(VERSION 3.25)
LOWCMakeLists.txt301set (CMAKE_C_EXTENSIONS ON) # required by most contribs written in C
LOWCMakeLists.txt461### Add targets below this comment ###
LOWCMakeLists.txt561 # by the linker, and so jemalloc will not be registered as system
LOWCMakeLists.txt581include (cmake/warnings.cmake)
LOWAGENTS.md21
LOWcmake/strip_rust_symbols.sh1#!/usr/bin/env bash
LOWci/settings/settings.py61
LOWci/docker/integration/hive_server/hadoop-env.sh1#
LOWci/docker/integration/hive_server/hadoop-env.sh21## THIS FILE ACTS AS THE MASTER FILE FOR ALL HADOOP PROJECTS.
LOWci/docker/integration/hive_server/hadoop-env.sh41# is preferable, modify this file accordingly.
LOWci/docker/integration/hive_server/hadoop-env.sh61# file is living. If this is not defined, Hadoop will attempt to
LOWci/docker/integration/hive_server/hadoop-env.sh81# memory size.
LOWci/docker/integration/hive_server/hadoop-env.sh101# in the system logs.
LOWci/docker/integration/hive_server/hadoop-env.sh121# By default, Apache Hadoop overrides Java's CLASSPATH
LOWci/docker/integration/hive_server/hadoop-env.sh141# Should HADOOP_CLASSPATH be first in the official CLASSPATH?
LOWci/docker/integration/hive_server/hadoop-env.sh161
LOWci/docker/integration/hive_server/hadoop-env.sh181# export HADOOP_WORKERS="${HADOOP_CONF_DIR}/workers"
LOWci/docker/integration/hive_server/hadoop-env.sh201
LOWci/docker/integration/hive_server/hadoop-env.sh221
LOWci/docker/integration/hive_server/hadoop-env.sh241# for all the daemons. So one could define:
LOWci/docker/integration/hive_server/hadoop-env.sh261# export JSVC_HOME=/usr/bin
LOWci/docker/integration/hive_server/hadoop-env.sh281###
LOWci/docker/integration/hive_server/hadoop-env.sh301
LOWci/docker/integration/hive_server/hadoop-env.sh321#
LOWci/docker/integration/hive_server/hadoop-env.sh341# Specify the JVM options to be used when starting the NFS3 Gateway.
LOWci/docker/integration/hive_server/hadoop-env.sh361
LOWci/docker/integration/hive_server/hadoop-env.sh381# HDFS Balancer specific parameters
LOWci/docker/integration/hive_server/hadoop-env.sh401# These options will be appended to the options specified as HADOOP_OPTS
LOWci/docker/integration/hive_server/hadoop-env.sh421# For example, to limit who can execute the namenode command,
LOWci/praktika/hook_cache.py181 print(
LOWci/praktika/gh_auth.py141 .get_value()
LOWci/praktika/infrastructure/dedicated_host.py21 availability_zones: List[str] = field(default_factory=list)
LOWci/jobs/check_style.py601 # testname = "mypy"
LOWci/jobs/performance_tests.py421"""
LOWci/jobs/libfuzzer_test_check.py1#!/usr/bin/env python3
LOWci/jobs/stress_job.py81 if not (result.is_ok() or result.is_failure() or result.is_error()):
LOWci/jobs/copilot_review_job.py41GH_PREFIX = "env -u GH_CONFIG_DIR"
LOWci/jobs/llvm_coverage_job.py381 if p.startswith("src/") and "/tests/" in p:
LOWci/jobs/clickbench.py21 # The ClickBench `create.sql` attaches `hits` on a cached disk
LOWci/jobs/scripts/docker_in_docker.sh21}' | dd of=/etc/docker/daemon.json
LOWci/jobs/scripts/find_tests.py201 # has no diagnostic value for test selection. Skipping regions with too many
LOWci/jobs/scripts/find_tests.py321 f"across {len(unique_files)} files"
LOWci/jobs/scripts/find_tests.py341 # and finds it. The Python post-filter still only assigns results to actually-changed
LOWci/jobs/scripts/find_tests.py441 test_depths = [(t, int(d)) for t, d in zip(tests, depths)]
LOWci/jobs/scripts/find_tests.py461 # Skip the broad-tier2 query if we've already consumed too much time.
LOWci/jobs/scripts/find_tests.py541 f"(top score={max_score})"
LOWci/jobs/scripts/find_tests.py741
LOWci/jobs/scripts/find_tests.py921 # "LDAPClient" → ['LDAP', 'Client']
LOWci/jobs/scripts/find_tests.py1101 # with any MergeTree-reading primary test, even if they're completely unrelated
LOWci/jobs/scripts/find_tests.py1281 # Deduplicate, keep unique keywords only (not repeated across changed files)
LOWci/jobs/scripts/find_tests.py1301 kw_cond = " OR ".join(
LOWci/jobs/scripts/find_tests.py1541 # still a meaningful domain signal for KeeperStorage.cpp changes.
LOWci/jobs/scripts/find_tests.py1861 def sort_key(t):
LOWci/jobs/scripts/find_tests.py1881 # weak signals like broad-tier2 (score=8e-7, ratio=34000x) or distant indirect-call
LOWci/jobs/scripts/print_uncovered_code.py461
LOWci/jobs/scripts/functional_tests_results.py21_clickhouse_test = Path(__file__).resolve().parents[3] / "tests" / "clickhouse-test"
LOWci/jobs/scripts/perf/compare.sh221 else
LOWci/jobs/scripts/perf/compare.sh281 #then
LOWci/jobs/scripts/perf/compare.sh581# all nodes.
5674 more matches not shown…
Hyper-Verbose Identifiers2811 hits · 2455 pts
SeverityFileLineSnippet
LOWci/docker/reqgenerator.py36def check_docker_file_install_with_pip(filepath):
LOWci/tests/test_result.py44def test_all_statuses_accounted_for():
LOWci/tests/test_result.py54def test_status_values_are_uppercase():
LOWci/tests/test_result.py59def test_status_values_are_unique():
LOWci/tests/test_result.py131def test_create_from_bool_true():
LOWci/tests/test_result.py136def test_create_from_bool_false():
LOWci/tests/test_result.py141def test_create_from_aggregates_ok():
LOWci/tests/test_result.py147def test_create_from_aggregates_fail():
LOWci/tests/test_result.py153def test_create_from_aggregates_error():
LOWci/tests/test_result.py159def test_create_from_aggregates_xfail_is_ok():
LOWci/tests/test_result.py165def test_create_from_aggregates_xpass_is_fail():
LOWci/tests/test_result.py171def test_create_from_aggregates_unknown_is_fail():
LOWci/tests/test_result.py177def test_create_from_error_takes_priority():
LOWci/tests/test_pytest_xfail_xpass.py105def test_xfailed_and_passed_mix():
LOWci/tests/test_pytest_xfail_xpass.py129def test_xpassed_and_passed_mix():
LOWci/tests/test_job_filtering.py162 def test_txt_file_in_subdirectory_does_not_match_shallow_glob(self):
LOWci/tests/test_job_filtering.py171 def test_txt_file_directly_under_tests_matches_shallow_glob(self):
LOWci/tests/test_job_filtering.py178 def test_unrelated_extension_in_subdirectory_does_not_match(self):
LOWci/tests/test_job_filtering.py184 def test_txt_file_under_same_named_subdir_does_not_match(self):
LOWci/tests/test_job_filtering.py195 def test_query_file_directly_under_tests_queries_matches(self):
LOWci/tests/test_job_filtering.py228 def test_docker_is_filtered_when_only_requirer_is_hook_filtered(self):
LOWci/tests/test_job_filtering.py247 def test_docker_is_not_filtered_when_unfiltered_job_requires_it(self):
LOWci/tests/test_job_filtering.py274 def test_build_is_rescued_when_docker_is_rescued(self):
LOWci/tests/test_job_filtering.py293 def test_unrelated_jobs_are_still_filtered(self):
LOWci/tests/test_job_filtering.py307 def test_all_jobs_filtered_when_nothing_is_affected(self):
LOWci/tests/test_job_filtering.py319 def test_direct_artifact_dependency_rescue_already_works(self):
LOWci/tests/test_workflow_input_parsing.py17def test_parse_workflow_inputs():
LOWci/tests/test_stress_job.py50def test_well_formed_single_row(tmp_path):
LOWci/tests/test_stress_job.py59def test_well_formed_multiple_rows(tmp_path):
LOWci/tests/test_stress_job.py71def test_empty_file_returns_no_rows(tmp_path):
LOWci/tests/test_stress_job.py78def test_single_trailing_newline_is_tolerated(tmp_path):
LOWci/tests/test_stress_job.py89def test_multiple_trailing_newlines_are_tolerated(tmp_path):
LOWci/tests/test_stress_job.py96def test_blank_line_only_returns_no_rows(tmp_path):
LOWci/tests/test_stress_job.py101def test_status_only_two_column_row_is_accepted(tmp_path):
LOWci/tests/test_stress_job.py111def test_truncated_tail_row_is_collected_as_malformed(tmp_path):
LOWci/tests/test_stress_job.py119def test_malformed_row_in_middle_does_not_drop_neighbours(tmp_path):
LOWci/tests/test_stress_job.py128def test_polluted_file_keeps_real_failure(tmp_path):
LOWci/tests/test_stress_job.py147def test_process_results_surfaces_polluted_file(tmp_path):
LOWci/tests/test_stress_job.py163def test_process_results_all_malformed_reports_corrupt_not_unknown(tmp_path):
LOWci/tests/test_stress_job.py172def test_sanitize_replaces_nul_bytes():
LOWci/tests/test_stress_job.py179def test_sanitize_strips_carriage_returns():
LOWci/tests/test_stress_job.py187def test_invalid_status_row_is_collected_as_malformed(tmp_path):
LOWci/tests/test_stress_job.py207def test_escape_tsv_info_roundtrips_cr_through_parser(tmp_path):
LOWci/tests/test_stress_job.py224def test_dpkg_progress_in_info_does_not_split_row(tmp_path):
LOWci/tests/test_gh.py25def test_mapping_values_are_valid_gh_statuses():
LOWci/tests/test_gh.py52def test_invalid_status_asserts():
LOWci/tests/test_gh.py61def test_repo_name_from_git_remote_url():
LOWci/tests/test_gh.py73def test_repo_name_from_git_remote_url_rejects_unexpected_format():
LOWci/tests/test_gh.py104def _assert_table_renders_at_top_level(md):
LOWci/tests/test_gh.py129def test_to_markdown_extras_plus_truncated_failures_render_correctly(monkeypatch):
LOWci/tests/test_gh.py166def test_to_markdown_extras_plus_small_failure_table(monkeypatch):
LOWci/tests/test_gh.py178def test_to_markdown_no_extras_truncated(monkeypatch):
LOWci/tests/test_gh.py196def test_to_markdown_no_failures(monkeypatch):
LOWci/tests/test_gh.py209def test_post_commit_status_converts_transparently(monkeypatch):
LOWci/tests/test_bugfix_validation_inverter.py39def test_single_fail_is_flipped_to_ok_and_outer_becomes_success():
LOWci/tests/test_bugfix_validation_inverter.py51def test_single_ok_is_flipped_to_fail_and_outer_becomes_failed_to_reproduce():
LOWci/tests/test_bugfix_validation_inverter.py63def test_mixed_fail_and_ok_treats_any_fail_as_bug_reproduced():
LOWci/tests/test_bugfix_validation_inverter.py76def test_server_died_synthetic_fail_leaf_treated_as_bug_reproduced():
LOWci/tests/test_bugfix_validation_inverter.py90def test_error_status_with_empty_results_preserves_error():
LOWci/tests/test_bugfix_validation_inverter.py110def test_error_status_with_partial_results_preserves_error():
2751 more matches not shown…
Decorative Section Separators417 hits · 1304 pts
SeverityFileLineSnippet
MEDIUMci/tests/test_job_filtering.py203# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py205# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py56# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py58# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py121# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py123# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py149# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py151# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py261# ---------------------------------------------------------------------------
MEDIUMci/tests/test_job_filtering.py263# ---------------------------------------------------------------------------
MEDIUMci/jobs/keeper_stress_job.py28# ─────────────────────────────────────────────────────────────────────────────
MEDIUMci/jobs/keeper_stress_job.py30# ─────────────────────────────────────────────────────────────────────────────
MEDIUMci/jobs/keeper_stress_job.py45# ─────────────────────────────────────────────────────────────────────────────
MEDIUMci/jobs/keeper_stress_job.py47# ─────────────────────────────────────────────────────────────────────────────
MEDIUMci/jobs/keeper_stress_job.py472# ─────────────────────────────────────────────────────────────────────────────
MEDIUMci/jobs/keeper_stress_job.py474# ─────────────────────────────────────────────────────────────────────────────
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py300 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py302 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py369 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py371 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py585 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py587 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py682 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datalakes.py684 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datagenerator.py222 # ============================================================
MEDIUMtests/casa_del_dolor/catalogs/datagenerator.py224 # ============================================================
MEDIUMtests/integration/test_ttl_move/test.py45# ---------------------------------
MEDIUMtests/integration/test_ttl_move/test.py155# ---------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py167# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py169# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py342# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py344# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py672# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py674# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py741# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py746# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py859# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py861# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py942# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py944# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py25# ---------------------------------------------------------------------------
MEDIUM…st_storage_iceberg_with_spark/test_expire_snapshots.py27# ---------------------------------------------------------------------------
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py169# ---------------------------------------------------------------------------
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py171# ---------------------------------------------------------------------------
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py23# ---------------------------------------------------------------------------
MEDIUM…storage_iceberg_with_spark/test_remove_orphan_files.py26# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py18# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py27# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py127# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py133# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py166# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py172# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py248# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py250# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py284# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py286# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py326# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py328# ---------------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py399 # -----------------------------------------------------------------------
MEDIUM…ration/test_arrowflight_interface/flight_sql_client.py401 # -----------------------------------------------------------------------
357 more matches not shown…
Excessive Try-Catch Wrapping911 hits · 1004 pts
SeverityFileLineSnippet
LOWci/docker/reqgenerator.py62 except Exception as ex:
LOWci/praktika/digest.py20 except Exception:
MEDIUMci/praktika/runner.py265def _restore_submodule_cache():
LOWci/praktika/runner.py44 except Exception as e:
LOWci/praktika/runner.py289 except Exception as e:
LOWci/praktika/runner.py322 except Exception as e:
LOWci/praktika/runner.py563 except Exception as e: # json.decoder.JSONDecodeError
LOWci/praktika/runner.py640 except Exception as e:
LOWci/praktika/runner.py692 except Exception as ex:
LOWci/praktika/runner.py721 except Exception as ex:
LOWci/praktika/runner.py747 except Exception as e:
LOWci/praktika/runner.py818 except Exception as e:
LOWci/praktika/runner.py841 except Exception as e:
LOWci/praktika/runner.py875 except Exception as e:
LOWci/praktika/runner.py883 except Exception as e:
LOWci/praktika/runner.py976 except Exception as e:
LOWci/praktika/runner.py1005 except Exception as e:
LOWci/praktika/runner.py1044 except Exception as e:
LOWci/praktika/event.py282 except Exception as e:
LOWci/praktika/event.py394 except Exception as e:
MEDIUMci/praktika/event.py648 print(f"Error reading reverse lookup file: {e}")
LOWci/praktika/gh.py221 except Exception as ex:
LOWci/praktika/gh.py251 except Exception:
LOWci/praktika/gh.py496 except Exception as e:
LOWci/praktika/gh.py516 except Exception:
LOWci/praktika/gh.py641 except Exception:
LOWci/praktika/gh.py676 except Exception:
LOWci/praktika/gh.py869 except Exception:
LOWci/praktika/gh.py965 except Exception:
LOWci/praktika/job.py306 except Exception as e:
LOWci/praktika/mangle.py18 except Exception:
LOWci/praktika/mangle.py90 except Exception as e:
MEDIUMci/praktika/result.py2003 print(f"Error decoding line in jsonl file: {e}")
LOWci/praktika/result.py148 except Exception:
LOWci/praktika/result.py867 except Exception as e:
LOWci/praktika/result.py975 except Exception as e:
LOWci/praktika/result.py1344 except Exception as e:
LOWci/praktika/result.py1379 except Exception as e:
LOWci/praktika/result.py1537 except Exception as e:
LOWci/praktika/result.py1729 except Exception:
LOWci/praktika/result.py1745 except Exception:
LOWci/praktika/result.py1899 except Exception:
LOWci/praktika/result.py1956 except Exception:
LOWci/praktika/result.py2052 except Exception as e:
LOWci/praktika/hook_html.py38 except Exception as e:
LOWci/praktika/utils.py273 except Exception:
LOWci/praktika/utils.py435 except Exception as e:
LOWci/praktika/utils.py524 except Exception as e:
LOWci/praktika/utils.py536 except Exception as e:
MEDIUMci/praktika/utils.py518def terminate_process_group(pid, force=False):
MEDIUMci/praktika/utils.py530def terminate_process(pid, force=False):
LOWci/praktika/settings.py226 except Exception as e:
LOWci/praktika/cidb.py282 except Exception as ex:
LOWci/praktika/cidb.py321 except Exception as ex:
LOWci/praktika/cidb.py427 except Exception as ex:
LOWci/praktika/issue.py84 except Exception as e:
LOWci/praktika/native_jobs.py273 except Exception as e:
LOWci/praktika/native_jobs.py451 except Exception as e:
LOWci/praktika/native_jobs.py594 except Exception as e:
LOWci/praktika/native_jobs.py656 except Exception as e:
851 more matches not shown…
Unused Imports984 hits · 948 pts
SeverityFileLineSnippet
LOWci/infra/cloud.py4
LOWci/docker/integration/arrowflight/flight_server.py5
LOWci/tests/test_job_filtering.py49
LOWci/tests/test_job_filtering.py53
LOWci/workflows/nightly_coverage.py3
LOWci/workflows/nightly_jepsen.py3
LOWci/workflows/merge_queue.py3
LOWci/praktika/job.py2
LOWci/praktika/job.py8
LOWci/praktika/__init__.py6
LOWci/praktika/__init__.py7
LOWci/praktika/__init__.py8
LOWci/praktika/__init__.py9
LOWci/praktika/__init__.py10
LOWci/praktika/__init__.py11
LOWci/praktika/runtime.py1
LOWci/praktika/result.py14
LOWci/praktika/cidb.py4
LOWci/praktika/native_jobs.py8
LOWci/praktika/s3.py7
LOWci/praktika/infrastructure/iam_instance_profile.py2
LOWci/praktika/infrastructure/cloud.py5
LOWci/praktika/infrastructure/cloud.py6
LOWci/praktika/infrastructure/cloud.py7
LOWci/praktika/infrastructure/cloud.py8
LOWci/praktika/infrastructure/cloud.py9
LOWci/praktika/infrastructure/cloud.py11
LOWci/praktika/infrastructure/cloud.py14
LOWci/praktika/infrastructure/cloud.py15
LOWci/praktika/infrastructure/cloud.py16
LOWci/praktika/infrastructure/cloud.py17
LOWci/praktika/infrastructure/cloud.py18
LOWci/praktika/infrastructure/cloud.py19
LOWci/praktika/infrastructure/cloud.py20
LOWci/praktika/infrastructure/autoscaling_group.py1
LOWci/praktika/infrastructure/autoscaling_group.py2
LOWci/praktika/infrastructure/lambda_function.py8
LOWci/jobs/sqllogic_test.py7
LOWci/jobs/autoassign_approvers.py5
LOWci/jobs/fast_test.py4
LOWci/jobs/fast_test.py18
LOWci/jobs/docs_job_mintlify.py1
LOWci/jobs/docs_job_mintlify.py4
LOWci/jobs/collect_clickhouse_profiles.py23
LOWci/jobs/vector_search_stress_tests.py17
LOWci/jobs/clickhouse_light.py4
LOWci/jobs/clickhouse_light.py7
LOWci/jobs/clickhouse_light.py8
LOWci/jobs/clickhouse_light.py9
LOWci/jobs/clickhouse_light.py15
LOWci/jobs/ast_fuzzer_job.py5
LOWci/jobs/scripts/stack_trace_reader.py2
LOWci/jobs/scripts/find_tests.py1411
LOWci/jobs/scripts/find_tests.py2072
LOWci/jobs/scripts/check_ci.py3
LOWci/jobs/scripts/job_hooks/promql_compliance_hook.py20
LOWci/jobs/scripts/job_hooks/promql_compliance_s3.py10
LOWci/jobs/scripts/perf/report.py4
LOWci/jobs/scripts/perf/report.py5
LOWci/jobs/scripts/perf/report.py8
924 more matches not shown…
Cross-File Repetition184 hits · 920 pts
SeverityFileLineSnippet
HIGHtests/integration/test_storage_s3_queue/test_2.py0select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na
HIGHtests/integration/test_storage_s3_queue/test_2.py0select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na
HIGHtests/integration/test_storage_s3_queue/test_2.py0select splitbychar('/', file_name)[-1] as file from system.s3queue_metadata_cache where zookeeper_path ilike '%{table_na
HIGHtests/integration/test_reload_zookeeper/test.py0<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.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_
HIGHtests/integration/test_replicated_users/test.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo1</host> <port>2181</port> </node> <session_timeout_ms>2000</session_
HIGHtests/integration/test_reload_zookeeper/test.py0<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.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_
HIGHtests/integration/test_replicated_users/test.py0<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.py0<clickhouse> <zookeeper> <node index="1"> <host>zoo2</host> <port>2181</port> </node> <session_timeout_ms>2000</session_
HIGHtests/integration/test_format_schema_source/test.py0syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; }
HIGHtests/integration/test_format_schema_source/test.py0syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; }
HIGHtests/integration/test_format_schema_source/test.py0syntax = "proto3"; message keyvaluepair { uint64 key = 1; string value = 2; }
HIGHtests/integration/test_format_schema_source/test.py0syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; }
HIGHtests/integration/test_format_schema_source/test.py0syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; }
HIGHtests/integration/test_format_schema_on_server/test.py0syntax = "proto3"; message messagetmp { uint64 key2 = 1; string value2 = 2; }
HIGHtests/integration/test_format_schema_source/test.py0create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple();
HIGHtests/integration/test_format_schema_source/test.py0create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple();
HIGHtests/integration/test_format_schema_on_server/test.py0create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple();
HIGHtests/integration/test_format_schema_on_server/test.py0create table test.new_simple (key2 uint64, value2 string) engine = mergetree order by tuple();
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_insert_select/test.py0drop table if exists {table} on cluster '{cluster_name}' sync;
HIGHtests/integration/test_s3_cluster_restart/test.py0select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre
HIGHtests/integration/test_s3_cluster_restart/test.py0select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre
HIGHtests/integration/test_s3_cluster_restart/test.py0select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre
HIGHtests/integration/test_s3_cluster_restart/test.py0select count(*) from s3cluster( 'cluster_simple', 'http://minio1:9001/root/data/generated/*.csv', 'minio', '{minio_secre
HIGHtests/integration/test_s3_cluster_restart/test.py0select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = '
HIGHtests/integration/test_s3_cluster_restart/test.py0select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = '
HIGHtests/integration/test_s3_cluster_restart/test.py0select profileevents['distributedconnectionreconnectcount'] from system.query_log where query_id = '{uuid}' and type = '
HIGHtests/integration/test_s3_cluster_restart/test.py0create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f
HIGHtests/integration/test_s3_cluster_restart/test.py0create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f
HIGHtests/integration/test_s3_cluster_restart/test.py0create table {table} (a string, b uint64) engine=replicatedmergetree('/clickhouse/tables/f15b1936-ae89-416b-8626-7c88d9f
HIGHtests/integration/test_merge_tree_s3/test.py0create 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.py0create 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.py0create table {table_name} ( dt date, id int64, data string, index min_max (id) type minmax granularity 3 ) engine=merget
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test;
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test;
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test;
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key); drop table test;
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_rocksdb_options/test.py0create table test (key uint64, value string) engine=embeddedrocksdb primary key(key);
HIGHtests/integration/test_storage_rabbitmq/test.py0drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde
HIGHtests/integration/test_storage_rabbitmq/test.py0drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde
HIGHtests/integration/test_storage_rabbitmq/test.py0drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde
HIGHtests/integration/test_storage_rabbitmq/test.py0drop table if exists {db}.destination; create table {db}.destination(key uint64, value uint64) engine = mergetree() orde
HIGH…eplicated_merge_tree_with_auxiliary_zookeepers/test.py0create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux
HIGH…eplicated_merge_tree_with_auxiliary_zookeepers/test.py0create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux
HIGH…on/test_drop_replica_with_auxiliary_zookeepers/test.py0create table test_auxiliary_zookeeper(a int32) engine = replicatedmergetree('zookeeper2:/clickhouse/tables/test/test_aux
HIGH…sts/integration/test_graphite_merge_tree_typed/test.py0optimize table test.graphite partition 200109 final; select * from test.graphite;
HIGH…sts/integration/test_graphite_merge_tree_typed/test.py0optimize table test.graphite partition 200109 final; select * from test.graphite;
124 more matches not shown…
Cross-Language Confusion142 hits · 768 pts
SeverityFileLineSnippet
HIGHci/tests/test_print_stacktraces.py10``args`` is undefined, and any helper that closed over it crashed with
HIGHci/praktika/yaml_generator.py205 sudo apt-get update && sudo apt install -y python3-pip
HIGHci/praktika/native_jobs.py430 f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules
HIGHci/jobs/performance_tests.py941 f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodu
HIGHci/jobs/performance_tests.py945 f"rm -rf ./tests/performance && git checkout {reference_sha} ./tests/performance",
HIGHci/jobs/install_check.py46 clickhouse-client -q 'SELECT version()' && break || sleep 1
HIGHci/jobs/install_check.py56 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1
HIGHci/jobs/install_check.py56 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1
HIGHci/jobs/install_check.py64 } && break || sleep 1
HIGHci/jobs/install_check.py74 clickhouse-client -q 'SELECT version()' && break || sleep 1
HIGHci/jobs/install_check.py79 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1
HIGHci/jobs/install_check.py79 > /dev/tcp/127.0.0.1/9181 2>/dev/null && break || sleep 1
HIGHci/jobs/install_check.py87 } && break || sleep 1
HIGHci/jobs/install_check.py149[ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE=
HIGHci/jobs/install_check.py159[ -f /etc/debian_version ] && CONFIGURE=configure || CONFIGURE=
HIGHci/jobs/keeper_stress_job.py487 Shell.run("docker system prune -af --volumes || true; docker builder prune -af || true; docker network prune -f || t
HIGHci/jobs/keeper_stress_job.py595 Shell.run("docker system prune -af --volumes || true; docker network prune -f || true")
HIGHci/jobs/build_toolchain.py660 f" -exec sh -c 'file \"$1\" | grep -q ELF && strip --strip-unneeded \"$1\"' _ {{}} \\;"
HIGHci/jobs/collect_clickhouse_profiles.py347 Shell.check(f"cp -al {PERF_DB_PATH} {server_dir}/db || cp -r {PERF_DB_PATH} {server_dir}/db")
HIGHci/jobs/collect_clickhouse_profiles.py348 Shell.check(f"cp -R {PERF_WD}/coordination0 {server_dir}/coordination || mkdir -p {server_dir}/coordination")
HIGHci/jobs/collect_clickhouse_profiles.py391 r = Shell.check(f"mkdir -p {PGO_BUILD_DIR} && git submodule sync && git submodule init")
HIGHci/jobs/build_clickhouse.py205 f"mkdir -p {build_dir} && git submodule sync && git submodule init"
HIGHci/jobs/docs_job.py99 "export DOCUSAURUS_IGNORE_SSG_WARNINGS=true && yarn build-docs",
HIGHci/jobs/scripts/clickhouse_proc.py174 "(ulimit -n 1048576 2>/dev/null || ulimit -n $(ulimit -Hn)) && "
HIGHci/jobs/scripts/clickhouse_proc.py1026 "head -n 1 || true"
HIGHci/jobs/scripts/clickhouse_proc.py1029 f"cd {self.log_dir} && grep -a '<Fatal>' clickhouse-server*.log 2>/dev/null | head -n 1 || true"
HIGHci/jobs/scripts/clickhouse_proc.py1344 f"cat /usr/share/zoneinfo/{tz} > /etc/localtime && echo '{tz}' > /etc/timezone",
HIGHci/jobs/scripts/functional_tests/export_coverage.py53 f"rm -rf {temp_dir}/system_tables && mkdir -p {temp_dir}/system_tables"
HIGHci/jobs/scripts/workflow_hooks/version_log.py13 f"git rev-parse --is-shallow-repository | grep -q true && git fetch --unshallow --prune --no-recurse-submodules
HIGHci/jobs/scripts/stress/stress.py82 "pgrep -f 'clickhouse-client|clickhouse client' 2>/dev/null || true",
HIGHci/jobs/scripts/stress/stress.py413 "timeout 50s tail --pid=$(pidof gdb) -f /dev/null || kill -9 $(pidof gdb) ||:",
HIGHtests/ci/create_release.py28mkdir actions-runner && cd actions-runner
HIGHtests/ci/create_release.py48dpkg-buildpackage -b --no-sign && sudo dpkg -i ../reprepro_$(dpkg-parsechangelog --show-field Version)_$(dpkg-architectu
HIGHtests/ci/artifactory.py84 _CLEAN_LOG_FILE_CMD = f"tail -n 1000 {self.LOG_FILE} > {self.LOG_FILE}_tmp && mv {self.LOG_FILE}_tmp {self.LOG_F
HIGHtests/ci/artifactory.py289 rpm_command = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-clie
HIGHtests/ci/artifactory.py290 cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf config
HIGHtests/ci/artifactory.py295 rpm_command_2 = f"dnf config-manager --add-repo={self.repo_url} && dnf makecache && dnf -y install clickhouse-cl
HIGHtests/ci/artifactory.py296 cmd = f'docker run --rm fedora:{self.FEDORA_VERSION} /bin/bash -c "dnf -y install dnf-plugins-core && dnf config
HIGHtests/ci/ssh.py41 f"{ssh_options}UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no"
HIGHtests/ci/report.py266 return elem.children[idx].innerText || elem.children[idx].textContent;
HIGHtests/ci/report.py270 v1 !== '' && v2 !== '' && !isNaN(v1) && !isNaN(v2) ? v1 - v2 : v1.toString().localeCompare(v2)
HIGHtests/ci/report.py295 document.getElementById('fish').style.display = (document.body.clientHeight > 3000 && theme == 'dark') ? 'block'
HIGHtests/ci/report.py302 if (new_theme && new_theme != theme) {{
HIGH…zero_database_access/test_user_zero_database_access.py133 "export CLICKHOUSE_USER=env_user_with_password && export CLICKHOUSE_PASSWORD=clickhouse && /usr/bin/clic
HIGHtests/integration/test_postgresql_protocol/test.py513 f"cd /pg_testapp && dotnet run -- --host {node.hostname} --port {server_port} --username default --password
HIGHtests/integration/test_attach_without_fetching/test.py131 f"cd {data_path}detached/2_0_0_0 && ls *.bin",
HIGHtests/integration/test_attach_without_fetching/test.py141 f"cd {data_path}detached/2_0_0_0 && rm -fr *.bin",
HIGH…integration/test_merge_tree_azure_blob_storage/test.py807 f"SELECT remote_path FROM system.remote_data_paths WHERE path || local_path = '{data_path}' || 'all_1_1_0/column
HIGHtests/integration/test_disk_access_storage/test.py232 f"grep -l '{drop_uuid}' /var/lib/clickhouse/access/*.sql || true",
HIGH…ntegration/test_keeper_memory_soft_limit_ratio/test.py66 ["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.py914 ["bash", "-c", f"ls {metadata_dir}/*.avro 2>/dev/null || true"]
HIGH…st_storage_iceberg_with_spark/test_expire_snapshots.py923 ["bash", "-c", f"ls {metadata_dir}/*.avro 2>/dev/null || true"]
HIGH…ation/test_storage_iceberg_with_spark/test_optimize.py168 ["bash", "-c", f"test -f '{file_path}' && echo yes || echo no"]
HIGH…ge_iceberg_with_spark/test_minmax_pruning_with_null.py46 TIMESTAMP '2024-02-20 10:00:00', null, 'vasya', 5)
HIGH…ge_iceberg_with_spark/test_minmax_pruning_with_null.py54 TIMESTAMP '2024-03-20 15:00:00', null, 'vasilisa', 6)
HIGH…ge_iceberg_with_spark/test_minmax_pruning_with_null.py62 TIMESTAMP '2024-04-30 14:00:00', null, 'icebreaker', 7)
HIGH…ge_iceberg_with_spark/test_minmax_pruning_with_null.py69 TIMESTAMP '2024-05-30 14:00:00', null, 'iceberg', 8)
HIGHtests/integration/test_postgresql_kill_query/test.py88 substring(md5(random()::text || clock_timestamp()::text) from 1 for 50) as random_string
HIGHtests/integration/test_mysql_protocol/test.py962 f"cd /testapp && dotnet run -- --host {node.hostname} --port {server_port} --username default --password 123
HIGHtests/integration/test_storage_kafka/test_batch_fast.py1093 $ make clean && make CFLAGS='-Wall -g -O2 -ftree-loop-vectorize -DNDEBUG=1 -DSG=1 -fPIC'
82 more matches not shown…
Deep Nesting354 hits · 326 pts
SeverityFileLineSnippet
LOWci/docker/reqgenerator.py36
LOWci/docker/reqgenerator.py49
LOWci/tests/test_cleanup_test_groups.py49
LOWci/praktika/validator.py15
LOWci/praktika/validator.py321
LOWci/praktika/digest.py106
LOWci/praktika/runner.py164
LOWci/praktika/runner.py293
LOWci/praktika/runner.py587
LOWci/praktika/runner.py898
LOWci/praktika/runner.py937
LOWci/praktika/event.py65
LOWci/praktika/yaml_generator.py267
LOWci/praktika/gh.py194
LOWci/praktika/gh.py455
LOWci/praktika/gh.py520
LOWci/praktika/gh.py936
LOWci/praktika/gh.py1092
LOWci/praktika/gh.py947
LOWci/praktika/job.py268
LOWci/praktika/mangle.py23
LOWci/praktika/mangle.py160
LOWci/praktika/hook_cache.py13
LOWci/praktika/parser.py88
LOWci/praktika/result.py120
LOWci/praktika/result.py432
LOWci/praktika/result.py601
LOWci/praktika/result.py730
LOWci/praktika/result.py800
LOWci/praktika/result.py1295
LOWci/praktika/result.py1393
LOWci/praktika/result.py1471
LOWci/praktika/result.py1619
LOWci/praktika/secret.py29
LOWci/praktika/utils.py314
LOWci/praktika/utils.py666
LOWci/praktika/utils.py726
LOWci/praktika/utils.py833
LOWci/praktika/utils.py38
LOWci/praktika/utils.py97
LOWci/praktika/_environment.py62
LOWci/praktika/cidb.py246
LOWci/praktika/cidb.py294
LOWci/praktika/cidb.py403
LOWci/praktika/workflow.py87
LOWci/praktika/issue.py523
LOWci/praktika/native_jobs.py111
LOWci/praktika/native_jobs.py287
LOWci/praktika/native_jobs.py369
LOWci/praktika/native_jobs.py803
LOWci/praktika/s3.py92
LOWci/praktika/s3.py253
LOWci/praktika/s3.py294
LOWci/praktika/s3.py573
LOWci/praktika/__main__.py294
LOWci/praktika/execution/machine_init.py26
LOWci/praktika/infrastructure/iam_instance_profile.py30
LOWci/praktika/infrastructure/iam_instance_profile.py114
LOWci/praktika/infrastructure/cloud.py42
LOWci/praktika/infrastructure/image_builder.py108
294 more matches not shown…
Self-Referential Comments92 hits · 258 pts
SeverityFileLineSnippet
MEDIUMci/praktika/result.py1748 # Create a result for the module/node that failed to collect
MEDIUMci/praktika/cidb.py200 # Create the base record
MEDIUMci/praktika/cidb.py404 # Create a session object
MEDIUMci/jobs/build_toolchain.py359 # Create a minimal stub sysroot for cross-target builtins compilation.
MEDIUMci/jobs/collect_clickhouse_profiles.py596 # Create an empty marker so the artifact still uploads
MEDIUMci/jobs/scripts/functional_tests/setup_log_cluster.sh96 # Create the destination table with adapted name and structure:
MEDIUMci/jobs/scripts/check_style/check-mypy-diff.py339 # Create a worktree for the base branch (master) to compare
MEDIUMtests/casa_del_dolor/properties.py33 # Create a list of valid characters
MEDIUMtests/casa_del_dolor/properties.py1513 # Create a temporary file
MEDIUMtests/casa_del_dolor/properties.py1557 # Create a temporary file
MEDIUMtests/casa_del_dolor/utils/httpserver.py205 # Create a handler factory with custom arguments
MEDIUMtests/ci/create_release.py25# Create a folder
MEDIUMtests/integration/test_keeper_client_config/test.py49 # Create an ACL-protected node for identity tests
MEDIUMtests/integration/test_postgresql_protocol/test.py525 # Create a restricted user that can only SELECT from default database
MEDIUMtests/integration/test_merge_tree_s3/test.py769 # 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.py84 # Create the base path once
MEDIUM…egration/test_restore_replica_metadata_version/test.py64 # Create a part
MEDIUM…tion/test_postgresql_replica_database_engine/test_3.py382 # Create a table with wrong table structure
MEDIUMtests/integration/test_distributed_format/test.py243 # Create a malformed directory that would cause the bug
MEDIUMtests/integration/test_distributed_format/test.py247 # Create a dummy file so the directory isn't considered empty
MEDIUMtests/integration/test_encrypted_disk/test.py408 # Create a table without data.
MEDIUMtests/integration/test_filesystem/test.py39 # Create a controlled directory outside user_files for symlink testing.
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py67 # Create an atomic DB with mergetree sample data
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py93 # Create a replicated database
MEDIUM…ation/test_attach_table_from_s3_plain_readonly/test.py101 # Create a MergeTree table at one node, by attaching the merge tree data
MEDIUMtests/integration/test_keeper_invalid_digest/test.py80 # Create a zookeeper connection to node1
MEDIUM…iceberg_with_spark/test_metadata_file_path_security.py22 # Create a simple Iceberg table with a few versions
MEDIUMtests/integration/test_backup_restore_new/test.py522 # Create a column of 4GB+10K
MEDIUMtests/integration/test_backup_restore_new/test.py2009 # Create a materialized view and a dictionary with a local table as source.
MEDIUM…/test_storage_kafka/test_schema_registry_skip_bytes.py101 # Create a binary message with 19-byte envelope header + JSON payload
MEDIUMtests/integration/test_dictionaries_mysql/test.py50 # Create a MySQL database
MEDIUMtests/integration/test_refreshable_mat_view/test.py91 # Create a custom environment and add the functions
MEDIUM…gration/test_backup_restore_azure_blob_storage/test.py308 # Create a named collection via SQL
MEDIUM…gration/test_backup_restore_azure_blob_storage/test.py353 # Create a named collection via SQL with placeholder blob_path
MEDIUM…tegration/test_refreshable_mat_view_replicated/test.py96 # Create a custom environment and add the functions
MEDIUM…ntegration/test_dictionaries_update_and_reload/test.py237 # Creating the file source makes the dictionary able to load.
MEDIUM…ntegration/test_dictionaries_update_and_reload/test.py279 # Creating the file source makes the dictionary able to load.
MEDIUMtests/integration/test_backup_restore_s3/test.py398 # Create a named collection via SQL
MEDIUMtests/integration/test_backup_restore_s3/test.py421 # Create a named collection via SQL with a placeholder URL
MEDIUMtests/integration/test_allow_feature_tier/test.py136 # Creating a different table should not be possible
MEDIUMtests/integration/test_allow_feature_tier/test.py148 # Creating a different table and altering its settings to enable experimental should not be possible either
MEDIUMtests/integration/test_keeper_raft_cert_reload/test.py112 # Create a node from first node
MEDIUM…/integration/test_ldap_external_user_directory/test.py179 # Create the underlying table on both nodes.
MEDIUM…/integration/test_ldap_external_user_directory/test.py190 # Create a Distributed table on instance1 that points to local_table.
MEDIUMtests/integration/test_arrowflight_storage/test.py194 # Create a named collection for ArrowFlight
MEDIUMtests/integration/test_arrowflight_storage/test.py231 # Create a named collection with authentication
MEDIUMtests/integration/test_arrowflight_storage/test.py269 # Create a named collection for ArrowFlight storage
MEDIUMtests/integration/test_scheduler/test.py1134 # Create a test configuration with resources and workloads
MEDIUMtests/integration/helpers/cluster.py6296 # Create a dictionary containing cluster & instance env variables.
MEDIUM…ration/test_zero_copy_drop_table_with_leftover/test.py70 # Create a fake part directory that is NOT tracked in data_parts_by_info.
MEDIUM…ration/test_zero_copy_drop_table_with_leftover/test.py194 # Create a fake leftover part directory
MEDIUM…s/queries/0_stateless/03837_db_table_uuid_collision.sh4# Creating a table via ON CLUSTER with the same UUID as an existing database should give
MEDIUM…_stateless/03604_fix_hashjoin_read_after_reordering.sh6# Define the set of N values for numbers(N)
MEDIUMtests/queries/0_stateless/04042_arrow_uuid_import.sh19# Create a FixedSizeBinary(16) Arrow array
MEDIUM…/queries/0_stateless/04201_filesystem_symlink_cycle.sh7# Create a directory symlink cycle: a -> b, b -> a.
MEDIUMtests/queries/0_stateless/03273_dictionary_rbac.sh11# Create a dictionary and a table that points to the dictionary.
MEDIUMtests/queries/0_stateless/03273_dictionary_rbac.sh26# Create a user, assign only a few permissions.
MEDIUM…queries/0_stateless/03803_transaction_mutation_race.sh22# Create a MergeTree table with partitioning to prevent automatic merges across partitions
MEDIUMtests/queries/0_stateless/03920_kafka_insert.sh37# Create a Kafka table for producing (INSERT)
MEDIUMtests/queries/0_stateless/03920_kafka_insert.sh54# Create a Kafka table for consuming (SELECT)
32 more matches not shown…
Verbosity Indicators128 hits · 211 pts
SeverityFileLineSnippet
LOWci/praktika/json.html2184 // Step 1: Fetch sync metadata
LOWci/praktika/json.html2203 // Step 2: Fetch private PR result
LOWci/praktika/json.html2221 // Step 3: Transform results — prefix names, add downstream href, rewrite links
LOWci/praktika/hook_cache.py95 # Step 1: Separate jobs into two groups based on digest prefix relationships
LOWci/praktika/hook_cache.py135 # Step 2: Fetch records for root jobs
LOWci/praktika/hook_cache.py150 # Step 3: Filter dependent jobs - only fetch if their prefix was successfully fetched
LOWci/praktika/hook_cache.py163 # Step 4: Fetch records for filtered dependent jobs
LOWci/praktika/hook_cache.py176 # Step 2: Apply the fetched records sequentially
LOWci/jobs/sqllogic_test.py458 # Step 1: Start ClickHouse
LOWci/jobs/sqllogic_test.py471 # Step 2: Clone sqllogictest repo
LOWci/jobs/sqllogic_test.py506 # Step 3: Run self-test
LOWci/jobs/sqllogic_test.py529 # Step 4: Run statements-test
LOWci/jobs/sqllogic_test.py552 # Step 5: Run complete-test
LOWci/jobs/sqllogic_test.py575 # Step 6: Generate report, check thresholds, and detect new failures
LOWci/jobs/build_toolchain.py485 # Step 1: Instrument clang with BOLT
LOWci/jobs/build_toolchain.py505 # Step 2: Create symlinks for the instrumented binary so cmake can
LOWci/jobs/build_toolchain.py519 # Step 3: Configure ClickHouse build with BOLT-instrumented clang
LOWci/jobs/build_toolchain.py543 # Step 4: Time-limited build to collect BOLT profiles
LOWci/jobs/build_toolchain.py568 # Step 5: Merge BOLT profiles
LOWci/jobs/build_toolchain.py582 # Step 6: Apply BOLT optimization
LOWci/jobs/build_toolchain.py605 # Step 7: Replace original binary with BOLTed version
LOWci/jobs/ast_fuzzer_job.py80 # Step 1: changed/new test files in this PR
LOWci/jobs/ast_fuzzer_job.py85 # Step 2: tests that failed in previous CI runs for this PR
LOWci/jobs/ast_fuzzer_job.py94 # Step 3: coverage-relevant tests (direct lines, indirect callees, siblings)
LOWtests/ci/pr_info.py104 # We need to check if the PR is created in our repo, because
LOWtests/ci/cherry_pick.py951 # We need to check if there is an open release branch for each cherry-pick PR
LOWtests/ci/cherry_pick.py970 # And then, we need to check if the original PR is marked as backported for any
LOWtests/integration/test_storage_s3_queue/test_6.py389 # Step 1: Verify initial 6 rows
LOWtests/integration/test_storage_s3_queue/test_6.py405 # Step 2: Add files in middle and end of existing partitions
LOWtests/integration/test_storage_s3_queue/test_6.py437 # Step 3: Add files for new hostname and newer timestamp
LOWtests/integration/test_storage_s3_queue/test_6.py458 # Step 4: Restart ClickHouse node (test persistence)
LOWtests/integration/test_storage_s3_queue/test_6.py466 # Step 5: Add mixed files (some before, some after max processed)
LOWtests/integration/test_storage_s3_queue/test_6.py488 # Step 6: Verify ZooKeeper structure - check partition keys
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py256 # Step 1: Add node4 to the cluster.
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py290 # Step 2: Remove the first follower.
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py313 # Step 3: Add node5 to the cluster. node1/3/4 are active at this point,
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py339 # Step 4: Remove the second follower.
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py359 # Step 5: Add node6 to the cluster. node1/4/5 are active at this point,
LOW…s/integration/test_keeper_remove_rejoin_leader/test.py385 # Step 6: Yield leadership so that node4, node5, or node6 wins the next
LOWtests/integration/test_ttl_multilevel_group_by/test.py59 # Step 1: Ensure all 10 rows were inserted
LOWtests/integration/test_ttl_multilevel_group_by/test.py63 # Step 2: Wait for the first TTL (13 seconds) to apply — should reduce to 6 rows (one per item_id)
LOWtests/integration/test_ttl_multilevel_group_by/test.py67 # 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.sh30# Step 1: create the table with the deflate metadata format.
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh37# Step 2: provoke the corrupt-metadata-on-disk state via an INSERT with an
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh43# Step 3: detach + attach to clear the in-memory `current_metadata` cache,
LOW…30_iceberg_optimize_metadata_not_initialized_104711.sh51# Step 4: the previously-crashing operations must now raise a regular
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh18# Step 1: Create table and populate with two INSERTs.
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh28# Step 2: Re-create the table pointing to v1 metadata (time-travel).
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh36# Step 3: INSERT with explicit v1 path.
LOW…ateless/04079_iceberg_write_retry_explicit_metadata.sh44# Step 4: Verify all data is present by reading from the latest metadata.
LOW…eries/0_stateless/02832_alter_max_sessions_for_user.sh29 # Step 0: Set max_sessions_for_user.
LOW…eries/0_stateless/02832_alter_max_sessions_for_user.sh32 # 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.sh39 # Step 2: Run another `max_sessions_for_user` + 1 query. That query should fail.
LOW…eries/0_stateless/02832_alter_max_sessions_for_user.sh43 # Step 3: Stop running queries launched at step 1.
LOWprograms/client/FuzzLoop.cpp1048 /// Step 1: EXECUTE AS oracle user — switches session; row policy applies for subsequent querie
LOWprograms/client/FuzzLoop.cpp1062 /// Step 2: SELECT count() FROM db.t [FINAL] INTO OUTFILE — runs as oracle user (no WHERE;
LOWprograms/client/FuzzLoop.cpp1069 /// Step 3: Reconnect to reset session back to admin user before running the comparison que
LOWprograms/client/FuzzLoop.cpp1073 /// Step 4: SELECT count() FROM db.t [FINAL] WHERE pred INTO OUTFILE — admin user + explici
LOWsrc/Interpreters/DDLWorker.cpp667 /// Step 1: Create ephemeral node in active/ status dir.
LOWsrc/Interpreters/DDLWorker.cpp717 /// Step 2: Execute query from the task.
68 more matches not shown…
AI Slop Vocabulary42 hits · 115 pts
SeverityFileLineSnippet
MEDIUMci/docker/integration/hive_server/hadoop-env.sh136# Similarly, end users should utilize ${HOME}/.hadooprc .
MEDIUMci/tests/test_cleanup_test_groups.py72 # an early confirmation that the harness is actually running the test
LOWci/jobs/scripts/perf/compare.sh1237 # Grepping numactl results from log is too crazy, I'll just call it again.
MEDIUM…integration/test_keeper_snapshot_rotation_race/test.py237 # Assert on the counter because it is more robust than matching logs.
MEDIUMtests/integration/test_ttl_move/test.py1407 # 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.py33# Working UDF config with comprehensive configuration options
MEDIUM…/integration/test_keeper_opentelemetry_tracing/test.py218 # find traces pertaining to zookeeper write requests related to our DDL
MEDIUM…/integration/test_background_operations_config/test.py9# We leverage 'sleepEachRow' for mutate queries to trigger operation timeout:
LOW…tegration/test_distributed_inter_server_secret/test.py245# connection from n1 to n2 from another test (and we cannot simply use
MEDIUMtests/integration/test_multiple_disks/test.py648 # The test tries to utilize 35/40=87.5% of space, while during last
MEDIUM…ries/0_stateless/03578_parallel_replicas_minicrawl.sql25{"date":"2025-07-27","rank":43314,"domain":"clickhouse.com","log":"* Trying 172.66.40.249:80...\n* Connected to clickh
LOWtests/queries/0_stateless/03015_optimize_final_rmt.sh19# this query should wait for the running merges, not just return immediately
MEDIUM…ateless/01079_parallel_alter_detach_table_zookeeper.sh122 # In this case, it might be more robust than SYSTEM SYNC REPLICA
MEDIUM…ueries/0_stateless/04077_lwd_alter_delete_privilege.sh8# This test uses ALTER TABLE (comprehensive) to avoid that discrepancy.
LOW…ueries/0_stateless/00704_drop_truncate_memory_table.sh21# But if the table will be dropped before query - just pass.
MEDIUMsrc/Interpreters/TransactionLog.cpp332 /// Definitely not safe to remove
MEDIUMsrc/Interpreters/IJoin.h154 /// This serves as a runtime check in JoiningTransform to decide whether to utilize the parallel processing of
MEDIUMsrc/Interpreters/IJoin.h156 /// If the join supports parallel processing, it can still decide during build phase whether to utilize it or not.
MEDIUMsrc/Interpreters/HashJoin/HashJoin.h400 // we can cache the selector size at construction to make the holder robust
MEDIUMsrc/Interpreters/FileCache/FileCache.cpp2511 /// we allow ourselves to be suboptional here in favour of being robust
MEDIUMsrc/Databases/DataLake/GlueCatalog.cpp377 /// Skip field if it's not "current" (for example Renamed). No idea how someone can utilize "non current
MEDIUMsrc/Storages/ObjectStorage/DataLakes/Iceberg/Utils.cpp471 /// Do not utilize filesystem cache if more precise cache enabled
MEDIUM…rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp85 /// Do not utilize filesystem cache if more precise cache enabled
MEDIUM…rage/DataLakes/Iceberg/StatelessMetadataFileGetter.cpp157 /// Do not utilize filesystem cache if more precise cache enabled
MEDIUMsrc/Storages/MergeTree/KeyCondition.h259 /// Special for pointInPolygon to utilize minmax indices.
MEDIUMsrc/Storages/MergeTree/MergeTreeWhereOptimizer.cpp229 /// Root function node must be contained in atom_map if we want to utilize primary index.
MEDIUMsrc/Storages/MergeTree/MergeTreeWhereOptimizer.cpp234 /// Non-root function node must be monotonic and deterministic in scope of query if we want to utilize prima
MEDIUMsrc/Storages/MergeTree/MergeTreeData.h157/// Essentially it is an index too.
MEDIUMsrc/AggregateFunctions/AggregateFunctionStatistics.cpp203 /// and utilize FMA, rather than forcing a 64-bit memory store on every row.
MEDIUM…eSeries/AggregateFunctionTimeseriesExtrapolatedValue.h156 // extrapolationThreshold below. Essentially, we are assuming a more or
MEDIUMsrc/IO/SharedThreadPools.h35 /// This is needed to utilize as much a possible resources to accomplish some task.
MEDIUM…/Processors/Formats/Impl/NativeORCBlockInputFormat.cpp639 /// Transform range with the same left bound and right bound to equal, which could utilize bloom fil
MEDIUMsrc/Processors/Formats/Impl/Parquet/Write.cpp845 /// Alternatively, we could avoid using arrow's dictionary encoding code and leverage
MEDIUMsrc/Processors/QueryPlan/ReadFromMergeTree.cpp293 /// TODO: this approach is fragile, it'd be more robust to update sorting description for the whole plan during plan
MEDIUM…ueryPlan/Optimizations/optimizeUseNormalProjection.cpp399 /// Enables PREWHERE on projections to improve read efficiency and leverage query condition cache.
MEDIUM…Plan/Optimizations/optimizeDirectReadFromTextIndex.cpp270/// 2. We want to leverage the PREWHERE for virtual columns, because text index
MEDIUM…lan/Optimizations/considerEnablingParallelReplicas.cpp323 // This value is an upper bound on the number of threads that can be used for reading (we simply don't have
MEDIUMsrc/Common/Scheduler/CPULeaseAllocation.cpp496 // It is better to run less threads, but utilize CPU better to avoid frequent context switches. This is how
MEDIUMsrc/Functions/multiIf.cpp378 /// Equivalent to below code. But it is able to utilize SIMD instructions.
MEDIUMsrc/Functions/multiIf.cpp394 /// Equivalent to below code. But it is able to utilize SIMD instructions.
MEDIUMsrc/Functions/FunctionsConversion.h1353 /// we want to utilize constexpr condition here, which is not mixable with value comparison
MEDIUMsrc/Client/MultiplexedConnections.cpp516 /// TODO Absolutely wrong code: read_list could be empty; motivation of rand is unclear.
Redundant / Tautological Comments75 hits · 110 pts
SeverityFileLineSnippet
LOWdocker/server/entrypoint.sh96 # Check if the `defaul` user is changed through any mounted file. It will mean that user took care of it already
LOWci/praktika/event.py217 # Check if any event in the group should be retained
LOWci/praktika/job.py279 # Check if excluded
LOWci/praktika/job.py285 # Check if included
LOWci/praktika/hook_cache.py116 # Check if this job's digest starts with any other job's digest
LOWci/praktika/hook_cache.py153 # Check if any successfully fetched digest is a prefix of this digest
LOWci/praktika/result.py1048 # Check if colors should be used: local run + TTY + terminal supports colors
LOWci/praktika/issue.py267 # Check if test name matches
LOWci/praktika/native_jobs.py246 # Check if cache already exists in S3
LOWci/praktika/native_jobs.py696 # Check if any parent is reachable from BASE_BRANCH
LOWci/praktika/native_jobs.py701 # Check if parent is ancestor of BASE_BRANCH or BASE_BRANCH is ancestor of parent
LOWci/praktika/__main__.py309 # Check if html is in the only list (case-insensitive)
LOWci/praktika/infrastructure/lambda_function.py338 # Check if function exists
LOW…/praktika/infrastructure/native/lambda_slack_worker.py227 # Check if any job has failed or errored
LOWci/jobs/check_style.py172 # Check if any pattern matches in the concatenated string
LOWci/jobs/integration_test_job.py568 # Set on_error_hook to collect logs on hard timeout
LOWci/jobs/build_toolchain.py560 # Check if we collected any profiles
LOWci/jobs/scripts/check_ci.py592 # Check if workflow has unknown failures before matching against open issues
LOWci/jobs/scripts/check_ci.py807 # Check if PR number was provided as command-line argument
LOWci/jobs/scripts/done.py95 # Display results
LOWci/jobs/scripts/log_parser.py404 # Check if line matches the numbered stack trace pattern
LOWci/jobs/scripts/log_parser.py451 # Check if line contains DB:: namespace
LOWci/jobs/scripts/merge_llvm_coverage.sh35# Check if tools were found
LOWci/jobs/scripts/perf/download.sh66 # Check if the dataset path exists
LOWci/jobs/scripts/workflow_hooks/pr_body_check.py32 # Check if the entry is on the same line (e.g. "Changelog entry: Fix something")
LOW…/jobs/scripts/workflow_hooks/pr_labels_and_category.py178 # Check if the category is on the same line (e.g. "Changelog category: Bug Fix")
LOWci/jobs/scripts/stress/stress.py386 # Display output before raising the exception as requested
LOWtests/casa_del_dolor/utils/httpserver.py83 # Check if this is an async request
LOWtests/casa_del_dolor/utils/backgroundworker.py47 # Check if thread is already running
LOWtests/casa_del_dolor/catalogs/datalakes.py704 # Set timezone to match ClickHouse
LOWtests/casa_del_dolor/catalogs/clickhousetospark.py223 # Check if it's a named tuple element
LOWtests/docker_scripts/upgrade_runner.sh44# Check if we cloned previous release repository successfully
LOWtests/ci/version_helper.py418 # Check if we have shallow checkout by comparing number of lines
LOWtests/ci/changelog.py333 # Check if the category is on the same line
LOWtests/ci/changelog.py357 # Check if the entry is on the same line
LOWtests/ci/get_previous_release_tag.py44 # Check if the artifact exists on GitHub.
LOWtests/ci/ci_utils.py157 # Check if there is a next page
LOWtests/ci/ci_utils.py200 # Check if there is a next page
LOWtests/ci/cherry_pick.py509 # Check if we've already pinged to avoid spamming
LOW…sts/integration/test_mark_cache_profile_events/test.py51 # Check if any eviction metric has increased
LOW…sts/integration/test_mark_cache_profile_events/test.py263 # Check if eviction metrics appear in query log
LOW…ation/test_stop_insert_when_disk_close_to_full/test.py167 # Set threshold to 3 MiB
LOWtests/integration/test_cgroup_metrics/test.py137 # Check if this is a nested cgroup (important for reproducing the bug)
LOWtests/integration/test_cgroup_metrics/test.py231 # Check if we've seen a meaningful increase (at least 0.001 seconds)
LOW…n/test_modify_engine_on_restart/test_zk_path_exists.py60 # Check if we can cancel convertation
LOWtests/integration/test_jbod_balancer/test.py88 # Check if we can assign new merges
LOWtests/integration/test_keeper_force_recovery/test.py96 # Check if node 6 has a Keeper config (it only has one after the test runs)
LOW…tegration/test_prometheus_protocols/test_evaluation.py3098 # Set __name__ to a constant: there is no tag "", so its value is treated as "" which always matches regex "",
LOWtests/integration/helpers/network.py39 # # Check if iptables exists
LOW…/0_stateless/03734_client_receive_timeout_exit_code.sh10# 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.sh15regexp="${CLICKHOUSE_DATABASE}\\.x" # Check if there are still log entries with old table name
LOWtests/queries/0_stateless/03776_client_sni_override.sh77# Check if SNI was sent - extract just the ASCII representation column from the hex dump
LOW…queries/0_stateless/03792_profile_events_null_queue.sh22# Check if clickhouse-driver is available
LOWtests/queries/0_stateless/02874_array_random_sample.sh220 # Check if the array contains exactly 2 unique elements
LOWtests/queries/0_stateless/03417_http_exception_tag.sh26# Check if the response contains __exception__ followed by newline, then TAG, then newline
LOW…0_stateless/03807_parquet_reader_race_next_subgroup.sh24# Read the file multiple times in parallel to trigger the race.
LOWtests/queries/0_stateless/03408_parquet_checksums.sh21# Write file with checksums.
LOWtests/queries/0_stateless/03408_parquet_checksums.sh37# Write file without checksums.
LOW…ateless/04070_async_insert_result_rows_double_count.sh56# Print results for comparison
LOWtests/stress/keeper/framework/core/preflight.py68 # Check if apt-get is available (containers should be Ubuntu/Debian)
15 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippet
CRITICAL…va/org/apache/paimon/rest/PaimonIncrementalWriter.java47 Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context);
CRITICAL…a/org/apache/paimon/rest/RESTCatalogServerStarter.java78 Catalog catalog = org.apache.paimon.catalog.CatalogFactory.createCatalog(context);
CRITICAL…integration/test_merge_tree_azure_blob_storage/test.py6from azure.core.exceptions import ResourceNotFoundError
CRITICAL…ries/0_stateless/data_minio/paimon_all_types/README.md212 return org.apache.paimon.catalog.CatalogFactory.createCatalog(CatalogContext.create(new Path(rootPath)));
CRITICALprograms/server/js/xterm.min.js7!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippet
HIGHci/praktika/workflow.py108 # exact match - consider it as requested job
HIGHci/jobs/scripts/stress/stress.py386 # Display output before raising the exception as requested
HIGHutils/merge-selector-lab/pack.py3# Forgive my ignorance. This AI-generated script is used instead of a proper js bundler.
HIGHsrc/Storages/Kafka/StorageKafka.cpp145 // Claim as many consumers as requested, but don't block
HIGHsrc/Client/AI/tests/gtest_ai_sql_generator.cpp271 // If the AI generated SQL, it should be safe
Fake / Example Data21 hits · 24 pts
SeverityFileLineSnippet
LOWtests/integration/test_storage_mysql/test.py819 f"INSERT INTO clickhouse.test_joins_mysql_users VALUES (469722, 'user@example.com', '2019-08-30 07:55:01')"
LOWtests/integration/test_storage_delta/test.py1425 pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()),
LOWtests/integration/test_storage_delta/test.py1595 pa.array(["John Doe", "Jane Smith", "Jake Johnson"], type=pa.string()),
LOWtests/queries/0_stateless/03822_map_json_dictionary.sql613(1, 'DeepTest1', '{"level1":{"level2":{"level3":{"level4":{"level5":{"value":"deep_value_1","numbers":[1,2,3],"nested":{
LOWtests/queries/0_stateless/02919_storage_fuzzjson.sql21 "name": "Jane Doe",
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql44 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql49 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql56 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "
LOW…/queries/0_stateless/02918_fuzzjson_table_function.sql65 json_str='{"name": "John Doe", "age": 30, "address": {"city": "Citiville", "zip": "12345"}, "hobbies": ["reading", "
LOW…queries/0_stateless/02884_string_distance_function.sql56-- Lorem ipsum
LOW…queries/0_stateless/02884_string_distance_function.sql57-- Chinese chars lorem ipsum
LOW…queries/0_stateless/02884_string_distance_function.sql59 materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'),
LOW…queries/0_stateless/02884_string_distance_function.sql59 materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin quis mauris enim. Nam venenatis nunc.'),
LOW…queries/0_stateless/02884_string_distance_function.sql141SELECT levenshteinDistanceUTF8('半テ絶力へじづひ情日ヲフオマ型読9緊覧だづや田立だリ九高わす二申むドい生著るべや断彰ユカツ複95済モナス稿国ネサナユ近無メエ飯承ぱ項天法ら抜乾凍刷くゃイあ。公当記てあ茂全ー間仙
LOWtests/queries/0_stateless/01509_format_raw_blob.sh13Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOWtests/queries/0_stateless/01509_format_raw_blob.sh13Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOWtests/performance/cryptographic_hashes.xml31 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac
LOWtests/performance/cryptographic_hashes.xml31 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac
LOWtests/performance/general_purpose_hashes.xml25 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac
LOWtests/performance/general_purpose_hashes.xml25 <value>materialize('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris sollicitudin nisi ac
LOW…torages/System/StorageSystemContributors.generated.cpp768 "John Doe",
Slop Phrases15 hits · 22 pts
SeverityFileLineSnippet
MEDIUMci/jobs/sqlancer_job.sh5# 2. Other than for demonstration purposes it would be wierd to write this in bash
LOW…ts/integration/test_config_xml_full/configs/config.xml584 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.sql137-- It's worth noting that the operator form does not allow to specify the type name as a string literal:
LOWprograms/server/config.xml1025 Regexps are not aligned: don't forget to add ^ and $. Also don't forget to escape dot (.) metacharacter
LOWsrc/Storages/ObjectStorage/S3/Configuration.cpp390 /// When adding new arguments in the signature don't forget to update addStructureAndFormatToArgsIfNeeded as well.
LOWsrc/Storages/MergeTree/MergeTreeData.cpp2488 "(don't forget to return setting back to default value)",
LOWsrc/Storages/MergeTree/MergeTreeData.cpp2499 "section or in table settings in .sql file (don't forget to return setting back to default value)",
LOWsrc/Core/BaseSettingsProgramOptions.h52/// (Don't forget to call notify() on the `variables_map` after parsing it!)
LOWsrc/DataTypes/Native.cpp483 /// When working with values of these types in LLVM, don't forget to do setAlignment(llvm::Align(8)) for all loads/s
LOWsrc/IO/SeekableReadBuffer.h35 * may get into inconsistent state. Don't forget to reset it on the first nextImpl()
LOWsrc/IO/ReadHelpers.h397// Buffer pointer is left at EOL, don't forget to advance it.
LOWsrc/Common/AsynchronousMetrics.cpp431 // achieve temporal separation with MetricTransmitter. Don't forget to
LOWsrc/Common/PODArray.h24 * Don't forget to apply std::decay when using this constexpr.
LOWsrc/Common/COW.h242 * If you override 'mutate' method in inherited classes, don't forget to make it virtual in base class or to make i
LOWsrc/Client/BuzzHouse/Generator/SQLExpression.cpp989/// Don't forget to clear levels!
Example Usage Blocks12 hits · 18 pts
SeverityFileLineSnippet
LOW…eries/0_stateless/helpers/install_predefined_backup.sh6# Usage:
LOW.claude/tools/cppexpr.sh5# Usage:
LOW…laude/skills/keeper-stress-analysis/scripts/rebuild.sh4# Usage:
LOWutils/data-lakes-importer.py9# Usage example:
LOWutils/merge-selector-lab/pack.py95# Example usage
LOWutils/merge-selector-lab/renderMath.js69// Example usage:
LOWbase/poco/Foundation/include/Poco/TypeList.h261/// Usage example:
LOWbase/poco/Foundation/include/Poco/Process.h119 /// Usage example:
LOWbase/poco/Foundation/include/Poco/Process.h153 /// Usage example:
LOWbase/poco/Foundation/include/Poco/Dynamic/Var.h128 /// Example usage:
LOWbase/poco/Foundation/include/Poco/Dynamic/Var.h151 /// Example usage:
LOWsrc/Common/examples/parallel_aggregation.cpp29/// Usage example:
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippet
HIGHci/praktika/utils.py727 Compresses a file or directory using zstd. Args: path: Path to the file or directory to co
HIGHci/praktika/utils.py834 Compresses a file or directory using gzip. Args: path: Path to the file or directory to co
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippet
HIGHdocs/en/interfaces/client.md438 <api_key>your-api-key-here</api_key>
HIGHdocs/en/interfaces/client.md468 api_key: your-api-key-here
Dead Code2 hits · 4 pts
SeverityFileLineSnippet
MEDIUM…erg_schema_evolution/test_array_evolved_with_struct.py191
MEDIUM…erg_schema_evolution/test_array_evolved_with_struct.py197
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippet
LOW…efined_function/user_scripts/input_python_exception.py5def process_data(value):
LOWutils/query-latency-analyzer/js/data-processing.js15function processData(raw_data) {