Skip to content
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

Create a schema query for the Sql Query generator #510

Closed
yruslan opened this issue Nov 1, 2024 · 0 comments · Fixed by #518
Closed

Create a schema query for the Sql Query generator #510

yruslan opened this issue Nov 1, 2024 · 0 comments · Fixed by #518
Labels
enhancement New feature or request Pramen-Scala

Comments

@yruslan
Copy link
Collaborator

yruslan commented Nov 1, 2024

Background

Sometimes we want to get query the source JDBC database just to fetch the schema. In this case we need to ensure the query doesn't return any records.

The schema query is the same as data query, just with contradicting WHERE condition.

Feature

Create a schema query for the Sql Query generator.

Example [Optional]

--

Proposed Solution [Optional]

Add either WHERE 0=1 or AND 0=1 for the data query to get the schema query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pramen-Scala
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant