Skip to content

feat(testing tool): add DEFINE/UNDEFINE statement support for ksqldb-testing-tool #10738

New issue

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kancko
Copy link

@kancko kancko commented Apr 24, 2025

Description

This changes allow define/undefine variables in test SQL files using DEFINE / UNDEFINE statement. It could be helpful in various cases, for example: when test sql file reuses main sql file (which relay on variables) via RUN SCRIPT.

Fixes: #9720

Testing done

Integration test cases were added under SqlTestingToolTest.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")
  • Do these changes have compatibility implications for rollback? If so, ensure that the ksql command version is bumped.

@kancko kancko requested review from JimGalasyn and a team as code owners April 24, 2025 09:50
@confluent-cla-assistant
Copy link

confluent-cla-assistant bot commented Apr 24, 2025

🎉 All Contributor License Agreements have been signed. Ready to merge.
✅ kancko
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link
Member

@JimGalasyn JimGalasyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using Define Statements in Ksql Test Runner
2 participants