Re: Error parsing DATE("2021-01-01") for BigQuery using Calcite

2022-06-24 Thread Julian Hyde
I had to moderate your message. Can you subscribe to the list so that you receive updates. Julian > On Jun 24, 2022, at 09:40, 谢佳君 wrote: > > Nine months ago, someone found that the babel module does not support > `if(true,1,0)` expression. I fixed >

Re: Error parsing DATE("2021-01-01") for BigQuery using Calcite

2022-06-24 Thread ??????
Nine months ago, someone found that the babel module does not support `if(true,1,0)` expression. I fixed inhttps://github.com/apache/calcite/pull/2835 at last week. Would anyone review it, thanks very much. Here is previous mail:https://lists.apache.org/thread/sv127rmt60nl3wfssfkozf152wr4hx6q

Re: Error parsing DATE("2021-01-01") for BigQuery, using Calcite

2021-09-25 Thread Florent Martineau
Thank you very much Julian for your quick and accurate answer ! Indeed, switching to the Babel parser worked ! Have a great day, and thank you once again for the amazing project you've built ! Florent On 2021/09/25 00:38:16, Julian Hyde wrote: > It’s possible you will also need to use the

Re: Error parsing DATE("2021-01-01") for BigQuery, using Calcite

2021-09-24 Thread Julian Hyde
It’s possible you will also need to use the Babel parser, because DATE is a reserved keyword and therefore the parser needs to work in a different mode in order to see it as a function name. I think I made the DATE function work for Redshift but I’m not sure I did it for BigQuery. > On Sep

Error parsing DATE("2021-01-01") for BigQuery, using Calcite

2021-09-24 Thread Florent Martineau
Dear all, Disclaimer: It's the first time I send a message to a mailing list. If it's not the right mailing list or if I should use other means (eg. Stackoverflow), please do not hesitate to tell me! Also, if you need additional pieces of information, I will be glad to provide them! My problem