Apache Drill is a distributed MPP query layer for self describing data
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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 282 finding(s).
Are imports declared and package/API names verified? 940 finding(s).
Are wrappers, guards, and repeated structures necessary? 22 finding(s).
Which changes need focused human review? 1239 finding(s).
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.
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.
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.
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.
| 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 |
| 839 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⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 117 | {"user_001", "John", "Doe", "john.doe@email.com", "555-0101", "Acme Corp", "Engineer", "75000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 117 | {"user_001", "John", "Doe", "john.doe@email.com", "555-0101", "Acme Corp", "Engineer", "75000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 118 | {"user_002", "Jane", "Smith", "jane.smith@email.com", "555-0102", "TechCo", "Manager", "95000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 119 | {"user_003", "Bob", "Johnson", "bob.j@email.com", "555-0103", "DataInc", "Analyst", "65000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 120 | {"user_004", "Alice", "Williams", "alice.w@email.com", "555-0104", "Acme Corp", "Director", "120000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 120 | {"user_004", "Alice", "Williams", "alice.w@email.com", "555-0104", "Acme Corp", "Director", "120000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 121 | {"user_005", "Charlie", "Brown", "charlie.b@email.com", "555-0105", "TechCo", "Developer", "80000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 122 | {"user_006", "Diana", "Davis", "diana.d@email.com", "555-0106", "DataInc", "Scientist", "90000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 123 | {"user_007", "Edward", "Miller", "edward.m@email.com", "555-0107", "Acme Corp", "Engineer", "78000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 123 | {"user_007", "Edward", "Miller", "edward.m@email.com", "555-0107", "Acme Corp", "Engineer", "78000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 124 | {"user_008", "Fiona", "Wilson", "fiona.w@email.com", "555-0108", "TechCo", "Designer", "72000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 125 | {"user_009", "George", "Moore", "george.m@email.com", "555-0109", "DataInc", "Manager", "98000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 126 | {"user_010", "Hannah", "Taylor", "hannah.t@email.com", "555-0110", "Acme Corp", "Analyst", "68000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 126 | {"user_010", "Hannah", "Taylor", "hannah.t@email.com", "555-0110", "Acme Corp", "Analyst", "68000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 127 | {"user_011", "Ivan", "Anderson", "ivan.a@email.com", "555-0111", "TechCo", "Developer", "82000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 128 | {"user_012", "Julia", "Thomas", "julia.t@email.com", "555-0112", "DataInc", "Engineer", "77000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 129 | {"user_013", "Kevin", "Jackson", "kevin.j@email.com", "555-0113", "Acme Corp", "Manager", "105000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 129 | {"user_013", "Kevin", "Jackson", "kevin.j@email.com", "555-0113", "Acme Corp", "Manager", "105000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 130 | {"user_014", "Laura", "White", "laura.w@email.com", "555-0114", "TechCo", "Director", "125000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 131 | {"user_015", "Michael", "Harris", "michael.h@email.com", "555-0115", "DataInc", "Analyst", "67000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 132 | {"user_016", "Nancy", "Martin", "nancy.m@email.com", "555-0116", "Acme Corp", "Developer", "79000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 132 | {"user_016", "Nancy", "Martin", "nancy.m@email.com", "555-0116", "Acme Corp", "Developer", "79000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 133 | {"user_017", "Oscar", "Garcia", "oscar.g@email.com", "555-0117", "TechCo", "Scientist", "92000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 134 | {"user_018", "Patricia", "Martinez", "patricia.m@email.com", "555-0118", "DataInc", "Designer", "71000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 135 | {"user_019", "Quincy", "Robinson", "quincy.r@email.com", "555-0119", "Acme Corp", "Engineer", "76000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 135 | {"user_019", "Quincy", "Robinson", "quincy.r@email.com", "555-0119", "Acme Corp", "Engineer", "76000"}, | CODE |
| LOW⚡ | …pache/drill/exec/store/accumulo/AccumuloTestUtils.java | 136 | {"user_020", "Rachel", "Clark", "rachel.c@email.com", "555-0120", "TechCo", "Manager", "99000"} | CODE |
| LOW | …ec/store/accumulo/AccumuloPushdownIntegrationTest.java | 89 | " WHERE t.employment.company = 'Acme Corp'"; | CODE |
| LOW | …pache/drill/exec/store/accumulo/AccumuloSerDeTest.java | 121 | Arrays.asList("Acme Corp", "7"), | CODE |
| LOW | …pache/drill/exec/store/accumulo/AccumuloSerDeTest.java | 200 | .encodeToString("fake-token-bytes".getBytes(StandardCharsets.UTF_8)); | CODE |
| LOW | …xec/store/accumulo/AccumuloResultVerificationTest.java | 84 | .baselineValues("user_001", "John", "Doe", "john.doe@email.com", "Acme Corp", "75000") | CODE |
| LOW | …xec/store/accumulo/AccumuloResultVerificationTest.java | 260 | .baselineValues("Acme Corp", 7L) | 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 | …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 | 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 | …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 |