AI Slop Code RIsk Monitor

apache/drill

Apache Drill is a distributed MPP query layer for self describing data

9.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/drill, a Java project with 2,026 GitHub stars. SynthScan examined 996,300 lines of code across 5798 source files, recording 1239 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 9.0 (Moderate pattern signal); it is not an authorship estimate.

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

9.0
Adjusted Signal
9.0
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
2.0K
Stars
Java
Language
996.3K
Lines of Code
5.8K
Files
1.2K
Pattern Hits
2026-10-12
Scan Date
0.16
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 1.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 35.0/100 · MEDIUM

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 37.6/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 899HIGH 0MEDIUM 31LOW 309

Directory Score Breakdown

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

Pattern Findings

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

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

Hallucination Indicators899 hits · 8528 pts
SeverityFileLineSnippetContext
CRITICAL…va/org/apache/drill/common/types/SchemaTypeProtos.java30 new org.apache.drill.common.types.SchemaTypeProtos.MajorType.MessageSchema();CODE
CRITICAL…va/org/apache/drill/common/types/SchemaTypeProtos.java32 new org.apache.drill.common.types.SchemaTypeProtos.MajorType.BuilderSchema();CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java59 return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldName(number);CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java63 return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldNumber(name);CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java71 return org.apache.drill.common.types.TypeProtos.MajorType.class.getSimpleName();CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java75 return org.apache.drill.common.types.TypeProtos.MajorType.class.getName();CODE
CRITICAL…va/org/apache/drill/common/types/SchemaTypeProtos.java92 builder.setMinorType(org.apache.drill.common.types.TypeProtos.MinorType.valueOf(input.readEnCODE
CRITICAL…va/org/apache/drill/common/types/SchemaTypeProtos.java95 builder.setMode(org.apache.drill.common.types.TypeProtos.DataMode.valueOf(input.readEnum()))CODE
CRITICAL…va/org/apache/drill/common/types/SchemaTypeProtos.java110 builder.addSubType(org.apache.drill.common.types.TypeProtos.MinorType.valueOf(input.readEnumCODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java123 return org.apache.drill.common.types.TypeProtos.MajorType.newBuilder();CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java127 return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldName(number);CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java131 return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldNumber(name);CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java139 return org.apache.drill.common.types.TypeProtos.MajorType.class.getSimpleName();CODE
CRITICAL⚡…va/org/apache/drill/common/types/SchemaTypeProtos.java143 return org.apache.drill.common.types.TypeProtos.MajorType.class.getName();CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java735 return org.apache.drill.common.types.TypeProtos.getDescriptor().getEnumTypes().get(0);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java864 return org.apache.drill.common.types.TypeProtos.getDescriptor().getEnumTypes().get(1);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1069 org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.MinorType.valCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1088 org.apache.drill.common.types.TypeProtos.DataMode result = org.apache.drill.common.types.TypeProtos.DataMode.valueCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1200 org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.MinCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1518 // Construct using org.apache.drill.common.types.TypeProtos.MajorType.newBuilder()COMMENT
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1556 return org.apache.drill.common.types.TypeProtos.MajorType.getDefaultInstance();CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1570 org.apache.drill.common.types.TypeProtos.MajorType result = new org.apache.drill.common.types.TypeProtos.MajorTyCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1650 if (other == org.apache.drill.common.types.TypeProtos.MajorType.getDefaultInstance()) return this;CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1708 org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1720 org.apache.drill.common.types.TypeProtos.DataMode.forNumber(tmpRaw);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1752 org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1767 org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw);CODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1810 org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.MinorType.vCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java1853 org.apache.drill.common.types.TypeProtos.DataMode result = org.apache.drill.common.types.TypeProtos.DataMode.valCODE
CRITICAL…ain/java/org/apache/drill/common/types/TypeProtos.java2217 DEFAULT_INSTANCE = new org.apache.drill.common.types.TypeProtos.MajorType();CODE
CRITICALdocs/dev/StoragePluginPushdowns.md29`org.apache.drill.exec.store.StoragePluginRulesSupplier.getOptimizerRules()`CODE
CRITICAL…org/apache/drill/exec/udf/mapr/db/DecodeFieldPath.java47 String[] decodedPaths = org.apache.drill.exec.util.EncodedSchemaPathSet.decode(encodedPaths);CODE
CRITICAL…ll/exec/store/mapr/db/json/MaprDBJsonRecordReader.java159 condition = com.mapr.db.impl.ConditionImpl.parseFrom(ByteBufs.wrap(serializedFilter));CODE
CRITICAL…exec/store/mapr/db/json/CompareFunctionsProcessor.java222 // See com.mapr.db.impl.ConditionImpl.is(FieldPath path, QueryCondition.Op op, BigDecimal value) methodCOMMENT
CRITICAL…re/mapr/db/binary/MaprDBCompareFunctionsProcessor.java52 org.apache.hadoop.hbase.util.OrderedBytes.encodeString(br, ((ValueExpressions.QuotedString) valueArg).value,CODE
CRITICAL…re/mapr/db/binary/MaprDBCompareFunctionsProcessor.java56 org.apache.hadoop.hbase.util.OrderedBytes.encodeString(br, ((ValueExpressions.QuotedString) valueArg).value,CODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java80 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(interval.start, interval.CODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java83 java.time.LocalDateTime td = org.apache.drill.exec.udfs.DateConversionUtils.getDate(ld, input);CODE
CRITICAL⚡…ain/java/org/apache/drill/exec/udfs/DateFunctions.java137 String inputDate = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(input.start, input.enCODE
CRITICAL⚡…ain/java/org/apache/drill/exec/udfs/DateFunctions.java139 String format = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(formatString.start, formCODE
CRITICAL⚡…ain/java/org/apache/drill/exec/udfs/DateFunctions.java141 String intervalString = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(interval.start, CODE
CRITICAL⚡…ain/java/org/apache/drill/exec/udfs/DateFunctions.java146 java.time.LocalDateTime td = org.apache.drill.exec.udfs.DateConversionUtils.getDate(dateTime, intervalString);CODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java168 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(inputHolder.start, inputHCODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java169 java.time.LocalDateTime dt = org.apache.drill.exec.udfs.DateUtilFunctions.getTimestampFromString(input);CODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java198 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(inputHolder.start, inputHCODE
CRITICAL…ain/java/org/apache/drill/exec/udfs/DateFunctions.java199 java.time.LocalDateTime dt = org.apache.drill.exec.udfs.DateUtilFunctions.getTimestampFromString(input);CODE
CRITICAL…org/apache/drill/exec/udfs/ThreatHuntingFunctions.java58 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(rawInput.start, rawInput.CODE
CRITICAL…org/apache/drill/exec/udfs/ThreatHuntingFunctions.java96 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(rawInput1.start, rawInputCODE
CRITICAL…org/apache/drill/exec/udfs/ThreatHuntingFunctions.java108 double charCount = org.apache.commons.lang3.StringUtils.countMatches(input, character);CODE
CRITICAL…org/apache/drill/exec/udfs/ThreatHuntingFunctions.java149 String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(rawInput);CODE
CRITICAL…org/apache/drill/exec/udfs/ThreatHuntingFunctions.java161 double charCount = org.apache.commons.lang3.StringUtils.countMatches(input, character);CODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java54 uaa = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getInstance();CODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java55 allFields = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getAllFields();CODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java62 org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.parseArgumentArray(input);CODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java72 org.apache.drill.exec.expr.holders.VarCharHolder rowHolder = new org.apache.drill.exec.expr.holders.VarCharHoldeCODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java108 uaa = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getInstance();CODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java112 String userAgentString = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(inputCODE
CRITICAL⚡…ava/org/apache/drill/exec/udfs/UserAgentFunctions.java113 String requestedField = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(desireCODE
CRITICAL…org/apache/drill/exec/udfs/ComplexSchemaFunctions.java60 outBuffer = org.apache.drill.exec.udfs.ComplexSchemaUtils.getFields(reader, outWriter, outBuffer);CODE
CRITICAL⚡…rg/apache/drill/exec/udfs/StringDistanceFunctions.java52 d = new org.apache.commons.text.similarity.CosineDistance();CODE
839 more matches not shown…
Over-Commented Block212 hits · 212 pts
SeverityFileLineSnippetContext
LOWstart-build-env.sh1#!/usr/bin/env bashCOMMENT
LOWtools/release-scripts/checksum.sh1#!/bin/bashCOMMENT
LOWtools/release-scripts/release.sh1#!/bin/bashCOMMENT
LOWdistribution/docker-compose/docker-compose.yml1#COMMENT
LOWdistribution/src/main/resources/drill-env.sh1#COMMENT
LOWdistribution/src/main/resources/drill-env.sh21# or sqlline processes using Java. Some settings are for both, some for oneCOMMENT
LOWdistribution/src/main/resources/drill-env.sh41COMMENT
LOWdistribution/src/main/resources/drill-env.sh61COMMENT
LOWdistribution/src/main/resources/drill-env.sh81# Location to place Drill logs. Set to $DRILL_HOME/log by default.COMMENT
LOWdistribution/src/main/resources/drill-env.sh101# Custom JVM arguments to pass to the both the Drillbit and sqlline. TypicallyCOMMENT
LOWdistribution/src/main/resources/drill-env.sh121# custom="/your/path/here:/your/second/path"COMMENT
LOWdistribution/src/main/resources/drill-env.sh141# The prefix class path appears before any Drill-provided classpath entries.COMMENT
LOWdistribution/src/main/resources/drill-env.sh161COMMENT
LOWdistribution/src/main/resources/auto-setup.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/auto-setup.sh21# default checks and autoconfiguration.COMMENT
LOWdistribution/src/main/resources/drill-config.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/drill-config.sh21# should not be executable directlyCOMMENT
LOWdistribution/src/main/resources/drill-config.sh41# Variables may be set in one of four places:COMMENT
LOWdistribution/src/main/resources/drill-config.sh221export SERVER_GC_OPTS="$SERVER_GC_OPTS -XX:+UseG1GC"COMMENT
LOWdistribution/src/main/resources/drillbit.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/drillbit.sh21#COMMENT
LOWdistribution/src/main/resources/drillbit.sh41#COMMENT
LOWdistribution/src/main/resources/distrib-env.sh1#COMMENT
LOWdistribution/src/main/resources/distrib-env.sh21# distribution-specific version that sets environment variables and optionsCOMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh1#COMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh21# launching a Drillbit and waiting for Drillbit exit.COMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh41# The location to which to write log files. Often set in drill-env.sh.COMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh61# DRILL_JAVA_OPTSCOMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh81# drill.yarn.drillbit.conf-dir parameter, or will default toCOMMENT
LOWdistribution/src/main/resources/yarn-drillbit.sh101# DRILL_CLASSPATHCOMMENT
LOWdistribution/src/main/resources/drill-am.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/drill-am.sh21# This script runs under YARN and assumes the environment that YARN provides to an AM.COMMENT
LOWdistribution/src/main/resources/drill-am.sh41# DRILL_ARCHIVE The DFS path to the Drill archive used to localize DrillbitCOMMENT
LOWdistribution/src/main/resources/drill-am.sh61 echo "Drill AM launch script"COMMENT
LOWdistribution/src/main/resources/drill-am.sh81# and a few others.COMMENT
LOWdistribution/src/main/resources/distrib-setup.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/distrib-setup.sh21# performed in drill-config.sh. Distributions can replace this file with aCOMMENT
LOWdistribution/src/main/resources/drill-setup.sh1#!/bin/bashCOMMENT
LOWdistribution/src/main/resources/drill-setup.sh21# is invoked by drill-config.sh after any distribution-specific checks (andCOMMENT
LOWdistribution/src/main/resources/drill-on-yarn.sh1#COMMENT
LOWdrill-yarn/src/test/resources/wrapper.sh1#!/bin/bashCOMMENT
LOW…va/org/apache/drill/yarn/appMaster/http/WebServer.java201COMMENT
LOWcontrib/native/client/CMakeLists.txt1#COMMENT
LOWcontrib/native/client/test/CMakeLists.txt1#COMMENT
LOWcontrib/native/client/test/ssl/testSSL.cpp21#include <stdlib.h>COMMENT
LOWcontrib/native/client/scripts/fixProtodefs.sh1#!/bin/bashCOMMENT
LOWcontrib/native/client/scripts/cpProtofiles.sh1#!/bin/bashCOMMENT
LOWcontrib/native/client/src/test/CMakeLists.txt1#COMMENT
LOWcontrib/native/client/src/include/drill/recordBatch.hpp21COMMENT
LOWcontrib/native/client/src/include/drill/recordBatch.hpp41 #elseCOMMENT
LOWcontrib/native/client/src/include/drill/recordBatch.hpp121 // ByteBuf_t getBuffer(){ return m_buffer;}COMMENT
LOWcontrib/native/client/src/include/drill/recordBatch.hpp781class DECLSPEC_DRILL_CLIENT ValueVectorVarBinary:public ValueVectorVarWidth{COMMENT
LOWcontrib/native/client/src/include/drill/drillc.hpp21#include "drill/common.hpp"COMMENT
LOWcontrib/native/client/src/include/drill/drillError.hpp21#include "drill/common.hpp"COMMENT
LOWcontrib/native/client/src/include/drill/common.hpp21#if defined _WIN32 || defined __CYGWIN__COMMENT
LOWcontrib/native/client/src/include/drill/common.hpp41// ensures that the correct typedefs are defined and that the older typedefs definedCOMMENT
LOWcontrib/native/client/src/include/drill/common.hpp61COMMENT
LOWcontrib/native/client/src/include/drill/common.hpp161typedef enum{COMMENT
LOWcontrib/native/client/src/include/drill/common.hpp181#define USERPROP_DISABLE_HOSTVERIFICATION "disableHostVerification"COMMENT
LOWcontrib/native/client/src/clientlib/CMakeLists.txt1#COMMENT
152 more matches not shown…
Decorative Section Separators17 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUMdistribution/src/main/resources/drill-env.sh137#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡distribution/src/main/resources/auto-setup.sh30###==========================================================================COMMENT
MEDIUM⚡distribution/src/main/resources/auto-setup.sh33###==========================================================================COMMENT
MEDIUMdistribution/src/main/resources/auto-setup.sh102#============================================================================COMMENT
MEDIUMdistribution/src/main/resources/auto-setup.sh104#----------------------------------------------------------------------------COMMENT
MEDIUMdistribution/src/main/resources/auto-setup.sh230#----------------------------------------------------------------------------COMMENT
MEDIUMdistribution/src/main/resources/auto-setup.sh232#============================================================================COMMENT
MEDIUM⚡distribution/src/main/resources/distrib-setup.sh30###==========================================================================COMMENT
MEDIUM⚡distribution/src/main/resources/distrib-setup.sh32###==========================================================================COMMENT
MEDIUM⚡distribution/src/main/resources/drill-setup.sh27###==========================================================================COMMENT
MEDIUM⚡distribution/src/main/resources/drill-setup.sh29###==========================================================================COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh22# -------------------------------------------------------COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh41# -------------------------------------------------------COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh58# -------------------------------------------------------COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh83# -------------------------------------------------------COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh111# -------------------------------------------------------COMMENT
MEDIUMdev-support/docker/drill_env_checks.sh117# -------------------------------------------------------COMMENT
Fake / Example Data41 hits · 49 pts
SeverityFileLineSnippetContext
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java117 {"user_001", "John", "Doe", "john.doe@email.com", "555-0101", "Acme Corp", "Engineer", "75000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java117 {"user_001", "John", "Doe", "john.doe@email.com", "555-0101", "Acme Corp", "Engineer", "75000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java118 {"user_002", "Jane", "Smith", "jane.smith@email.com", "555-0102", "TechCo", "Manager", "95000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java119 {"user_003", "Bob", "Johnson", "bob.j@email.com", "555-0103", "DataInc", "Analyst", "65000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java120 {"user_004", "Alice", "Williams", "alice.w@email.com", "555-0104", "Acme Corp", "Director", "120000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java120 {"user_004", "Alice", "Williams", "alice.w@email.com", "555-0104", "Acme Corp", "Director", "120000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java121 {"user_005", "Charlie", "Brown", "charlie.b@email.com", "555-0105", "TechCo", "Developer", "80000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java122 {"user_006", "Diana", "Davis", "diana.d@email.com", "555-0106", "DataInc", "Scientist", "90000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java123 {"user_007", "Edward", "Miller", "edward.m@email.com", "555-0107", "Acme Corp", "Engineer", "78000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java123 {"user_007", "Edward", "Miller", "edward.m@email.com", "555-0107", "Acme Corp", "Engineer", "78000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java124 {"user_008", "Fiona", "Wilson", "fiona.w@email.com", "555-0108", "TechCo", "Designer", "72000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java125 {"user_009", "George", "Moore", "george.m@email.com", "555-0109", "DataInc", "Manager", "98000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java126 {"user_010", "Hannah", "Taylor", "hannah.t@email.com", "555-0110", "Acme Corp", "Analyst", "68000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java126 {"user_010", "Hannah", "Taylor", "hannah.t@email.com", "555-0110", "Acme Corp", "Analyst", "68000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java127 {"user_011", "Ivan", "Anderson", "ivan.a@email.com", "555-0111", "TechCo", "Developer", "82000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java128 {"user_012", "Julia", "Thomas", "julia.t@email.com", "555-0112", "DataInc", "Engineer", "77000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java129 {"user_013", "Kevin", "Jackson", "kevin.j@email.com", "555-0113", "Acme Corp", "Manager", "105000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java129 {"user_013", "Kevin", "Jackson", "kevin.j@email.com", "555-0113", "Acme Corp", "Manager", "105000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java130 {"user_014", "Laura", "White", "laura.w@email.com", "555-0114", "TechCo", "Director", "125000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java131 {"user_015", "Michael", "Harris", "michael.h@email.com", "555-0115", "DataInc", "Analyst", "67000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java132 {"user_016", "Nancy", "Martin", "nancy.m@email.com", "555-0116", "Acme Corp", "Developer", "79000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java132 {"user_016", "Nancy", "Martin", "nancy.m@email.com", "555-0116", "Acme Corp", "Developer", "79000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java133 {"user_017", "Oscar", "Garcia", "oscar.g@email.com", "555-0117", "TechCo", "Scientist", "92000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java134 {"user_018", "Patricia", "Martinez", "patricia.m@email.com", "555-0118", "DataInc", "Designer", "71000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java135 {"user_019", "Quincy", "Robinson", "quincy.r@email.com", "555-0119", "Acme Corp", "Engineer", "76000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java135 {"user_019", "Quincy", "Robinson", "quincy.r@email.com", "555-0119", "Acme Corp", "Engineer", "76000"},CODE
LOW⚡…pache/drill/exec/store/accumulo/AccumuloTestUtils.java136 {"user_020", "Rachel", "Clark", "rachel.c@email.com", "555-0120", "TechCo", "Manager", "99000"}CODE
LOW…ec/store/accumulo/AccumuloPushdownIntegrationTest.java89 " WHERE t.employment.company = 'Acme Corp'";CODE
LOW…pache/drill/exec/store/accumulo/AccumuloSerDeTest.java121 Arrays.asList("Acme Corp", "7"),CODE
LOW…pache/drill/exec/store/accumulo/AccumuloSerDeTest.java200 .encodeToString("fake-token-bytes".getBytes(StandardCharsets.UTF_8));CODE
LOW…xec/store/accumulo/AccumuloResultVerificationTest.java84 .baselineValues("user_001", "John", "Doe", "john.doe@email.com", "Acme Corp", "75000")CODE
LOW…xec/store/accumulo/AccumuloResultVerificationTest.java260 .baselineValues("Acme Corp", 7L)CODE
LOW…storage-jdbc/src/test/resources/postgres-test-data.sql93 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', 'abc',CODE
LOW…storage-jdbc/src/test/resources/postgres-test-data.sql93 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', 'abc',CODE
LOW…ib/storage-jdbc/src/test/resources/mysql-test-data.sql88 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', 'abc',CODE
LOW…ib/storage-jdbc/src/test/resources/mysql-test-data.sql88 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', 'abc',CODE
LOW…e/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java168 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit",CODE
LOW…e/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java168 "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit",CODE
LOW…ical/impl/scan/v3/lifecycle/BaseTestScanLifecycle.java51 super("fake-user");CODE
LOW…ec/src/main/resources/rest/static/js/datatables.min.js18!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict"CODE
LOW…ec/src/main/resources/rest/static/js/datatables.min.js74a._iDisplayStart=0,ja(a))};h=null!==a.searchDelay?a.searchDelay:"ssp"===Q(a)?400:0;var m=l("input",b).val(e.sSearch).attCODE
Structural Annotation Overuse21 hits · 38 pts
SeverityFileLineSnippetContext
LOWcontrib/storage-splunk/README.md182 ### Step 1: Get SplunkCOMMENT
LOWcontrib/storage-splunk/README.md187 ### Step 2: Add DataCOMMENT
LOW⚡contrib/storage-http/OAuth.md12#### Step 1: Obtain an Authorization CodeCOMMENT
LOW⚡contrib/storage-http/OAuth.md19#### Step 2: Swap the Authorization Code for an Access TokenCOMMENT
LOW⚡contrib/storage-http/OAuth.md24#### Step 3: Call the Protected Resource with the Access TokenCOMMENT
LOWcontrib/storage-googlesheets/src/test/README.md27## Step 3: Populating DataCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java104 // Step 1: Register the schemaCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java121 // Step 2: Query data using the registered schemaCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java134 // Step 3: Verify resultsCOMMENT
LOW…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1246 // Step 1: Define a schema. In a real app, thisCOMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1259 // Step 2: Create a batch. Done here because this isCOMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1265 // Step 3: Create the writer.COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1269 // Step 4: Populate data. Here we do it the way an app would:COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1301 // Step 5: Create a reader.COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1305 // Step 6: Retrieve the data. Here we just print theCOMMENT
LOW…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1321 // Step 7: Free memory.COMMENT
LOW…planner/fragment/HardAffinityFragmentParallelizer.java71 // Step 1: Find the width taking into account various parametersCOMMENT
LOW…planner/fragment/HardAffinityFragmentParallelizer.java98 // Step 2: Select the endpointsCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java233 // Step 1: checks whether table metadata is present in the Metastore to determineCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java263 // Step 2: constructs plan for producing analyzeCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java349 // Step 3: adds rel nodes for producing statistics analyze if requiredCOMMENT
Verbosity Indicators18 hits · 32 pts
SeverityFileLineSnippetContext
LOW…e/drill/yarn/appMaster/http/CsrfTokenInjectFilter.java44 // We don't create a session with this call as we need to check if there is a session already (i.e. if a user is lCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java104 // Step 1: Register the schemaCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java121 // Step 2: Query data using the registered schemaCOMMENT
LOW…affodil/TestDaffodilSchemaRegistrationIntegration.java134 // Step 3: Verify resultsCOMMENT
LOW…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1246 // Step 1: Define a schema. In a real app, thisCOMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1259 // Step 2: Create a batch. Done here because this isCOMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1265 // Step 3: Create the writer.COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1269 // Step 4: Populate data. Here we do it the way an app would:COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1296 // Step 5: "Harvest" the batch. Done differently in theCOMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1301 // Step 5: Create a reader.COMMENT
LOW⚡…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1305 // Step 6: Retrieve the data. Here we just print theCOMMENT
LOW…/org/apache/drill/exec/physical/rowSet/TestRowSet.java1321 // Step 7: Free memory.COMMENT
LOW…planner/fragment/HardAffinityFragmentParallelizer.java71 // Step 1: Find the width taking into account various parametersCOMMENT
LOW…planner/fragment/HardAffinityFragmentParallelizer.java98 // Step 2: Select the endpointsCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java233 // Step 1: checks whether table metadata is present in the Metastore to determineCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java263 // Step 2: constructs plan for producing analyzeCOMMENT
LOW…planner/sql/handlers/MetastoreAnalyzeTableHandler.java349 // Step 3: adds rel nodes for producing statistics analyze if requiredCOMMENT
LOW…ache/drill/exec/server/rest/CsrfTokenInjectFilter.java44 // We don't create a session with this call as we need to check if there is a session already (i.e. if a user is lCOMMENT
AI Slop Vocabulary11 hits · 28 pts
SeverityFileLineSnippetContext
LOWdistribution/src/main/resources/drill-env.sh32# higher on the list. In the environment, just set the variable:COMMENT
LOWdistribution/src/main/resources/drill-config.sh49# higher on the list. In the environment, just set the variable:COMMENT
MEDIUM…c/src/test/java/org/apache/drill/test/TestBuilder.java86 // lot of work to make the type handling/casting work correctly, and making robust complex type handling work completeCOMMENT
MEDIUM…c/src/test/java/org/apache/drill/test/TestBuilder.java89 // that would affect the reading of baseline files (i.e. we need robust test for storage engines, project and casting COMMENT
MEDIUM…drill/exec/store/parquet/TestParquetMetadataCache.java542 // creating two inner directories to leverage METADATA_DIRECTORIES_FILENAME metadata file as wellCOMMENT
MEDIUM…l/exec/planner/physical/DrillDistributionTraitDef.java94 // if we do want to leverage OPE then we could create a new type of distribution trait or make the DistributionTCOMMENT
MEDIUM…physical/impl/partitionsender/PartitionerTemplate.java61 // Always keep the recordCount as (2^x) - 1 to better utilize the memoryCOMMENT
MEDIUM…physical/impl/partitionsender/PartitionerTemplate.java145 // Always keep the recordCount as (2^x) - 1 to better utilize the memory allocation in ValueVectorsCOMMENT
MEDIUM…ll/exec/physical/impl/partitionsender/Partitioner.java33 // Keep the recordCount as (2^x) - 1 to better utilize the memory allocation in ValueVectors; howeverCOMMENT
MEDIUM…pache/drill/exec/store/easy/json/JSONFormatPlugin.java196 // the result set loader. The V2 version is a bit more robust, andCOMMENT
LOW…/main/java/org/apache/drill/jdbc/impl/DrillCursor.java82 * Whether the next call to {@code this.}{@link #next()} should just returnCOMMENT
Self-Referential Comments5 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMdistribution/src/main/resources/drill-env.sh19# This file provides a variety of site-specific settings to control DrillCOMMENT
MEDIUM⚡distribution/src/main/resources/auto-setup.sh20# This file is invoked by drill-config.sh during a Drillbit startup and providesCOMMENT
MEDIUMdistribution/src/main/resources/distrib-env.sh19# This file is empty by default. Default Drill environment settings appearCOMMENT
MEDIUM⚡distribution/src/main/resources/distrib-setup.sh20# This file is empty by default. Drill startup checks will beCOMMENT
MEDIUM⚡distribution/src/main/resources/drill-setup.sh20# This file is empty by default. It provides user-specific startup checks andCOMMENT
TODO Padding7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…apache/drill/exec/expr/fn/impl/ByteArrayFunctions.java31 // TODO: implement optional length parameterCOMMENT
LOW…org/apache/drill/exec/expr/fn/impl/Hash64AsDouble.java184 // TODO: implement hash function for other typesCOMMENT
LOW…he/drill/exec/expr/fn/impl/Hash64WithSeedAsDouble.java186 // TODO: implement hash function for other typesCOMMENT
LOW…e/drill/exec/expr/fn/impl/Hash64FunctionsWithSeed.java306 // TODO: implement hash function for other typesCOMMENT
LOW…rg/apache/drill/exec/expr/fn/impl/Hash64Functions.java301 // TODO: implement hash function for other typesCOMMENT
LOW…he/drill/exec/expr/fn/impl/Hash32WithSeedAsDouble.java182 // TODO: implement hash function for other typesCOMMENT
LOW…e/drill/exec/expr/fn/impl/Hash32FunctionsWithSeed.java303 // TODO: implement hash function for other typesCOMMENT
Hyper-Verbose Identifiers5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…c/src/main/resources/rest/static/js/querySubmission.js43function doSubmitQueryWithUserName() {CODE
LOW…c/src/main/resources/rest/static/js/querySubmission.js55function doSubmitQueryWithAutoLimit() {CODE
LOW…a/org/apache/drill/exec/rpc/FailingRequestHandler.java28public class FailingRequestHandler<S extends ServerConnection<S>> implements RequestHandler<S> {CODE
LOW…ache/drill/exec/rpc/user/UserServerRequestHandler.java47class UserServerRequestHandler implements RequestHandler<BitToUserConnection> {CODE
LOW…ache/drill/exec/rpc/data/DataServerRequestHandler.java42class DataServerRequestHandler implements RequestHandler<DataServerConnection> {CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMdistribution/src/main/resources/drill-env.sh118# jar files in other locations, you can add them here. These jars are added to theCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdistribution/src/main/resources/drill-config.sh135# Check if a file exists and has relevant lines for executionCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdistribution/src/main/resources/drillbit.sh40# Usage:COMMENT