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
Users want to customize SQL queries with information date based dates as part of an expression, including table names. For example:
SELECT * FROM my_table_202402
where 202402 is yyyyMM part of the information date.
202402
yyyyMM
Add an ability to format info date and insert date expression into JDBC SQL queries .
input.sql = "SELECT * FROM my_table_${formatDate(beginOfMonth(@infoDate), 'yyyyMM)'}"
formatDate()
formatDate(@infoDate, 'yyyyMM)'
${}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Background
Users want to customize SQL queries with information date based dates as part of an expression, including table names.
For example:
where
202402
isyyyyMM
part of the information date.Feature
Add an ability to format info date and insert date expression into JDBC SQL queries .
Example
Proposed Solution
formatDate()
that can be used like this:formatDate(@infoDate, 'yyyyMM)'
=>202402
${}
escaping (see the example above).The text was updated successfully, but these errors were encountered: