risingwavelabs / risingwave

Best-in-class stream processing, analytics, and management. Perform continuous analytics, or build event-driven applications, real-time ETL pipelines, and feature stores in minutes. Unified streaming and batch. PostgreSQL compatible.
https://go.risingwave.com/slack
Apache License 2.0
6.78k stars 561 forks source link

Tracking: support sqitch #15369

Open jetjinser opened 6 months ago

jetjinser commented 6 months ago

sqitch is a "Sensible database-native change management for framework-free development and dependable deployment."

sqitch requires the use of features that RisingWave does not yet support:

features used in sqitch tutorials may be commonly used in the sqitch community:

neverchanje commented 6 months ago

Thanks. @xiangjinwu Do you think it's possible to support pg_try_advisory_lock? If not, we probably have to implement a standalone driver for sqitch, which would have low ROI in my opinion. We may give up and try to support other tools in the schema migration domain.

As for has_schema_privilege, Redshift, MZ, and CockroachDB all support this function. We should support it too.

xiangjinwu commented 6 months ago

Thanks. @xiangjinwu Do you think it's possible to support pg_try_advisory_lock?

Seems not an easy one: https://github.com/cockroachdb/cockroach/issues/13546

TennyZhuang commented 6 months ago

https://github.com/sqitchers/sqitch/blob/8ee14fb9ec3e14addf84ef2039a09ddb9998e05a/lib/App/Sqitch/Engine.pm#L1102-L1115

It seems that they use the function to ensure only one sqitch instance are attached on the database. Maybe we can perform no-op for a basic usage.

github-actions[bot] commented 4 months ago

This issue has been open for 60 days with no activity. Could you please update the status? Feel free to continue discussion or close as not planned.