Repository Analysis

StarRocks/starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.

7.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of StarRocks/starrocks, a Java project with 11,883 GitHub stars. SynthScan v2.0 examined 3,582,744 lines of code across 15778 source files, recording 17778 pattern matches distributed across 26 syntactic categories. The overall adjusted score of 7.7 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.7
Adjusted Score
7.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.9K
Stars
Java
Language
3.6M
Lines of Code
15.8K
Files
17.8K
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 849HIGH 73MEDIUM 546LOW 16310

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 17778 distinct pattern matches across 26 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block14765 hits · 14601 pts
SeverityFileLineSnippetContext
LOWrun-fe-ut.sh1#!/usr/bin/env bashCOMMENT
LOWrun-be-ut.sh1#!/usr/bin/env bashCOMMENT
LOWbuild.sh1#!/usr/bin/env bashCOMMENT
LOWbuild.sh21# Usage: COMMENT
LOWenv.sh1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWbuild-in-docker.sh1#!/usr/bin/env bashCOMMENT
LOWbuild-in-docker.sh21# Usage:COMMENT
LOWrun-java-exts-ut.sh1#!/usr/bin/env bashCOMMENT
LOWpackaging/debian/build.sh1#!/usr/bin/env bashCOMMENT
LOW…va/com/starrocks/hudi/reader/TestHudiSliceScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…n/java/com/starrocks/hudi/reader/HudiScannerUtils.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…in/java/com/starrocks/hudi/reader/HudiColumnValue.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…n/java/com/starrocks/hudi/reader/HudiSliceScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…com/starrocks/hudi/reader/HudiSliceScannerFactory.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…st/java/com/starrocks/hive/reader/TestHiveScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…c/main/java/com/starrocks/hive/reader/HiveScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…java/com/starrocks/hive/reader/HiveScannerFactory.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…in/java/com/starrocks/hive/reader/HiveColumnValue.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…om/starrocks/paimon/reader/TestPaimonSplitScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…va/com/starrocks/paimon/reader/PaimonScannerUtils.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ava/com/starrocks/paimon/reader/PaimonColumnValue.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…starrocks/paimon/reader/PaimonSplitScannerFactory.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…va/com/starrocks/paimon/reader/PaimonSplitScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/java/com/starrocks/paimon/reader/PaimonTypeUtils.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…rc/test/java/com/starrocks/udf/FunctionStatesTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/test/java/com/starrocks/udf/UDFHelperDecimalTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…src/test/java/com/starrocks/udf/UDFHelperDateTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/test/java/com/starrocks/udf/UDFClassAnalyzerTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…test/java/com/starrocks/udf/CallStubGeneratorTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/java/com/starrocks/udf/UDFHelperDirectBufferTest.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ns/src/main/java/com/starrocks/udf/UDFClassLoader.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…rc/main/java/com/starrocks/udf/UDFSecurityManager.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ns/src/main/java/com/starrocks/udf/FunctionStates.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/src/main/java/com/starrocks/udf/UDFClassAnalyzer.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ns/src/main/java/com/starrocks/udf/ArrowUDFHelper.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…src/main/java/com/starrocks/udf/CallStubGenerator.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…src/main/java/com/starrocks/udf/CallStubGenerator.java301 // -----------------------------------------------------------------------COMMENT
LOW…c/main/java/com/starrocks/udf/UdfTestStructRecord.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ns/src/main/java/com/starrocks/udf/UdfTestSupport.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…sions/src/main/java/com/starrocks/udf/UdfTypeDesc.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ons/src/main/java/com/starrocks/udf/ImmutableList.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ions/src/main/java/com/starrocks/udf/ImmutableMap.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ensions/src/main/java/com/starrocks/udf/UDFHelper.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ks/connector/iceberg/IcebergManifestsTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…s/connector/iceberg/IcebergPropertiesTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ocks/connector/iceberg/IcebergHistoryTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…tarrocks/connector/iceberg/IcebergMetadataScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/com/starrocks/connector/iceberg/TableFileIOCache.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…s/connector/iceberg/IcebergMetadataScannerFactory.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…nnector/iceberg/UnmodifiableCollectionsSerializer.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ocks/connector/iceberg/IcebergMetadataColumnValue.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…/connector/iceberg/AbstractIcebergMetadataScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…onnector/iceberg/IcebergMetadataLogEntriesScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…ks/connector/iceberg/IcebergSnapshotsTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…rrocks/connector/iceberg/IcebergFilesTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…arrocks/connector/iceberg/IcebergRefsTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…s/connector/iceberg/IcebergPartitionsTableScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…va/com/starrocks/kudu/reader/TestKuduSplitScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…com/starrocks/kudu/reader/KuduSplitScannerFactory.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
LOW…n/java/com/starrocks/kudu/reader/KuduSplitScanner.java1// Copyright 2021-present StarRocks, Inc. All rights reserved.COMMENT
14705 more matches not shown…
Hallucination Indicators849 hits · 9312 pts
SeverityFileLineSnippetContext
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java97 Type metricsTyped = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java99 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java100 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java102 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java103 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.DOUBLE).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java107 org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java109 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java110 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.DOUBLE)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java115 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java116 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java124 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java125 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT64)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java134 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java135 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.FIXED_LEN_BYTE_ARRAY)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java142 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java143 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java146 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java147 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java149 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java154 Type eventObjectTyped = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java156 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java157 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java159 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java160 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java167 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java168 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value"));CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java171 Type groupElementTyped = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java173 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java174 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java176 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java185 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java186 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT64).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java188 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java189 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java193 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java194 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT64)CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java198 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java199 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java202 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java203 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java205 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java208 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java210 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java214 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java215 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.INT32).named("typed_value")))CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java218 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java220 org.apache.parquet.schema.Types.optional(PrimitiveTypeName.BINARY).named("value"),CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java246 Type elementInList = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java250 Type listGroup = org.apache.parquet.schema.Types.repeatedGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java253 return org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java260 Type elementGroup = org.apache.parquet.schema.Types.requiredGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java264 Type listGroup = org.apache.parquet.schema.Types.repeatedGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java267 return org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java290 Type elementValueInList = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java294 Type listGroup = org.apache.parquet.schema.Types.repeatedGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java297 Type typedValue = org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java301 return org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICAL…ats/parquet/test_data/IcebergVariantShreddingTest.java233 return org.apache.parquet.schema.Types.optionalGroup()CODE
CRITICALwebroot/be/jquery-3.5.0.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
CRITICALwebroot/static/jquery.dataTables.js14136 * $.fn.dataTable.ext.type.detect.push(COMMENT
789 more matches not shown…
Decorative Section Separators375 hits · 1000 pts
SeverityFileLineSnippetContext
MEDIUMrun-be-ut.sh447# ===========================================================COMMENT
MEDIUMtools/benchmark/table_sample.sh23# --------------COMMENT
MEDIUMbe/test/CMakeLists.txt424# =================================================COMMENT
MEDIUMbe/test/formats/parquet/complex_column_reader_test.cpp122// ─── existing test ──────────────────────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/complex_column_reader_test.cpp159// ─── build_variant_binding_from_node ────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/complex_column_reader_test.cpp284// ─── append_variant_binding_row ─────────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/complex_column_reader_test.cpp325// ─── encode_datum error paths ───────────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/complex_column_reader_test.cpp456// ─── VariantVirtualZoneMapReader tests ───────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp3328// ── Hidden variant source active/lazy classification ─────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp3778// ── _apply_deferred_variant_conjuncts ────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp3912// ── _fill_dst_chunk error path ────────────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp4063// ── Decimal virtual column fallback tests ──────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp4202// ── LazyMaterializationContext tests ─────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp4656// ── Temp Column Lifecycle Tests ──────────────────────────────────────────────COMMENT
MEDIUMbe/test/formats/parquet/group_reader_test.cpp4823// ── Logical-column bypass in emit_physical_columns ───────────────────────────COMMENT
MEDIUMbe/test/storage/lake/tablet_reshard_test.cpp7956// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/test/storage/lake/tablet_reshard_test.cpp7958// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/data_sink/result/arrow_result_writer.cpp52// ┌────────────────────────────────────────────────────────────┐COMMENT
MEDIUMbe/src/data_sink/result/arrow_result_writer.cpp54// └────────────────────────────────────────────────────────────┘COMMENT
MEDIUMbe/src/data_sink/result/arrow_result_writer.cpp90// ┌────────────────────────────────────────────────────────────┐COMMENT
MEDIUMbe/src/data_sink/result/arrow_result_writer.cpp92// └────────────────────────────────────────────────────────────┘COMMENT
MEDIUMbe/src/compute_env/sorting/merge_path.h269// ┌────────── PENDING ◄──────────┐COMMENT
MEDIUMbe/src/compute_env/sorting/merge_path.h272// ├──────────────◄───────────────┤COMMENT
MEDIUMbe/src/formats/avro/cpp/avro_reader.cpp277 // ── fixed-width non-nullable types ──────────────────────────────────────COMMENT
MEDIUMbe/src/formats/avro/cpp/avro_reader.cpp301 // ── variable-width non-nullable types ────────────────────────────────────COMMENT
MEDIUMbe/src/formats/avro/cpp/avro_reader.cpp315 // ── union ────────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.h145 // ── Initialization ───────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.h156 // ── get_next() pipeline phases ───────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.h193 // ── Member variables ─────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h50// ── Free functions: variant projection utilities ────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h75 // ── Setup (called once during GroupReader::_create_column_readers) ──────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h83 // ── Classification (during _process_columns_and_conjunct_ctxs) ──────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h92 // ── Prepare (during GroupReader::prepare / _prepare_column_readers) ──────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h99 // ── Lazy→active promotion when active_chunk would be empty ───────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h102 // ── IO range collection ──────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h106 // ── Read chunk initialisation ────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h109 // ── get_next() phases ────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.h171 // ── Timezone for variant projection ──────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp49// ── Anonymous namespace: internal helpers (free functions) ─────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp391// ── VariantProjectionHandler ────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp399// ── _build_shredded_hints ────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp405// ── setup_readers ────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp485// ── Classification helpers ───────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp551// ── Prepare ─────────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp572// ── Promotion ────────────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp717// ── Lazy→active promotion ───────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp732// ── IO range collection ─────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp742// ── Read chunk init ──────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/variant_projection.cpp752// ── get_next() phases ────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp54// ── GroupReader: construction / destruction ─────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp91// ── init / prepare ──────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp141// ── Simple accessors ────────────────────────────────────────────────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp171// ── get_next: materialise one chunk from the current row group ──────────────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp251// ── 1. Prune deleted rows ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp266// ── 2. Read & filter active columns ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp286// ── 3. Evaluate compound predicates ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp329// ── 4. Evaluate variant predicates ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp357// ── 5. Filter & backfill lazy ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp392// ── 7. Emit output ──────COMMENT
MEDIUMbe/src/formats/parquet/group_reader.cpp408// ── Column reader creation ─────────────────────────────────────────────────COMMENT
315 more matches not shown…
Hyper-Verbose Identifiers700 hits · 612 pts
SeverityFileLineSnippetContext
LOWtools/show_segment_status/show_segment_status.py48 def calc_table_and_be_summary(self, db_candidates, tbl_candidates, be_id):CODE
LOWtools/show_segment_status/be_tablet_reslover.py80 def _decode_rs_metas_of_tablet(self, tablet_meta):CODE
LOWtools/show_segment_status/fe_meta_resolver.py152 def _fetch_partitions_by_table(self, table):CODE
LOWtools/show_segment_status/fe_meta_resolver.py171 def _fetch_idxes_by_partition(self, partition):CODE
LOWtools/show_segment_status/fe_meta_resolver.py190 def _merge_schema_hash_to_idx_list(self):CODE
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py147def detect_cluster_architecture(perf_dir):CODE
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py353def check_partition_data_skew(conn, perf_dir):STRING
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py416def check_too_many_versions_or_segments(conn, perf_dir):STRING
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py499def check_large_unpartitioned_tables(conn, perf_dir):STRING
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py536def check_single_bucket_large_tables(conn, perf_dir):STRING
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py611def check_non_persistent_index_tables(conn, perf_dir):STRING
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py651def check_abnormal_replica_status(conn, perf_dir):STRING
LOWbe/extension/python-udf/src/flight_server.py57 def get_imported_packages_ast(self, importer, module_name):CODE
LOWbe/test/formats/test_data/avro/cpp/gen_avro_file.py78def write_direct_reader_matrix(out_path):CODE
LOWtest/test_sql_cases.py122 def _init_global_session_variables(self):CODE
LOWtest/test_sql_cases.py243 def _clear_db_and_resource_if_exists(self):CODE
LOWtest/lib/choose_cases.py166 def filter_cases_by_component_status(self):CODE
LOWtest/lib/choose_cases.py250 def filter_cases_by_data_status(self):CODE
LOWtest/lib/choose_cases.py314 def __read_single_stat_and_result(_line_content, _line_id, _stat_list, _res_list, _is_in_loop=False,CODE
LOWtest/lib/mysql_stmt_metadata_lib.py107def decode_null_terminated_str(data: bytes, pos: int = 0) -> Tuple[str, int]:CODE
LOWtest/lib/mysql_stmt_metadata_lib.py262 def execute_and_fetch_metadata(self, statement_id: int, num_params: int) -> List[ColumnDef]:CODE
LOWtest/lib/sr_sql_lib.py418 def check_case_result_contains_crash(crash_msg_list, case_result_logs):CODE
LOWtest/lib/sr_sql_lib.py596 def create_starrocks_conn_pool(self):CODE
LOWtest/lib/sr_sql_lib.py665 def _create_iceberg_catalog_hive(self, catalog_name):CODE
LOWtest/lib/sr_sql_lib.py684 def _create_iceberg_catalog_hadoop(self, catalog_name):CODE
LOWtest/lib/sr_sql_lib.py706 def create_database_and_table(self, catalog_name, database_name, table_name, table_sql_path=None,CODE
LOWtest/lib/sr_sql_lib.py1796 def wait_db_transaction_finish(self, db_name, timeout_sec=30):CODE
LOWtest/lib/sr_sql_lib.py1824 def get_running_transaction_count(self, db_name):CODE
LOWtest/lib/sr_sql_lib.py1836 def get_single_running_transaction_label(self, db_name):CODE
LOWtest/lib/sr_sql_lib.py1901 def check_routine_load_progress(self, sum_data_count, task_name, db_name, table_name):CODE
LOWtest/lib/sr_sql_lib.py1992 def wait_materialized_view_finish(self, check_count=60):CODE
LOWtest/lib/sr_sql_lib.py2034 def wait_materialized_view_cancel(self, check_count=60):CODE
LOWtest/lib/sr_sql_lib.py2072 def wait_show_materialized_view_finish(self, mv_name, check_count=60):CODE
LOWtest/lib/sr_sql_lib.py2089 def wait_async_materialized_view_finish(self, current_db, mv_name, check_count=None):CODE
LOWtest/lib/sr_sql_lib.py2170 def get_task_run_success_count(self, results):CODE
LOWtest/lib/sr_sql_lib.py2795 def check_es_table_metadata_ready(self, table_name):CODE
LOWtest/lib/sr_sql_lib.py3272 def set_vlog_level_for_all_be(self, prefixes, level: int):CODE
LOWtest/lib/sr_sql_lib.py3303 def wait_refresh_dictionary_finish(self, name, check_status):CODE
LOWtest/lib/sr_sql_lib.py3320 def set_first_tablet_bad_and_recover(self, table_name):CODE
LOWtest/lib/sr_sql_lib.py3351 def assert_is_identical_explain_plan(self, query1, query2):CODE
LOWtest/lib/sr_sql_lib.py3374 def assert_query_not_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3385 def assert_query_contains_times(self, query, expect, expected_times: int):CODE
LOWtest/lib/sr_sql_lib.py3402 def assert_query_error_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3426 def assert_explain_not_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3435 def assert_explain_verbose_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3449 def assert_explain_costs_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3462 def get_col_stats_from_explain_costs(self, query, col_name):CODE
LOWtest/lib/sr_sql_lib.py3477 def assert_show_stats_meta_contains(self, predicate, *expects):CODE
LOWtest/lib/sr_sql_lib.py3491 def assert_trace_values_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3522 def assert_prepare_execute_varchar_metadata(self, db, query, expected_prepare_len, expected_execute_len=None,CODE
LOWtest/lib/sr_sql_lib.py3589 def execute_with_prepared_connection(self, sql):CODE
LOWtest/lib/sr_sql_lib.py3592 def assert_trace_times_contains(self, query, *expects):CODE
LOWtest/lib/sr_sql_lib.py3617 def print_table_partitions_num(self, table_name) -> str:CODE
LOWtest/lib/sr_sql_lib.py3623 def print_plan_partition_selected_num(self, sql, table_name) -> str:CODE
LOWtest/lib/sr_sql_lib.py3642 def assert_table_partitions_num(self, table_name, expect_num):CODE
LOWtest/lib/sr_sql_lib.py3648 def wait_table_rowcount_not_empty(self, table, max_times=300):CODE
LOWtest/lib/sr_sql_lib.py3663 def assert_cache_select_is_success(self, query):CODE
LOWtest/lib/sr_sql_lib.py3886 def wait_for_prepared_stmt_detail(self, prepared_stmt_id):CODE
LOWtest/lib/sr_sql_lib.py3893 def assert_prepared_stmt_details(self):CODE
LOWtest/lib/sr_sql_lib.py3909 def assert_query_detail_field(self, query_detail, field_name, expected_value=None):CODE
640 more matches not shown…
Structural Annotation Overuse254 hits · 441 pts
SeverityFileLineSnippetContext
LOWtools/show_segment_status/fe_meta_resolver.py23# NOTE: The default organization of meta info is cascading, we flatten its structureCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh117# Step 1: Create database and tableCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh141# Step 2: Generate JSON data (optionally with queries)COMMENT
LOWtools/json_data_generator/test_starrocks_json.sh219# Step 3: Import data via Stream LoadCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh258# Step 4: Run generated queriesCOMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1480 // Step 1: Write txn generates a delvec for segment 100COMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1488 // Step 2: Compaction removes rowset 100COMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1496 // Step 3: Finalize - this is where the bug would manifestCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4240 // Step 3: Verify correctness - the last partial update set c1 = c0 * (5 + kNumPartialUpdates - 1)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4247 // Step 4: Verify metadata - should still have same number of rowsets (column updateCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3757 // Step 1: Write initial full data with all 3 columns (pk 0-11)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3778 // Step 2: Insert NEW rows with COLUMN_UPSERT_MODE (pk 12-23, only update c0+c1)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3842 // Step 3: Update existing rows with COLUMN_UPSERT_MODECOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3866 // Step 4: Verify functional correctnessCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3925 // Step 1: Write initial full dataCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3944 // Step 2: Partial update with COLUMN_UPSERT_MODE (updating existing rows)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3975 // Step 3: Verify that orphan_files contains the partial segmentsCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4002 // Step 1: Write base dataCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4024 // Step 2: COLUMN_UPSERT_MODE with mixed operations: some deletes and some upserts with new rowsCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4104 // Step 3: Verify the resultCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4172 // Step 1: Create multiple source segments by writing full data multiple timesCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4198 // Step 2: Perform partial column updates with multiple update segments per txn.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4272 // Step 1: Create initial full data with multiple key ranges.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4294 // Step 2: Perform row-mode partial update with multiple segments per txn.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4328 // Step 3: Verify correctness - c1 should be updated (c0 * 7),COMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2783 // Step 3: Verify sstable_meta is cleared after full replicationCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2792 // Step 4: Write more data - this should NOT fail with "unexpected segment id"COMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2923 // Step 4: Verify delvec_meta and dcg_meta are clearedCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2930 // Step 5: Verify old delvec and dcg files are marked as orphan filesCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2691 // Step 1: Write some data to generate SST filesCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2723 // Step 2: Simulate full replication by creating a replication txn logCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2826 // Step 1: Write initial dataCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2847 // Step 2: Get current metadata and manually add delvec_meta and dcg_meta for testingCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2869 // Step 3: Simulate full replicationCOMMENT
LOWbe/test/exprs/variant_functions_test.cpp1348 // Step 1: query "$.a.b" — parent of typed column "a.b.c"COMMENT
LOWbe/test/exprs/variant_functions_test.cpp1359 // Step 2: query "$.c" from the sub-object — must be 42 (from typed column)COMMENT
LOWbe/test/exprs/variant_functions_test.cpp1371 // Step 3: query "$.d" from the sub-object — must be non-null (from remain payload)COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp664 // Step 1: Create PK tablet with one committed rowset.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp687 // Step 2: Migrate A->B. Wait until clock passes rowset_time so migration1 wins.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp697 // Step 3: GC runs synchronously. A sync point callback injects migration B->ACOMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp716 // Step 4: Verify V3 on disk_a has its rowset metadata intact.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp728 // Step 5: Verify restart-loading works — proves on-disk meta is complete.COMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp102 // Step 1: compute exprCOMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp113 // Step 2: fill version magic_num, first column must be version(const int)COMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp126 // Step 3: fill statistic dataCOMMENT
LOWbe/src/data_sink/result/http_result_writer.cpp74 // Step 1: compute exprCOMMENT
LOWbe/src/data_sink/result/http_result_writer.cpp86 // Step 2: convert chunk to http json row format row by rowCOMMENT
LOWbe/src/column/column_hash.h43// NOTE: This function will access 15 excessive bytes after p1 and p2, which should has padding bytes when allocatingCOMMENT
LOWbe/src/storage/rowset/segment_writer.cpp336// NOTE: This function will be called when any row of data is added, so we need toCOMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp333 // Step 1: Evaluate predicates on dictionary once and reuse the selection across pages.COMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp348 // Step 2: Read dictionary codes for the range (we must do this regardless of dict selection)COMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp367 // Step 3: Update selection based on dictionary selection and collect matching slicesCOMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp382 // Step 4: Append selected strings to column using append_strings_overflowCOMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp322 // Step 3: Distribute segment data across overlapping ranges.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp327 // Step 4: Calculate split boundaries using a greedy algorithm.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp248 // Step 1: Collect all unique boundary points (including sort-key samples) and sort them.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp309 // Step 2: Build ordered ranges between adjacent boundary points.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp469 // Step 5: Estimate per-range data sizes by walking candidate ranges against boundaries.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp692 // Step 2: Calculate split boundaries with tablet range filtering.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp711 // Step 3: Build TabletRangeInfo directly from result.COMMENT
194 more matches not shown…
Verbosity Indicators201 hits · 376 pts
SeverityFileLineSnippetContext
LOWtools/json_data_generator/test_starrocks_json.sh117# Step 1: Create database and tableCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh141# Step 2: Generate JSON data (optionally with queries)COMMENT
LOWtools/json_data_generator/test_starrocks_json.sh219# Step 3: Import data via Stream LoadCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh258# Step 4: Run generated queriesCOMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1480 // Step 1: Write txn generates a delvec for segment 100COMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1488 // Step 2: Compaction removes rowset 100COMMENT
LOWbe/test/storage/lake/meta_file_test.cpp1496 // Step 3: Finalize - this is where the bug would manifestCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4240 // Step 3: Verify correctness - the last partial update set c1 = c0 * (5 + kNumPartialUpdates - 1)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4247 // Step 4: Verify metadata - should still have same number of rowsets (column updateCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3757 // Step 1: Write initial full data with all 3 columns (pk 0-11)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3778 // Step 2: Insert NEW rows with COLUMN_UPSERT_MODE (pk 12-23, only update c0+c1)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3842 // Step 3: Update existing rows with COLUMN_UPSERT_MODECOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3866 // Step 4: Verify functional correctnessCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3925 // Step 1: Write initial full dataCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3944 // Step 2: Partial update with COLUMN_UPSERT_MODE (updating existing rows)COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp3975 // Step 3: Verify that orphan_files contains the partial segmentsCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4002 // Step 1: Write base dataCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4024 // Step 2: COLUMN_UPSERT_MODE with mixed operations: some deletes and some upserts with new rowsCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4104 // Step 3: Verify the resultCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4172 // Step 1: Create multiple source segments by writing full data multiple timesCOMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4198 // Step 2: Perform partial column updates with multiple update segments per txn.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4272 // Step 1: Create initial full data with multiple key ranges.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4294 // Step 2: Perform row-mode partial update with multiple segments per txn.COMMENT
LOWbe/test/storage/lake/partial_update_test.cpp4328 // Step 3: Verify correctness - c1 should be updated (c0 * 7),COMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2783 // Step 3: Verify sstable_meta is cleared after full replicationCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2792 // Step 4: Write more data - this should NOT fail with "unexpected segment id"COMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2923 // Step 4: Verify delvec_meta and dcg_meta are clearedCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2930 // Step 5: Verify old delvec and dcg files are marked as orphan filesCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2691 // Step 1: Write some data to generate SST filesCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2723 // Step 2: Simulate full replication by creating a replication txn logCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2826 // Step 1: Write initial dataCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2847 // Step 2: Get current metadata and manually add delvec_meta and dcg_meta for testingCOMMENT
LOWbe/test/storage/lake/primary_key_publish_test.cpp2869 // Step 3: Simulate full replicationCOMMENT
LOWbe/test/exprs/variant_functions_test.cpp1348 // Step 1: query "$.a.b" — parent of typed column "a.b.c"COMMENT
LOWbe/test/exprs/variant_functions_test.cpp1359 // Step 2: query "$.c" from the sub-object — must be 42 (from typed column)COMMENT
LOWbe/test/exprs/variant_functions_test.cpp1371 // Step 3: query "$.d" from the sub-object — must be non-null (from remain payload)COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp664 // Step 1: Create PK tablet with one committed rowset.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp687 // Step 2: Migrate A->B. Wait until clock passes rowset_time so migration1 wins.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp697 // Step 3: GC runs synchronously. A sync point callback injects migration B->ACOMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp716 // Step 4: Verify V3 on disk_a has its rowset metadata intact.COMMENT
LOW…flows/migration/engine_storage_migration_task_test.cpp728 // Step 5: Verify restart-loading works — proves on-disk meta is complete.COMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp102 // Step 1: compute exprCOMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp113 // Step 2: fill version magic_num, first column must be version(const int)COMMENT
LOWbe/src/data_sink/result/statistic_result_writer.cpp126 // Step 3: fill statistic dataCOMMENT
LOWbe/src/data_sink/result/http_result_writer.cpp74 // Step 1: compute exprCOMMENT
LOWbe/src/data_sink/result/http_result_writer.cpp86 // Step 2: convert chunk to http json row format row by rowCOMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp333 // Step 1: Evaluate predicates on dictionary once and reuse the selection across pages.COMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp348 // Step 2: Read dictionary codes for the range (we must do this regardless of dict selection)COMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp367 // Step 3: Update selection based on dictionary selection and collect matching slicesCOMMENT
LOWbe/src/storage/rowset/binary_dict_page.cpp382 // Step 4: Append selected strings to column using append_strings_overflowCOMMENT
LOWbe/src/storage/rowset/segment.cpp510 // if the column is a char column, we need to check if the length of the column is the same asCOMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp322 // Step 3: Distribute segment data across overlapping ranges.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp327 // Step 4: Calculate split boundaries using a greedy algorithm.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp248 // Step 1: Collect all unique boundary points (including sort-key samples) and sort them.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp309 // Step 2: Build ordered ranges between adjacent boundary points.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp469 // Step 5: Estimate per-range data sizes by walking candidate ranges against boundaries.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp692 // Step 2: Calculate split boundaries with tablet range filtering.COMMENT
LOWbe/src/storage/lake/tablet_splitter.cpp711 // Step 3: Build TabletRangeInfo directly from result.COMMENT
LOW…rc/storage/lake/tablet_parallel_compaction_manager.cpp372 // Step 1: Sort rowsets by their index in metadata to ensure adjacency when grouped.COMMENT
LOW…rc/storage/lake/tablet_parallel_compaction_manager.cpp378 // Step 2: Filter out large non-overlapped rowsets that don't need compaction.COMMENT
141 more matches not shown…
Cross-File Repetition57 hits · 285 pts
SeverityFileLineSnippetContext
HIGHdocs/ja/integrations/airflow.md0tmp_crash_date, tmp_crash_time, crash_date=str_to_date(concat_ws(' ', tmp_crash_date, tmp_crash_time), '%m/%d/%y %h:%i')STRING
HIGHdocs/zh/integrations/airflow.md0tmp_crash_date, tmp_crash_time, crash_date=str_to_date(concat_ws(' ', tmp_crash_date, tmp_crash_time), '%m/%d/%y %h:%i')STRING
HIGHdocs/en/integrations/airflow.md0tmp_crash_date, tmp_crash_time, crash_date=str_to_date(concat_ws(' ', tmp_crash_date, tmp_crash_time), '%m/%d/%y %h:%i')STRING
HIGHdocs/ja/integrations/airflow.md0insert into crashdata ( crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_name,STRING
HIGHdocs/zh/integrations/airflow.md0insert into crashdata ( crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_name,STRING
HIGHdocs/en/integrations/airflow.md0insert into crashdata ( crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_name,STRING
HIGHdocs/ja/integrations/airflow.md0create table if not exists crashdata ( crash_date datetime, borough string, zip_code string, latitude int, longitude intSTRING
HIGHdocs/zh/integrations/airflow.md0create table if not exists crashdata ( crash_date datetime, borough string, zip_code string, latitude int, longitude intSTRING
HIGHdocs/en/integrations/airflow.md0create table if not exists crashdata ( crash_date datetime, borough string, zip_code string, latitude int, longitude intSTRING
HIGHdocs/ja/integrations/airflow.md0insert into crashdata values ('2024-01-15 08:30:00', 'manhattan', '10001', 40748817, -73985428, '(40.748817, -73.985428)STRING
HIGHdocs/zh/integrations/airflow.md0insert into crashdata values ('2024-01-15 08:30:00', 'manhattan', '10001', 40748817, -73985428, '(40.748817, -73.985428)STRING
HIGHdocs/en/integrations/airflow.md0insert into crashdata values ('2024-01-15 08:30:00', 'manhattan', '10001', 40748817, -73985428, '(40.748817, -73.985428)STRING
HIGHdocs/ja/integrations/airflow.md0select borough, on_street_name, count(*) as crash_count, count(distinct date(crash_date)) as days_with_crashes from crasSTRING
HIGHdocs/zh/integrations/airflow.md0select borough, on_street_name, count(*) as crash_count, count(distinct date(crash_date)) as days_with_crashes from crasSTRING
HIGHdocs/en/integrations/airflow.md0select borough, on_street_name, count(*) as crash_count, count(distinct date(crash_date)) as days_with_crashes from crasSTRING
HIGHdocs/ja/integrations/airflow.md0select contributing_factor_vehicle_1 as factor, count(*) as count, round(count(*) * 100.0 / sum(count(*)) over (), 2) asSTRING
HIGHdocs/zh/integrations/airflow.md0select contributing_factor_vehicle_1 as factor, count(*) as count, round(count(*) * 100.0 / sum(count(*)) over (), 2) asSTRING
HIGHdocs/en/integrations/airflow.md0select contributing_factor_vehicle_1 as factor, count(*) as count, round(count(*) * 100.0 / sum(count(*)) over (), 2) asSTRING
HIGHdocs/ja/integrations/airflow.md0create table if not exists crashdata_staging ( crash_date datetime, borough string, zip_code string, latitude int, longiSTRING
HIGHdocs/zh/integrations/airflow.md0create table if not exists crashdata_staging ( crash_date datetime, borough string, zip_code string, latitude int, longiSTRING
HIGHdocs/en/integrations/airflow.md0create table if not exists crashdata_staging ( crash_date datetime, borough string, zip_code string, latitude int, longiSTRING
HIGHdocs/ja/integrations/airflow.md0insert into crashdata select crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_STRING
HIGHdocs/zh/integrations/airflow.md0insert into crashdata select crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_STRING
HIGHdocs/en/integrations/airflow.md0insert into crashdata select crash_date, borough, zip_code, latitude, longitude, location, on_street_name, cross_street_STRING
HIGHdocs/ja/integrations/airflow.md0submit task backup_crashdata as create table crash_data_backup as select * from crashdataSTRING
HIGHdocs/zh/integrations/airflow.md0submit task backup_crashdata as create table crash_data_backup as select * from crashdataSTRING
HIGHdocs/en/integrations/airflow.md0submit task backup_crashdata as create table crash_data_backup as select * from crashdataSTRING
HIGHdocs/ja/integrations/airflow.md0select state, error_message from information_schema.task_runs where task_name = '{task_name}'STRING
HIGHdocs/zh/integrations/airflow.md0select state, error_message from information_schema.task_runs where task_name = '{task_name}'STRING
HIGHdocs/en/integrations/airflow.md0select state, error_message from information_schema.task_runs where task_name = '{task_name}'STRING
HIGHdocs/ja/integrations/airflow.md0drop materialized view if exists quickstart.mv_daily_crash_statsSTRING
HIGHdocs/zh/integrations/airflow.md0drop materialized view if exists quickstart.mv_daily_crash_statsSTRING
HIGHdocs/en/integrations/airflow.md0drop materialized view if exists quickstart.mv_daily_crash_statsSTRING
HIGHdocs/ja/integrations/airflow.md0create materialized view if not exists quickstart.mv_daily_crash_stats distributed by hash(`crash_date`) refresh async aSTRING
HIGHdocs/zh/integrations/airflow.md0create materialized view if not exists quickstart.mv_daily_crash_stats distributed by hash(`crash_date`) refresh async aSTRING
HIGHdocs/en/integrations/airflow.md0create materialized view if not exists quickstart.mv_daily_crash_stats distributed by hash(`crash_date`) refresh async aSTRING
HIGHdocs/ja/integrations/airflow.md0select task_name from information_schema.tasks where `database` = 'quickstart' and definition like '%{mv_name}%' order bSTRING
HIGHdocs/zh/integrations/airflow.md0select task_name from information_schema.tasks where `database` = 'quickstart' and definition like '%{mv_name}%' order bSTRING
HIGHdocs/en/integrations/airflow.md0select task_name from information_schema.tasks where `database` = 'quickstart' and definition like '%{mv_name}%' order bSTRING
HIGHdocs/ja/integrations/airflow.md0select state from information_schema.task_runs where task_name = '{task_name}' order by create_time desc limit 1STRING
HIGHdocs/zh/integrations/airflow.md0select state from information_schema.task_runs where task_name = '{task_name}' order by create_time desc limit 1STRING
HIGHdocs/en/integrations/airflow.md0select state from information_schema.task_runs where task_name = '{task_name}' order by create_time desc limit 1STRING
HIGHdocs/ja/unloading/arrow_flight.md0execute a sql statement and print the result and execution time.STRING
HIGHdocs/zh/unloading/arrow_flight.md0execute a sql statement and print the result and execution time.STRING
HIGHdocs/en/unloading/arrow_flight.md0execute a sql statement and print the result and execution time.STRING
HIGHdocs/ja/unloading/arrow_flight.md0create table sr_arrow_flight_sql_test ( k0 int, k1 double, k2 varchar(32) null default "" comment "", k3 decimal(27,9) dSTRING
HIGHdocs/zh/unloading/arrow_flight.md0create table sr_arrow_flight_sql_test ( k0 int, k1 double, k2 varchar(32) null default "" comment "", k3 decimal(27,9) dSTRING
HIGHdocs/en/unloading/arrow_flight.md0create table sr_arrow_flight_sql_test ( k0 int, k1 double, k2 varchar(32) null default "" comment "", k3 decimal(27,9) dSTRING
HIGHdocs/ja/unloading/arrow_flight.md0insert into sr_arrow_flight_sql_test values (0, 0.1, "id", 0.0001, 1111111111, '2025-04-21'), (1, 0.20, "id_1", 1.000000STRING
HIGHdocs/zh/unloading/arrow_flight.md0insert into sr_arrow_flight_sql_test values (0, 0.1, "id", 0.0001, 1111111111, '2025-04-21'), (1, 0.20, "id_1", 1.000000STRING
HIGHdocs/en/unloading/arrow_flight.md0insert into sr_arrow_flight_sql_test values (0, 0.1, "id", 0.0001, 1111111111, '2025-04-21'), (1, 0.20, "id_1", 1.000000STRING
HIGHdocs/ja/unloading/arrow_flight.md0select k5, sum(k1) as total_k1, count(1) as row_count, avg(k3) as avg_k3 from sr_arrow_flight_sql_test group by k5 orderSTRING
HIGHdocs/zh/unloading/arrow_flight.md0select k5, sum(k1) as total_k1, count(1) as row_count, avg(k3) as avg_k3 from sr_arrow_flight_sql_test group by k5 orderSTRING
HIGHdocs/en/unloading/arrow_flight.md0select k5, sum(k1) as total_k1, count(1) as row_count, avg(k3) as avg_k3 from sr_arrow_flight_sql_test group by k5 orderSTRING
HIGH…python-client/test/integration/test_reflection_view.py0with monthly_stats as ( select user_id, count(*) as monthly_orders from orders where order_date >= date_sub(current_dateSTRING
HIGH…s-python-client/test/integration/test_reflection_mv.py0with monthly_stats as ( select user_id, count(*) as monthly_orders from orders where order_date >= date_sub(current_dateSTRING
HIGH…starrocks-python-client/test/sql/test_compiler_view.py0with monthly_stats as ( select user_id, count(*) as monthly_orders from orders where order_date >= date_sub(current_dateSTRING
Modern AI Meta-Vocabulary67 hits · 225 pts
SeverityFileLineSnippetContext
MEDIUMbe/AGENTS.md310### Orchestration (`orchestration`)COMMENT
MEDIUMbe/CLAUDE.md310### Orchestration (`orchestration`)COMMENT
MEDIUMbe/test/CMakeLists.txt135 #./orchestration/routine_load_task_executor_test.cppCOMMENT
MEDIUMbe/test/storage/lake/tablet_manager_test.cpp1584 // load_segment+open() path here without a SegmentWriter scaffold — Segment::open parses theCOMMENT
MEDIUMbe/test/http/handler_required_privilege_test.cpp50#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/test/http/stream_load_test.cpp66#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/test/http/transaction_stream_load_test.cpp48#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/test/orchestration/stream_load_orchestrator_test.cpp15#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUM…test/orchestration/external_scan_orchestrator_test.cpp15#include "orchestration/external_scan_orchestrator.h"COMMENT
MEDIUM…test/orchestration/external_scan_orchestrator_test.cpp35#include "orchestration/external_scan_context_mgr.h"COMMENT
MEDIUM…test/orchestration/external_scan_orchestrator_test.cpp36#include "orchestration/fragment_mgr.h"COMMENT
MEDIUM…test/orchestration/routine_load_task_executor_test.cpp35#include "orchestration/routine_load_task_executor.h"COMMENT
MEDIUM…test/orchestration/routine_load_task_executor_test.cpp47#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUM…/test/orchestration/external_scan_context_mgr_test.cpp35#include "orchestration/external_scan_context_mgr.h"COMMENT
MEDIUM…/test/orchestration/external_scan_context_mgr_test.cpp54#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/test/orchestration/query_orchestrator_test.cpp15#include "orchestration/query_orchestrator.h"COMMENT
MEDIUMbe/test/orchestration/fragment_mgr_test.cpp35#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/test/orchestration/fragment_mgr_test.cpp48#include "orchestration/plan_fragment_executor.h"COMMENT
MEDIUMbe/test/orchestration/orchestration_metrics_test.cpp15#include "orchestration/orchestration_metrics.h"COMMENT
MEDIUMbe/test/orchestration/orchestration_metrics_test.cpp21#include "orchestration/runtime_filter_worker_event.h"COMMENT
MEDIUMbe/test/orchestration/fragment_executor_test.cpp15#include "orchestration/fragment_executor.h"COMMENT
MEDIUMbe/test/testutil/init_test_env.h49#include "orchestration/orchestration_env.h"COMMENT
MEDIUMbe/src/http/action/transaction_stream_load.cpp54#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/src/http/action/stream_load.cpp76#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/plan_fragment_executor.cpp35#include "orchestration/plan_fragment_executor.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_metrics.cpp15#include "orchestration/orchestration_metrics.h"COMMENT
MEDIUMbe/src/orchestration/fragment_mgr.cpp35#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/orchestration/fragment_mgr.cpp65#include "orchestration/plan_fragment_executor.h"COMMENT
MEDIUMbe/src/orchestration/query_orchestrator.cpp15#include "orchestration/query_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/query_orchestrator.cpp41#include "orchestration/fragment_executor.h"COMMENT
MEDIUMbe/src/orchestration/runtime_filter_worker.cpp15#include "orchestration/runtime_filter_worker.h"COMMENT
MEDIUMbe/src/orchestration/fragment_executor.cpp15#include "orchestration/fragment_executor.h"COMMENT
MEDIUMbe/src/orchestration/external_scan_context_mgr.cpp35#include "orchestration/external_scan_context_mgr.h"COMMENT
MEDIUMbe/src/orchestration/external_scan_context_mgr.cpp52#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/orchestration/runtime_filter_worker.h27#include "orchestration/runtime_filter_delivery.h"COMMENT
MEDIUMbe/src/orchestration/runtime_filter_worker.h28#include "orchestration/runtime_filter_worker_event.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_metrics.h22#include "orchestration/runtime_filter_worker_event.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp15#include "orchestration/orchestration_env.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp31#include "orchestration/external_scan_context_mgr.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp32#include "orchestration/external_scan_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp33#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp34#include "orchestration/orchestration_metrics.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp35#include "orchestration/routine_load_task_executor.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp36#include "orchestration/runtime_filter_worker.h"COMMENT
MEDIUMbe/src/orchestration/orchestration_env.cpp37#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/external_scan_orchestrator.cpp15#include "orchestration/external_scan_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/external_scan_orchestrator.cpp32#include "orchestration/external_scan_context_mgr.h"COMMENT
MEDIUMbe/src/orchestration/external_scan_orchestrator.cpp33#include "orchestration/query_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/stream_load_orchestrator.cpp15#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/src/orchestration/stream_load_orchestrator.cpp28#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/orchestration/stream_load_orchestrator.cpp29#include "orchestration/plan_fragment_executor.h"COMMENT
MEDIUMbe/src/orchestration/runtime_filter_delivery.cpp15#include "orchestration/runtime_filter_delivery.h"COMMENT
MEDIUMbe/src/orchestration/runtime_filter_delivery.cpp34#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/orchestration/routine_load_task_executor.cpp35#include "orchestration/routine_load_task_executor.h"COMMENT
MEDIUMbe/src/orchestration/routine_load_task_executor.cpp52#include "orchestration/stream_load_orchestrator.h"COMMENT
MEDIUMbe/src/service/backend_base.cpp44#include "orchestration/external_scan_orchestrator.h"COMMENT
MEDIUMbe/src/service/backend_base.cpp45#include "orchestration/fragment_mgr.h"COMMENT
MEDIUMbe/src/service/backend_base.cpp46#include "orchestration/orchestration_env.h"COMMENT
MEDIUMbe/src/service/backend_base.cpp47#include "orchestration/routine_load_task_executor.h"COMMENT
MEDIUMbe/src/service/internal_service.cpp86#include "orchestration/fragment_executor.h"COMMENT
7 more matches not shown…
Self-Referential Comments53 hits · 164 pts
SeverityFileLineSnippetContext
MEDIUMpackaging/debian/build.sh195 # Define the key and path based on componentCOMMENT
MEDIUMbe/test/exec/test_data/parquet_data/variant_gen.py47# Create a table with variant and insert various types into itCOMMENT
MEDIUM…/test/exec/test_data/parquet_data/generate_datetime.py22# Create a sample dataframe with one column in datetime typeCOMMENT
MEDIUM…/test/exec/test_data/orc_scanner/generate_timestamp.py22# Create a data frameCOMMENT
MEDIUMbe/test/exec/test_data/orc_scanner/generate_compound.py19# Define the ORC type for the columnsCOMMENT
MEDIUM…/datadog_checks/starrocks_fe/config_models/instance.py5# This file is autogenerated.COMMENT
MEDIUM…/datadog_checks/starrocks_fe/config_models/__init__.py5# This file is autogenerated.COMMENT
MEDIUM…fe/datadog_checks/starrocks_fe/config_models/shared.py5# This file is autogenerated.COMMENT
MEDIUM…/datadog_checks/starrocks_fe/config_models/defaults.py5# This file is autogenerated.COMMENT
MEDIUM…/datadog_checks/starrocks_be/config_models/instance.py5# This file is autogenerated.COMMENT
MEDIUM…/datadog_checks/starrocks_be/config_models/__init__.py5# This file is autogenerated.COMMENT
MEDIUM…be/datadog_checks/starrocks_be/config_models/shared.py5# This file is autogenerated.COMMENT
MEDIUM…/datadog_checks/starrocks_be/config_models/defaults.py5# This file is autogenerated.COMMENT
MEDIUM…-client/test/integration/test_reflection_data_types.py508 # Create a comprehensive table with various typesCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py100 # Create a simple viewCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py134 # Create a view with commentCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py179 # Create a view with security invokerCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py219 # Create a view with explicit column names and commentsCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py278 # Create a complex viewCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py336 # Create a view with window functionsCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py383 # Create a view with CTECOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py431 # Create a view with special charactersCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py688 # Create a comprehensive view with all featuresSTRING
MEDIUM…hon-client/test/integration/test_autogenerate_views.py992 # Create a table in database (with StarRocks-specific properties)COMMENT
MEDIUM…ython-client/test/integration/test_reflection_table.py37 # Define a table with various StarRocks-specific optionsCOMMENT
MEDIUM…ython-client/test/integration/test_reflection_table.py59 # Create the table in the test databaseCOMMENT
MEDIUM…hon-client/test/integration/test_reflection_columns.py67 # Create a map of column name to its reflected info dictCOMMENT
MEDIUM…hon-client/test/integration/test_reflection_columns.py72 # Create a map of column name to its reflected info dictCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py131 # Create a simple materialized view using the users tableCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py166 # Create a materialized view with propertiesCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py221 # Create a materialized view with commentCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py252 # Create a materialized view with aggregationCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py298 # Create a materialized view with window functionsCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py341 # Create a materialized view with CTECOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py385 # Create a materialized view with special charactersCOMMENT
MEDIUM…s-python-client/test/integration/test_reflection_mv.py522 # Create a materialized view with complex joinsCOMMENT
MEDIUMcontrib/starrocks-python-client/test/system/conftest.py114 # Create the versions directoryCOMMENT
MEDIUM…arrocks-python-client/test/system/test_mv_lifecycle.py34 # Create a simple base table for MV to referenceCOMMENT
MEDIUM…arrocks-python-client/test/system/test_mv_lifecycle.py58 # Create a table to support MV definitionCOMMENT
MEDIUM…arrocks-python-client/test/system/test_mv_lifecycle.py213 # Create an object in the ignored schema to ensure it's not picked up for a DROP operationCOMMENT
MEDIUM…starrocks-python-client/test/sql/test_compiler_view.py48 # Create a source tableCOMMENT
MEDIUM…starrocks-python-client/test/sql/test_compiler_view.py54 # Create a select statementCOMMENT
MEDIUM…trib/starrocks-python-client/examples/view_examples.py57 # Create a viewCOMMENT
MEDIUM…trib/starrocks-python-client/examples/view_examples.py70 # Create a materialized viewCOMMENT
MEDIUM…trib/starrocks-python-client/examples/view_examples.py120 # Define a view using ViewMixinCOMMENT
MEDIUM…trib/starrocks-python-client/examples/view_examples.py146 # Define a materialized view using MaterializedViewMixinCOMMENT
MEDIUM…trib/starrocks-python-client/examples/view_examples.py205 # Create a simple viewCOMMENT
MEDIUM…ib/starrocks-python-client/starrocks/alembic/toimpl.py104 # Create a minimal MaterializedView object for DROP operationCOMMENT
MEDIUM…b/starrocks-python-client/starrocks/alembic/compare.py413 # Create a View object (not Table) since we know it's a viewCOMMENT
MEDIUM…b/starrocks-python-client/starrocks/alembic/compare.py436 # Create a View object (not Table) since we know it's a viewCOMMENT
MEDIUM…b/starrocks-python-client/starrocks/alembic/compare.py911 # Create a MaterializedView object (not Table) since we know it's a materialized viewCOMMENT
MEDIUM…b/starrocks-python-client/starrocks/alembic/compare.py934 # Create a MaterializedView object (not Table) since we know it's a materialized viewCOMMENT
MEDIUMthirdparty/build-thirdparty.sh1044 # Create a mapping file with '<old_sym> <suffixed_sym>' on each line.COMMENT
Unused Imports140 hits · 124 pts
SeverityFileLineSnippetContext
LOWnix/generate-thirdparty-archives.py20CODE
LOWbe/extension/python-udf/src/flight_server.py22CODE
LOWbe/test/exec/test_data/parquet_data/issue_16375.py15CODE
LOWbe/test/exec/test_data/parquet_data/generate_null.py15CODE
LOWbe/test/exec/test_data/parquet_data/generate.py15CODE
LOWbe/test/exec/test_data/parquet_data/generate_nested.py16CODE
LOWbe/test/exec/test_data/parquet_data/issue_17693.py15CODE
LOWtest/test_sql_cases.py30CODE
LOWtest/test_sql_cases.py34CODE
LOWtest/test_sql_cases.py43CODE
LOWtest/tag_mac_tests.py14CODE
LOWtest/tag_mac_tests.py19CODE
LOWtest/tag_mac_tests.py19CODE
LOWtest/lib/choose_cases.py30CODE
LOWtest/lib/choose_cases.py39CODE
LOWtest/lib/trino_lib.py20CODE
LOWtest/lib/connection_base_lib.py21CODE
LOWtest/lib/spark_lib.py20CODE
LOWtest/lib/github_issue.py14CODE
LOWtest/lib/hive_lib.py20CODE
LOWtest/lib/sr_sql_lib.py34CODE
LOWtest/lib/sr_sql_lib.py36CODE
LOWtest/lib/sr_sql_lib.py37CODE
LOWtest/lib/sr_sql_lib.py40CODE
LOWtest/lib/sr_sql_lib.py49CODE
LOWtest/lib/sr_sql_lib.py62CODE
LOWtest/lib/sr_sql_lib.py63CODE
LOWtest/lib/sr_sql_lib.py77CODE
LOWdocs/scripts/extract_sql_samples.py33CODE
LOW…r/starrocks_fe/datadog_checks/starrocks_fe/__init__.py4CODE
LOW…r/starrocks_fe/datadog_checks/starrocks_fe/__init__.py5CODE
LOW…/datadog_checks/starrocks_fe/config_models/instance.py11CODE
LOW…fe/datadog_checks/starrocks_fe/config_models/shared.py11CODE
LOW…adog-connector/starrocks_fe/tests/test_starrocks_fe.py5CODE
LOW…adog-connector/starrocks_fe/tests/test_starrocks_fe.py5CODE
LOW…adog-connector/starrocks_fe/tests/test_starrocks_fe.py5CODE
LOW…adog-connector/starrocks_fe/tests/test_starrocks_fe.py7CODE
LOW…adog-connector/starrocks_fe/tests/test_starrocks_fe.py8CODE
LOW…r/starrocks_be/datadog_checks/starrocks_be/__init__.py4CODE
LOW…r/starrocks_be/datadog_checks/starrocks_be/__init__.py5CODE
LOW…/datadog_checks/starrocks_be/config_models/instance.py11CODE
LOW…be/datadog_checks/starrocks_be/config_models/shared.py11CODE
LOW…adog-connector/starrocks_be/tests/test_starrocks_be.py5CODE
LOW…adog-connector/starrocks_be/tests/test_starrocks_be.py5CODE
LOW…adog-connector/starrocks_be/tests/test_starrocks_be.py5CODE
LOW…adog-connector/starrocks_be/tests/test_starrocks_be.py7CODE
LOW…adog-connector/starrocks_be/tests/test_starrocks_be.py8CODE
LOWcontrib/starrocks-python-client/test/test_suite.py40CODE
LOW…n-client/test/integration/test_autogenerate_columns.py15CODE
LOW…rrocks-python-client/test/integration/templates/env.py19CODE
LOWcontrib/starrocks-python-client/test/system/conftest.py15CODE
LOW…ocks-python-client/test/system/test_table_lifecycle.py16CODE
LOW…s-python-client/test/sql/test_compiler_alter_column.py33CODE
LOW…trib/starrocks-python-client/examples/view_examples.py21CODE
LOW…trib/starrocks-python-client/examples/view_examples.py21CODE
LOW…trib/starrocks-python-client/examples/view_examples.py26CODE
LOW…trib/starrocks-python-client/examples/view_examples.py26CODE
LOW…trib/starrocks-python-client/examples/view_examples.py201CODE
LOW…trib/starrocks-python-client/examples/view_examples.py201CODE
LOWcontrib/starrocks-python-client/starrocks/asyncmy.py15CODE
80 more matches not shown…
AI Slop Vocabulary42 hits · 118 pts
SeverityFileLineSnippetContext
MEDIUMbe/test/storage/lake/condition_update_test.cpp722// translation units. Match by string value so the lookup is robust against the compiler'sCOMMENT
MEDIUMbe/test/storage/lake/schema_change_test.cpp2985 // and may fail with NotFound; allow either path so the test is robust.COMMENT
MEDIUMbe/test/storage/lake/persistent_index_sstable_test.cpp1018// instead so the test is robust against the compiler's string pooling decisions.COMMENT
MEDIUMbe/test/fs_ext/hdfs_filesystem_test.cpp56 // use file:// as the fs scheme, which will leverage Hadoop LocalFileSystem for testingCOMMENT
MEDIUMbe/src/compute_env/query/scan_conjuncts_manager.h151 // If Type is OR, to convert OR to AND to utilize existing parsing logic, perform the `Negative` operationCOMMENT
MEDIUMbe/src/storage_primitive/tablet_column_util.cpp205 // only when `default_value` is not set to make schema conversion robust.COMMENT
MEDIUMbe/src/column/variant_column.h77 // schema-aware shredded row encoding, but it is robust for schema-less key restoration.COMMENT
MEDIUMbe/src/storage/extends_column_utils.cpp142 // Record root column unique id to make it robust across schema changesCOMMENT
MEDIUMbe/src/storage/rowset/segment_options.h145 // 2. Partial-Sorted block: leverage data ordering to improve the evennessCOMMENT
MEDIUMbe/src/storage/rowset/segment.cpp554 // Resolve the root column by unique id to be robust across schema changesCOMMENT
MEDIUMbe/src/storage/lake/tablet_manager.cpp1339 // 2. leverage `indexId` to lookup the global_schema from cache and if missing from file.COMMENT
MEDIUM…rc/storage/lake/tablet_parallel_compaction_manager.cpp1351 // path (try_replace), which is more robust and performant.COMMENT
MEDIUMbe/src/storage/base/short_key_index.h85// 1. If this can leverage binary page to save key and offset dataCOMMENT
MEDIUMbe/src/exprs/agg/avg.h224 // But for robust, we add this check.COMMENT
MEDIUMbe/src/common/system/cpu_info.cpp156 // TODO: is there a more robust way to do this, such asCOMMENT
MEDIUMbe/src/connector/common/partition_chunk_writer.h132 // TODO: Refactor the file writer and output stream to make them more robust and user-friendly.COMMENT
MEDIUMbe/src/base/phmap/phmap_config.h352// are not defined as such in any file). To utilize the followingCOMMENT
MEDIUMbe/src/base/process/lite_exec.cpp47 // make read end non-blocking for robust poll/readCOMMENT
MEDIUMbe/src/base/utility/arrow_utils.h27// to share data with others we can leverage Arrow's ability.COMMENT
MEDIUMwebroot/static/jquery.js10821// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUM…er/reshard/presplit/OrcStripeStatisticsReaderTest.java512 // Whole-second max; assert the second prefix to stay robust to a sub-millisecond statsCOMMENT
MEDIUM…er/reshard/presplit/OrcStripeStatisticsReaderTest.java716 // Whole-second max; assert the second prefix to stay robust to a sub-millisecond statsCOMMENT
MEDIUM…/src/main/java/com/starrocks/planner/OlapScanNode.java751 // TODO: Implement a more robust strategy for tablet affinity.COMMENT
MEDIUM…ore/src/main/java/com/starrocks/catalog/OlapTable.java264 // We can utilize a monotonically increasing IndexId,COMMENT
MEDIUM…/src/main/java/com/starrocks/lake/LakeTableHelper.java71 // 2. to utilize the recycle bin's delete retry capability to perform retries.COMMENT
MEDIUM…c/main/java/com/starrocks/lake/TabletRepairHelper.java627 // Larger batches leverage the BE-side file existence cache to reduce object storage accesses.COMMENT
MEDIUM…ava/com/starrocks/statistic/StatisticsMetaManager.java529 // TODO(stephen): This check is not robust because we can't get job handle here.COMMENT
MEDIUM…/sql/optimizer/statistics/StatisticsEstimateUtils.java216 // Primary estimation path: utilize multi-column statistics when availableCOMMENT
MEDIUMdocs/lychee.toml24# Number of threads to utilize.COMMENT
MEDIUMdocs/zh/lychee.toml26# Number of threads to utilize.COMMENT
MEDIUM…-client/test/integration/test_reflection_data_types.py508 # Create a comprehensive table with various typesCOMMENT
MEDIUM…python-client/test/integration/test_reflection_view.py688 # Create a comprehensive view with all featuresSTRING
MEDIUMcontrib/starrocks-python-client/test/system/conftest.py184 # Create and attach the harnessSTRING
MEDIUM…ocks-python-client/test/system/test_table_lifecycle.py207 # Normalize script content for robust comparisonCOMMENT
MEDIUM…ocks-python-client/test/system/test_table_lifecycle.py237 # 1. Define the comprehensive modelCOMMENT
MEDIUM…ocks-python-client/test/system/test_table_lifecycle.py728 # alembic_env.harness.downgrade("-1")COMMENT
MEDIUM…ocks-python-client/test/system/test_table_lifecycle.py299 """Tests comprehensive column alterations: ADD, DROP, ALTER.STRING
MEDIUM…arrocks-python-client/test/system/test_mv_lifecycle.py56 """Tests creating a comprehensive MV with all attributes."""STRING
MEDIUM…rocks-python-client/test/system/test_view_lifecycle.py722 # We normalize both for a robust comparisonCOMMENT
MEDIUMcontrib/starrocks-python-client/starrocks/reflection.py434 # Find the end of the RANGE/LIST(...) part using robust parenthesis matchingCOMMENT
LOWcontrib/starrocks-python-client/starrocks/sql/dml.py101 # or a string of these expressions that we just useCOMMENT
MEDIUMconf/hadoop_env.sh31# local hadoop configuration is usually well-tailored and optimized, we'd better to leverage that.COMMENT
Excessive Try-Catch Wrapping64 hits · 60 pts
SeverityFileLineSnippetContext
LOWbe/extension/python-udf/src/flight_server.py41 except Exception as e:CODE
LOWbe/extension/python-udf/src/flight_server.py51 except Exception as e:CODE
LOWtest/run.py123 except Exception as e:CODE
LOWtest/test_sql_cases.py147 except Exception as e:CODE
LOWtest/test_sql_cases.py149 except Exception as e:CODE
LOWtest/tag_mac_tests.py57 except Exception as e:CODE
LOWtest/tag_mac_tests.py72 except Exception as e:CODE
LOWtest/tag_mac_tests.py124 except Exception as e:CODE
LOWtest/tag_mac_tests.py162 except Exception as e:CODE
LOWtest/lib/choose_cases.py471 except Exception:CODE
LOWtest/lib/choose_cases.py595 except Exception:CODE
LOWtest/lib/github_issue.py43 except Exception as e:CODE
LOWtest/lib/sql_annotation.py52 except Exception as e:CODE
LOWtest/lib/sql_annotation.py80 except Exception as e:CODE
MEDIUMtest/lib/sr_sql_lib.py856def conn_execute_sql(self, conn, sql):CODE
LOWtest/lib/sr_sql_lib.py111 except Exception:CODE
LOWtest/lib/sr_sql_lib.py500 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py828 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py846 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py874 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1116 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1171 except Exception:CODE
LOWtest/lib/sr_sql_lib.py1348 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1441 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1453 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1488 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py1520 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py2030 except Exception as e:CODE
LOWtest/lib/sr_sql_lib.py3068 except Exception:CODE
LOWtest/lib/sr_sql_lib.py3264 except Exception:CODE
LOWdocs/ja/unloading/arrow_flight.md270 except Exception as e:CODE
LOWdocs/ja/unloading/arrow_flight.md1110 except Exception as e:STRING
LOWdocs/zh/unloading/arrow_flight.md270 except Exception as e:CODE
LOWdocs/zh/unloading/arrow_flight.md1110 except Exception as e:STRING
LOWdocs/en/unloading/arrow_flight.md270 except Exception as e:CODE
LOWdocs/en/unloading/arrow_flight.md1112 except Exception as e:STRING
LOWcontrib/starrocks-python-client/test/conftest_sr.py42 except Exception as exc:CODE
LOW…python-client/test/integration/test_reflection_view.py551 except Exception:STRING
LOW…ient/test/integration/test_autogenerate_alter_table.py91 except Exception as e:CODE
LOW…ient/test/integration/test_autogenerate_alter_table.py106 except Exception:CODE
MEDIUMcontrib/starrocks-python-client/starrocks/dialect.py1750def has_table(CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py887 except Exception:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1667 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1773 except Exception:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1800 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1822 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1865 except Exception:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1895 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1906 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1913 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1520 except Exception as e:STRING
LOWcontrib/starrocks-python-client/starrocks/dialect.py1638 except Exception as e:STRING
LOWcontrib/starrocks-python-client/starrocks/reflection.py342 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/reflection.py704 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/reflection.py759 except Exception as e:CODE
LOWcontrib/starrocks-python-client/starrocks/provision.py63 except Exception:CODE
LOW.github/workflows/ci-doc-needs-update.yml168 except Exception:CODE
LOWbuild-support/run_clang_format.py101 except Exception:CODE
MEDIUMbuild-support/sync_pom_to_gradle.py244 print(f"Error reading gradle file {gradle_file}: {e}", file=sys.stderr)CODE
MEDIUMbuild-support/sync_pom_to_gradle.py294 print(f"Error writing to gradle file {gradle_file}: {e}", file=sys.stderr)CODE
4 more matches not shown…
Deep Nesting71 hits · 57 pts
SeverityFileLineSnippetContext
LOWtools/query-trace-thread-pov.py44CODE
LOWtools/starrocks-diagnostics/starrocks-diagnostics.py679CODE
LOWnix/generate-thirdparty-archives.py186CODE
LOWtest/test_sql_cases.py135CODE
LOWtest/test_sql_cases.py179CODE
LOWtest/test_sql_cases.py260CODE
LOWtest/test_sql_cases.py306CODE
LOWtest/test_sql_cases.py420CODE
LOWtest/tag_mac_tests.py38CODE
LOWtest/lib/choose_cases.py112CODE
LOWtest/lib/choose_cases.py166CODE
LOWtest/lib/choose_cases.py250CODE
LOWtest/lib/choose_cases.py311CODE
LOWtest/lib/choose_cases.py314CODE
LOWtest/lib/mysql_lib.py64CODE
LOWtest/lib/data_insert_lib.py36CODE
LOWtest/lib/sr_sql_lib.py462CODE
LOWtest/lib/sr_sql_lib.py792CODE
LOWtest/lib/sr_sql_lib.py920CODE
LOWtest/lib/sr_sql_lib.py1023CODE
LOWtest/lib/sr_sql_lib.py1132CODE
LOWtest/lib/sr_sql_lib.py1192CODE
LOWtest/lib/sr_sql_lib.py1319CODE
LOWtest/lib/sr_sql_lib.py1389CODE
LOWtest/lib/sr_sql_lib.py1776CODE
LOWtest/lib/sr_sql_lib.py2312CODE
LOWtest/lib/sr_sql_lib.py2402CODE
LOWtest/lib/sr_sql_lib.py3106CODE
LOWtest/lib/sr_sql_lib.py3243CODE
LOWtest/lib/sr_sql_lib.py3623CODE
LOWtest/lib/sr_sql_lib.py2317CODE
LOWtest/lib/arrow_sql_lib.py211CODE
LOWtest/lib/arrow_sql_lib.py236CODE
LOWtest/lib/arrow_sql_lib.py281CODE
LOWtest/lib/arrow_sql_lib.py327CODE
LOWtest/lib/arrow_sql_lib.py109CODE
LOWdocs/scripts/extract_sql_samples.py107CODE
LOW…arrocks-python-client/test/unit/test_compare_tables.py49CODE
LOW…arrocks-python-client/test/unit/test_compare_tables.py1474CODE
LOW…arrocks-python-client/test/unit/test_compare_tables.py1542CODE
LOW…hon-client/test/integration/test_autogenerate_views.py827CODE
LOW…ks-python-client/test/sql/test_compiler_alter_table.py181CODE
LOW…ks-python-client/test/sql/test_compiler_alter_table.py611CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py649CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py786CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py1692CODE
LOWcontrib/starrocks-python-client/starrocks/reflection.py407CODE
LOW…trib/starrocks-python-client/starrocks/common/utils.py314CODE
LOW…trib/starrocks-python-client/starrocks/common/utils.py138CODE
LOW…b/starrocks-python-client/starrocks/alembic/compare.py200CODE
LOW…b/starrocks-python-client/starrocks/alembic/compare.py1738CODE
LOW…b/starrocks-python-client/starrocks/alembic/compare.py215CODE
LOW…b/starrocks-python-client/starrocks/alembic/compare.py217CODE
LOWcontrib/starrocks-python-client/starrocks/sql/schema.py254CODE
LOWgensrc/script/gen_functions.py195CODE
LOWbuild-support/run_clang_format.py50CODE
LOWbuild-support/check_be_module_boundaries.py194CODE
LOWbuild-support/check_be_module_boundaries.py389CODE
LOWbuild-support/sync_pom_to_gradle.py166CODE
LOWbuild-support/sync_pom_to_gradle.py299CODE
11 more matches not shown…
Cross-Language Confusion7 hits · 45 pts
SeverityFileLineSnippetContext
HIGHbe/test/exec/test_data/parquet_data/variant_gen.py96INSERT INTO T VALUES ('object_primitive', parse_json('{"int_field" : 1, "double_field": 1.23456789, "boolean_true_field"CODE
HIGHbe/test/exec/test_data/parquet_data/variant_gen.py112INSERT INTO T VALUES ('array_nested', parse_json('[ { "id": 1, "thing": { "names": ["Contrarian", "Spider"] } }, null, {CODE
HIGHtest/lib/data_insert_lib.py62 values += "null, "CODE
HIGH…rrocks-python-client/test/unit/test_structured_type.py198 assert _process(datatype.ARRAY(datatype.INTEGER), "[1,null,3]") == [1, None, 3]CODE
HIGH…rrocks-python-client/test/unit/test_structured_type.py240 result = _process(datatype.MAP(datatype.VARCHAR(10), datatype.INTEGER), '{"a":null}')CODE
HIGH…rrocks-python-client/test/unit/test_structured_type.py275 assert _process(t, '{"name":null,"age":30}') == {"name": None, "age": 30}CODE
HIGHbuild-support/test_check_be_module_boundaries.py170 'if git cat-file -e "${{ steps.merge_base.outputs.base }}:build-support/be_module_boundary_baseline.json" 2>CODE
Redundant / Tautological Comments28 hits · 41 pts
SeverityFileLineSnippetContext
LOWrun-fe-ut.sh154 # Check if we're on Linux platformCOMMENT
LOWrun-fe-ut.sh156 # Check if async profiler library existsCOMMENT
LOWbuild-in-docker.sh154# Check if Docker is availableCOMMENT
LOWbuild-in-docker.sh220# Check if protobuf version mismatch existsCOMMENT
LOWtools/json_data_generator/test_starrocks_json.sh243 # Check if import was successfulCOMMENT
LOWdocker/dockerfiles/be/upload_coredump.sh61 # Check if file size is greater than 1TBCOMMENT
LOWdocker/dockerfiles/be/upload_coredump.sh79 # Check if the creation time of the file is more than 10 minutes later than the file handles in the previous loop iterCOMMENT
LOWbe/test/exec/test_data/json_scanner/create_gzip.sh8# Check if gzip is availableCOMMENT
LOWtest/test_sql_cases.py93 # Check if case has @arrow_flight_sql tag and setup connection accordinglyCOMMENT
LOWtest/tag_mac_tests.py111 # Check if test passedCOMMENT
LOWtest/tag_mac_tests.py140 # Check if first line is name commentCOMMENT
LOWtest/tag_mac_tests.py201 # Check if matches filterCOMMENT
LOWtest/tag_mac_tests.py207 # Check if already has @mac tagCOMMENT
LOWtest/sql/test_optimize_table/T/insert.sh3# Check if the required number of arguments is providedCOMMENT
LOWbin/collect_be_profile.sh94# Check if a directory or file is writable, exit if notCOMMENT
LOWbin/collect_be_profile.sh113 # Check if directory existsCOMMENT
LOWbin/collect_be_profile.sh238# Check if BRPC server is accessibleCOMMENT
LOWbin/collect_be_profile.sh293 # Check if curl command succeedsCOMMENT
LOWbin/collect_be_profile.sh299 # Check if file was created and has contentCOMMENT
LOWbin/collect_be_profile.sh333 # Check if file is too oldCOMMENT
LOWbin/collect_be_profile.sh404 # Check if BRPC server is still accessibleCOMMENT
LOWbin/stop_be.sh94 # Check if the process is actually a profile collection daemonCOMMENT
LOW…ient/test/integration/test_autogenerate_alter_table.py583 # Check if properties are in the expected locationSTRING
LOW…ib/starrocks-python-client/starrocks/alembic/render.py76 # Check if the object is a user-defined type in our custom moduleCOMMENT
LOW…b/starrocks-python-client/starrocks/alembic/compare.py1219 # Check if we're comparing View/MaterializedView objectsCOMMENT
LOW…b/starrocks-python-client/starrocks/alembic/compare.py1480 # Check if conn_value starts with the default_value, ignoring case and spacesCOMMENT
LOWgensrc/script/gen_functions.py244 # Check if function has named argumentsCOMMENT
LOWbuild-support/extract_and_diff_params.py316 # Check if @Deprecated appears on the immediately preceding non-blank lineCOMMENT
Modern Structural Boilerplate37 hits · 38 pts
SeverityFileLineSnippetContext
LOW…r/starrocks_fe/datadog_checks/starrocks_fe/__init__.py7__all__ = ['__version__', 'StarrocksFeCheck']CODE
LOW…r/starrocks_be/datadog_checks/starrocks_be/__init__.py7__all__ = ['__version__', 'StarrocksBeCheck']CODE
LOWcontrib/starrocks-python-client/test/test_suite.py59logger = logging.getLogger(__name__)CODE
LOW…ntrib/starrocks-python-client/test/unit/test_parser.py33logger = logging.getLogger(__name__)CODE
LOW…starrocks-python-client/test/unit/test_render_views.py33logger = logging.getLogger(__name__)CODE
LOW…rrocks-python-client/test/unit/test_compare_columns.py29logger = logging.getLogger(__name__)CODE
LOW…python-client/test/unit/test_alter_table_operations.py29logger = logging.getLogger(__name__)CODE
LOW…arrocks-python-client/test/unit/test_compare_tables.py40logger = logging.getLogger(__name__)CODE
LOW…ython-client/test/integration/test_autogenerate_mvs.py33logger = logging.getLogger(__name__)CODE
LOW…-client/test/integration/test_reflection_data_types.py59logger = logging.getLogger(__name__)CODE
LOW…python-client/test/integration/test_reflection_view.py27logger = logging.getLogger(__name__)CODE
LOW…ython-client/test/integration/test_result_processor.py29logger = logging.getLogger(__name__)CODE
LOW…hon-client/test/integration/test_autogenerate_views.py34logger = logging.getLogger(__name__)CODE
LOW…ient/test/integration/test_autogenerate_alter_table.py55logger = logging.getLogger(__name__)CODE
LOW…ython-client/test/integration/test_reflection_table.py25logger = logging.getLogger(__name__)CODE
LOW…n-client/test/integration/test_autogenerate_columns.py35logger = logging.getLogger(__name__)CODE
LOW…hon-client/test/integration/test_reflection_columns.py29logger = logging.getLogger(__name__)CODE
LOW…s-python-client/test/integration/test_reflection_mv.py33logger = logging.getLogger(__name__)CODE
LOWcontrib/starrocks-python-client/test/system/conftest.py31logger = logging.getLogger(__name__)CODE
LOW…ocks-python-client/test/system/test_table_lifecycle.py56logger = logging.getLogger(__name__)CODE
LOW…arrocks-python-client/test/system/test_mv_lifecycle.py28logger = logging.getLogger(__name__)CODE
LOW…rocks-python-client/test/system/test_view_lifecycle.py34logger = logging.getLogger(__name__)CODE
LOW…ocks-python-client/test/system/test_type_comparison.py37logger = logging.getLogger(__name__)CODE
LOW…b/starrocks-python-client/test/system/templates/env.py45logger = logging.getLogger(__name__)CODE
LOW…ks-python-client/test/sql/test_compiler_alter_table.py42logger = logging.getLogger(__name__)CODE
LOW…s-python-client/test/sql/test_compiler_alter_column.py42logger = logging.getLogger(__name__)CODE
LOW…b/starrocks-python-client/test/sql/test_compiler_mv.py27logger = logging.getLogger(__name__)CODE
LOWcontrib/starrocks-python-client/starrocks/dialect.py137logger = logging.getLogger(__name__)CODE
LOWcontrib/starrocks-python-client/starrocks/reflection.py55logger = logging.getLogger(__name__)CODE
LOW…b/starrocks-python-client/starrocks/drivers/parsers.py29logger = logging.getLogger(__name__)CODE
LOW…rib/starrocks-python-client/starrocks/common/params.py23logger = logging.getLogger(__name__)CODE
LOW…/starrocks-python-client/starrocks/alembic/__init__.py21__all__ = [CODE
LOW…ntrib/starrocks-python-client/starrocks/alembic/ops.py30logger = logging.getLogger(__name__)CODE
LOW…starrocks-python-client/starrocks/alembic/starrocks.py26logger = logging.getLogger(__name__)CODE
LOW…ib/starrocks-python-client/starrocks/alembic/toimpl.py47logger = logging.getLogger(__name__)CODE
LOW…b/starrocks-python-client/starrocks/alembic/compare.py67logger = logging.getLogger(__name__)CODE
LOWcontrib/starrocks-python-client/starrocks/sql/schema.py27logger = logging.getLogger(__name__)CODE
Docstring Block Structure7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHcontrib/starrocks-python-client/starrocks/dialect.py1333Get the StarRocks system run_mode (shared_data or shared_nothing). Args: connection: The SQLAlchemySTRING
HIGH…b/starrocks-python-client/starrocks/alembic/compare.py686 Compare view security attribute and update AlterViewOp if changed. Args: alter_view_op: AlterViewOp obSTRING
HIGH…b/starrocks-python-client/starrocks/alembic/compare.py1435Get table key type. like 'PRIMARY KEY (id, name)' The key in table_attributes is like 'PRIMARY_KEY' without prefix 'STRING
HIGH…b/starrocks-python-client/starrocks/alembic/compare.py1883 Generic comparison logic for a single table attribute. Args: table_name: Table name for logging contexSTRING
HIGHcontrib/starrocks-python-client/starrocks/sql/schema.py91 Create a View object. Args: name: Name of the view metadata: MetaData object tSTRING
HIGHcontrib/starrocks-python-client/starrocks/sql/schema.py220 Process view definition and return view_info dict. This is a helper method to avoid code duplication bSTRING
HIGHcontrib/starrocks-python-client/starrocks/sql/schema.py255 Convert simplified column definitions to Column objects. Args: columns: List of column defSTRING
Fake / Example Data23 hits · 26 pts
SeverityFileLineSnippetContext
LOW…nector/hive/scanner/test_data/2_cols_2_rows_large.json1{"c1": 1001, "c2": "In the context of big data testing with Iceberg and semi-structured data, this string is designed toCODE
LOW…nector/hive/scanner/test_data/2_cols_2_rows_large.json1{"c1": 1001, "c2": "In the context of big data testing with Iceberg and semi-structured data, this string is designed toCODE
LOWbe/src/formats/json/map_column.cpp46 auto dummy_json = simdjson::padded_string(R"({"dummy_key": ")" + std::string(field_name_str) + R"("})");CODE
LOWbe/src/formats/json/map_column.cpp49 simdjson::ondemand::value field_key = obj.find_field("dummy_key");CODE
LOWbe/src/storage_primitive/column_predicate_cmp.cpp1158 os << "placeholder";CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp43 TUniqueId dummy_id;CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp44 dummy_id.hi = 0;CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp45 dummy_id.lo = 0;CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp47 params.fragment_instance_id = dummy_id;CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp48 params.query_id = dummy_id;CODE
LOWbe/src/data_workflows/load/push_broker_reader.cpp69 _runtime_state->init_mem_trackers(dummy_id, ExecEnv::GetInstance()->query_pool_mem_tracker());CODE
LOWwebroot/static/jquery.dataTables.js4204 .attr( 'placeholder', language.sSearchPlaceholder )CODE
LOWwebroot/static/jquery.dataTables.js12481 * // { "phone": 5552368, "phone_filter": "5552368 555-2368", "phone_display": "555-2368" }COMMENT
LOW…ava/com/starrocks/service/FrontendServiceImplTest.java1873 testRequestMergeCommitBase(request -> request.setUser("fake_user"),CODE
LOWdocs/ja/using_starrocks/skew_join_v2.md98 (1001, 'John Doe', 'New York'),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md103 (1, 'John Doe', 5000),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md154 (1,'Acme Corporation','John Doe'),CODE
LOWdocs/zh/using_starrocks/skew_join_v2.md98 (1001, 'John Doe', 'New York'),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md101 (1, 'John Doe', 5000),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md152 (1,'Acme Corporation','John Doe'),CODE
LOWdocs/en/using_starrocks/skew_join_v2.md98 (1001, 'John Doe', 'New York'),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md103 (1, 'John Doe', 5000),CODE
LOW…rence/sql-statements/table_bucket_part_index/UPDATE.md154 (1,'Acme Corporation','John Doe'),CODE
Example Usage Blocks11 hits · 16 pts
SeverityFileLineSnippetContext
LOWbuild.sh21# Usage:COMMENT
LOWbuild-in-docker.sh21# Usage:COMMENT
LOWbe/test/testutil/desc_tbl_builder.h54// Example usage:COMMENT
LOWbe/src/gutil/map_util.h782// Example usage:COMMENT
LOWbe/src/gutil/map_util.h795// Example usage:COMMENT
LOWbe/src/gutil/map_util.h829// Example usage:COMMENT
LOWbe/src/fs/output_stream_wrapper.h26// Example usage:COMMENT
LOWbe/src/base/string/slice.h344// Usage example:COMMENT
LOWbin/stop_be.sh21# Usage:COMMENT
LOWbin/stop_cn.sh21# Usage:COMMENT
LOW.claude/skills/release-notes/scripts/collect-prs.sh14# Usage:COMMENT
TODO Padding9 hits · 14 pts
SeverityFileLineSnippetContext
LOWbe/test/exec/join_hash_map_test.cpp797 //TODO: implementCOMMENT
LOWbe/src/formats/parquet/scalar_column_reader.cpp438 //TODO: implement parquet_bloom_filter(bloom_filter, col_type, parquet_logical_type, parquet_physical_tyCOMMENT
LOWbe/src/storage/tablet_schema.cpp423 // TODO: implement multi-column indexCOMMENT
LOWbe/src/exprs/expr.cpp224 // TODO: implement partial debug string for member varsCOMMENT
LOWbe/src/exprs/udf/java/java_udf_context.h82// TODO: implement a Java binder to avoid using this classCOMMENT
LOW…ks/connector/delta/ScalarOperationToDeltaLakeExpr.java117 // TODO: implementCOMMENT
LOW…onnector/partitiontraits/DeltaLakePartitionTraits.java40 // TODO: implementCOMMENT
LOW…cks/connector/partitiontraits/KuduPartitionTraits.java38 // TODO: implementCOMMENT
LOW…ain/java/com/starrocks/sql/optimizer/rule/RuleSet.java512 // TODO: implement merge joinCOMMENT
Slop Phrases4 hits · 9 pts
SeverityFileLineSnippetContext
LOWbe/src/storage_primitive/tablet_column.h56 // To developers: if you changed the typedefs, don't forget to reorder class members toCOMMENT
LOWbe/src/column/column_helper.h656 // Don't forget to resize the result constant columns if necessary.COMMENT
MEDIUMbe/src/base/time/time.h132/// yyyy-MM-dd HH:mm:SS[.ms[us[ns]]. It's worth noting that if the precision specifiedCOMMENT
MEDIUMthirdparty/build-thirdparty.sh1271 # only build s3, s3-crt, transfer manager, identity-management and sts, you can add more components if you want.COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH.github/workflows/ci-doc-needs-update.yml30 # the "I have added documentation" box. Doc PRs themselves are excluded.COMMENT
AI Structural Patterns9 hits · 7 pts
SeverityFileLineSnippetContext
LOWbe/extension/python-udf/src/flight_server.py140CODE
LOWtest/lib/sr_sql_lib.py748CODE
LOWtest/lib/sr_sql_lib.py756CODE
LOWtest/lib/sr_sql_lib.py765CODE
LOWtest/lib/sr_sql_lib.py907CODE
LOWcontrib/starrocks-python-client/test/test_suite.py257CODE
LOW…ntrib/starrocks-python-client/starrocks/alembic/ops.py84CODE
LOW…ntrib/starrocks-python-client/starrocks/alembic/ops.py124CODE
LOWcontrib/starrocks-python-client/starrocks/sql/dml.py324CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/copilot-instructions.md243- `gensrc/` - Auto-generated code from IDL definitionsCODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…s-python-client/test/integration/test_reflection_mv.py108CODE
MEDIUM…s-python-client/test/integration/test_reflection_mv.py115CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwebroot/static/jquery.js4401function getData( data ) {CODE