feat: queryPreprocessing in logicalRestore + support inline SQL in any queryPreprocessing (#407)
Description
- support queryPreprocessing in logicalRestore
- add
inline
SQL processing to snapshot jobs (logicalSnapshot
,physicalSnapshot
) as well
Related issue
Examples
retrieval:
jobs:
- logicalRestore
- logicalSnapshot
spec:
logicalRestore:
options:
queryPreprocessing:
queryPath: ""
maxParallelWorkers: 2
inline: |
CREATE ROLE tony;
CREATE ROLE mary;
logicalSnapshot:
options:
dataPatching:
queryPreprocessing:
inline: |
CREATE ROLE snapshotUser;
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have text changes OR there are text changes and they have been reviewed -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed -
MR does NOT have UI changes OR there are UI changes and they have been reviewed
Closes #407 (closed)
Edited by Artyom Kartasov
Merge request reports
Activity
Please register or sign in to reply