Closed bhanurz closed 3 years ago
@stewartbryson I have fixed and tested this locally. Please let me know if I can raise the PR.
Do you see the SQL test scripts in src/test/resources
? Can you put a test script in there that tests for this? After that, please do open a PR. Thanks for the contribution.
@stewartbryson Hi, I have added a test script and raise a PR, please check when possible: https://github.com/RedPillAnalytics/gradle-confluent/pull/117
Merged. Thanks again for the contribution. After you've tested, can you close the issue?
@stewartbryson Tested the release, it is working.
Describe the bug When quotes are used in a stream name (for having case sensitive name), the pipelineExecute task does not drop this stream if it exists and instead tries to create it resulting in:
Query:
Command used: ./gradlew pipelineExecute --pipeline-dir exp-stream --stacktrace -i
To Reproduce Steps to reproduce the behaviour:
Expected behaviour At step 3, the pipelineExecute task should drop the stream and then create it.
Additional context The regex used in the plugin for extracting stream name does not consider quoted strings so it is not able to drop the query. Regex used in the plugin