calcite icon indicating copy to clipboard operation
calcite copied to clipboard

[CALCITE-5892] Add support for unparseSqlIntervalLiteral with SnowflakeSQLDialect

Open njriasan opened this issue 2 years ago • 5 comments

Updates the SnowflakeSQLDialect to fix the unparse implementation for SQL Literals. In Snowflake the qualifier is not a keyword and is instead included as part of the string literal that contains the integer: https://docs.snowflake.com/en/sql-reference/data-types-datetime#interval-constants.

This doesn't attempt to implement any additional interval parsing support for Snowflake, so there are still gaps that remain (e.g. sub-second intervals and multiple intervals).

njriasan avatar Aug 06 '23 23:08 njriasan

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Dec 30 '24 03:12 github-actions[bot]

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Mar 20 '25 03:03 github-actions[bot]

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Jun 29 '25 03:06 github-actions[bot]

This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 90 days if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar Oct 26 '25 03:10 github-actions[bot]