{"id":26032155,"url":"https://github.com/apache/pulsar-sql","last_synced_at":"2025-04-09T17:12:19.775Z","repository":{"id":281035513,"uuid":"874576419","full_name":"apache/pulsar-sql","owner":"apache","description":"Pulsar SQL extracted from apache/pulsar","archived":false,"fork":false,"pushed_at":"2024-12-12T22:22:48.000Z","size":1367,"stargazers_count":4,"open_issues_count":7,"forks_count":2,"subscribers_count":32,"default_branch":"master","last_synced_at":"2025-04-03T04:17:05.072Z","etag":null,"topics":["apache-pulsar","pulsar","pulsar-sql","sql","trino"],"latest_commit_sha":null,"homepage":"https://pulsar.apache.org/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T04:48:49.000Z","updated_at":"2024-10-28T07:07:01.000Z","dependencies_parsed_at":"2025-03-06T16:53:42.891Z","dependency_job_id":null,"html_url":"https://github.com/apache/pulsar-sql","commit_stats":null,"previous_names":["apache/pulsar-sql"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fpulsar-sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fpulsar-sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fpulsar-sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fpulsar-sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/pulsar-sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247715255,"owners_count":20984020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apache-pulsar","pulsar","pulsar-sql","sql","trino"],"created_at":"2025-03-06T21:17:03.655Z","updated_at":"2025-04-09T17:12:19.746Z","avatar_url":"https://github.com/apache.png","language":"Java","readme":"# pulsar-sql module extracted from apache/pulsar\n\n### History\n\nPulsar SQL has been removed from the apache/pulsar repository. Some history:\n\n* In April 2020, it was decided to remove Pulsar SQL from apache/pulsar repository:\n  * https://lists.apache.org/thread/qr49rp91w8pp8ljz1jtxn92ktnznh9tb\n  * https://github.com/apache/pulsar/wiki/PIP-62%3A-Move-connectors%2C-adapters-and-Pulsar-Presto-to-separate-repositories\n* In April 2021, there was a decision to contribute Pulsar SQL as a Trino plugin:\n  * https://lists.apache.org/thread/f9n6sc2mrboq5sxhjbr7gvdl8vqp9fpk\n* This was the status in December 2021:\n  * https://lists.apache.org/thread/gqs9tq3p6tr38b7j6gjbfzfg7z1vkvsd\n  * The Trino PR was https://github.com/trinodb/trino/pull/8020\n  * The work on the plugin stalled and it was never taken to completion.\n* In December 2023, Pulsar SQL was finally removed from the apache/pulsar repository:\n  * https://lists.apache.org/thread/4f1cco12cycq36m7vtyjs2j5q5975666\n* In October 2024, the Pulsar SQL modules were extracted from apache/pulsar to this repository, apache/pulsar-sql.\n\n### Extracting the Pulsar SQL modules with preserved commit history\n\nThis repository is a fork of the Pulsar SQL module files that were present in apache/pulsar until [the removal commit](https://github.com/apache/pulsar/commit/c157f0d9). 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.\n\nIt has been extracted from apache/pulsar with the following commands so that the commit history is preserved:\n\n```shell\ngit clone https://github.com/apache/pulsar pulsar-sql\ncd pulsar-sql\n# https://github.com/apache/pulsar/commit/c157f0d9 is the commit hash of Pulsar SQL modules removal\ngit diff-tree --no-commit-id --name-only --diff-filter=D -r c157f0d \u003e /tmp/keep_files.txt\n# branch-3.0 contains the maintained Pulsar SQL modules\ngit checkout branch-3.0\n# also keep all files in the pulsar-sql directory in branch-3.0\nfind pulsar-sql \u003e\u003e /tmp/keep_files.txt\n# install git-filter-repo for filtering out the removed Pulsar SQL modules\nbrew install git-filter-repo\n# filter out the removed Pulsar SQL modules\ngit filter-repo --paths-from-file /tmp/keep_files.txt --force\n# delete the old master branch\ngit branch -D master\n# create a new master branch\ngit checkout -b master\n```\n\n### Todo\n\n- [ ] Setup a maven build for the separate repository\n  - Reuse apache/pulsar and outdated [apache/pulsar-presto](https://github.com/apache/pulsar-presto) pom.xml and setup parent pom.xml for the separate repository\n- [ ] Setup a GitHub Actions CI pipeline to test the separate repository\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fpulsar-sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fpulsar-sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fpulsar-sql/lists"}