We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We use some kind of migration manager to apply DDL migrations to YDB. And we've faced with an issue during the following migration:
PRAGMA TablePathPrefix = '/database/path/to/tables'; ALTER TABLE `my_table` ADD CHANGEFEED `my_feed` WITH ( FORMAT = 'JSON', MODE = 'UPDATES', RETENTION_PERIOD = Interval("P7D") ); ALTER TOPIC `my_table/my_feed` ADD CONSUMER `my_consumer`;
ALTER TOPIC migration fails due to TablePathPrefix does not work for this command (only for ALTER TABLE). As a result we created:
ALTER TOPIC
TablePathPrefix
ALTER TABLE
/database/path/to/tables/my_table
/database/path/to/tables/my_table/my_feed
But ALTER TOPIC trying to find /database/my_table/my_feed instead of /database/path/to/tables/my_table/my_feed.
/database/my_table/my_feed
Is it possible to make PRAGMA TablePathPrefix affect ALTER TOPIC as well or add something like PRAGMA TopicPathPrefix?
PRAGMA TablePathPrefix
PRAGMA TopicPathPrefix
The text was updated successfully, but these errors were encountered:
Tony-Romanov
Successfully merging a pull request may close this issue.
Hi,
We use some kind of migration manager to apply DDL migrations to YDB. And we've faced with an issue during the following migration:
ALTER TOPIC
migration fails due toTablePathPrefix
does not work for this command (only forALTER TABLE
). As a result we created:/database/path/to/tables/my_table
- table/database/path/to/tables/my_table/my_feed
- topicBut
ALTER TOPIC
trying to find/database/my_table/my_feed
instead of/database/path/to/tables/my_table/my_feed
.Is it possible to make
PRAGMA TablePathPrefix
affectALTER TOPIC
as well or add something likePRAGMA TopicPathPrefix
?The text was updated successfully, but these errors were encountered: