AI Slop Code RIsk Monitor

databendlabs/databend

Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified architecture on your S3.

4.9 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for databendlabs/databend, a Rust project with 9,458 GitHub stars. SynthScan examined 1,225,782 lines of code across 5243 source files, recording 5142 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 4.9 (Low pattern signal); it is not an authorship estimate.

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

4.9
Adjusted Signal
4.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
9.5K
Stars
Rust
Language
1.2M
Lines of Code
5.2K
Files
5.1K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.4/100 · LOW

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

Agent Over-Engineering Ratio 3.2/100 · LOW

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

PR Review Velocity Impact 21.1/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 3HIGH 59MEDIUM 175LOW 4905

Directory Score Breakdown

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

Pattern Findings

The scanner identified 5142 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block4459 hits · 4454 pts
SeverityFileLineSnippetContext
LOWruff.toml61COMMENT
LOWbenchmark/mv_planner_cache/run.sh1#!/usr/bin/env bashCOMMENT
LOWdocker/it-iceberg-catalogs/docker-compose.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWdocker/it-iceberg-catalogs/docker-compose.yaml61 /bin/sh -c " until (/usr/bin/mc config host add minio http://minio:9000 admin password) do echo '...waiting...' &&COMMENT
LOWtests/compat_fuse/test_cases.yaml1# Fuse table compatibility test matrix.COMMENT
LOWtests/cloud_control_server/udf_env.toml1# UDF sandbox environment variables for the cloud-control mock server.COMMENT
LOW…ttach_read_only/02_0006_attach_table_ro_issue_16121.sh21# AI configurations (provider url, ak/sk) are not ready for CI, thus the following test case is commented outCOMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py21COMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py41# )COMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py61# mycursor.execute("select * from data_mask_test")COMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py81# # set column a masking policyCOMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py101COMMENT
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py121# print(data)COMMENT
LOW…ul/08_select_stage/08_00_parquet/08_00_05_query_uri.sh1#!/usr/bin/env bashCOMMENT
LOW…sts/suites/1_stateful/02_query/02_0006_set_priority.py21with NativeClient(name="client1>") as client1:COMMENT
LOW…sts/suites/1_stateful/02_query/02_0006_set_priority.py41# time.sleep(0.2)COMMENT
LOW…0_stateless/20+_others/20_0008_mysql_client_command.py1#!/usr/bin/env python3COMMENT
LOW…suites/0_stateless/19_fuzz/19_0006_fuzz_random_join.sh181 );COMMENT
LOW…/sqllogictests/scripts/docker-compose-iceberg-tpch.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtests/sqllogictests/scripts/gen_mutation_key_matrix.py1#!/usr/bin/env python3COMMENT
LOWtests/sqllogictests/scripts/gen_type_matrix.py1#!/usr/bin/env python3COMMENT
LOWtests/sqllogictests/scripts/docker-compose-paimon.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWtests/sqllogictests/scripts/gen_table_kind_matrix.py1#!/usr/bin/env python3COMMENT
LOWtests/sqllogictests/src/hook.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/diagnostics.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/util.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/error.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/lib.rs1// Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWtests/sqllogictests/src/report.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/settings_matrix.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/settings_matrix.rs21//! # run-with-settings: enable_fixed_rows_sort=0COMMENT
LOWtests/sqllogictests/src/arg.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/main.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/client/ttc_client.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/client/mysql_client.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/client/http_client.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/client/global_cookie_store.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/sqllogictests/src/client/mod.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWtests/udf/udf_server.py1# Copyright 2023 RisingWave LabsCOMMENT
LOWtests/fuzz/tlp.py1#!/usr/bin/env python3COMMENT
LOWtests/helpers/uexpect.py1# Copyright (c) 2019 Vitaliy ZakaznikovCOMMENT
LOWscripts/ci/deploy/config/databend-query-node-1.toml61COMMENT
LOWscripts/ci/deploy/config/databend-query-node-1.toml121# [storage.s3]COMMENT
LOWscripts/ci/deploy/config/databend-query-node-1.toml141COMMENT
LOW…/deploy/config/databend-query-node-system-managed.toml81# Type of storage to keep the table data cacheCOMMENT
LOWscripts/distribution/configs/databend-query.toml81# bucket = "<your-bucket-name>"COMMENT
LOWscripts/distribution/configs/databend-query.toml101# [storage.oss]COMMENT
LOWscripts/distribution/configs/databend-query.toml121COMMENT
LOW.github/workflows/typos.yml1# Copyright 2023 Datafuse LabsCOMMENT
LOW.github/actions/pack_binaries/action.yml61 with:COMMENT
LOWsrc/bendpy/build.rs1// Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/python/databend/__init__.py1## Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/tests/test_basic.py1## Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/tests/test_connections.py1## Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/examples/sql-stage-s3.py1# Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/examples/sql-parquet-s3.py1# Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/examples/sql-to-pandas.py1# Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/examples/sql-table-s3.py1# Copyright 2021 Datafuse LabsCOMMENT
LOWsrc/bendpy/scripts/local_publish.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/bendpy/src/dataframe.rs1// Copyright 2021 Datafuse LabsCOMMENT
4399 more matches not shown…
Decorative Section Separators121 hits · 476 pts
SeverityFileLineSnippetContext
MEDIUM…0_stateless/20+_others/20_0008_mysql_client_command.py10# --------------COMMENT
MEDIUM…0_stateless/20+_others/20_0008_mysql_client_command.py29# --------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py187# ---------------------------------------------------------------------------STRING
MEDIUMscripts/security_policy/security_policy_bench.py189# ---------------------------------------------------------------------------STRING
MEDIUMscripts/security_policy/security_policy_bench.py222# ---------------------------------------------------------------------------STRING
MEDIUMscripts/security_policy/security_policy_bench.py224# ---------------------------------------------------------------------------STRING
MEDIUMscripts/security_policy/security_policy_bench.py499# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py501# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py585# ---------------------------------------------------------------------------COMMENT
MEDIUMscripts/security_policy/security_policy_bench.py587# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs72 // ┌─────────────────────────┐COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs74 // │ └─────────────────────────┘ │COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs76 // ┌─────────────────────┐ │ ┌─────────────────────────┐ │ ┌───────────────────┐COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs78 // └─────────────────────┘ │ └─────────────────────────┘ │ └───────────────────┘COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs80 // │ ┌─────────────────────────┐ │COMMENT
MEDIUM⚡…c/query/storages/fuse/src/operations/inverted_index.rs82 // └─────────────────────────┘COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs37 // ┌──────────────────────┐ ┌──────────────────┐ ┌────────────────┐COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs38 // │ ├──┬────────►│ SerializeBlock ├──────────────►│SerializeSegment├───COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs39 // ┌─────────────┐ │ ├──┘ └──────────────────┘ └────────────────┘ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs40 // │ UpsertSource├─────►│ ReplaceIntoProcessor │ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs41 // └─────────────┘ │ ├──┐ ┌───────────────────┐ ┌────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs42 // │ ├──┴────────►│ ├──┬──────────►│MergeIntoOperationAgCOMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs43 // └──────────────────────┘ │ ├──┘ └────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs44 // │ BroadcastProcessor│ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs45 // │ ├──┐ ┌────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs46 // │ ├──┴──────────►│MergeIntoOperationAgCOMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs47 // │ │ └────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs49 // │ ├──┴──────────►┌────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs50 // └───────────────────┘ │MergeIntoOperationAgCOMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs51 // └────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs58 // ┌────────────────────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs61 // │ ┌───────────────────┐ ┌───────────────────────┐ ┌───────────────────┐COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs62 // └─────►│ResizeProcessor(1) ├──────►│TableMutationAggregator├────────►│ CommitSink │COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs63 // └───────────────────┘ └───────────────────────┘ └───────────────────┘COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs69 // ┌──────────────────────┐ ┌─────────────────┐ ┌─────────────────┐COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs70 // │ ├──┬────────►│ SerializeBlock ├────────►│SerializeSegment ├─────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs71 // ┌─────────────┐ │ ├──┘ └─────────────────┘ └─────────────────┘ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs72 // │ UpsertSource├─────►│ ReplaceIntoProcessor │ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs73 // └─────────────┘ │ ├──┐ ┌─────────────────┐ ┌─────────────────┐ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs74 // │ ├──┴────────►│ DummyTransform ├────────►│ DummyTransform ├─────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs75 // └──────────────────────┘ └─────────────────┘ └─────────────────┘ COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs79 // ┌───────────────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs82 // │ ┌───────────────────┐ ┌───────────────────────┐ ┌───────────────────┐COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs83 // └─────►│ResizeProcessor(1) ├──────►│TableMutationAggregator├────────►│ CommitSink │COMMENT
MEDIUM⚡src/query/storages/fuse/src/operations/replace.rs84 // └───────────────────┘ └───────────────────────┘ └───────────────────┘COMMENT
MEDIUM⚡…ery/storages/fuse/src/pruning/inverted_index_pruner.rs40// ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐COMMENT
MEDIUM⚡…ery/storages/fuse/src/pruning/inverted_index_pruner.rs42// └────────┘ └────────┘ └────────┘ └────────┘COMMENT
MEDIUM⚡…ery/storages/fuse/src/pruning/inverted_index_pruner.rs45// ┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐COMMENT
MEDIUM⚡…ery/storages/fuse/src/pruning/inverted_index_pruner.rs47// └────────┘ └────────┘ └────────┘ └────────┘COMMENT
MEDIUM⚡…mmon/index/src/hnsw_index/common/bitpacking_ordered.rs40//! ┌───────┬───────┬───────┬ ┬───────┬────────┐COMMENT
MEDIUM⚡…mmon/index/src/hnsw_index/common/bitpacking_ordered.rs42//! └───────┤ ├───────┴ ┴───────┴────────┘COMMENT
MEDIUM⚡…mmon/index/src/hnsw_index/common/bitpacking_ordered.rs43//! ╭───────╯ ╰────────────────╮COMMENT
MEDIUM⚡…mmon/index/src/hnsw_index/common/bitpacking_ordered.rs45//! ├────┬──┬──┬──┬──┬ ┬────┬──────┤COMMENT
MEDIUM⚡…mmon/index/src/hnsw_index/common/bitpacking_ordered.rs47//! └────┴──┴──┴──┴──┴ ┴────┴──────┘COMMENT
MEDIUM…rages/common/index/src/hnsw_index/common/bitpacking.rs90 // └[2]┘└─────────────[1]──────────────┘COMMENT
MEDIUM⚡…rages/common/index/src/hnsw_index/common/bitpacking.rs189 // ┌───────────new_buf────────────┐┌─self.buf─┐COMMENT
61 more matches not shown…
Cross-Language Confusion35 hits · 230 pts
SeverityFileLineSnippetContext
HIGHtests/suites/5_ee/02_data_mask/02_0000_data_mask.py56# client1.send("create table data_mask_test(a int not null, b string not null);")COMMENT
HIGH…/suites/0_stateless/02_ddl/02_0000_create_drop_view.py32 "CREATE TABLE t_issue_16188 (a int not null, b int not null)"CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py54["raft_log",{"Purged":null}]CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py60["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":5},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py61["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":6},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py62["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":7},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py67["state_machine/0",{"GenericKV":{"key":"app/config/timeout","value":{"seq":3,"meta":null,"data":[51,48]}}}]CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py68["state_machine/0",{"GenericKV":{"key":"app/db/host","value":{"seq":1,"meta":null,"data":[108,111,99,97,108,104,111,115,CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_raft_dir.py69["state_machine/0",{"GenericKV":{"key":"app/db/port","value":{"seq":2,"meta":null,"data":[53,52,51,50]}}}]CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py49["raft_log",{"Purged":null}]CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py55["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":5},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py56["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":6},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py57["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":7},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py62["state_machine/0",{"GenericKV":{"key":"app/config/timeout","value":{"seq":3,"meta":null,"data":[51,48]}}}]CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py63["state_machine/0",{"GenericKV":{"key":"app/db/host","value":{"seq":1,"meta":null,"data":[108,111,99,97,108,104,111,115,CODE
HIGH⚡tests/metactl/subcommands/cmd_export_from_grpc.py64["state_machine/0",{"GenericKV":{"key":"app/db/port","value":{"seq":2,"meta":null,"data":[53,52,51,50]}}}]""".strip().spCODE
HIGH⚡tests/metactl/subcommands/cmd_import.py26["raft_log",{"Purged":null}]CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py32["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":5},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py33["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":6},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py34["raft_log",{"LogEntry":{"log_id":{"leader_id":{"term":1,"node_id":1},"index":7},"payload":{"Normal":{"time_ms":17535082CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py39["state_machine/0",{"GenericKV":{"key":"app/config/timeout","value":{"seq":3,"meta":null,"data":[51,48]}}}]CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py40["state_machine/0",{"GenericKV":{"key":"app/db/host","value":{"seq":1,"meta":null,"data":[108,111,99,97,108,104,111,115,CODE
HIGH⚡tests/metactl/subcommands/cmd_import.py41["state_machine/0",{"GenericKV":{"key":"app/db/port","value":{"seq":2,"meta":null,"data":[53,52,51,50]}}}]"""CODE
HIGHtests/nox/sqllogic/hooks.py283 "mysqladmin ping -h 127.0.0.1 --silent && break; sleep 1; done; "CODE
HIGHtests/nox/sqllogic/hooks.py284 "mysqladmin ping -h 127.0.0.1 --silent || exit 1; "CODE
HIGH⚡tests/nox/sqllogic/hooks.py301 "for _ in $(seq 1 60); do redis-cli ping >/dev/null && break; "CODE
HIGH⚡tests/nox/sqllogic/hooks.py302 "sleep 1; done; redis-cli ping >/dev/null || exit 1; "CODE
HIGHtests/nox/suites/copy/test_metadata.py170 f"metadata$file_content_key is not null, "CODE
HIGHtests/nox/suites/copy/test_text.py60 conn.exec("create or replace table t_header (a int, b int null)")CODE
HIGHtests/nox/suites/copy/test_text.py81 conn.exec("create or replace table t_null_display (a string null, b int)")CODE
HIGHtests/nox/suites/copy/test_text.py241 conn.exec("create or replace table t_trim_text (a int, b string, c string null)")CODE
HIGHtests/nox/suites/copy/test_csv.py197 conn.exec("create or replace table t_trim_csv (a int, b string, c string null)")CODE
HIGH…sts/sqllogictests/scripts/prepare_iceberg_test_data.py48 f"""INSERT INTO iceberg.test.t1 VALUES (0, 0, 'a'), (1, 1, 'b'), (2, 2, 'c'), (3, 3, 'd'), (4, null, null);"""STRING
HIGH…sts/sqllogictests/scripts/prepare_iceberg_test_data.py65 f"""INSERT INTO iceberg.test.t1_orc VALUES (0, 0, 'a'), (1, 1, 'b'), (2, 2, 'c'), (3, 3, 'd'), (4, null, null);"""STRING
HIGHscripts/recluster/recluster_bench.py199 a int not null,CODE
Hyper-Verbose Identifiers124 hits · 126 pts
SeverityFileLineSnippetContext
LOWtests/compat_fuse/test_compat_fuse.py275 def install_enterprise_license(self) -> None:CODE
LOWtests/cloud_control_server/simple_server.py186def _get_resource_service_port(resource_type):CODE
LOWtests/cloud_control_server/simple_server.py197def _docker_container_running(container_name):CODE
LOWtests/cloud_control_server/simple_server.py226def _start_resource_container(CODE
LOWtests/cloud_control_server/simple_server.py276def _ensure_resource_endpoint(resource_type, script, env_vars):CODE
LOWtests/cloud_control_server/simple_server.py370def create_task_request_to_task(id, create_task_request):CODE
LOWtests/cloud_control_server/simple_server.py403def create_notification_request_to_notification(id, create_notification_request):CODE
LOWtests/cloud_control_server/simple_server.py444def create_task_run_from_task(task):CODE
LOWtests/cloud_control_server/simple_server.py468def create_mock_task_runs_from_task(task, num):CODE
LOWtests/compat/meta_meta/test_meta_meta.py193 def filter_and_compare_exports(CODE
LOWtests/compat/meta_meta/test_meta_meta.py382def test_snapshot_replication(ctx: TestContext) -> None:CODE
LOW…2_query/02_0012_temp_table_external_session_cleanup.py38def test_external_temp_table_cleanup():CODE
LOWtests/metactl/subcommands/cmd_transfer_leader.py46def test_transfer_leader_subcommand():CODE
LOWtests/metactl/subcommands/cmd_transfer_leader.py104def test_transfer_leader_with_target():CODE
LOWtests/metactl/subcommands/cmd_transfer_leader.py165def test_transfer_leader_help():CODE
LOWtests/metactl/subcommands/cmd_keys_layout.py9def test_keys_layout_from_grpc():CODE
LOWtests/metactl/subcommands/cmd_secured.py144def check_credential_rotation(CODE
LOWtests/metactl/subcommands/cmd_secured.py152def check_authentication_failures(CODE
LOWtests/metactl/subcommands/cmd_secured_consumers.py302def check_no_password_in_logs(node: QueryNode) -> None:CODE
LOWtests/metactl/subcommands/cmd_raft_tls.py133def check_peer_traffic_uses_tls(cluster: LocalMetaCluster) -> None:CODE
LOWtests/metactl/subcommands/cmd_export_from_raft_dir.py11def test_export_from_raft_dir():CODE
LOWtests/metactl/subcommands/cmd_lua.py58def test_lua_sources_in_order():CODE
LOWtests/metactl/subcommands/cmd_lua_admin_metrics.py10def test_lua_admin_client_creation():CODE
LOWtests/metactl/subcommands/cmd_lua_admin_metrics.py34def test_lua_admin_client_metrics_error_handling():STRING
LOWtests/metactl/subcommands/cmd_lua_admin_metrics.py66def test_lua_admin_client_all_methods():STRING
LOWtests/metactl/subcommands/cmd_lua_admin_metrics.py125def test_lua_admin_client_file():STRING
LOWtests/metactl/subcommands/cmd_dump_raft_log_wal.py152def test_dump_raft_log_wal_decode_values():CODE
LOWtests/nox/noxfile.py89def resolve_latest_release_tag(latest_release_url, expected_prefix="v"):CODE
LOWtests/nox/noxfile.py199def resolve_python_driver_version(driver_version):CODE
LOWtests/nox/noxfile.py206def prepare_python_client_source():CODE
LOWtests/nox/noxfile.py313def prepare_jdbc_release_artifacts(source_ref):CODE
LOWtests/nox/noxfile.py339def discover_jdbc_test_classes(test_jar):CODE
LOWtests/nox/noxfile.py379def prepare_jdbc_test_output_dir(resolved_ref):CODE
LOWtests/nox/sqllogic/test_hooks.py36 def test_duckdb_cache_requires_nonempty_table_files(self):CODE
LOWtests/nox/sqllogic/test_hooks.py48 def test_generate_duckdb_data_reuses_valid_cache(self):CODE
LOWtests/nox/sqllogic/test_hooks.py60 def test_generate_duckdb_data_rebuilds_invalid_cache(self):CODE
LOWtests/nox/sqllogic/test_hooks.py87 def test_databend_dsn_uses_local_handler_environment(self):CODE
LOWtests/nox/sqllogic/test_hooks.py102 def test_run_hook_closes_databend_connection(self):CODE
LOW⚡tests/nox/sqllogic/test_hooks.py113 def test_data_is_loaded_skips_queries_when_force_load_is_enabled(self):CODE
LOW⚡tests/nox/sqllogic/test_hooks.py121 def test_data_is_loaded_requires_an_existing_nonempty_table(self):CODE
LOW⚡tests/nox/sqllogic/test_hooks.py131 def test_prepare_tpch_uses_python_generated_data(self):CODE
LOWtests/nox/sqllogic/test_hooks.py150 def test_prepare_tpcds_uses_python_generated_data(self):CODE
LOWtests/nox/sqllogic/test_hooks.py165 def test_prepare_stage_maps_environment_to_sql(self):CODE
LOWtests/nox/sqllogic/test_hooks.py182 def test_execute_script_sends_one_statement_at_a_time(self):CODE
LOWtests/nox/suites/http_handler/test_upload_missing_at.py22def test_upload_to_stage_requires_file_upload():CODE
LOWtests/nox/suites/http_handler/test_upload_missing_at.py43def test_streaming_load_requires_file_upload():CODE
LOWtests/nox/suites/http_handler/test_cookie.py96def test_active_temp_table_survives_vacuum():CODE
LOWtests/nox/suites/http_handler/test_cookie.py124def test_no_cookie_if_not_enabled():CODE
LOWtests/nox/suites/http_handler/test_retry_start_query.py26def test_result_format_settings():CODE
LOWtests/nox/suites/http_handler/test_session.py108 def set_fake_last_refresh_time(self):CODE
LOWtests/nox/suites/http_handler/test_json_response.py21def test_json_response_errors():CODE
LOWtests/nox/suites/http_handler/test_concurrent_query.py10def execute_query_with_cookies(query_id, payload, session_data=None):CODE
LOWtests/nox/suites/http_handler/test_concurrent_query.py37def test_concurrent_queries_with_session():CODE
LOWtests/nox/suites/http_handler/test_result_spill.py24def test_disable_result_spill():CODE
LOWtests/nox/suites/http_handler/test_arrow_ipc.py89def test_result_format_settings():CODE
LOWtests/nox/suites/http_handler/test_query_lifecycle.py111def test_query_lifecycle_finalized(rows):CODE
LOWtests/nox/suites/http_handler/test_query_lifecycle.py304def test_query_lifecycle_canceled():CODE
LOWtests/nox/suites/http_handler/test_query_lifecycle.py357def test_query_lifecycle_timeout(rows):CODE
LOWtests/nox/suites/http_handler/test_query_lifecycle.py419def test_query_lifecycle_timeout_polling():CODE
LOW…sts/nox/suites/http_handler/test_sql_ends_semicolon.py31def test_sql_ends_with_semicolon():CODE
64 more matches not shown…
AI Slop Vocabulary33 hits · 97 pts
SeverityFileLineSnippetContext
MEDIUMsrc/meta/plugins/cache/tests/it/grpc_cache.rs50#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/cache/tests/it/grpc_cache.rs112#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs50#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs101#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs145#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs196#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs229#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs274#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs308#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs380#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs417#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs453#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs499#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs544#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs584#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/plugins/semaphore/tests/it/grpc_semaphore.rs653#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/runtime/src/lib.rs19//! `databend-common-base`. This allows meta-service to leverage Databend's advancedCOMMENT
MEDIUMsrc/meta/admin/tests/it/features.rs33#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/admin/tests/it/transfer_leader.rs31#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/admin/tests/it/metrics.rs34#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/admin/tests/it/http_service.rs46#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/admin/tests/it/http_service.rs92#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/admin/tests/it/http_service.rs148#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/schema-api-tests/tests/it/test_schema_api.rs27#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/meta/schema-api-tests/tests/it/test_schema_api.rs39#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUM…a/schema-api-tests/tests/it/test_auto_increment_api.rs27#[test(harness = meta_service_test_harness::<DatabendRuntime, _, _>)]COMMENT
MEDIUMsrc/query/storages/parquet/src/parquet_part.rs175/// 1. to fully utilize the IO, multiple small files are loaded in one part.COMMENT
MEDIUM…ery/service/tests/it/indexes/inverted_index/pruning.rs172 jsonb::parse_value(r#"{"title":"The Art of Programming","metadata":{"author":"Alice","publishedDate":"2022-0CODE
MEDIUM…ery/service/tests/it/indexes/inverted_index/pruning.rs197 jsonb::parse_value(r#"{"title":"Front-End Development Best Practices","metadata":{"author":"Grace","publisheCODE
MEDIUMsrc/query/service/src/servers/http/v1/streaming_load.rs332 // resolve the ability to utilize nameCOMMENT
MEDIUMsrc/query/sql/src/planner/plans/join.rs584 // utilize the distribution on the probe side.COMMENT
MEDIUMsrc/query/sql/src/planner/plans/aggregate.rs275 // `Hash(group_items)`. Because of this we cannot leverage the distribution key toCOMMENT
MEDIUMsrc/query/sql/src/planner/semantic/lowering.rs181 /// Lowering `Scalar` into `RawExpr` to utilize with `common_expression::types::type_check`.COMMENT
Verbosity Indicators48 hits · 90 pts
SeverityFileLineSnippetContext
LOWscripts/selfhost/restore_logs.sh510 # Step 1: Generate download URLCOMMENT
LOWscripts/selfhost/restore_logs.sh521 # Step 2: Download backupCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh534# Step 3: Extract archiveCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh543# Step 4: Detect path prefixCOMMENT
LOWscripts/selfhost/restore_logs.sh566# Step 5: Upload filesCOMMENT
LOWscripts/selfhost/restore_logs.sh613# Step 6: Restore databaseCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh639 # Step 1: Create table by inferring schema from parquet filesCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh647 # Step 2: Copy data with error checkingCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh655 # Step 3: Verify and report row countCOMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs177 // Step 1: Create a new semaphore entry with the key format `{prefix}/queue/{seq:020}`.COMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs192 // Step 2: The sem entry is inserted, keep it alive by extending the lease.COMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs214 // Step 3: Wait for the semaphore to be acquired or removed.COMMENT
LOW⚡src/meta/plugins/semaphore/src/acquirer/acquirer.rs288 // Step 1: Get a new globally unique sequence number.COMMENT
LOW⚡src/meta/plugins/semaphore/src/acquirer/acquirer.rs293 // Step 2: Create a new semaphore entry with the key format `{prefix}/queue/{seq:020}`.COMMENT
LOW…s/src/processors/transforms/window/transform_window.rs144 // NULL frame is a special RANGE frame, we need to check if the frame is a null frame.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs186 // Step 1: validate carried windows against the fresh snapshot.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs227 // Step 2: scan this fixed range, excluding still-carried windows.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs403 // Step 3: choose task candidates. Preserve score-only ranking unlessCOMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs455 // Step 4: build ReclusterParts from selected candidates.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs487 // Step 5: stable range, advance to the next scan range.COMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1293 // Step 1: Build probe and build sidesCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1298 // Step 2: Prepare column projectionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1302 // Step 3: unify exchange keysCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1305 // Step 4: Prepare schemas for both sidesCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1309 // Step 5: Process join conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1325 // Step 6: Prepare projections and cache infoCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1335 // Step 7: Create merged fieldsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1345 // Step 8: Create merged schema for non-equi conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1348 // Step 9: Create output schemaCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1352 // Step 10: Process non-equi conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1355 // Step 11: Build runtime filterCOMMENT
LOW…query/service/src/physical_plans/physical_hash_join.rs1370 // Step 12: Create and return the HashJoinCOMMENT
LOWsrc/query/sql/src/planner/planner.rs156 // Step 1: Tokenize the SQL.COMMENT
LOWsrc/query/sql/src/planner/planner.rs194 // Step 2: Parse the SQL.COMMENT
LOWsrc/query/sql/src/planner/planner.rs306 // Step 3: Bind AST with catalog, and generate a pure logical SExprCOMMENT
LOWsrc/query/sql/src/planner/planner.rs349 // Step 4: Optimize logical inputs, then select and finalize query implementations.COMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs49 // Step 1: Set the initial distribution requirement (Any)COMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs54 // Step 2: Enforce the propertyCOMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs58 // Step 3: Check if the result satisfies the required distribution propertyCOMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs65 // Step 4: If not satisfied, manually enforce serial distributionCOMMENT
LOW…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs264 // Step 1: Check if we need an original input CTECOMMENT
LOW…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs281 // Step 2: Create CTEs for grouping sets, organizing by dependency levels for parallelizationCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs404 // Step 3: Build final union branchesCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs413 // Step 4: Assemble the complete planCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs417 // Step 5: Chain all CTEs in correct dependency orderCOMMENT
LOW…optimizers/rule/join_rules/rule_eliminate_self_join.rs664 // Step 1: replace column bindings in join conditions.COMMENT
LOW⚡…optimizers/rule/join_rules/rule_eliminate_self_join.rs681 // Step 2: rebuild a join tree from remaining relations (structure only).COMMENT
LOW⚡…optimizers/rule/join_rules/rule_eliminate_self_join.rs691 // Step 3: put all conditions into a single Filter above the join tree.COMMENT
Structural Annotation Overuse47 hits · 89 pts
SeverityFileLineSnippetContext
LOWscripts/selfhost/restore_logs.sh510 # Step 1: Generate download URLCOMMENT
LOWscripts/selfhost/restore_logs.sh521 # Step 2: Download backupCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh534# Step 3: Extract archiveCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh543# Step 4: Detect path prefixCOMMENT
LOWscripts/selfhost/restore_logs.sh566# Step 5: Upload filesCOMMENT
LOWscripts/selfhost/restore_logs.sh613# Step 6: Restore databaseCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh639 # Step 1: Create table by inferring schema from parquet filesCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh647 # Step 2: Copy data with error checkingCOMMENT
LOW⚡scripts/selfhost/restore_logs.sh655 # Step 3: Verify and report row countCOMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs177 // Step 1: Create a new semaphore entry with the key format `{prefix}/queue/{seq:020}`.COMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs192 // Step 2: The sem entry is inserted, keep it alive by extending the lease.COMMENT
LOWsrc/meta/plugins/semaphore/src/acquirer/acquirer.rs214 // Step 3: Wait for the semaphore to be acquired or removed.COMMENT
LOW⚡src/meta/plugins/semaphore/src/acquirer/acquirer.rs288 // Step 1: Get a new globally unique sequence number.COMMENT
LOW⚡src/meta/plugins/semaphore/src/acquirer/acquirer.rs293 // Step 2: Create a new semaphore entry with the key format `{prefix}/queue/{seq:020}`.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs186 // Step 1: validate carried windows against the fresh snapshot.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs227 // Step 2: scan this fixed range, excluding still-carried windows.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs403 // Step 3: choose task candidates. Preserve score-only ranking unlessCOMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs455 // Step 4: build ReclusterParts from selected candidates.COMMENT
LOW…rages/fuse/src/operations/recluster/recluster_table.rs487 // Step 5: stable range, advance to the next scan range.COMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1293 // Step 1: Build probe and build sidesCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1298 // Step 2: Prepare column projectionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1302 // Step 3: unify exchange keysCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1305 // Step 4: Prepare schemas for both sidesCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1309 // Step 5: Process join conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1325 // Step 6: Prepare projections and cache infoCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1335 // Step 7: Create merged fieldsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1345 // Step 8: Create merged schema for non-equi conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1348 // Step 9: Create output schemaCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1352 // Step 10: Process non-equi conditionsCOMMENT
LOW⚡…query/service/src/physical_plans/physical_hash_join.rs1355 // Step 11: Build runtime filterCOMMENT
LOW…query/service/src/physical_plans/physical_hash_join.rs1370 // Step 12: Create and return the HashJoinCOMMENT
LOWsrc/query/sql/src/planner/planner.rs156 // Step 1: Tokenize the SQL.COMMENT
LOWsrc/query/sql/src/planner/planner.rs194 // Step 2: Parse the SQL.COMMENT
LOWsrc/query/sql/src/planner/planner.rs306 // Step 3: Bind AST with catalog, and generate a pure logical SExprCOMMENT
LOWsrc/query/sql/src/planner/planner.rs349 // Step 4: Optimize logical inputs, then select and finalize query implementations.COMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs49 // Step 1: Set the initial distribution requirement (Any)COMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs54 // Step 2: Enforce the propertyCOMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs58 // Step 3: Check if the result satisfies the required distribution propertyCOMMENT
LOW⚡…lanner/optimizer/optimizers/distributed/distributed.rs65 // Step 4: If not satisfied, manually enforce serial distributionCOMMENT
LOW…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs264 // Step 1: Check if we need an original input CTECOMMENT
LOW…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs281 // Step 2: Create CTEs for grouping sets, organizing by dependency levels for parallelizationCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs404 // Step 3: Build final union branchesCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs413 // Step 4: Assemble the complete planCOMMENT
LOW⚡…zers/rule/agg_rules/rule_hierarchical_grouping_sets.rs417 // Step 5: Chain all CTEs in correct dependency orderCOMMENT
LOW…optimizers/rule/join_rules/rule_eliminate_self_join.rs664 // Step 1: replace column bindings in join conditions.COMMENT
LOW⚡…optimizers/rule/join_rules/rule_eliminate_self_join.rs681 // Step 2: rebuild a join tree from remaining relations (structure only).COMMENT
LOW⚡…optimizers/rule/join_rules/rule_eliminate_self_join.rs691 // Step 3: put all conditions into a single Filter above the join tree.COMMENT
Unused Imports76 hits · 76 pts
SeverityFileLineSnippetContext
LOWtests/cloud_control_server/resource_pb2_grpc.py4CODE
LOWtests/cloud_control_server/timestamp_pb2_grpc.py4CODE
LOWtests/cloud_control_server/notification_pb2.py16CODE
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py10CODE
LOWtests/suites/5_ee/02_data_mask/02_0000_data_mask.py11CODE
LOW…2_query/02_0012_temp_table_external_session_cleanup.py13CODE
LOW…2_query/02_0012_temp_table_external_session_cleanup.py14CODE
LOW…sts/suites/1_stateful/02_query/02_0006_set_priority.py4CODE
LOW…sts/suites/1_stateful/02_query/02_0006_set_priority.py7CODE
LOW…stateful/02_query/02_0011_explain_analyze_part_info.py11CODE
LOW…0_stateless/20+_others/20_0008_mysql_client_command.py5CODE
LOW…suites/0_stateless/00_dummy/00_0002_dummy_select_py.py5CODE
LOW…ites/0_stateless/03_dml/03_0015_insert_into_select2.py5CODE
LOWtests/metactl/utils.py31CODE
LOWtests/metactl/utils.py31CODE
LOWtests/metactl/subcommands/cmd_status.py5CODE
LOWtests/metactl/subcommands/cmd_upsert.py6CODE
LOWtests/metactl/subcommands/cmd_export_from_raft_dir.py6CODE
LOWtests/nox/sqllogic/hooks.py7CODE
LOWtests/nox/suites/http_handler/test_large_row.py2CODE
LOWtests/nox/suites/http_handler/test_retry_start_query.py5CODE
LOWtests/nox/suites/http_handler/test_forward.py2CODE
LOWtests/sqllogictests/suites/tpcds/validate_duckdb.py5CODE
LOWtests/sqllogictests/suites/tpch/validate_duckdb.py3CODE
LOWtests/sqllogictests/scripts/gen_type_matrix.py37CODE
LOWtests/sqllogictests/scripts/gen_table_kind_matrix.py38CODE
LOW…sts/sqllogictests/scripts/prepare_iceberg_tpch_data.py2CODE
LOWtests/sqllogictests/scripts/prepare_paimon_fs_data.py8CODE
LOWtests/udf/sandbox_udf.py7CODE
LOWtests/fuzz/tlp.py48CODE
LOWtests/data/avro/gen_logical.py2CODE
LOWtests/data/parquet/timestamp/gen.py1CODE
LOWtests/helpers/client.py3CODE
LOWtests/helpers/client.py5CODE
LOWtests/helpers/client.py8CODE
LOWtests/helpers/client.py9CODE
LOWtests/helpers/uexpect.py17CODE
LOWscripts/benchmark/analyze_histogram_bench.py13CODE
LOWscripts/benchmark/analyze_frequency_stats_bench.py14CODE
LOW…/security_policy/run_security_policy_bench_with_bin.py10CODE
LOW…/security_policy/run_security_policy_bench_with_bin.py20CODE
LOWscripts/security_policy/security_policy_bench.py9CODE
LOWscripts/security_policy/security_policy_bench.py19CODE
LOWscripts/security_policy/security_policy_bench.py19CODE
LOWscripts/ci/ci-check-query-log-duplicates.py10CODE
LOWscripts/bench_common/runner.py4CODE
LOWscripts/bench_common/bendsql.py4CODE
LOWscripts/bench_common/bendsql.py12CODE
LOWscripts/bench_common/__init__.py4CODE
LOWscripts/bench_common/__init__.py5CODE
LOWscripts/bench_common/__init__.py6CODE
LOWscripts/bench_common/__init__.py7CODE
LOWscripts/bench_common/__init__.py8CODE
LOWscripts/bench_common/__init__.py9CODE
LOWscripts/bench_common/__init__.py10CODE
LOWscripts/bench_common/__init__.py11CODE
LOWscripts/bench_common/__init__.py12CODE
LOWscripts/bench_common/__init__.py13CODE
LOWscripts/bench_common/__init__.py14CODE
LOWscripts/bench_common/__init__.py15CODE
16 more matches not shown…
Empty Error Handlers14 hits · 70 pts
SeverityFileLineSnippetContext
HIGH…0_stateless/01_transaction/01_04_txn_snapshot_retry.py37except mysql_errors.InterfaceError:CODE
HIGH…0_stateless/01_transaction/01_04_txn_snapshot_retry.py69except Exception:CODE
HIGHtests/metactl/utils.py171except subprocess.CalledProcessError:CODE
HIGHtests/metactl/subcommands/cmd_export_from_raft_dir.py87except:CODE
HIGHtests/metactl/subcommands/cmd_export_from_raft_dir.py99except:CODE
HIGHtests/metactl/subcommands/cmd_export_from_grpc.py83except:CODE
HIGHtests/metactl/subcommands/cmd_export_from_grpc.py95except:CODE
HIGHtests/udf/sandbox_udf.py134except FileNotFoundError:CODE
HIGHtests/logging/check_logs.py25except Exception:CODE
HIGHtests/logging/check_logs.py48except Exception:CODE
HIGH…_helper/src/databend_test_helper/local_meta_cluster.py404except ProcessLookupError:CODE
HIGH…databend_test_helper/src/databend_test_helper/utils.py162except FileNotFoundError:CODE
HIGH…databend_test_helper/src/databend_test_helper/utils.py213except ProcessLookupError:CODE
HIGHsrc/meta/ver/compat_docs/scripts/extract_from_git.py60except subprocess.TimeoutExpired:CODE
Self-Referential Comments18 hits · 54 pts
SeverityFileLineSnippetContext
MEDIUMtests/cloud_control_server/notification_pb2_grpc.py129# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMtests/cloud_control_server/task_pb2_grpc.py177# This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMtests/cloud_control_server/resource_pb2_grpc.py116 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMtests/metactl/test_all_subcommands.py70 # Create a mapping for easier lookupCOMMENT
MEDIUMtests/metactl/subcommands/cmd_lua.py15 # Create a temporary Lua scriptCOMMENT
MEDIUMtests/metactl/subcommands/cmd_lua_admin_metrics.py129 # Create a temporary Lua scriptCOMMENT
MEDIUMtests/nox/suites/http_handler/test_large_row.py4# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_session.py12# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_json_response.py5# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_error_detail.py5# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_invalid_utf8.py3# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_concurrent_query.py4# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_kill.py4# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_token.py15# Define the URLs and credentialsCOMMENT
MEDIUMtests/nox/suites/http_handler/test_route_error.py6# Define the URLs and credentialsCOMMENT
MEDIUM…sts/nox/suites/http_handler/test_sql_ends_semicolon.py5# Define the URLs and credentialsCOMMENT
MEDIUM…sts/sqllogictests/scripts/prepare_iceberg_test_data.py119# Create an Iceberg v3 table with a physical variant column. Databend should beCOMMENT
MEDIUMsrc/bendpy/examples/sql-to-pandas.py43# Create a chartCOMMENT
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHtests/cloud_control_server/notification_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHtests/cloud_control_server/task_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHtests/cloud_control_server/resource_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHtests/cloud_control_server/timestamp_pb2_grpc.py0client and server classes corresponding to protobuf-defined services.STRING
HIGHtests/cloud_control_server/notification_pb2_grpc.py0missing associated documentation comment in .proto file.STRING
HIGHtests/cloud_control_server/task_pb2_grpc.py0missing associated documentation comment in .proto file.STRING
HIGHtests/cloud_control_server/resource_pb2_grpc.py0missing associated documentation comment in .proto file.STRING
HIGH…databend_test_helper/src/databend_test_helper/query.py0parse config file to extract settings, applying cli overrides.STRING
HIGH…databend_test_helper/src/databend_test_helper/utils.py0parse config file to extract settings, applying cli overrides.STRING
HIGH…/databend_test_helper/src/databend_test_helper/meta.py0parse config file to extract settings, applying cli overrides.STRING
Excessive Try-Catch Wrapping41 hits · 44 pts
SeverityFileLineSnippetContext
LOWbenchmark/wait_tcp.py19 except Exception:CODE
LOWtests/compat_fuse/test_compat_fuse.py449 except Exception as e:CODE
LOWtests/compat_fuse/test_compat_fuse.py632 except Exception as e:CODE
LOWtests/cloud_control_server/simple_server.py827 except Exception as exc:CODE
LOWtests/cloud_control_server/simple_server.py842 except Exception as exc:CODE
LOWtests/compat/meta_meta/test_meta_meta.py523 except Exception as e:CODE
LOW…2_query/02_0012_temp_table_external_session_cleanup.py110 except Exception as e:CODE
LOW…suites/1_stateful/02_query/02_0013_async_table_hook.py304 except Exception:STRING
LOW…0_stateless/01_transaction/01_04_txn_snapshot_retry.py65 except Exception:CODE
LOW…0_stateless/01_transaction/01_04_txn_snapshot_retry.py69 except Exception:CODE
LOWtests/metactl/utils.py158 except Exception:CODE
LOWtests/metactl/test_all_subcommands.py98 except Exception as e:CODE
LOWtests/metactl/test_all_subcommands.py128 except Exception as e:CODE
MEDIUMtests/metactl/subcommands/cmd_lua_admin_metrics.py44 print("Error handling works correctly")CODE
LOWtests/longrun/longrun.py66 except Exception as e:CODE
LOWtests/metaverifier/chaos-meta.py51 except Exception as e:CODE
LOWtests/metaverifier/chaos-meta.py62 except Exception as e:CODE
LOWtests/nox/noxfile.py162 except Exception as exc: # noqa: BLE001 - retry Maven/GitHub flakesCODE
LOWtests/nox/noxfile.py423 except Exception as exc: # noqa: BLE001 - retry Maven Central flakesCODE
LOW⚡tests/nox/sqllogic/hooks.py306 except Exception:CODE
LOWtests/nox/suites/copy/copy_utils.py30 except Exception as ex:CODE
MEDIUMtests/nox/suites/copy/copy_utils.py18def run(conn, sql):CODE
LOWtests/nox/suites/copy/test_csv.py48 except Exception as e:CODE
LOWtests/nox/suites/copy/test_csv.py92 except Exception as e:CODE
LOWtests/fuzz/fuzz.py41 except Exception as err:CODE
LOWtests/logging/check_logs.py25 except Exception:CODE
LOWtests/logging/check_logs.py48 except Exception:CODE
LOWscripts/benchmark/meta/meta-cluster-bench.py93 except Exception as e:CODE
LOWscripts/benchmark/meta/meta-cluster-bench.py277 except Exception as e:CODE
LOWscripts/benchmark/meta/run_lua_benchmark.py124 except Exception as e:CODE
LOWscripts/ci/wait_tcp.py20 except Exception:CODE
LOWscripts/devops-meta/collect_meta_logs.py97 except Exception as e:CODE
LOWscripts/devops-meta/collect_meta_logs.py162 except Exception as e:CODE
LOWscripts/devops-meta/collect_meta_logs.py252 except Exception as e:CODE
MEDIUMscripts/devops-meta/collect_meta_logs.py253 print(f"Error: {e}", file=sys.stderr)CODE
LOW…_test_helper/src/databend_test_helper/query_cluster.py144 except Exception as e:CODE
LOW…databend_test_helper/src/databend_test_helper/utils.py25 except Exception as e:CODE
LOW…/databend_test_helper/src/databend_test_helper/meta.py83 except Exception as e:CODE
LOWscripts/test-bend-tests/concurrent_sql_test.py115 except Exception as e:CODE
LOWscripts/test-bend-tests/concurrent_sql_test.py300 except Exception as e:CODE
LOWsrc/bendpy/python/databend/__init__.py238 except Exception as exc:CODE
AI Structural Patterns31 hits · 31 pts
SeverityFileLineSnippetContext
LOWtests/cloud_control_server/notification_pb2_grpc.py134CODE
LOWtests/cloud_control_server/notification_pb2_grpc.py163CODE
LOWtests/cloud_control_server/notification_pb2_grpc.py192CODE
LOWtests/cloud_control_server/notification_pb2_grpc.py221CODE
LOWtests/cloud_control_server/notification_pb2_grpc.py250CODE
LOWtests/cloud_control_server/notification_pb2_grpc.py279CODE
LOWtests/cloud_control_server/task_pb2_grpc.py182CODE
LOWtests/cloud_control_server/task_pb2_grpc.py211CODE
LOWtests/cloud_control_server/task_pb2_grpc.py240CODE
LOWtests/cloud_control_server/task_pb2_grpc.py269CODE
LOWtests/cloud_control_server/task_pb2_grpc.py298CODE
LOWtests/cloud_control_server/task_pb2_grpc.py327CODE
LOWtests/cloud_control_server/task_pb2_grpc.py356CODE
LOWtests/cloud_control_server/task_pb2_grpc.py385CODE
LOWtests/cloud_control_server/task_pb2_grpc.py414CODE
LOWtests/cloud_control_server/resource_pb2_grpc.py121CODE
LOWtests/cloud_control_server/resource_pb2_grpc.py148CODE
LOWtests/cloud_control_server/resource_pb2_grpc.py175CODE
LOWtests/cloud_control_server/resource_pb2_grpc.py202CODE
LOWtests/metactl/metactl_utils.py39CODE
LOWtests/metactl/metactl_utils.py47CODE
LOWtests/nox/suites/http_handler/test_cookie.py35CODE
LOWtests/nox/suites/http_handler/test_session.py79CODE
LOWtests/nox/suites/http_handler/test_session.py91CODE
LOWtests/nox/suites/http_handler/test_session.py106CODE
LOWtests/nox/suites/http_handler/test_forward.py23CODE
LOWtests/nox/suites/http_handler/test_token.py63CODE
LOWtests/nox/suites/http_handler/test_token.py72CODE
LOWtests/nox/suites/http_handler/test_token.py113CODE
LOWtests/nox/suites/http_handler/test_token.py127CODE
LOWtests/nox/suites/http_handler/test_query_lifecycle.py94CODE
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICAL.github/scripts/check_pr_title.js37 if (context.payload.pull_request.base.ref.startsWith("backport/")) {CODE
CRITICAL…/src/pruning_pipeline/runtime_top_n_segment_reorder.rs220 meta.segments.0.location.0.clone()CODE
CRITICAL…/storages/common/index/src/inverted_index/directory.rs240 .field("files", &self.inner.footer.file_ranges.files.len())CODE
Example Usage Blocks19 hits · 28 pts
SeverityFileLineSnippetContext
LOWtests/metactl/config/databend-meta-node-2.toml1# Usage:COMMENT
LOWtests/metactl/config/new-databend-meta-node-3.toml1# Usage:COMMENT
LOWtests/metactl/config/new-databend-meta-node-2.toml1# Usage:COMMENT
LOWtests/metactl/config/databend-meta-node-3.toml1# Usage:COMMENT
LOWtests/metactl/config/new-databend-meta-node-1.toml1# Usage:COMMENT
LOWtests/metactl/config/databend-meta-node-1.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-meta-node-2.toml1# Usage:COMMENT
LOW…s/ci/deploy/config/databend-query-management-mode.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-query-node-1.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-meta-node-3.toml1# Usage:COMMENT
LOW…/ci/deploy/config/databend-meta-node-for-bendsave.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-query-node-hive.toml1# Usage:COMMENT
LOW…ts/ci/deploy/config/databend-query-node-otlp-logs.toml1# Usage:COMMENT
LOW…/deploy/config/databend-query-node-system-managed.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-query-node-2.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-meta-node-1.toml1# Usage:COMMENT
LOWscripts/ci/deploy/config/databend-query-node-3.toml1# Usage:COMMENT
LOWscripts/distribution/configs/databend-meta.toml1# Usage:COMMENT
LOWscripts/distribution/configs/databend-query.toml1# Usage:COMMENT
Deep Nesting27 hits · 27 pts
SeverityFileLineSnippetContext
LOWtests/compat_fuse/test_compat_fuse.py419CODE
LOWtests/cloud_control_server/simple_server.py513CODE
LOW…0_stateless/01_transaction/01_04_txn_snapshot_retry.py41CODE
LOWtests/metactl/subcommands/cmd_transfer_leader.py10CODE
LOWtests/metactl/subcommands/cmd_status.py9CODE
LOWtests/metactl/subcommands/cmd_export_from_raft_dir.py11CODE
LOWtests/metactl/subcommands/cmd_export_from_raft_dir.py82CODE
LOWtests/metactl/subcommands/cmd_export_from_grpc.py10CODE
LOWtests/metactl/subcommands/cmd_export_from_grpc.py78CODE
LOWtests/metaverifier/chaos-meta.py262CODE
LOWtests/nox/noxfile.py144CODE
LOWtests/nox/sqllogic/hooks.py322CODE
LOWtests/sqllogictests/suites/tpcds/validate_duckdb.py51CODE
LOWtests/sqllogictests/suites/tpch/validate_duckdb.py48CODE
LOWtests/sqllogictests/scripts/prepare_paimon_fs_data.py45CODE
LOWtests/logging/check_logs.py16CODE
LOWtests/logging/check_logs.py37CODE
LOWscripts/benchmark/analyze_frequency_stats_bench.py226CODE
LOWscripts/benchmark/meta/meta-cluster-bench.py239CODE
LOWscripts/security_policy/security_policy_bench.py503CODE
LOWscripts/ci/ci-check-query-log-duplicates.py23CODE
LOWscripts/devops-meta/collect_meta_logs.py53CODE
LOW…_test_helper/src/databend_test_helper/query_cluster.py41CODE
LOWscripts/test-bend-tests/test_cluster.py15CODE
LOWscripts/recluster/recluster_bench.py208CODE
LOWsrc/bendpy/python/databend/__init__.py128CODE
LOWsrc/meta/ver/compat_docs/scripts/extract_from_git.py87CODE
Redundant / Tautological Comments15 hits · 22 pts
SeverityFileLineSnippetContext
LOWtests/compat_fuse/test_compat_fuse.py430 # Check if binaries already existCOMMENT
LOW…2_query/02_0012_temp_table_external_session_cleanup.py90 # Check if files were cleaned upCOMMENT
LOW…/suites/1_stateful/02_query/02_0009_explain_profile.sh24 # Check if statistics has enough data (17 elements)COMMENT
LOW…ts/suites/0_stateless/20+_others/20_0022_agg_memory.sh41# Check if the difference is less than 5%STRING
LOWtests/metactl/subcommands/cmd_status.py50 # Check if Node info exists with expected formatCOMMENT
LOWscripts/selfhost/upload_log.sh106# Check if file existsCOMMENT
LOWscripts/selfhost/restore_logs.sh291 # Check if it's time for auto-refresh (30 seconds)COMMENT
LOWscripts/selfhost/restore_logs.sh494# Check if local file existsCOMMENT
LOWscripts/devops-meta/databend-meta-diagnostics.sh103 # Check if databend processes were killed by OOMCOMMENT
LOWscripts/devops-meta/databend-meta-diagnostics.sh318 # Check if processes are runningCOMMENT
LOWscripts/test-bend-tests/test_cluster.py20 # Check if configs existCOMMENT
LOWscripts/test-bend-tests/test_cluster.py29 # Check if config subdirectories existCOMMENT
LOWscripts/test-bend-tests/test_cluster.py83 # Check if dry-run argument is passedCOMMENT
LOWscripts/test-bend-tests/test_cluster.py153 # Check if cluster is still healthy (every 10 seconds)COMMENT
LOWsrc/common/column/src/binview/view.rs328/// # Check if any slice of `values` between two consecutive pairs from `offsets` is invalid `utf8`COMMENT
Fake / Example Data12 hits · 14 pts
SeverityFileLineSnippetContext
LOWsrc/meta/api/src/api_impl/segment_claim_api.rs214 let mut at_limit = create_req("at-limit", vec!["placeholder"]);CODE
LOWsrc/meta/api/src/api_impl/segment_claim_api.rs226 let mut over_limit = create_req("over-limit", vec!["placeholder"]);CODE
LOWsrc/common/base/tests/it/string.rs116 + &"(1, 'John Doe', 'john@example.com'), ".repeat(5); // Make sure this creates a string longer than 128 charactCODE
LOWsrc/common/base/tests/it/string.rs141 " INSERT INTO users (id, name, email) VALUES (1, 'John Doe', 'john@example.com');"CODE
LOW…le_functions/function_template/simple_func_template.rs45#[typetag::serde(name = "placeholder")]COMMENT
LOWsrc/query/functions/tests/it/scalars/regexp.rs707 "regexp_extract('John Doe', '([A-Za-z]+) ([A-Za-z]+)', 1)",CODE
LOWsrc/query/functions/tests/it/scalars/regexp.rs714 StringType::from_data(vec!["John Doe", "James Davis", "Lisa Taylor"]),CODE
LOW⚡…c/query/functions/tests/it/scalars/testdata/regexp.txt1036ast : regexp_extract('John Doe', '([A-Za-z]+) ([A-Za-z]+)', 1)CODE
LOW⚡…c/query/functions/tests/it/scalars/testdata/regexp.txt1037raw expr : regexp_extract('John Doe', '([A-Za-z]+) ([A-Za-z]+)', 1)CODE
LOW⚡…c/query/functions/tests/it/scalars/testdata/regexp.txt1038checked expr : regexp_extract<String, String, UInt32>("John Doe", "([A-Za-z]+) ([A-Za-z]+)", CAST<UInt8>(1_u8 AS UInt3CODE
LOW…c/query/functions/tests/it/scalars/testdata/regexp.txt1055| Row 0 | 'John Doe' | 'John' |CODE
LOWsrc/query/sql/src/planner/binder/ddl/notification.rs284 r#"{"no":"placeholder"}"#,CODE
Modern Structural Boilerplate7 hits · 7 pts
SeverityFileLineSnippetContext
LOWbenchmark/update_results.py15logger = logging.getLogger(__name__)CODE
LOWbenchmark/benchmark_cloud_load.py17logger = logging.getLogger(__name__)CODE
LOWbenchmark/benchmark_cloud_load.py64 def set_dsn(self, dsn: str) -> None:CODE
LOWtests/logging/check_logs.py12logger = logging.getLogger(__name__)CODE
LOWscripts/bench_common/__init__.py17__all__ = [CODE
LOW…abend_test_helper/src/databend_test_helper/progress.py12 def set_enabled(cls, enabled: bool) -> None:CODE
LOWsrc/bendpy/python/databend/__init__.py261__all__ = [CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/meta/app/src/tenant/uninit_tenant.rs40 // TODO: implement configCOMMENT
LOWsrc/query/settings/src/settings.rs324 // TODO: Handle error properly - for now, panic in case of errorCOMMENT