Skip to content

Add parquet plugin #920

Add parquet plugin

Add parquet plugin #920

Triggered via push March 7, 2025 11:54
Status Success
Total duration 2m 45s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
maven-checks: src/main/java/org/ebyhr/trino/storage/StorageSplit.java#L83
getRetainedSizeInBytes implements method in ConnectorSplit; expected @OverRide
maven-checks: src/main/java/org/ebyhr/trino/storage/StorageConnector.java#L63
Importing nested classes/static methods/static fields with commonly-used names can make code harder to read, because it may not be clear from the context exactly which type is being referred to. Qualifying the name with that of the containing class can make the code clearer. Here we recommend using qualified class: StorageTransactionHandle.
maven-checks: src/main/java/org/ebyhr/trino/storage/StorageRecordSetProvider.java#L68
Using stream::iterator creates a one-shot Iterable, which may cause surprising failures.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/ExcelPlugin.java#L51
It is very rare for LinkedList to out-perform ArrayList or ArrayDeque. Avoid it unless you're willing to invest a lot of time into benchmarking. Caveat: LinkedList supports null elements, but ArrayDeque does not.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/JsonPlugin.java#L63
Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/JsonPlugin.java#L121
Implicit use of the platform default charset, which can result in differing behaviour between JVM executions or incorrect behavior if the encoding of the data source doesn't match expectations.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/ParquetTypeTranslator.java#L81
This code can be simplified to use a pattern-matching instanceof.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/ParquetTypeTranslator.java#L85
This code can be simplified to use a pattern-matching instanceof.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/ParquetTypeTranslator.java#L97
This code can be simplified to use a pattern-matching instanceof.
maven-checks: src/main/java/org/ebyhr/trino/storage/operator/ParquetPlugin.java#L193
Caught exceptions should not be ignored
maven-checks
Cache not found for keys: setup-java-Linux-x64-maven-34349c485240274b07794b74b149d97ed8f055d2528c80e4e9ac199dd5125308