Skip to content

Commit

Permalink
Remove Raptor legacy connector
Browse files Browse the repository at this point in the history
The connector has no known  users and forces some complexities
on the rest of the codebase. To allow this next clean up steps
the connector is removed.

In a contributor call, on slack, and in other conversations no concerns
were expressed by anybody about the removal.
  • Loading branch information
mosabua committed Oct 1, 2024
1 parent 8d07b12 commit 61864c0
Show file tree
Hide file tree
Showing 213 changed files with 0 additions and 30,781 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ jobs:
!:trino-phoenix5,
!:trino-pinot,
!:trino-postgresql,
!:trino-raptor-legacy,
!:trino-redis,
!:trino-redshift,
!:trino-resource-group-managers,
Expand Down Expand Up @@ -476,7 +475,6 @@ jobs:
- { modules: plugin/trino-phoenix5 }
- { modules: plugin/trino-pinot }
- { modules: plugin/trino-postgresql }
- { modules: plugin/trino-raptor-legacy }
- { modules: plugin/trino-redis }
- { modules: plugin/trino-redshift }
- { modules: plugin/trino-redshift, profile: cloud-tests }
Expand Down
6 changes: 0 additions & 6 deletions core/trino-server/src/main/provisio/trino.xml
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,6 @@
</artifact>
</artifactSet>

<artifactSet to="plugin/raptor-legacy">
<artifact id="${project.groupId}:trino-raptor-legacy:zip:${project.version}">
<unpack />
</artifact>
</artifactSet>

<artifactSet to="plugin/redis">
<artifact id="${project.groupId}:trino-redis:zip:${project.version}">
<unpack />
Expand Down
2 changes: 0 additions & 2 deletions docs/release-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@

## Prometheus connector

## Raptor connector

## Redis connector

## Redshift connector
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,6 @@ public static OutputStreamOrcDataSink create(TrinoOutputFile outputFile)
return new OutputStreamOrcDataSink(outputFile.create(memoryContext), memoryContext);
}

// Do not use this method, it is here only for io.trino.plugin.raptor.legacy.storage.OrcFileWriter.createOrcDataSink
// and it should be removed in the future
@Deprecated
public static OutputStreamOrcDataSink create(OutputStream outputStream)
throws IOException
{
return new OutputStreamOrcDataSink(outputStream, newSimpleAggregatedMemoryContext());
}

private OutputStreamOrcDataSink(OutputStream outputStream, AggregatedMemoryContext memoryContext)
{
this.output = new OutputStreamSliceOutput(requireNonNull(outputStream, "outputStream is null"));
Expand Down
306 changes: 0 additions & 306 deletions plugin/trino-raptor-legacy/pom.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 61864c0

Please sign in to comment.