Parser support for DSL Functions

24 views
Skip to first unread message

Samuel Nelson

unread,
May 14, 2019, 2:42:33 PM5/14/19
to jOOQ User Group
I'm looking to use the Parser to be able to translate sql from one language to another, but it looks like it's currently missing some key functionality. A lot of the functions from the JOOQ DSL are currently not supported. Some examples are DATE_SUB, TIMESTAMP_ADD, TIMESTAMP_SUB, etc. Is there a plan to support these functions, as well as the other functions in the DSL, in the near future?  

Lukas Eder

unread,
May 15, 2019, 3:06:15 AM5/15/19
to jooq...@googlegroups.com
Hi Samuel,

Thank you very much for your message. Indeed, there are a couple of DSL API features, which have not yet been covered by the parser. There's an issue on our roadmap to automate the detection of such "missing features":

I'll see that we'll look into this with a higher priority.

Thanks,
Lukas 

On Tue, May 14, 2019 at 8:42 PM Samuel Nelson <stne...@gmail.com> wrote:
I'm looking to use the Parser to be able to translate sql from one language to another, but it looks like it's currently missing some key functionality. A lot of the functions from the JOOQ DSL are currently not supported. Some examples are DATE_SUB, TIMESTAMP_ADD, TIMESTAMP_SUB, etc. Is there a plan to support these functions, as well as the other functions in the DSL, in the near future?  

--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/260fc105-b324-4fcf-9443-02c9debab196%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Samuel Nelson

unread,
May 15, 2019, 11:16:55 AM5/15/19
to jOOQ User Group
Hi Lukas,

This is great! Just to be clear, the functions I listed were just a small subset of the ones that were missing. I can provide a more comprehensive list if needed. From the ticket, it looks like you will be detecting any that are missing, so I'm assuming that won't be needed.

Thanks,

Sam


On Wednesday, May 15, 2019 at 1:06:15 AM UTC-6, Lukas Eder wrote:
Hi Samuel,

Thank you very much for your message. Indeed, there are a couple of DSL API features, which have not yet been covered by the parser. There's an issue on our roadmap to automate the detection of such "missing features":

I'll see that we'll look into this with a higher priority.

Thanks,
Lukas 

On Tue, May 14, 2019 at 8:42 PM Samuel Nelson <stne...@gmail.com> wrote:
I'm looking to use the Parser to be able to translate sql from one language to another, but it looks like it's currently missing some key functionality. A lot of the functions from the JOOQ DSL are currently not supported. Some examples are DATE_SUB, TIMESTAMP_ADD, TIMESTAMP_SUB, etc. Is there a plan to support these functions, as well as the other functions in the DSL, in the near future?  

--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq...@googlegroups.com.

Lukas Eder

unread,
May 15, 2019, 11:49:19 AM5/15/19
to jooq...@googlegroups.com
Thanks for your offer. Yes, that won't be needed. Instead of fixing only a few, we better automate this to be sure that support for new API won't be forgotten in the parser, in the future.

Best Regards,
Lukas

To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/5894f3c6-3bc7-453c-b665-388381609e7d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages