[jira] [Created] (CALCITE-5476) Add DATETIME_TRUNC for BigQuery

2023-01-13 Thread Oliver Lee (Jira)
Oliver Lee created CALCITE-5476: --- Summary: Add DATETIME_TRUNC for BigQuery Key: CALCITE-5476 URL: https://issues.apache.org/jira/browse/CALCITE-5476 Project: Calcite Issue Type: Improvement

Re: Push unparsed SQL select statement into RelBuilder

2023-01-13 Thread Heiko Heijenga
Yeah, I was thinking something along those lines (I do have the column types of the rows that would be produced by the query). Haven't figured out yet at which point (and how) I can 'inject' that static SELECT query string into the final statement. On Fri, Jan 13, 2023 at 5:38 AM Thomas Rebele

[jira] [Created] (CALCITE-5475) Improve test coverage accuracy by aggregating modules

2023-01-13 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-5475: Summary: Improve test coverage accuracy by aggregating modules Key: CALCITE-5475 URL: https://issues.apache.org/jira/browse/CALCITE-5475 Project:

Re: Push unparsed SQL select statement into RelBuilder

2023-01-13 Thread Thomas Rebele
If you just need this for rel to sql translation: Maybe you could create a mock TableScan, without content, that contains a sqlQuery attribute. However, as Julian stated, you would need to provide a type for the mock table. Not sure why Julian said the SQL would need to be adapted. Maybe related

Re: [DISCUSS] Code quality/coverage with SonarCloud & JaCoCo

2023-01-13 Thread Alessandro Solimando
Thank you Stamatis for working on this, I see no need to remove the Sonar analysis now that the quality gate is off. In the meantime, since all committers have write privilege in Sonar, whoever is interested can help fine-tuning it to fit our needs (for instance disabling rules like the code

Re: [DISCUSS] Code quality/coverage with SonarCloud & JaCoCo

2023-01-13 Thread Stamatis Zampetakis
I logged CALCITE-5474 [1] to disable the failures in Sonar checks allowing everything to appear as green. Sonar annotations are still going to appear under the PR after CALCITE-5474; if the intention is to remove also these indications let me know and I will log another ticket. Best, Stamatis

[jira] [Created] (CALCITE-5474) Disable Sonar quality gates to avoid checks appearing as failures

2023-01-13 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-5474: Summary: Disable Sonar quality gates to avoid checks appearing as failures Key: CALCITE-5474 URL: https://issues.apache.org/jira/browse/CALCITE-5474