You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/05/16 05:52:54 UTC
[GitHub] [calcite] DonnyZone opened a new pull request #1216: [CALCITE-3072]
Generate right SQL for FLOOR&SUBSTRING functions in SparkSqlDialect
DonnyZone opened a new pull request #1216: [CALCITE-3072] Generate right SQL for FLOOR&SUBSTRING functions in SparkSqlDialect
URL: https://github.com/apache/calcite/pull/1216
Rewrite `FLOOR` and `SUBSTRING` functions to generate SparkSql-specific query.
`FLOOR->DATE_TRUNC`
`SUBSTRING('Hello World' FROM 5) -> SUBSTRING('Hello World', 5) `
`SUBSTRING('Hello World' FROM 5 FOR 1) -> SUBSTRING('Hello World', 5, 1) `
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services