Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
323 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | …c/main/resources/webapp/src/components/StageDetail.jsx | 453 | this.props.stage.stageStats.operatorSummaries.forEach((operator) => { |
| CRITICAL | …o-main/src/test/java/io/trino/server/ui/TestWebUi.java | 436 | return jakarta.ws.rs.core.Response.ok() |
| CRITICAL | …ava/io/trino/server/security/TestResourceSecurity.java | 1199 | return jakarta.ws.rs.core.Response.ok() |
| CRITICAL | …n/src/test/java/io/trino/execution/TestStageStats.java | 96 | Optional.of(io.trino.plugin.base.metrics.DistributionSnapshot.fromDistribution(getTDigestHistogram(10))), |
| CRITICAL | …src/main/java/io/trino/operator/OperatorFactories.java | 53 | return createAdapterOperatorFactory(new io.trino.operator.join.nonspilling.LookupJoinOperatorFactory( |
| CRITICAL | …n/java/io/trino/sql/planner/LocalExecutionPlanner.java | 3000 | new io.trino.operator.join.nonspilling.PartitionedLookupSourceFactory( |
| CRITICAL | …rino/plugin/iceberg/TestIcebergAvroDataConversion.java | 36 | VARIANT.writeObject(blockBuilder, io.trino.spi.variant.Variant.ofLong(41)); |
| CRITICAL | …rino/plugin/iceberg/TestIcebergAvroDataConversion.java | 37 | VARIANT.writeObject(blockBuilder, io.trino.spi.variant.Variant.ofLong(42)); |
| CRITICAL | …rino/plugin/iceberg/TestIcebergAvroDataConversion.java | 43 | assertThat(org.apache.iceberg.variants.Variant.toString((org.apache.iceberg.variants.Variant) converted)) |
| CRITICAL | …rino/plugin/iceberg/TestIcebergAvroDataConversion.java | 52 | VARIANT.writeObject(blockBuilder, io.trino.spi.variant.Variant.ofString("hello")); |
| CRITICAL | …rino/plugin/iceberg/TestIcebergAvroDataConversion.java | 58 | assertThat(org.apache.iceberg.variants.Variant.toString((org.apache.iceberg.variants.Variant) converted)) |
| CRITICAL | …plugin/iceberg/delete/DefaultDeletionVectorWriter.java | 316 | io.trino.plugin.iceberg.delete.DeleteFile.fromIceberg(deleteFile), |
| CRITICAL | …rino/plugin/iceberg/catalog/jdbc/TrinoJdbcCatalog.java | 331 | // "Cannot invoke "org.apache.iceberg.util.SerializableSupplier.get()" because "this.hadoopConf" is null" |
| CRITICAL | …/lakehouse/TestLakehouseIcebergConnectorSmokeTest.java | 77 | assertThat(io.trino.plugin.iceberg.TableType.values()) |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 97 | private final software.amazon.awssdk.services.glue.model.Database glueDatabase = software.amazon.awssdk.services.glu |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 104 | private final software.amazon.awssdk.services.glue.model.Table glueMaterializedView = software.amazon.awssdk.service |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 117 | private final software.amazon.awssdk.services.glue.model.Table glueView = software.amazon.awssdk.services.glue.model |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 130 | private final software.amazon.awssdk.services.glue.model.Table glueTable = software.amazon.awssdk.services.glue.mode |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 135 | .partitionKeys(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 142 | .columns(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 162 | private final software.amazon.awssdk.services.glue.model.Partition gluePartition = software.amazon.awssdk.services.g |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 169 | .columns(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 281 | .columns(ImmutableList.of(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 334 | .partitionKeys(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 350 | .columns(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …rino/plugin/hive/metastore/glue/TestGlueConverter.java | 369 | .columns(software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …gin/hive/metastore/thrift/TestThriftMetastoreUtil.java | 106 | private static final io.trino.hive.thrift.metastore.Table TEST_TABLE = new io.trino.hive.thrift.metastore.Table( |
| CRITICAL | …gin/hive/metastore/thrift/TestThriftMetastoreUtil.java | 126 | private static final io.trino.hive.thrift.metastore.Partition TEST_PARTITION = new io.trino.hive.thrift.metastore.Pa |
| CRITICAL | …gin/hive/metastore/thrift/TestThriftMetastoreUtil.java | 145 | private static final io.trino.hive.thrift.metastore.Table TEST_TABLE_WITH_UNSUPPORTED_FIELDS = new io.trino.hive.thr |
| CRITICAL | …gin/hive/metastore/thrift/TestThriftMetastoreUtil.java | 160 | private static final io.trino.hive.thrift.metastore.Partition TEST_PARTITION_WITH_UNSUPPORTED_FIELDS = new io.trino. |
| CRITICAL | …gin/hive/metastore/thrift/TestThriftMetastoreUtil.java | 179 | private static final io.trino.hive.thrift.metastore.Partition TEST_PARTITION_WITH_MISSING_COLUMNS = new io.trino.hiv |
| CRITICAL | …o/trino/plugin/hive/metastore/thrift/TestTxnUtils.java | 41 | var hiveResponse = new org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse( |
| CRITICAL | …o/trino/plugin/hive/metastore/thrift/TestTxnUtils.java | 45 | String hiveValue = org.apache.hadoop.hive.metastore.txn.TxnUtils.createValidReadTxnList(hiveResponse, currentTxn |
| CRITICAL | …o/trino/plugin/hive/metastore/thrift/TestTxnUtils.java | 69 | String hiveValue = org.apache.hadoop.hive.metastore.txn.TxnUtils.createValidTxnWriteIdList(currentTxn, hiveIds). |
| CRITICAL | …o/trino/plugin/hive/metastore/thrift/TestTxnUtils.java | 88 | String hiveValue = org.apache.hadoop.hive.metastore.txn.TxnUtils.createValidReaderWriteIdList(hiveIds).toString( |
| CRITICAL | …o/trino/plugin/hive/metastore/thrift/TestTxnUtils.java | 97 | var result = new org.apache.hadoop.hive.metastore.api.TableValidWriteIds( |
| CRITICAL | …ve/metastore/CoralSemiTransactionalHiveMSCAdapter.java | 92 | var result = new com.linkedin.coral.hive.metastore.api.Database(); |
| CRITICAL | …ve/metastore/CoralSemiTransactionalHiveMSCAdapter.java | 102 | var result = new com.linkedin.coral.hive.metastore.api.Table(); |
| CRITICAL | …ve/metastore/CoralSemiTransactionalHiveMSCAdapter.java | 118 | var result = new com.linkedin.coral.hive.metastore.api.StorageDescriptor(); |
| CRITICAL | …ve/metastore/CoralSemiTransactionalHiveMSCAdapter.java | 134 | var result = new com.linkedin.coral.hive.metastore.api.SerDeInfo(); |
| CRITICAL | …ve/metastore/CoralSemiTransactionalHiveMSCAdapter.java | 145 | var result = new com.linkedin.coral.hive.metastore.api.FieldSchema(); |
| CRITICAL | …io/trino/plugin/hive/metastore/glue/GlueConverter.java | 312 | return software.amazon.awssdk.services.glue.model.Column.builder() |
| CRITICAL | …io/trino/plugin/hive/metastore/glue/GlueConverter.java | 678 | .map(uri -> software.amazon.awssdk.services.glue.model.ResourceUri.builder() |
| CRITICAL | …/plugin/hive/metastore/thrift/ThriftMetastoreUtil.java | 179 | io.trino.hive.thrift.metastore.Database result = new io.trino.hive.thrift.metastore.Database(); |
| CRITICAL | …/plugin/hive/metastore/thrift/ThriftMetastoreUtil.java | 199 | io.trino.hive.thrift.metastore.Table result = new io.trino.hive.thrift.metastore.Table(); |
| CRITICAL | …/plugin/hive/metastore/thrift/ThriftMetastoreUtil.java | 360 | io.trino.hive.thrift.metastore.Partition result = new io.trino.hive.thrift.metastore.Partition(); |
| CRITICAL | …/plugin/hive/metastore/thrift/ThriftMetastoreUtil.java | 993 | return new io.trino.hive.thrift.metastore.Function() |
| CRITICAL | …io/trino/plugin/pinot/TestPinotConnectorSmokeTest.java | 609 | org.apache.pinot.spi.data.Schema pinotSchema = org.apache.pinot.spi.data.Schema.fromInputStream(pinotSchemaI |
| CRITICAL | docs/src/main/sphinx/client/cli.md | 692 | at io.trino.sql.analyzer.SemanticExceptions.semanticException(SemanticExceptions.java:48) |
| CRITICAL | docs/src/main/sphinx/client/cli.md | 693 | at io.trino.sql.analyzer.SemanticExceptions.semanticException(SemanticExceptions.java:43) |
| CRITICAL | .mvn/modernizer/violations.xml | 276 | <comment>Use io.trino.plugin.base.util.JsonUtils.jsonFactory()</comment> |
| CRITICAL | .mvn/modernizer/violations.xml | 282 | <comment>Use io.trino.plugin.base.util.JsonUtils.jsonFactoryBuilder() instead</comment> |
| CRITICAL | .github/workflows/upload-test-results.yml | 26 | const opts = github.rest.actions.listWorkflowRunArtifacts.endpoint.merge({ |
| CRITICAL | .github/actions/update-check/action.yml | 88 | const comments = await github.paginate(github.rest.issues.listComments.endpoint.merge({ |
| CRITICAL | …in/java/io/trino/filesystem/s3/S3FileSystemConfig.java | 98 | case AwsS3V4Signer -> software.amazon.awssdk.auth.signer.AwsS3V4Signer.create(); |
| CRITICAL | …in/java/io/trino/filesystem/s3/S3FileSystemConfig.java | 99 | case Aws4Signer -> software.amazon.awssdk.auth.signer.Aws4Signer.create(); |
| CRITICAL | …in/java/io/trino/filesystem/s3/S3FileSystemConfig.java | 100 | case AsyncAws4Signer -> software.amazon.awssdk.auth.signer.AsyncAws4Signer.create(); |
| CRITICAL | …in/java/io/trino/filesystem/s3/S3FileSystemConfig.java | 101 | case Aws4UnsignedPayloadSigner -> software.amazon.awssdk.auth.signer.Aws4UnsignedPayloadSigner.create(); |
| CRITICAL | …in/java/io/trino/filesystem/s3/S3FileSystemConfig.java | 102 | case EventStreamAws4Signer -> software.amazon.awssdk.auth.signer.EventStreamAws4Signer.create(); |
| CRITICAL | …/test/java/io/trino/parquet/reader/TestPageReader.java | 503 | assertThat(parquetEncoding).isEqualTo(ParquetTypeUtils.getParquetEncoding(org.apache.parquet.column.Encoding.val |
| 8 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …in/src/test/java/io/trino/type/TestArrayOperators.java | 0 | array_sort(a, (x, y) -> case when x is null then -1 when y is null then 1 when x < y then 1 when x = y then 0 else -1 en |
| HIGH | …in/src/test/java/io/trino/type/TestArrayOperators.java | 0 | array_sort(a, (x, y) -> case when x is null then -1 when y is null then 1 when x < y then 1 when x = y then 0 else -1 en |
| HIGH | …in/src/test/java/io/trino/type/TestArrayOperators.java | 0 | array_sort(a, (x, y) -> case when x is null then -1 when y is null then 1 when x < y then 1 when x = y then 0 else -1 en |
| HIGH | …in/src/test/java/io/trino/type/TestArrayOperators.java | 0 | array_sort(a, (x, y) -> case when x is null then -1 when y is null then 1 when x < y then 1 when x = y then 0 else -1 en |
| HIGH | …in/src/test/java/io/trino/type/TestArrayOperators.java | 0 | array_sort(a, (x, y) -> case when x is null then -1 when y is null then 1 when x < y then 1 when x = y then 0 else -1 en |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select count(column_a) from table_with_stats_a group by column_b |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from (table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a) join small_tabl |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from (table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a) join small_tabl |
| HIGH | …planner/optimizations/TestDeterminePartitionCount.java | 0 | select a.column_a from (table_with_stats_a as a join table_with_stats_b as b on a.column_a = b.column_a) join small_tabl |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select (select "$row_id" from %s where id = 2) = (select "$row_id" from %s for version as of %s where id = 2) |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select (select "$row_id" from %s where id = 2) = (select "$row_id" from %s for version as of %s where id = 2) |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select (select "$row_id" from %s where id = 2) = (select "$row_id" from %s for version as of %s where id = 2) |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select count(*) as row_count, count_if("$row_id" is null) as row_id_nulls, count_if("$last_updated_sequence_number" is n |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select count(*) as row_count, count_if("$row_id" is null) as row_id_nulls, count_if("$last_updated_sequence_number" is n |
| HIGH | …c/test/java/io/trino/plugin/iceberg/TestIcebergV3.java | 0 | select count(*) as row_count, count_if("$row_id" is null) as row_id_nulls, count_if("$last_updated_sequence_number" is n |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, 25, 0, null, '0', '24'), ('regionkey', null, 5, 0, null, '0', '4'), ('comment', 2087.0, 25, 0 |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, 25, 0, null, '0', '24'), ('regionkey', null, 5, 0, null, '0', '4'), ('comment', 2087.0, 25, 0 |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, 25, 0, null, '0', '24'), ('regionkey', null, 5, 0, null, '0', '4'), ('comment', 2087.0, 25, 0 |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, 25, 0, null, '0', '24'), ('regionkey', null, 5, 0, null, '0', '4'), ('comment', 2087.0, 25, 0 |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, 25, 0, null, '0', '24'), ('regionkey', null, 5, 0, null, '0', '4'), ('comment', 2087.0, 25, 0 |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, null, 0, null, '0', '24'), ('regionkey', null, null, 0, null, '0', '4'), ('comment', 2087.0, |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, null, 0, null, '0', '24'), ('regionkey', null, null, 0, null, '0', '4'), ('comment', 2087.0, |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', null, null, 0, null, '0', '24'), ('regionkey', null, null, 0, null, '0', '4'), ('comment', 2087.0, |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', 0, 0, 1, null, null, null), ('regionkey', 0, 0, 1, null, null, null), ('comment', 0, 0, 1, null, nu |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', 0, 0, 1, null, null, null), ('regionkey', 0, 0, 1, null, null, null), ('comment', 0, 0, 1, null, nu |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('nationkey', 0, 0, 1, null, null, null), ('regionkey', 0, 0, 1, null, null, null), ('comment', 0, 0, 1, null, nu |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('a', null, null, null, null, null, null), ('b', null, null, null, null, null, null), (null, null, null, null, 2, |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('a', null, null, null, null, null, null), ('b', null, null, null, null, null, null), (null, null, null, null, 2, |
| HIGH | …ava/io/trino/plugin/iceberg/TestIcebergStatistics.java | 0 | values ('a', null, null, null, null, null, null), ('b', null, null, null, null, null, null), (null, null, null, null, 2, |
| HIGH | …o/plugin/iceberg/TestIcebergLocalConcurrentWrites.java | 0 | merge into %s t using (values (21, 30)) as s(a, part) on (t.part = s.part) when matched then delete |
| HIGH | …/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java | 0 | merge into %s t using (values (21, 30)) as s(a, part) on (t.part = s.part) when matched then delete |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | merge into %s t using (values (21, 30)) as s(a, part) on (t.part = s.part) when matched then delete |
| HIGH | …o/plugin/iceberg/TestIcebergLocalConcurrentWrites.java | 0 | merge into %s t using (values (32, 40)) as s(a, part) on (t.part = s.part) when matched then update set a = s.a |
| HIGH | …/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java | 0 | merge into %s t using (values (32, 40)) as s(a, part) on (t.part = s.part) when matched then update set a = s.a |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | merge into %s t using (values (32, 40)) as s(a, part) on (t.part = s.part) when matched then update set a = s.a |
| HIGH | …/plugin/deltalake/BaseDeltaLakeConnectorSmokeTest.java | 0 | merge into %s t using (values (12, 20)) as s(a, part) on (false) when not matched then insert (a, part) values(s.a, s.pa |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | merge into %s t using (values (12, 20)) as s(a, part) on (false) when not matched then insert (a, part) values(s.a, s.pa |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | merge into %s t using (values (12, 20)) as s(a, part) on (false) when not matched then insert (a, part) values(s.a, s.pa |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | values ('create table as select', 'writeserializable'), ('merge', 'writeserializable'), ('write', 'writeserializable'), |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | values ('create table as select', 'writeserializable'), ('merge', 'writeserializable'), ('write', 'writeserializable'), |
| HIGH | …/deltalake/TestDeltaLakeLocalConcurrentWritesTest.java | 0 | values ('create table as select', 'writeserializable'), ('merge', 'writeserializable'), ('write', 'writeserializable'), |
| HIGH | …rc/test/java/io/trino/plugin/faker/TestFakerViews.java | 0 | select * from (values ('%1$s', '%2$s'), ('%1$s', '%3$s')) cross join unnest(array['orderkey', 'orderstatus', 'half']) |
| HIGH | …rc/test/java/io/trino/plugin/faker/TestFakerViews.java | 0 | select * from (values ('%1$s', '%2$s'), ('%1$s', '%3$s')) cross join unnest(array['orderkey', 'orderstatus', 'half']) |
| HIGH | …rc/test/java/io/trino/plugin/faker/TestFakerViews.java | 0 | select * from (values ('%1$s', '%2$s'), ('%1$s', '%3$s')) cross join unnest(array['orderkey', 'orderstatus', 'half']) |
| HIGH | …r/src/main/java/io/trino/plugin/faker/FakerConfig.java | 0 | if true, when creating a table using existing data, columns with the number of distinct values close to the number of ro |
| HIGH | …rc/main/java/io/trino/plugin/faker/FakerConnector.java | 0 | if true, when creating a table using existing data, columns with the number of distinct values close to the number of ro |
| HIGH | …rc/main/java/io/trino/plugin/faker/FakerConnector.java | 0 | if true, when creating a table using existing data, columns with the number of distinct values close to the number of ro |
| HIGH | …r/src/main/java/io/trino/plugin/faker/FakerConfig.java | 0 | if true, when creating a table using existing data, columns with a low number of distinct values are treated as dictiona |
| HIGH | …rc/main/java/io/trino/plugin/faker/FakerConnector.java | 0 | if true, when creating a table using existing data, columns with a low number of distinct values are treated as dictiona |
| HIGH | …rc/main/java/io/trino/plugin/faker/FakerConnector.java | 0 | if true, when creating a table using existing data, columns with a low number of distinct values are treated as dictiona |
| 50 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …trino-spi/src/main/java/io/trino/spi/type/MapType.java | 321 | Block rawKeyBlock = sqlMap.getRawKeyBlock(); |
| LOW | …trino-spi/src/main/java/io/trino/spi/type/MapType.java | 341 | // non-null keys is not always enforced, and null keys may be allowed in the future. |
| LOW | …ino-spi/src/main/java/io/trino/spi/type/ArrayType.java | 261 | // FLAT MEMORY LAYOUT |
| LOW | …no-spi/src/main/java/io/trino/spi/variant/Variant.java | 801 | /// - Arrays become {@code List<Object>} |
| LOW | …no-spi/src/main/java/io/trino/spi/variant/Variant.java | 861 | yield unmodifiableList(array); |
| LOW | …no-spi/src/main/java/io/trino/spi/variant/Variant.java | 881 | /// |
| LOW | …in/java/io/trino/spi/variant/VariantFieldRemapper.java | 21 | import static io.trino.spi.variant.VariantDecoder.decode; |
| LOW | …ino/sql/planner/TestDeleteAndInsertMergeProcessor.java | 81 | // The single operation is a delete |
| LOW | …ql/planner/optimizations/TestAdaptivePartitioning.java | 141 | |
| LOW | …/java/io/trino/sql/routine/TestSqlRoutineCompiler.java | 101 | } |
| LOW | …/java/io/trino/sql/routine/TestSqlRoutineCompiler.java | 181 | // SET a = a + 1; |
| LOW | …no-main/src/main/java/io/trino/util/DateTimeUtils.java | 401 | // Ensures fixed-width, zero-padded minutes. This affects printing only, not parsing. |
| LOW | …src/main/java/io/trino/util/variant/VariantWriter.java | 81 | /// field IDs from the `Metadata.Builder`. |
| LOW | …/src/main/java/io/trino/cost/TopNRankingStatsRule.java | 101 | else if (node.getRankingType() == RANK) { |
| LOW | …/src/main/java/io/trino/cost/TopNRankingStatsRule.java | 121 | // rowsPerDistinctValue is always >= 1.0, otherwise we will underestimate the rows per partition. |
| LOW | …/src/main/java/io/trino/cost/TopNRankingStatsRule.java | 201 | // Consider that order by columns are COL1, COL2 for the below single partition: |
| LOW | …ain/src/main/java/io/trino/server/ThrowableMapper.java | 41 | @Inject |
| LOW | …in/java/io/trino/server/remotetask/HttpRemoteTask.java | 1101 | // Update the taskInfo with the new taskStatus. |
| LOW | …/main/java/io/trino/execution/buffer/ClientBuffer.java | 321 | // provided sequenceId. Then pages starting from the sequenceId are |
| LOW | …o/operator/join/nonspilling/LookupJoinPageBuilder.java | 201 | verify(position >= 0 && previousPosition <= position); |
| LOW | …rino/operator/join/spilling/LookupJoinPageBuilder.java | 161 | estimatedProbeBlockBytes += Integer.BYTES; |
| LOW | …o/trino/operator/output/SkewedPartitionRebalancer.java | 141 | PartitionFunctionProvider partitionFunctionProvider, |
| LOW | …main/java/io/trino/sql/rewrite/ShowQueriesRewrite.java | 481 | // and thus failing due to a single bad table would make the system unusable. |
| LOW | …trino/sql/ir/optimizer/rule/SimplifyRedundantCase.java | 81 | // WHEN a5 THEN true |
| LOW | …n/java/io/trino/sql/planner/LocalExecutionPlanner.java | 3921 | for (int i = 0; i < lambdas.size(); i++) { |
| LOW | …src/main/java/io/trino/sql/planner/PlanFragmenter.java | 441 | // context is mutable. The leaf node should set the PartitioningHandle. |
| LOW | …src/main/java/io/trino/sql/planner/PlanFragmenter.java | 461 | // - CurrentPlan |
| LOW | …c/main/java/io/trino/sql/planner/DomainTranslator.java | 441 | // |
| LOW | …trino/sql/planner/planprinter/WindowOperatorStats.java | 101 | // In such case, WindowOperator will be inefficient because parallelism will go down. |
| LOW | …no/sql/planner/optimizations/PlanNodeDecorrelator.java | 201 | return rewriteLimitWithRowCountGreaterThanOne(childDecorrelationResult, node); |
| LOW | …l/planner/optimizations/StreamPropertyDerivations.java | 241 | .translate(column -> PropertyDerivations.filterOrRewrite(node.getOutputSymbols(), node.getCriter |
| LOW | …planner/iterative/rule/PushPredicateIntoTableScan.java | 341 | // * Unenforced constraints go next because they can only be simple column references, |
| LOW | …anner/iterative/rule/ImplementTableFunctionSource.java | 401 | new Comparison(EQUAL, leftRowNumber, new Constant(BIGINT, 1L))))))) |
| LOW | …anner/iterative/rule/ImplementTableFunctionSource.java | 421 | // |
| LOW | …/iterative/rule/PushPartialAggregationThroughJoin.java | 221 | // Only push aggregation down if pushed grouping set is of same size or smaller. This is because |
| LOW | …/sql/planner/iterative/rule/PushTopNIntoTableScan.java | 101 | Optional.empty()); |
| LOW | …ain/java/io/trino/sql/analyzer/ExpressionAnalyzer.java | 2801 | // When an IN-predicate containing a subquery: `x IN (SELECT ...)` is planned, both `value` and `valueList` |
| LOW | …java/io/trino/sql/tree/PatternRecognitionRelation.java | 201 | // Output a single summary row for every match, including empty matches. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 1 | # Cassandra storage config YAML |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 21 | # a random token, which will lead to hot spots. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 41 | # The following setting populates the page cache on memtable flush and compaction |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 61 | # - CassandraAuthorizer stores permissions in system_auth.permissions table. Please |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 81 | # Hash Function instead of md5. When in doubt, this is the best option. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 101 | |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 121 | # NOTE: if you reduce the size, you may not get you hottest keys loaded on startup. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 141 | # Maximum size of the row cache in memory. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 161 | |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 181 | # segment may be archived, deleted, or recycled once all the data |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 201 | # Ex: "<ip1>,<ip2>,<ip3>" |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 221 | |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 241 | trickle_fsync_interval_in_kb: 10240 |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 261 | |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 281 | # RPC address to broadcast to drivers and other Cassandra nodes. This cannot |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 301 | # |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 321 | # rpc_min_threads: 16 |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 341 | incremental_backups: false |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 361 | # that wastefully either. |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 381 | # order to keep the sstable count down, but in general, setting this to |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 401 | # that contends with other proposals for the same row |
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 421 | # When a timeout occurs during streaming, streaming is retried from the start |
| 31 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/src/main/sphinx/release/release-410.md | 13 | * Fix query failure when reading Parquet files generated by Airbyte. ({issue}`16362`) |
| HIGH | docs/src/main/sphinx/release/release-410.md | 24 | * Fix query failure when reading Parquet files generated by Airbyte. ({issue}`16362`) |
| HIGH | docs/src/main/sphinx/release/release-410.md | 30 | * Fix query failure when reading Parquet files generated by Airbyte. ({issue}`16362`) |
| HIGH | docs/src/main/sphinx/release/release-410.md | 35 | * Fix query failure when reading Parquet files generated by Airbyte. ({issue}`16362`) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …t/java/io/trino/sql/planner/TestEqualityInference.java | 295 | // All scope equalities should utilize the constant if possible |
| MEDIUM | …/main/java/io/trino/operator/MarkDistinctOperator.java | 180 | // Essentially we would love to have clean interfaces to support both pushing and pulling memory usage |
| MEDIUM | …src/main/java/io/trino/operator/RowNumberOperator.java | 263 | // Essentially we would love to have clean interfaces to support both pushing and pulling memory usage |
| MEDIUM | …main/java/io/trino/operator/DistinctLimitOperator.java | 225 | // Essentially we would love to have clean interfaces to support both pushing and pulling memory usage |
| MEDIUM | …src/main/java/io/trino/sql/planner/PlanOptimizers.java | 742 | // to leverage predicate pushdown on projected columns. |
| MEDIUM | …src/main/java/io/trino/sql/planner/PlanOptimizers.java | 834 | // to leverage predicate pushdown on projected columns. |
| MEDIUM | …src/main/java/io/trino/sql/planner/PlanOptimizers.java | 987 | // Run predicate push down one more time in case we can leverage new information from layouts' effective predica |
| MEDIUM | …src/main/java/io/trino/sql/planner/PlanOptimizers.java | 1014 | // to leverage predicate pushdown on projected columns and to pushdown dynamic filters. |
| MEDIUM | …/trino/spooling/filesystem/SimpleFileSystemLayout.java | 51 | return Optional.empty(); // Definitely not a segment |
| MEDIUM | …main/java/io/trino/testing/tpch/TpchIndexMetadata.java | 57 | // Note: technically we could more efficiently utilize the overlapped columns, but this way is simpler for now |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …th2/TestOAuth2WebUiAuthenticationFilterWithOpaque.java | 78 | assertThat(claims.getSubject()).isEqualTo("foo@bar.com"); |
| LOW | …oauth2/TestOAuth2WebUiAuthenticationFilterWithJwt.java | 68 | assertThat(claims.getSubject()).isEqualTo("foo@bar.com"); |
| LOW | …rver/security/oauth2/TestingHydraIdentityProvider.java | 296 | mapper.writeValueAsString(mapper.createObjectNode().put("subject", "foo@bar. |
| LOW | …ty/oauth2/BaseOAuth2WebUiAuthenticationFilterTest.java | 220 | .put("sub", "foo@bar.com") |
| LOW | …ty/oauth2/BaseOAuth2WebUiAuthenticationFilterTest.java | 355 | assertThat(claims.getSubject()).isEqualTo("foo@bar.com"); |
| LOW | …trino/plugin/ai/functions/AbstractTestAiFunctions.java | 187 | .isEqualTo(ImmutableMap.of("person", "John Doe", "location", "New York", "organization", "Acme Corp")); |
| LOW | …trino/plugin/ai/functions/AbstractTestAiFunctions.java | 187 | .isEqualTo(ImmutableMap.of("person", "John Doe", "location", "New York", "organization", "Acme Corp")); |
| LOW | docs/src/main/sphinx/udf/sql/examples.md | 113 | SELECT hello('Jane Doe'); -- Hello, Jane Doe! |
| LOW | …o/trino/tests/product/iceberg/TestIcebergOptimize.java | 52 | "(1, 'Poland', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque rutrum erat faucib |
| LOW | …o/trino/tests/product/iceberg/TestIcebergOptimize.java | 52 | "(1, 'Poland', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque rutrum erat faucib |
| LOW | …on/hydra-identity-provider/login_and_consent_server.py | 35 | data=json.dumps({"subject": "foo@bar.com"}).encode()), |
| LOW | …ching/src/test/java/io/trino/matching/TestMatcher.java | 49 | assertMatch(any(), "John Doe"); |
| LOW | …ching/src/test/java/io/trino/matching/TestMatcher.java | 54 | assertNoMatch(typeOf(Integer.class), "John Doe"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …re/trino-web-ui/src/main/resources/webapp/src/utils.js | 188 | export function addExponentiallyWeightedToHistory(value: number, valuesArray: number[]): number[] { |
| LOW | …i/src/main/resources/webapp-preview/src/utils/utils.ts | 84 | export function addExponentiallyWeightedToHistory(value: number, valuesArray: number[]): number[] { |
| LOW | …n/src/main/java/io/trino/server/ui/WorkerResource.java | 214 | private static class StreamingJsonResponseHandler |
| LOW | …no/server/security/oauth2/NimbusAirliftHttpClient.java | 105 | public static class NimbusResponseHandler<T> |
| LOW | …in/java/io/trino/server/remotetask/HttpRemoteTask.java | 1206 | private class UpdateResponseHandler |
| LOW | …trino/server/remotetask/SimpleHttpResponseHandler.java | 27 | public class SimpleHttpResponseHandler<T> |
| LOW | …/main/java/io/trino/operator/HttpPageBufferClient.java | 651 | public static class PageResponseHandler |
| LOW | .github/bin/check-cla.js | 185 | function findMissingClaContributors(commits, contributors) { |
| LOW | .github/bin/check-cla.js | 382 | async function bestEffortUpdatePullRequests(update) { |
| LOW | .github/bin/build-pt-matrix-from-impacted-connectors.py | 85 | def load_available_features_for_config(config, suites, ptl_binary_path): |
| LOW | …sloader/ClassLoaderSafeTableFunctionDataProcessor.java | 24 | public class ClassLoaderSafeTableFunctionDataProcessor |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | docs/src/main/sphinx/conf.py | 18 | # This file is execfile()d with the current directory set to its containing dir. |
| MEDIUM | .github/workflows/ci.yml | 571 | # Create an empty S3 bucket for S3 filesystem cloud tests and add the bucket name to GitHub environment variab |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | core/docker/container-test.sh | 51 | # Check if JAVA_HOME works |
| LOW | …rino-product-tests/health-checks/trino-health-check.sh | 9 | # Check if TrinoServer is listed as running Java process |
| LOW | …ino-product-tests/health-checks/hadoop-health-check.sh | 14 | # Check if all Hadoop services are running |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/src/main/sphinx/ext/redirects.py | 33 | |
| LOW | .github/bin/build-pt-matrix-from-impacted-connectors.py | 85 | |
| LOW | .github/bin/build-pt-matrix-from-impacted-connectors.py | 134 | |
| LOW | .github/bin/build-pt-matrix-from-impacted-connectors.py | 176 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …c/main/java/io/trino/spi/predicate/SortedRangeSet.java | 763 | // otherwise we need to check if each range is single value |
| LOW | …c/main/java/io/trino/spi/predicate/SortedRangeSet.java | 1138 | // otherwise we need to check if each range is single value |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | …rino/plugin/hive/crypto/TestHiveParquetEncryption.java | 184 | // ───────────────────────── writer ───────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | docs/src/main/sphinx/ext/download.py | 16 | |
| LOW | docs/src/main/sphinx/ext/download.py | 18 | |
| LOW | docs/src/main/sphinx/ext/issue.py | 16 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …n/trino-cassandra/src/test/resources/cu-cassandra.yaml | 416 | # Warning: before enabling this property make sure to ntp is installed |