AI Slop Code Risk Monitor

prestodb/presto

SlopCodeMonitor badge for prestodb/presto Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The official home of the Presto distributed SQL query engine for big data

0.9 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for prestodb/presto, a Java project with 16,763 GitHub stars. SynthScan examined 2,031,928 lines of code across 11875 source files, recording 774 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low pattern signal); it is not an authorship estimate.

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

0.9
Adjusted Signal
0.9
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
16.8K
Stars
Java
Language
2.0M
Lines of Code
11.9K
Files
774
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.9/100 · LOW

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

Agent Over-Engineering Ratio 0.1/100 · LOW

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

PR Review Velocity Impact 4.1/100 · LOW

Which changes need focused human review? 774 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 99HIGH 2MEDIUM 22LOW 651

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 774 distinct pattern matches across 15 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 Indicators99 hits · 1145 pts
SeverityFileLineSnippetContext
CRITICAL…ebook/presto/hive/metastore/TestHiveMetastoreUtil.java63 private static final org.apache.hadoop.hive.metastore.api.Table TEST_TABLE = new org.apache.hadoop.hive.metastore.apCODE
CRITICAL…ebook/presto/hive/metastore/TestHiveMetastoreUtil.java83 private static final org.apache.hadoop.hive.metastore.api.Partition TEST_PARTITION = new org.apache.hadoop.hive.metaCODE
CRITICAL…ebook/presto/hive/metastore/TestHiveMetastoreUtil.java102 private static final org.apache.hadoop.hive.metastore.api.Table TEST_TABLE_WITH_UNSUPPORTED_FIELDS = new org.apache.CODE
CRITICAL…ebook/presto/hive/metastore/TestHiveMetastoreUtil.java117 private static final org.apache.hadoop.hive.metastore.api.Partition TEST_PARTITION_WITH_UNSUPPORTED_FIELDS = new orgCODE
CRITICAL…astore/glue/converter/TestGlueStatisticsConverter.java485 .longColumnStatisticsData(software.amazon.awssdk.services.glue.model.LongColumnStatisticsData.buCODE
CRITICAL…astore/glue/converter/TestGlueStatisticsConverter.java515 .longColumnStatisticsData(software.amazon.awssdk.services.glue.model.LongColumnStatisticsData.buCODE
CRITICAL…astore/glue/converter/TestGlueStatisticsConverter.java545 .longColumnStatisticsData(software.amazon.awssdk.services.glue.model.LongColumnStatisticsData.buCODE
CRITICAL…astore/glue/converter/TestGlueStatisticsConverter.java575 .longColumnStatisticsData(software.amazon.awssdk.services.glue.model.LongColumnStatisticsData.buCODE
CRITICAL⚡…n/java/com/facebook/presto/hive/HiveStorageFormat.java57 com.facebook.hive.orc.OrcSerde.class.getName(),CODE
CRITICAL⚡…n/java/com/facebook/presto/hive/HiveStorageFormat.java58 com.facebook.hive.orc.OrcInputFormat.class.getName(),CODE
CRITICAL⚡…n/java/com/facebook/presto/hive/HiveStorageFormat.java59 com.facebook.hive.orc.OrcOutputFormat.class.getName(),CODE
CRITICAL…book/presto/hive/metastore/glue/GlueHiveMetastore.java876 newDataColumns.add(software.amazon.awssdk.services.glue.model.Column.builder()CODE
CRITICAL…/hive/metastore/glue/converter/GlueInputConverter.java138 return software.amazon.awssdk.services.glue.model.Column.builder()CODE
CRITICAL…/presto/hive/metastore/thrift/ThriftMetastoreUtil.java145 org.apache.hadoop.hive.metastore.api.Database result = new org.apache.hadoop.hive.metastore.api.Database();CODE
CRITICAL…/presto/hive/metastore/thrift/ThriftMetastoreUtil.java158 org.apache.hadoop.hive.metastore.api.Table result = new org.apache.hadoop.hive.metastore.api.Table();CODE
CRITICAL…/presto/hive/metastore/thrift/ThriftMetastoreUtil.java374 org.apache.hadoop.hive.metastore.api.Partition result = new org.apache.hadoop.hive.metastore.api.Partition();CODE
CRITICAL…c/src/test/java/com/facebook/presto/orc/OrcTester.java2095 com.facebook.hive.orc.Reader reader = com.facebook.hive.orc.OrcFile.createReader(CODE
CRITICAL⚡…c/src/test/java/com/facebook/presto/orc/OrcTester.java2536 com.facebook.hive.orc.OrcConf.setVar(jobConf, HIVE_ORC_COMPRESSION, compressionCodec.name());CODE
CRITICAL⚡…c/src/test/java/com/facebook/presto/orc/OrcTester.java2537 com.facebook.hive.orc.OrcConf.setIntVar(jobConf, HIVE_ORC_ENTROPY_STRING_THRESHOLD, 1);CODE
CRITICAL⚡…c/src/test/java/com/facebook/presto/orc/OrcTester.java2538 com.facebook.hive.orc.OrcConf.setIntVar(jobConf, HIVE_ORC_DICTIONARY_ENCODING_INTERVAL, 2);CODE
CRITICAL⚡…c/src/test/java/com/facebook/presto/orc/OrcTester.java2539 com.facebook.hive.orc.OrcConf.setBoolVar(jobConf, HIVE_ORC_BUILD_STRIDE_DICTIONARY, true);CODE
CRITICAL…to/spark/execution/http/PrestoSparkHttpTaskClient.java863 com.google.common.net.MediaType parsedMediaType = com.google.common.net.MediaType.parse(value);CODE
CRITICAL…m/facebook/presto/pinot/TestPinotBrokerPageSource.java137 "{ \"exceptions\": [ { \"errorCode\": 200, \"message\": \"QueryExecutionError:\\njava.lang.NumberForCODE
CRITICAL…to/teradata/functions/dateformat/DateFormatParser.java131 DateFormat lexer = new com.facebook.presto.teradata.functions.DateFormat(new ANTLRInputStream(format));CODE
CRITICAL…acebook/presto/plugin/clickhouse/ClickHouseClient.java624 com.facebook.presto.plugin.clickhouse.RemoteTableNameCacheKey cacheKey = new com.facebook.presto.plugin.CODE
CRITICAL…c/main/java/com/facebook/presto/druid/DruidConfig.java121 configuration.set("fs.hdfs.impl", org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());CODE
CRITICAL…c/main/java/com/facebook/presto/druid/DruidConfig.java122 configuration.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…cebook/presto/flightshim/TestFlightShimTpchPlugin.java190 assertEquals(Integer.parseInt(metadata.get(METADATA_KEY_ARROW_STATUS_CODE)), io.grpc.Status.Code.INTERNAL.vaCODE
CRITICAL…com/facebook/presto/flightshim/FlightShimProducer.java230 metadata.insert(METADATA_KEY_ARROW_STATUS_CODE, String.valueOf(io.grpc.Status.Code.INTERNAL.value()));CODE
CRITICAL…java/com/facebook/presto/iceberg/TestIcebergTypes.java112 com.facebook.presto.testing.assertions.Assert.assertEquals(lateRows, lateRowsFromEquals);CODE
CRITICAL…java/com/facebook/presto/iceberg/TestIcebergTypes.java118 com.facebook.presto.testing.assertions.Assert.assertEquals(earlyRows, earlyRowsFromEquals);CODE
CRITICAL⚡…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java207 org.apache.iceberg.types.Types.NestedField.required(1, "ID", org.apache.iceberg.types.Types.IntegerType.CODE
CRITICAL⚡…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java208 org.apache.iceberg.types.Types.NestedField.optional(2, "VALUE", org.apache.iceberg.types.Types.StringTypCODE
CRITICAL⚡…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java214 org.apache.iceberg.types.Types.NestedField.required(1, "ID", org.apache.iceberg.types.Types.IntegerType.CODE
CRITICAL⚡…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java215 org.apache.iceberg.types.Types.NestedField.optional(2, "VALUE", org.apache.iceberg.types.Types.StringTypCODE
CRITICAL⚡…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java216 org.apache.iceberg.types.Types.NestedField.required(3, "REGION", org.apache.iceberg.types.Types.StringTyCODE
CRITICAL…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java242 org.apache.iceberg.catalog.TableIdentifier.of(TEST_SCHEMA, tableName),CODE
CRITICAL…ceberg/AbstractTestIcebergAnalyzeUppercaseColumns.java267 org.apache.iceberg.catalog.TableIdentifier.of(TEST_SCHEMA, tableName),CODE
CRITICAL…ebook/presto/iceberg/TestIcebergParquetSchemaUtil.java118 assertEquals(convert(schema, "table"), org.apache.iceberg.parquet.ParquetSchemaUtil.convert(schema, "table"));CODE
CRITICAL…cebook/presto/iceberg/IcebergNativeCatalogFactory.java157 configuration.set("fs.hdfs.impl", org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());CODE
CRITICAL…cebook/presto/iceberg/IcebergNativeCatalogFactory.java158 configuration.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…t/java/com/facebook/presto/mongodb/TestMongoViews.java85 QueryRunner queryRunner = com.facebook.presto.tests.DistributedQueryRunner.builder(session)CODE
CRITICAL⚡…book/presto/plugin/prometheus/TestPrometheusSplit.java144 com.facebook.airlift.units.Duration.timeUnitToString(config.getQueryChunkSizeDuration().getUnit());CODE
CRITICAL⚡…book/presto/plugin/prometheus/TestPrometheusSplit.java151 config.setMaxQueryRangeDuration(com.facebook.airlift.units.Duration.valueOf("21d"));CODE
CRITICAL⚡…book/presto/plugin/prometheus/TestPrometheusSplit.java152 config.setQueryChunkSizeDuration(com.facebook.airlift.units.Duration.valueOf("1d"));CODE
CRITICAL⚡…book/presto/plugin/prometheus/TestPrometheusSplit.java153 config.setCacheDuration(com.facebook.airlift.units.Duration.valueOf("30s"));CODE
CRITICAL…/com/facebook/presto/hive/TestHudiDirectoryLister.java68 hadoopConf.set("fs.hdfs.impl", org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());CODE
CRITICAL…/com/facebook/presto/hive/TestHudiDirectoryLister.java69 hadoopConf.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…/com/facebook/presto/hive/TestHudiDirectoryLister.java85 hadoopConf.set("fs.hdfs.impl", org.apache.hadoop.hdfs.DistributedFileSystem.class.getName());CODE
CRITICAL…/com/facebook/presto/hive/TestHudiDirectoryLister.java86 hadoopConf.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…est/java/com/facebook/presto/hive/TestHiveAnalyze.java66 assertUpdate(format("CREATE TABLE %s (a_varchar varchar, month varchar) WITH (partitioned_by = ARRAY['month'], eCODE
CRITICAL…est/java/com/facebook/presto/hive/TestHiveAnalyze.java107 assertUpdate(format("CREATE TABLE %s (a_varchar varchar, month varchar) WITH (partitioned_by = ARRAY['month'], eCODE
CRITICAL…k/presto/hive/TestGenericHiveRecordCursorProvider.java168 hadoopConf.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…k/presto/hive/TestGenericHiveRecordCursorProvider.java185 hadoopConf.set("fs.file.impl", org.apache.hadoop.fs.LocalFileSystem.class.getName());CODE
CRITICAL…va/com/facebook/presto/hive/parquet/ParquetTester.java414 org.apache.parquet.hadoop.metadata.CompressionCodecName compressionCodecName = org.apache.parquet.hadoopCODE
CRITICAL…resto/hive/metastore/glue/TestingMetastoreObjects.java108 return com.facebook.presto.hive.metastore.Database.builder()CODE
CRITICAL…resto/hive/metastore/glue/TestingMetastoreObjects.java119 return com.facebook.presto.hive.metastore.Table.builder()CODE
CRITICAL…resto/hive/metastore/glue/TestingMetastoreObjects.java134 return com.facebook.presto.hive.metastore.Partition.builder()CODE
CRITICAL…resto/hive/metastore/glue/TestingMetastoreObjects.java146 return new com.facebook.presto.hive.metastore.Column("test-col" + generateRandom(), HiveType.HIVE_STRING, OptionCODE
CRITICAL…ava/com/facebook/presto/hive/OrcFileWriterFactory.java215 else if (com.facebook.hive.orc.OrcOutputFormat.class.getName().equals(storageFormat.getOutputFormat())) {CODE
39 more matches not shown…
Over-Commented Block471 hits · 394 pts
SeverityFileLineSnippetContext
LOW.yamlfmt.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW.pre-commit-config.yaml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW.yamllint.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…book/presto/hive/metastore/glue/GlueHiveMetastore.java181COMMENT
LOW…est/java/com/facebook/presto/orc/TestStreamLayout.java141 // Node 6, Column 1, Type: INT (absent in flat maps)COMMENT
LOW…com/facebook/presto/orc/stream/LongOutputStreamV2.java641 // header to record the gap width. To deal with this case, we will saveCOMMENT
LOW…/facebook/presto/orc/writer/TimestampColumnWriter.java161 }COMMENT
LOW…/facebook/presto/orc/writer/TimestampColumnWriter.java181 // 2 0b001 123456700 (1234567 << 3) | 0b001COMMENT
LOW…book/presto/orc/writer/LongDictionaryColumnWriter.java161 }COMMENT
LOW…om/facebook/presto/orc/metadata/OrcMetadataReader.java441 // the string stats are truncated at the first replacement character.COMMENT
LOW…presto/pinot/query/PinotFilterExpressionConverter.java141 // Handle the binary comparison logic of <DATE/TIMESTAMP field> <binary op> <DATE/TIMESTAMP literal>.COMMENT
LOW…m/facebook/presto/pinot/query/PinotQueryGenerator.java401 }COMMENT
LOWpresto-native-execution/CMakeLists.txt1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpresto-native-execution/docker-compose.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpresto-native-execution/docker-compose.yml41 # docker compose build centos-native-dependencyCOMMENT
LOWpresto-native-execution/entrypoint.sh1#!/bin/shCOMMENT
LOWpresto-native-execution/presto_cpp/CMakeLists.txt1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpresto-native-execution/presto_cpp/docs/conf.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpresto-native-execution/presto_cpp/docs/conf.py21# add these directories to sys.path here. If the directory is relative to theCOMMENT
LOWpresto-native-execution/presto_cpp/docs/conf.py41COMMENT
LOW…ve-execution/presto_cpp/presto_protocol/topological.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…ve-execution/presto_cpp/presto_protocol/CMakeLists.txt1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…to-native-execution/presto_cpp/presto_protocol/util.py1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…execution/presto_cpp/presto_protocol/presto_protocol.h21#include "presto_cpp/presto_protocol/connector/iceberg/presto_protocol_iceberg.h"COMMENT
LOW…ecution/presto_cpp/presto_protocol/presto_protocol.cpp21#include "presto_cpp/presto_protocol/connector/tpcds/presto_protocol_tpcds.cpp"COMMENT
LOW…ecution/presto_cpp/presto_protocol/presto_protocol.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…tion/presto_cpp/presto_protocol/java-to-struct-json.py1#!/usr/bin/env python3COMMENT
LOW…presto_cpp/presto_protocol/core/presto_protocol_core.h21#include <exception>COMMENT
LOW…esto_cpp/presto_protocol/core/presto_protocol_core.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…cution/presto_cpp/presto_protocol/tests/CMakeLists.txt1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…/arrow_federation/presto_protocol_arrow_federation.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…onnector/arrow_flight/presto_protocol_arrow_flight.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…protocol/connector/iceberg/presto_protocol_iceberg.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…sto_protocol/connector/tpcds/presto_protocol_tpcds.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…resto_protocol/connector/tpch/presto_protocol_tpch.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOW…resto_protocol/connector/hive/presto_protocol_hive.yml1# Licensed under the Apache License, Version 2.0 (the "License");COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h161# define XXH32_state_s XXH_IPREF(XXH32_state_s)COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h181/* specific declaration modes for Windows */COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h201 * (therefore, avoid empty or numeric values).COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h221# define XXH64_createState XXH_NAME2(XXH_NAMESPACE, XXH64_createState)COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h481#ifdef XXH_NAMESPACECOMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h521 * Note: seed==0 produces the same results as XXH3_64bits().COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h841/* *************************************COMMENT
LOWpresto-native-execution/presto_cpp/external/xxhash.h1001# define XXH_rotl32 __builtin_rotateleft32COMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h61/* special: when including `xxh3.h` directly, turn on XXH_INLINE_ALL */COMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h81# define XXH_unlikely(x) __builtin_expect(x, 0)COMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h181# if defined(__AVX2__)COMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h201 * This is for compatibility with aligned vector loads, which are usually faster.COMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h361# endifCOMMENT
LOWpresto-native-execution/presto_cpp/external/xxh3.h441/* prefetchCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp21#include <algorithm> // all_of, find, for_eachCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp41// SPDX-License-Identifier: MITCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp61 #if defined(NLOHMANN_JSON_VERSION_MAJOR) && defined(NLOHMANN_JSON_VERSION_MINOR) && defined(NLOHMANN_JSON_VERSION_PACOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp81 #define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON 0COMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp161// __ _____ _____ _____COMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp181#include <type_traits> // is_arithmetic, is_same, is_enum, underlying_type, is_convertibleCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp201#endifCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp221COMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp241// SPDX-License-Identifier: MITCOMMENT
LOW…e-execution/presto_cpp/external/json/nlohmann/json.hpp341// SPDX-FileCopyrightText: 2016 - 2021 Evan Nemerson <evan@nemerson.com>COMMENT
411 more matches not shown…
Structural Annotation Overuse36 hits · 73 pts
SeverityFileLineSnippetContext
LOW…ative-execution/presto_cpp/main/PrestoExchangeSource.h198 // NOTE: This method is normally called within callbacks. Caller should makeCOMMENT
LOW…ative-execution/presto_cpp/main/PrestoExchangeSource.h233 // NOTE: This method is normally called within callbacks. Caller should makeCOMMENT
LOW…ative-execution/presto_cpp/main/PrestoExchangeSource.h246 // NOTE: This method is normally called within callbacks. Caller should makeCOMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh17# Step 1: Generate CA private key and self-signed certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh22# Step 2: Generate server private key.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh25# Step 3: Generate server certificate signing request (CSR).COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh30# Step 4: Sign server CSR with the CA certificate to generate the server certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh35# Step 5: Generate client private key.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh38# Step 6: Generate client certificate signing request (CSR).COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh42# Step 7: Sign client CSR with the CA certificate to generate the client certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh46# Step 8: Output summary.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh53# Step 9: Remove unused files.COMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java90 // Step 1: Declare default constructorCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java93 // Step 2: Declare methodCOMMENT
LOW…ook/presto/hive/functions/gen/ScalarMethodHandles.java105 // Step 3: Implement method bodyCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java116 // Step 4: Generate classCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java122 // Step 5: Lookup MethodHandleCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java74 // Step 1: Create function instanceCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java77 // Step 2: Initialize functionCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java83 // Step 3: Create invokerCOMMENT
LOW…o/hive/functions/scalar/HiveScalarFunctionInvoker.java94 // Step 4: Create ThreadLocal GenericUDFCOMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1904 // Step 1: create table partitioned only by day(int_load_ts)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1909 // Step 2: insert old rows (spec-0 files: only day partition in metadata)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1918 // Step 3: evolve the partition spec via the Iceberg Java APICOMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1929 // Step 4: insert new rows (spec-1 files: day + rec_source in metadata)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1937 // Step 5: query before any rewriteCOMMENT
LOW…book/presto/iceberg/TestRewriteDataFilesProcedure.java1949 // Step 6: rewrite_data_files and verifyCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java208 // Step 1: Create new PARTIAL AggregationNode on SourceCOMMENT
LOW⚡…/planner/iterative/rule/PreAggregateBeforeGroupId.java222 // Step 2: Create Exchange (hash partitioned by grouping keys) to shuffle partial statesCOMMENT
LOW⚡…/planner/iterative/rule/PreAggregateBeforeGroupId.java231 // Step 3: Create INTERMEDIATE AggregationNode below GroupId to merge partial states after shuffleCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java272 // Step 4: Create new GroupIdNode with INTERMEDIATE output as sourceCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java285 // Step 5: Change the original PARTIAL aggregation above GroupId to INTERMEDIATE.COMMENT
LOW…c/test/java/com/facebook/presto/server/TestServer.java648 // Step 1: Simulate router POSTing query to backup server with retry headerCOMMENT
LOW⚡…c/test/java/com/facebook/presto/server/TestServer.java670 // Step 2: Configure retry URL to point to the backup cluster's retry endpointCOMMENT
LOW⚡…c/test/java/com/facebook/presto/server/TestServer.java673 // Step 3: Router redirects client to primary server with retry parametersCOMMENT
LOW…c/test/java/com/facebook/presto/server/TestServer.java733 // Step 4: Client follows the redirect link from primary server to backup serverCOMMENT
Verbosity Indicators33 hits · 68 pts
SeverityFileLineSnippetContext
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh17# Step 1: Generate CA private key and self-signed certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh22# Step 2: Generate server private key.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh25# Step 3: Generate server certificate signing request (CSR).COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh30# Step 4: Sign server CSR with the CA certificate to generate the server certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh35# Step 5: Generate client private key.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh38# Step 6: Generate client certificate signing request (CSR).COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh42# Step 7: Sign client CSR with the CA certificate to generate the client certificate.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh46# Step 8: Output summary.COMMENT
LOW⚡…n/connectors/arrow_flight/tests/data/generate_certs.sh53# Step 9: Remove unused files.COMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java90 // Step 1: Declare default constructorCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java93 // Step 2: Declare methodCOMMENT
LOW…ook/presto/hive/functions/gen/ScalarMethodHandles.java105 // Step 3: Implement method bodyCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java116 // Step 4: Generate classCOMMENT
LOW⚡…ook/presto/hive/functions/gen/ScalarMethodHandles.java122 // Step 5: Lookup MethodHandleCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java74 // Step 1: Create function instanceCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java77 // Step 2: Initialize functionCOMMENT
LOW⚡…o/hive/functions/scalar/HiveScalarFunctionInvoker.java83 // Step 3: Create invokerCOMMENT
LOW…o/hive/functions/scalar/HiveScalarFunctionInvoker.java94 // Step 4: Create ThreadLocal GenericUDFCOMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1904 // Step 1: create table partitioned only by day(int_load_ts)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1909 // Step 2: insert old rows (spec-0 files: only day partition in metadata)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1918 // Step 3: evolve the partition spec via the Iceberg Java APICOMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1929 // Step 4: insert new rows (spec-1 files: day + rec_source in metadata)COMMENT
LOW⚡…book/presto/iceberg/TestRewriteDataFilesProcedure.java1937 // Step 5: query before any rewriteCOMMENT
LOW…book/presto/iceberg/TestRewriteDataFilesProcedure.java1949 // Step 6: rewrite_data_files and verifyCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java208 // Step 1: Create new PARTIAL AggregationNode on SourceCOMMENT
LOW⚡…/planner/iterative/rule/PreAggregateBeforeGroupId.java222 // Step 2: Create Exchange (hash partitioned by grouping keys) to shuffle partial statesCOMMENT
LOW⚡…/planner/iterative/rule/PreAggregateBeforeGroupId.java231 // Step 3: Create INTERMEDIATE AggregationNode below GroupId to merge partial states after shuffleCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java272 // Step 4: Create new GroupIdNode with INTERMEDIATE output as sourceCOMMENT
LOW…/planner/iterative/rule/PreAggregateBeforeGroupId.java285 // Step 5: Change the original PARTIAL aggregation above GroupId to INTERMEDIATE.COMMENT
LOW…c/test/java/com/facebook/presto/server/TestServer.java648 // Step 1: Simulate router POSTing query to backup server with retry headerCOMMENT
LOW⚡…c/test/java/com/facebook/presto/server/TestServer.java670 // Step 2: Configure retry URL to point to the backup cluster's retry endpointCOMMENT
LOW⚡…c/test/java/com/facebook/presto/server/TestServer.java673 // Step 3: Router redirects client to primary server with retry parametersCOMMENT
LOW…c/test/java/com/facebook/presto/server/TestServer.java733 // Step 4: Client follows the redirect link from primary server to backup serverCOMMENT
AI Slop Vocabulary16 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMpresto-native-execution/presto_cpp/main/PrestoTask.cpp157// To leverage this logic we need to supply Presto's operator names.COMMENT
MEDIUM…a/com/facebook/presto/iceberg/IcebergSplitManager.java118 // propagate it at split level so the parquet pushdown can leverage it.COMMENT
MEDIUM…va/com/facebook/presto/iceberg/IcebergSplitSource.java198 // TODO: We should leverage residual expression and convert that to TupleDomain.COMMENT
MEDIUM…m/facebook/presto/iceberg/IcebergAbstractMetadata.java2626 // TODO: utilize and improve propertyMetadata encoder for correct encoding impl.COMMENT
MEDIUM…ava/com/facebook/presto/tests/AbstractTestQueries.java781 // Checksums are order-independent, so they are robust to the plan differences the rule introduces.COMMENT
MEDIUM…/com/facebook/presto/tests/tpch/TpchIndexMetadata.java78 // Note: technically we could more efficiently utilize the overlapped columns, but this way is simpler for nowCOMMENT
MEDIUM…facebook/presto/sql/planner/TestEqualityInference.java304 // All scope equalities should utilize the constant if possibleCOMMENT
MEDIUM…com/facebook/presto/operator/MarkDistinctOperator.java183 // Essentially we would love to have clean interfaces to support both pushing and pulling memory usageCOMMENT
MEDIUM…va/com/facebook/presto/operator/RowNumberOperator.java254 // Essentially we would love to have clean interfaces to support both pushing and pulling memory usageCOMMENT
MEDIUM…om/facebook/presto/operator/DistinctLimitOperator.java272 // Essentially we would love to have clean interfaces to support both pushing and pulling memory usageCOMMENT
MEDIUM…ggregation/builder/InMemoryHashAggregationBuilder.java369 // Essentially we would love to have clean interfaces to support both pushing and pulling memory usageCOMMENT
MEDIUM…va/com/facebook/presto/sql/planner/PlanOptimizers.java971 builder.add(predicatePushDown); // Run predicate push down one more time in case we can leverage new informationCODE
MEDIUM…va/com/facebook/presto/sql/planner/PlanOptimizers.java1129 builder.add(predicatePushDown); // Run predicate push down one more time in case we can leverage new informationCODE
MEDIUM…lanner/iterative/properties/LogicalPropertiesImpl.java312 // Some optimizations (e.g. canBeHomogenized) may utilize theseCOMMENT
MEDIUM…lanner/iterative/properties/LogicalPropertiesImpl.java432 // Some optimizations (e.g. canBeHomogenized) may utilize theseCOMMENT
MEDIUM…resto/sql/analyzer/MaterializedViewQueryOptimizer.java472 // TODO: We should be able to leverage this information in the StatementAnalyzer as well.COMMENT
Fake / Example Data39 hits · 40 pts
SeverityFileLineSnippetContext
LOW…cution/presto_cpp/main/tests/TaskUpdateRequestTest.cpp281 {"Name", "John Doe"}, {"Age", "30"}, {"City", "New York"}};CODE
LOW…cution/presto_cpp/main/tests/TaskUpdateRequestTest.cpp283 {"Name", "Jane Doe"}, {"Age", "25"}, {"City", "Los Angeles"}};CODE
LOW…sto/nativeworker/AbstractTestNativeGeneralQueries.java506 "'Jane Doe'," +CODE
LOW…k/presto/iceberg/TestIcebergMaterializedViewsBase.java1384 "(1, ARRAY['tag1', 'tag2'], MAP(ARRAY['key1', 'key2'], ARRAY['value1', 'value2']), ROW('123 Main St', 'NCODE
LOW…com/facebook/presto/iceberg/TestOutputColumnTypes.java232 runQueryAndWaitForEvents("INSERT INTO employee_details VALUES(1, 'John Doe', ARRAY['SQL', 'Python', 'Kubernetes'CODE
LOW…ook/presto/iceberg/container/IcebergMinIODataLake.java105 RequestBody.fromString("placeholder"));CODE
LOW…facebook/presto/hive/TestHiveIntegrationSmokeTest.java5309 "AS SELECT 'dummy_value' as dummy_col WITH NO DATA";CODE
LOW…com/facebook/presto/hive/AbstractTestCteExecution.java281 " (1, ARRAY[ROW('John Doe', 30)], from_base64('Sm9obiBEb2U=')), " +CODE
LOW…com/facebook/presto/hive/AbstractTestCteExecution.java431 " (1, ARRAY[ROW('John Doe', 30)], from_base64('Sm9obiBEb2U=')), -- 'John Doe' in base64\n" +CODE
LOW…est/java/com/facebook/presto/matching/TestMatcher.java47 assertMatch(any(), "John Doe");CODE
LOW…est/java/com/facebook/presto/matching/TestMatcher.java52 assertNoMatch(typeOf(Integer.class), "John Doe");CODE
LOW…/java/com/facebook/presto/jdbc/TestJdbcConnection.java71 return new Object[][] {{"test.com:1234"}, {"test@test.com"}};CODE
LOW…esto/operator/scalar/sql/TestReplaceFirstFunction.java41 "REPLACE_FIRST('John Doe', ' ', '')",CODE
LOW…esto/operator/scalar/sql/TestReplaceFirstFunction.java43 "John Doe");CODE
LOW…facebook/presto/sql/planner/TestPredicatePushdown.java535 " AND l.comment = 'lorem ipsum' ")CODE
LOW…facebook/presto/sql/planner/TestPredicatePushdown.java552 filter("L_COMMENT = 'lorem ipsum'",CODE
LOW…facebook/presto/sql/planner/TestPredicatePushdown.java571 " AND l.comment = 'lorem ipsum' ")CODE
LOW…facebook/presto/sql/planner/TestPredicatePushdown.java588 filter("L_COMMENT = 'lorem ipsum'",CODE
LOW…rver/security/oauth2/TestingHydraIdentityProvider.java296 mapper.writeValueAsString(mapper.createObjectNode().put("subject", "foo@bar.CODE
LOW…ecurity/oauth2/BaseOAuth2AuthenticationFilterTest.java206 .put("sub", "foo@bar.com")CODE
LOW…ecurity/oauth2/BaseOAuth2AuthenticationFilterTest.java325 assertThat(claims.getSubject()).isEqualTo("foo@bar.com");CODE
LOW⚡…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java79 body.put("sub", "user@example.com");CODE
LOW⚡…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java80 body.put("email", "user@example.com");CODE
LOW⚡…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java87 assertThat(successResponse.getUserInfo().getSubject().getValue()).isEqualTo("user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java136 body.put("email", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java152 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java168 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java184 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java203 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java219 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java235 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java254 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java273 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java289 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java305 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java344 body.put("sub", "user@example.com");CODE
LOW…urity/oauth2/TestNimbusOAuth2ClientUserInfoParser.java360 body.put("sub", "user@example.com");CODE
LOW…/java/com/facebook/presto/delta/TestColumnMapping.java100 "555-0101", LocalDate.of(2025, 1, 15));CODE
LOW…/java/com/facebook/presto/delta/TestColumnMapping.java103 "555-0105", LocalDate.of(2026, 1, 20));CODE
Hyper-Verbose Identifiers37 hits · 37 pts
SeverityFileLineSnippetContext
LOW…to/spark/execution/http/PrestoSparkHttpTaskClient.java550 private static class BytesResponseHandlerCODE
LOW…to/spark/execution/http/PrestoSparkHttpTaskClient.java728 public static class PageResponseHandlerCODE
LOW…k/execution/http/server/SimpleHttpResponseHandler.java31public class SimpleHttpResponseHandler<T>CODE
LOW…ion/http/server/smile/AdaptingJsonResponseHandler.java30public class AdaptingJsonResponseHandler<T>CODE
LOW…ive-execution/presto_cpp/main/PrestoServerOperations.h21class ResponseHandler;CODE
LOWpresto-native-execution/presto_cpp/main/PrestoServer.h56class ResponseHandler;CODE
LOW…sto-native-execution/presto_cpp/main/http/HttpServer.h55class AbstractRequestHandler : public proxygen::RequestHandler {CODE
LOW…sto-native-execution/presto_cpp/main/http/HttpServer.h137class CallbackRequestHandler : public AbstractRequestHandler {CODE
LOW…sto-native-execution/presto_cpp/main/http/HttpServer.h171class ErrorRequestHandler : public AbstractRequestHandler {CODE
LOW…sto-native-execution/presto_cpp/main/http/HttpClient.h154class ResponseHandler;CODE
LOW…o-native-execution/presto_cpp/main/http/HttpClient.cpp180class ResponseHandler : public proxygen::HTTPTransactionHandler {CODE
LOW…/presto_cpp/main/http/filters/tests/HttpFilterTest.cpp25class DummyRequestHandler : public proxygen::RequestHandler {CODE
LOW…c/main/java/com/facebook/presto/druid/DruidClient.java183 private static class StreamingJsonResponseHandlerCODE
LOW…to/functionNamespace/rest/RestSqlFunctionExecutor.java159 public static class SqlFunctionResultResponseHandlerCODE
LOW…book/presto/tests/querystats/HttpQueryStatsClient.java59 private final class GetQueryStatsResponseHandlerCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java702 public static class IdentityPassThroughFunctionDataProcessorCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java790 public static class RepeatFunctionDataProcessorCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java884 private static class EmptyOutputDataProcessorCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java937 private static class EmptyOutputWithPassThroughDataProcessorCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java1063 private static class PassThroughInputDataProcessorCODE
LOW…cebook/presto/connector/tvf/TestingTableFunctions.java1157 private static class TestInputDataProcessorCODE
LOW…va/com/facebook/presto/operator/JoinBridgeManager.java219 private static class TaskWideInternalJoinBridgeDataManager<T extends JoinBridge>CODE
LOW…va/com/facebook/presto/operator/JoinBridgeManager.java295 private static class OneToOneInternalJoinBridgeDataManager<T extends JoinBridge>CODE
LOW…va/com/facebook/presto/operator/JoinBridgeManager.java395 private static class SharedInternalJoinBridgeDataManager<T extends JoinBridge>CODE
LOW…va/com/facebook/presto/proxy/ProxyResponseHandler.java34public class ProxyResponseHandlerCODE
LOWpresto-ui/src/utils.ts182export function addExponentiallyWeightedToHistory(value: number, valuesArray: number[]): number[] {CODE
LOWpresto-ui/src/static/tableau/presto-connector.html201 function addSessionParameterToForm(name, value) {CODE
LOW…/presto/server/smile/TestFullSmileResponseHandler.java42public class TestFullSmileResponseHandlerCODE
LOW…ebook/presto/resourcemanager/ResourceManagerProxy.java177 private static class ResponseHandlerCODE
LOW…in/java/com/facebook/presto/server/WorkerResource.java89 private static class StreamingJsonResponseHandlerCODE
LOW…/facebook/presto/server/SimpleHttpResponseHandler.java30public class SimpleHttpResponseHandler<T>CODE
LOW…to/server/security/oauth2/NimbusAirliftHttpClient.java105 public static class NimbusResponseHandler<T>CODE
LOW…ok/presto/server/thrift/ThriftHttpResponseHandler.java31public class ThriftHttpResponseHandler<T>CODE
LOW…sto/server/remotetask/HttpRemoteTaskWithEventLoop.java1295 private class UpdateResponseHandlerCODE
LOW…k/presto/server/smile/AdaptingJsonResponseHandler.java31public class AdaptingJsonResponseHandler<T>CODE
LOW…book/presto/server/smile/FullSmileResponseHandler.java35public class FullSmileResponseHandler<T>CODE
LOW…com/facebook/presto/operator/HttpRpcShuffleClient.java125 public static class PageResponseHandlerCODE
TODO Padding18 hits · 27 pts
SeverityFileLineSnippetContext
LOW…/facebook/presto/orc/TestMapFlatBatchStreamReader.java72 // TODO: Add tests for timestamp as value typeCOMMENT
LOW…ebook/presto/orc/TestMapFlatSelectiveStreamReader.java75 // TODO: Add tests for timestamp as value typeCOMMENT
LOW…esto/teradata/functions/TestTeradataDateFunctions.java104 // TODO: implement this feature SWARM-355COMMENT
LOW…esto/teradata/functions/TestTeradataDateFunctions.java114 // TODO: implement this feature SWARM-354COMMENT
LOW…esto/teradata/functions/TestTeradataDateFunctions.java128 // TODO: implement this feature SWARM-353COMMENT
LOW…ook/presto/hive/functions/gen/AccumulatorCompiler.java628 // TODO: implement masking based on maskChannel field once Window Functions support DISTINCT arguments to the fuCOMMENT
LOW…resto/plugin/base/security/FileBasedAccessControl.java303 // TODO: implement column level permissionsCOMMENT
LOW…rc/main/java/com/facebook/presto/spi/RecordCursor.java46 // TODO: implement this method in subclasses and remove this default implementationCOMMENT
LOW…a/com/facebook/presto/jdbc/PrestoDatabaseMetaData.java1366 // TODO: implement thisCOMMENT
LOW…a/com/facebook/presto/jdbc/PrestoDatabaseMetaData.java1374 // TODO: implement thisCOMMENT
LOW…/test/java/com/facebook/presto/block/TestMapBlock.java82 // TODO: Add test case for a sliced MapBlockCOMMENT
LOW…c/main/java/com/facebook/presto/type/DecimalCasts.java479 // TODO: implement specialized version for short decimalsCOMMENT
LOW…c/main/java/com/facebook/presto/type/DecimalCasts.java524 // TODO: implement specialized version for short decimalsCOMMENT
LOW…k/presto/operator/aggregation/AccumulatorCompiler.java320 // TODO: implement masking based on maskChannel field once Window Functions support DISTINCT arguments to the fuCOMMENT
LOW…m/facebook/presto/operator/scalar/StringFunctions.java1015 // TODO: implement N arguments char concatCOMMENT
LOW…sto/sql/planner/optimizations/PropertyDerivations.java742 // TODO: implement full properties for local exchangesCOMMENT
LOW…ebook/presto/sql/planner/optimizations/ShardJoins.java187 // TODO: implement based on HBO statsCOMMENT
LOW…rule/LeftJoinWithArrayContainsToEquiJoinCondition.java96 // TODO: implement cost based with HBOCOMMENT
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml21# -----------------------------COMMENT
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml23# -----------------------------COMMENT
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml69 # -----------------------------COMMENT
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml71 # -----------------------------COMMENT
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml130 # -----------------------------COMMENT
MEDIUM.github/workflows/prestocpp-linux-container-tests.yml132 # -----------------------------COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…a/com/facebook/presto/hive/HivePageSourceProvider.java857 // In nested columns, if the resolved type is same as requested type don't add the coercion mappCOMMENT
HIGH…c/test/java/com/facebook/presto/server/TestServer.java291 // verify slug in nextUri is same as requestedCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWpresto-native-execution/docker-compose.yml14 # Usage:COMMENT
LOWpresto-native-execution/docker-compose.yml23 # Usage:COMMENT
LOWpresto-native-execution/docker-compose.yml40 # Usage:COMMENT
LOWpresto-native-execution/docker-compose.yml57 # Usage:COMMENT
Deep Nesting5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…tion/presto_cpp/presto_protocol/java-to-struct-json.py92CODE
LOW…tion/presto_cpp/presto_protocol/java-to-struct-json.py189CODE
LOW…native-execution/presto_cpp/main/thrift/thrift2json.py61CODE
LOW…esto_cpp/main/thrift/presto_protocol-to-thrift-json.py90CODE
LOWpresto-native-execution/scripts/license-header.py137CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpresto-native-execution/scripts/setup-macos.sh22# Set DEPENDENCY_DIR to a directory outside of PrestoCOMMENT
LOW.github/workflows/prestocpp-linux-build.yml45 # Set compiler to GCC 14COMMENT
LOW…uct-tests/conf/docker/files/presto-launcher-wrapper.sh38# Check if Java version is 17COMMENT
Unused Imports4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpresto-docs/src/main/sphinx/ext/download.py16CODE
LOWpresto-docs/src/main/sphinx/ext/download.py18CODE
LOWpresto-docs/src/main/sphinx/ext/pr.py16CODE
LOWpresto-docs/src/main/sphinx/ext/issue.py16CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpresto-cassandra/src/test/resources/cu-cassandra.yaml419# Warning: before enabling this property make sure to ntp is installedCOMMENT