Description
Currently, Babelfish supports creating table partitions (via CREATE PARTITION FUNCTION and CREATE PARTITION SCHEME). However, when attempting to modify the partition schema to accommodate new data using T-SQL commands like ALTER PARTITION FUNCTION ... and ALTER PARTITION SCHEME ..., the operations are not supported over the TDS endpoint. This prevents us from doing ongoing partition maintenance using standard SQL Server syntax.
We would like full support for T-SQL partition modification commands over the TDS endpoint so that we can add new partitions to existing partitioned tables without leaving the SQL Server context.
Possible workaround
Currently, our assumed workaround is to connect directly to the PostgreSQL port and manage the addition of new partitions using native PostgreSQL declarative partitioning syntax.
Could the maintainers confirm if:
- This is the recommended and safest approach for ongoing partition management?
- Are there any catalog synchronization risks we should be aware of when doing this?
Description
Currently, Babelfish supports creating table partitions (via
CREATE PARTITION FUNCTIONandCREATE PARTITION SCHEME). However, when attempting to modify the partition schema to accommodate new data using T-SQL commands likeALTER PARTITION FUNCTION ...andALTER PARTITION SCHEME ..., the operations are not supported over the TDS endpoint. This prevents us from doing ongoing partition maintenance using standard SQL Server syntax.We would like full support for T-SQL partition modification commands over the TDS endpoint so that we can add new partitions to existing partitioned tables without leaving the SQL Server context.
Possible workaround
Currently, our assumed workaround is to connect directly to the PostgreSQL port and manage the addition of new partitions using native PostgreSQL declarative partitioning syntax.
Could the maintainers confirm if: