Skip to content

apache/pulsar-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

pulsar-sql module extracted from apache/pulsar

History

Pulsar SQL has been removed from the apache/pulsar repository. Some history:

Extracting the Pulsar SQL modules with preserved commit history

This repository is a fork of the Pulsar SQL module files that were present in apache/pulsar until the removal commit. This commit is used to find out the list of removed files. Since the Pulsar SQL modules have been maintained in branch-3.0, the files have been extracted from branch-3.0 on 2024-10-18 to this repository.

It has been extracted from apache/pulsar with the following commands so that the commit history is preserved:

git clone https://github.com/apache/pulsar pulsar-sql
cd pulsar-sql
# https://github.com/apache/pulsar/commit/c157f0d9 is the commit hash of Pulsar SQL modules removal
git diff-tree --no-commit-id --name-only --diff-filter=D -r c157f0d > /tmp/keep_files.txt
# branch-3.0 contains the maintained Pulsar SQL modules
git checkout branch-3.0
# also keep all files in the pulsar-sql directory in branch-3.0
find pulsar-sql >> /tmp/keep_files.txt
# install git-filter-repo for filtering out the removed Pulsar SQL modules
brew install git-filter-repo
# filter out the removed Pulsar SQL modules
git filter-repo --paths-from-file /tmp/keep_files.txt --force
# delete the old master branch
git branch -D master
# create a new master branch
git checkout -b master

Todo

  • Setup a maven build for the separate repository
    • Reuse apache/pulsar and outdated apache/pulsar-presto pom.xml and setup parent pom.xml for the separate repository
  • Setup a GitHub Actions CI pipeline to test the separate repository