Apache Drill is a distributed MPP query layer for self describing data
This report presents the forensic synthetic code analysis of apache/drill, a Java project with 2,022 GitHub stars. SynthScan v2.0 examined 984,519 lines of code across 5744 source files, recording 1205 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 9.1 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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.
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.
The scanner identified 1205 distinct pattern matches across 13 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 30 | new org.apache.drill.common.types.SchemaTypeProtos.MajorType.MessageSchema(); | CODE |
| CRITICAL | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 32 | new org.apache.drill.common.types.SchemaTypeProtos.MajorType.BuilderSchema(); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 59 | return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldName(number); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 63 | return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldNumber(name); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 71 | return org.apache.drill.common.types.TypeProtos.MajorType.class.getSimpleName(); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 75 | return org.apache.drill.common.types.TypeProtos.MajorType.class.getName(); | CODE |
| CRITICAL | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 92 | builder.setMinorType(org.apache.drill.common.types.TypeProtos.MinorType.valueOf(input.readEn | CODE |
| CRITICAL | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 95 | builder.setMode(org.apache.drill.common.types.TypeProtos.DataMode.valueOf(input.readEnum())) | CODE |
| CRITICAL | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 110 | builder.addSubType(org.apache.drill.common.types.TypeProtos.MinorType.valueOf(input.readEnum | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 123 | return org.apache.drill.common.types.TypeProtos.MajorType.newBuilder(); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 127 | return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldName(number); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 131 | return org.apache.drill.common.types.SchemaTypeProtos.MajorType.getFieldNumber(name); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 139 | return org.apache.drill.common.types.TypeProtos.MajorType.class.getSimpleName(); | CODE |
| CRITICAL⚡ | …va/org/apache/drill/common/types/SchemaTypeProtos.java | 143 | return org.apache.drill.common.types.TypeProtos.MajorType.class.getName(); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 735 | return org.apache.drill.common.types.TypeProtos.getDescriptor().getEnumTypes().get(0); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 864 | return org.apache.drill.common.types.TypeProtos.getDescriptor().getEnumTypes().get(1); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1069 | org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.MinorType.val | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1088 | org.apache.drill.common.types.TypeProtos.DataMode result = org.apache.drill.common.types.TypeProtos.DataMode.value | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1200 | org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.Min | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1518 | // Construct using org.apache.drill.common.types.TypeProtos.MajorType.newBuilder() | COMMENT |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1556 | return org.apache.drill.common.types.TypeProtos.MajorType.getDefaultInstance(); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1570 | org.apache.drill.common.types.TypeProtos.MajorType result = new org.apache.drill.common.types.TypeProtos.MajorTy | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1650 | if (other == org.apache.drill.common.types.TypeProtos.MajorType.getDefaultInstance()) return this; | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1708 | org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1720 | org.apache.drill.common.types.TypeProtos.DataMode.forNumber(tmpRaw); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1752 | org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1767 | org.apache.drill.common.types.TypeProtos.MinorType.forNumber(tmpRaw); | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1810 | org.apache.drill.common.types.TypeProtos.MinorType result = org.apache.drill.common.types.TypeProtos.MinorType.v | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 1853 | org.apache.drill.common.types.TypeProtos.DataMode result = org.apache.drill.common.types.TypeProtos.DataMode.val | CODE |
| CRITICAL | …ain/java/org/apache/drill/common/types/TypeProtos.java | 2217 | DEFAULT_INSTANCE = new org.apache.drill.common.types.TypeProtos.MajorType(); | CODE |
| CRITICAL | docs/dev/StoragePluginPushdowns.md | 29 | `org.apache.drill.exec.store.StoragePluginRulesSupplier.getOptimizerRules()` | CODE |
| CRITICAL | …org/apache/drill/exec/udf/mapr/db/DecodeFieldPath.java | 47 | String[] decodedPaths = org.apache.drill.exec.util.EncodedSchemaPathSet.decode(encodedPaths); | CODE |
| CRITICAL | …ll/exec/store/mapr/db/json/MaprDBJsonRecordReader.java | 159 | condition = com.mapr.db.impl.ConditionImpl.parseFrom(ByteBufs.wrap(serializedFilter)); | CODE |
| CRITICAL | …exec/store/mapr/db/json/CompareFunctionsProcessor.java | 222 | // See com.mapr.db.impl.ConditionImpl.is(FieldPath path, QueryCondition.Op op, BigDecimal value) method | COMMENT |
| CRITICAL | …re/mapr/db/binary/MaprDBCompareFunctionsProcessor.java | 52 | org.apache.hadoop.hbase.util.OrderedBytes.encodeString(br, ((ValueExpressions.QuotedString) valueArg).value, | CODE |
| CRITICAL | …re/mapr/db/binary/MaprDBCompareFunctionsProcessor.java | 56 | org.apache.hadoop.hbase.util.OrderedBytes.encodeString(br, ((ValueExpressions.QuotedString) valueArg).value, | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 80 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(interval.start, interval. | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 83 | java.time.LocalDateTime td = org.apache.drill.exec.udfs.DateConversionUtils.getDate(ld, input); | CODE |
| CRITICAL⚡ | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 137 | String inputDate = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(input.start, input.en | CODE |
| CRITICAL⚡ | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 139 | String format = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(formatString.start, form | CODE |
| CRITICAL⚡ | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 141 | String intervalString = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(interval.start, | CODE |
| CRITICAL⚡ | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 146 | java.time.LocalDateTime td = org.apache.drill.exec.udfs.DateConversionUtils.getDate(dateTime, intervalString); | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 168 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(inputHolder.start, inputH | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 169 | java.time.LocalDateTime dt = org.apache.drill.exec.udfs.DateUtilFunctions.getTimestampFromString(input); | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 198 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(inputHolder.start, inputH | CODE |
| CRITICAL | …ain/java/org/apache/drill/exec/udfs/DateFunctions.java | 199 | java.time.LocalDateTime dt = org.apache.drill.exec.udfs.DateUtilFunctions.getTimestampFromString(input); | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ThreatHuntingFunctions.java | 58 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(rawInput.start, rawInput. | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ThreatHuntingFunctions.java | 96 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.toStringFromUTF8(rawInput1.start, rawInput | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ThreatHuntingFunctions.java | 108 | double charCount = org.apache.commons.lang3.StringUtils.countMatches(input, character); | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ThreatHuntingFunctions.java | 149 | String input = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(rawInput); | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ThreatHuntingFunctions.java | 161 | double charCount = org.apache.commons.lang3.StringUtils.countMatches(input, character); | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 54 | uaa = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getInstance(); | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 55 | allFields = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getAllFields(); | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 62 | org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.parseArgumentArray(input); | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 72 | org.apache.drill.exec.expr.holders.VarCharHolder rowHolder = new org.apache.drill.exec.expr.holders.VarCharHolde | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 108 | uaa = org.apache.drill.exec.udfs.UserAgentAnalyzerProvider.getInstance(); | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 112 | String userAgentString = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(input | CODE |
| CRITICAL⚡ | …ava/org/apache/drill/exec/udfs/UserAgentFunctions.java | 113 | String requestedField = org.apache.drill.exec.expr.fn.impl.StringFunctionHelpers.getStringFromVarCharHolder(desire | CODE |
| CRITICAL | …org/apache/drill/exec/udfs/ComplexSchemaFunctions.java | 60 | outBuffer = org.apache.drill.exec.udfs.ComplexSchemaUtils.getFields(reader, outWriter, outBuffer); | CODE |
| CRITICAL⚡ | …rg/apache/drill/exec/udfs/StringDistanceFunctions.java | 52 | d = new org.apache.commons.text.similarity.CosineDistance(); | CODE |
| 837 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | start-build-env.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/release-scripts/checksum.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/release-scripts/release.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/docker-compose/docker-compose.yml | 1 | # | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 1 | # | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 21 | # or sqlline processes using Java. Some settings are for both, some for one | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 41 | COMMENT | |
| LOW | distribution/src/main/resources/drill-env.sh | 61 | COMMENT | |
| LOW | distribution/src/main/resources/drill-env.sh | 81 | # Location to place Drill logs. Set to $DRILL_HOME/log by default. | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 101 | # Custom JVM arguments to pass to the both the Drillbit and sqlline. Typically | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 121 | # custom="/your/path/here:/your/second/path" | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 141 | # The prefix class path appears before any Drill-provided classpath entries. | COMMENT |
| LOW | distribution/src/main/resources/drill-env.sh | 161 | COMMENT | |
| LOW | distribution/src/main/resources/auto-setup.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/auto-setup.sh | 21 | # default checks and autoconfiguration. | COMMENT |
| LOW | distribution/src/main/resources/drill-config.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/drill-config.sh | 21 | # should not be executable directly | COMMENT |
| LOW | distribution/src/main/resources/drill-config.sh | 41 | # Variables may be set in one of four places: | COMMENT |
| LOW | distribution/src/main/resources/drill-config.sh | 221 | export SERVER_GC_OPTS="$SERVER_GC_OPTS -XX:+UseG1GC" | COMMENT |
| LOW | distribution/src/main/resources/drillbit.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/drillbit.sh | 21 | # | COMMENT |
| LOW | distribution/src/main/resources/drillbit.sh | 41 | # | COMMENT |
| LOW | distribution/src/main/resources/distrib-env.sh | 1 | # | COMMENT |
| LOW | distribution/src/main/resources/distrib-env.sh | 21 | # distribution-specific version that sets environment variables and options | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 1 | # | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 21 | # launching a Drillbit and waiting for Drillbit exit. | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 41 | # The location to which to write log files. Often set in drill-env.sh. | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 61 | # DRILL_JAVA_OPTS | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 81 | # drill.yarn.drillbit.conf-dir parameter, or will default to | COMMENT |
| LOW | distribution/src/main/resources/yarn-drillbit.sh | 101 | # DRILL_CLASSPATH | COMMENT |
| LOW | distribution/src/main/resources/drill-am.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/drill-am.sh | 21 | # This script runs under YARN and assumes the environment that YARN provides to an AM. | COMMENT |
| LOW | distribution/src/main/resources/drill-am.sh | 41 | # DRILL_ARCHIVE The DFS path to the Drill archive used to localize Drillbit | COMMENT |
| LOW | distribution/src/main/resources/drill-am.sh | 61 | echo "Drill AM launch script" | COMMENT |
| LOW | distribution/src/main/resources/drill-am.sh | 81 | # and a few others. | COMMENT |
| LOW | distribution/src/main/resources/distrib-setup.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/distrib-setup.sh | 21 | # performed in drill-config.sh. Distributions can replace this file with a | COMMENT |
| LOW | distribution/src/main/resources/drill-setup.sh | 1 | #!/bin/bash | COMMENT |
| LOW | distribution/src/main/resources/drill-setup.sh | 21 | # is invoked by drill-config.sh after any distribution-specific checks (and | COMMENT |
| LOW | distribution/src/main/resources/drill-on-yarn.sh | 1 | # | COMMENT |
| LOW | drill-yarn/src/test/resources/wrapper.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …va/org/apache/drill/yarn/appMaster/http/WebServer.java | 201 | COMMENT | |
| LOW | contrib/native/client/CMakeLists.txt | 1 | # | COMMENT |
| LOW | contrib/native/client/test/CMakeLists.txt | 1 | # | COMMENT |
| LOW | contrib/native/client/test/ssl/testSSL.cpp | 21 | #include <stdlib.h> | COMMENT |
| LOW | contrib/native/client/scripts/fixProtodefs.sh | 1 | #!/bin/bash | COMMENT |
| LOW | contrib/native/client/scripts/cpProtofiles.sh | 1 | #!/bin/bash | COMMENT |
| LOW | contrib/native/client/src/test/CMakeLists.txt | 1 | # | COMMENT |
| LOW | contrib/native/client/src/include/drill/recordBatch.hpp | 21 | COMMENT | |
| LOW | contrib/native/client/src/include/drill/recordBatch.hpp | 41 | #else | COMMENT |
| LOW | contrib/native/client/src/include/drill/recordBatch.hpp | 121 | // ByteBuf_t getBuffer(){ return m_buffer;} | COMMENT |
| LOW | contrib/native/client/src/include/drill/recordBatch.hpp | 781 | class DECLSPEC_DRILL_CLIENT ValueVectorVarBinary:public ValueVectorVarWidth{ | COMMENT |
| LOW | contrib/native/client/src/include/drill/drillc.hpp | 21 | #include "drill/common.hpp" | COMMENT |
| LOW | contrib/native/client/src/include/drill/drillError.hpp | 21 | #include "drill/common.hpp" | COMMENT |
| LOW | contrib/native/client/src/include/drill/common.hpp | 21 | #if defined _WIN32 || defined __CYGWIN__ | COMMENT |
| LOW | contrib/native/client/src/include/drill/common.hpp | 41 | // ensures that the correct typedefs are defined and that the older typedefs defined | COMMENT |
| LOW | contrib/native/client/src/include/drill/common.hpp | 61 | COMMENT | |
| LOW | contrib/native/client/src/include/drill/common.hpp | 161 | typedef enum{ | COMMENT |
| LOW | contrib/native/client/src/include/drill/common.hpp | 181 | #define USERPROP_DISABLE_HOSTVERIFICATION "disableHostVerification" | COMMENT |
| LOW | contrib/native/client/src/clientlib/CMakeLists.txt | 1 | # | COMMENT |
| 152 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | distribution/src/main/resources/drill-env.sh | 137 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/auto-setup.sh | 30 | ###========================================================================== | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/auto-setup.sh | 33 | ###========================================================================== | COMMENT |
| MEDIUM | distribution/src/main/resources/auto-setup.sh | 102 | #============================================================================ | COMMENT |
| MEDIUM | distribution/src/main/resources/auto-setup.sh | 104 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | distribution/src/main/resources/auto-setup.sh | 230 | #---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | distribution/src/main/resources/auto-setup.sh | 232 | #============================================================================ | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/distrib-setup.sh | 30 | ###========================================================================== | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/distrib-setup.sh | 32 | ###========================================================================== | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/drill-setup.sh | 27 | ###========================================================================== | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/drill-setup.sh | 29 | ###========================================================================== | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 22 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 41 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 58 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 83 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 111 | # ------------------------------------------------------- | COMMENT |
| MEDIUM | dev-support/docker/drill_env_checks.sh | 117 | # ------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/storage-splunk/README.md | 182 | ### Step 1: Get Splunk | COMMENT |
| LOW | contrib/storage-splunk/README.md | 187 | ### Step 2: Add Data | COMMENT |
| LOW⚡ | contrib/storage-http/OAuth.md | 12 | #### Step 1: Obtain an Authorization Code | COMMENT |
| LOW⚡ | contrib/storage-http/OAuth.md | 19 | #### Step 2: Swap the Authorization Code for an Access Token | COMMENT |
| LOW⚡ | contrib/storage-http/OAuth.md | 24 | #### Step 3: Call the Protected Resource with the Access Token | COMMENT |
| LOW | contrib/storage-googlesheets/src/test/README.md | 27 | ## Step 3: Populating Data | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 104 | // Step 1: Register the schema | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 121 | // Step 2: Query data using the registered schema | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 134 | // Step 3: Verify results | COMMENT |
| LOW | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1246 | // Step 1: Define a schema. In a real app, this | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1259 | // Step 2: Create a batch. Done here because this is | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1265 | // Step 3: Create the writer. | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1269 | // Step 4: Populate data. Here we do it the way an app would: | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1301 | // Step 5: Create a reader. | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1305 | // Step 6: Retrieve the data. Here we just print the | COMMENT |
| LOW | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1321 | // Step 7: Free memory. | COMMENT |
| LOW | …planner/fragment/HardAffinityFragmentParallelizer.java | 71 | // Step 1: Find the width taking into account various parameters | COMMENT |
| LOW | …planner/fragment/HardAffinityFragmentParallelizer.java | 98 | // Step 2: Select the endpoints | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 233 | // Step 1: checks whether table metadata is present in the Metastore to determine | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 263 | // Step 2: constructs plan for producing analyze | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 349 | // Step 3: adds rel nodes for producing statistics analyze if required | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …e/drill/yarn/appMaster/http/CsrfTokenInjectFilter.java | 44 | // 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 l | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 104 | // Step 1: Register the schema | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 121 | // Step 2: Query data using the registered schema | COMMENT |
| LOW | …affodil/TestDaffodilSchemaRegistrationIntegration.java | 134 | // Step 3: Verify results | COMMENT |
| LOW | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1246 | // Step 1: Define a schema. In a real app, this | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1259 | // Step 2: Create a batch. Done here because this is | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1265 | // Step 3: Create the writer. | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1269 | // Step 4: Populate data. Here we do it the way an app would: | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1296 | // Step 5: "Harvest" the batch. Done differently in the | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1301 | // Step 5: Create a reader. | COMMENT |
| LOW⚡ | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1305 | // Step 6: Retrieve the data. Here we just print the | COMMENT |
| LOW | …/org/apache/drill/exec/physical/rowSet/TestRowSet.java | 1321 | // Step 7: Free memory. | COMMENT |
| LOW | …planner/fragment/HardAffinityFragmentParallelizer.java | 71 | // Step 1: Find the width taking into account various parameters | COMMENT |
| LOW | …planner/fragment/HardAffinityFragmentParallelizer.java | 98 | // Step 2: Select the endpoints | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 233 | // Step 1: checks whether table metadata is present in the Metastore to determine | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 263 | // Step 2: constructs plan for producing analyze | COMMENT |
| LOW | …planner/sql/handlers/MetastoreAnalyzeTableHandler.java | 349 | // Step 3: adds rel nodes for producing statistics analyze if required | COMMENT |
| LOW | …ache/drill/exec/server/rest/CsrfTokenInjectFilter.java | 44 | // 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 l | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | distribution/src/main/resources/drill-env.sh | 32 | # higher on the list. In the environment, just set the variable: | COMMENT |
| LOW | distribution/src/main/resources/drill-config.sh | 49 | # higher on the list. In the environment, just set the variable: | COMMENT |
| MEDIUM | …c/src/test/java/org/apache/drill/test/TestBuilder.java | 86 | // lot of work to make the type handling/casting work correctly, and making robust complex type handling work complete | COMMENT |
| MEDIUM | …c/src/test/java/org/apache/drill/test/TestBuilder.java | 89 | // 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.java | 542 | // creating two inner directories to leverage METADATA_DIRECTORIES_FILENAME metadata file as well | COMMENT |
| MEDIUM | …l/exec/planner/physical/DrillDistributionTraitDef.java | 94 | // if we do want to leverage OPE then we could create a new type of distribution trait or make the DistributionT | COMMENT |
| MEDIUM | …physical/impl/partitionsender/PartitionerTemplate.java | 61 | // Always keep the recordCount as (2^x) - 1 to better utilize the memory | COMMENT |
| MEDIUM | …physical/impl/partitionsender/PartitionerTemplate.java | 145 | // Always keep the recordCount as (2^x) - 1 to better utilize the memory allocation in ValueVectors | COMMENT |
| MEDIUM | …ll/exec/physical/impl/partitionsender/Partitioner.java | 33 | // Keep the recordCount as (2^x) - 1 to better utilize the memory allocation in ValueVectors; however | COMMENT |
| MEDIUM | …pache/drill/exec/store/easy/json/JSONFormatPlugin.java | 196 | // the result set loader. The V2 version is a bit more robust, and | COMMENT |
| LOW | …/main/java/org/apache/drill/jdbc/impl/DrillCursor.java | 82 | * Whether the next call to {@code this.}{@link #next()} should just return | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | distribution/src/main/resources/drill-env.sh | 19 | # This file provides a variety of site-specific settings to control Drill | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/auto-setup.sh | 20 | # This file is invoked by drill-config.sh during a Drillbit startup and provides | COMMENT |
| MEDIUM | distribution/src/main/resources/distrib-env.sh | 19 | # This file is empty by default. Default Drill environment settings appear | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/distrib-setup.sh | 20 | # This file is empty by default. Drill startup checks will be | COMMENT |
| MEDIUM⚡ | distribution/src/main/resources/drill-setup.sh | 20 | # This file is empty by default. It provides user-specific startup checks and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …storage-jdbc/src/test/resources/postgres-test-data.sql | 93 | '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.sql | 93 | '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.sql | 88 | '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.sql | 88 | 'Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit', 'abc', | CODE |
| LOW | …e/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java | 168 | "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", | CODE |
| LOW | …e/drill/exec/store/jdbc/TestJdbcPluginWithMySQLIT.java | 168 | "Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit", | CODE |
| LOW | …ical/impl/scan/v3/lifecycle/BaseTestScanLifecycle.java | 51 | super("fake-user"); | CODE |
| LOW | …ec/src/main/resources/rest/static/js/datatables.min.js | 18 | !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.js | 74 | a._iDisplayStart=0,ja(a))};h=null!==a.searchDelay?a.searchDelay:"ssp"===Q(a)?400:0;var m=l("input",b).val(e.sSearch).att | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …apache/drill/exec/expr/fn/impl/ByteArrayFunctions.java | 31 | // TODO: implement optional length parameter | COMMENT |
| LOW | …org/apache/drill/exec/expr/fn/impl/Hash64AsDouble.java | 184 | // TODO: implement hash function for other types | COMMENT |
| LOW | …he/drill/exec/expr/fn/impl/Hash64WithSeedAsDouble.java | 186 | // TODO: implement hash function for other types | COMMENT |
| LOW | …e/drill/exec/expr/fn/impl/Hash64FunctionsWithSeed.java | 306 | // TODO: implement hash function for other types | COMMENT |
| LOW | …rg/apache/drill/exec/expr/fn/impl/Hash64Functions.java | 301 | // TODO: implement hash function for other types | COMMENT |
| LOW | …he/drill/exec/expr/fn/impl/Hash32WithSeedAsDouble.java | 182 | // TODO: implement hash function for other types | COMMENT |
| LOW | …e/drill/exec/expr/fn/impl/Hash32FunctionsWithSeed.java | 303 | // TODO: implement hash function for other types | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …c/src/main/resources/rest/static/js/querySubmission.js | 43 | function doSubmitQueryWithUserName() { | CODE |
| LOW | …c/src/main/resources/rest/static/js/querySubmission.js | 55 | function doSubmitQueryWithAutoLimit() { | CODE |
| LOW | …a/org/apache/drill/exec/rpc/FailingRequestHandler.java | 28 | public class FailingRequestHandler<S extends ServerConnection<S>> implements RequestHandler<S> { | CODE |
| LOW | …ache/drill/exec/rpc/user/UserServerRequestHandler.java | 47 | class UserServerRequestHandler implements RequestHandler<BitToUserConnection> { | CODE |
| LOW | …ache/drill/exec/rpc/data/DataServerRequestHandler.java | 42 | class DataServerRequestHandler implements RequestHandler<DataServerConnection> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | distribution/src/main/resources/drill-env.sh | 118 | # jar files in other locations, you can add them here. These jars are added to the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | distribution/src/main/resources/drill-config.sh | 135 | # Check if a file exists and has relevant lines for execution | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | distribution/src/main/resources/drillbit.sh | 40 | # Usage: | COMMENT |