readyset icon indicating copy to clipboard operation
readyset copied to clipboard

SET String type

Open nemke82 opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. A lot of popular CMS/Ecommerce applications are utilizing SET sql_mode="" in SELECT queries

Describe the solution you'd like Add SET String type to readyset application

Describe alternatives you've considered So far, ProxySQL can rewrite each query, but that is not a permanent solution.

Additional context Could expand application popularity and use cases

nemke82 avatar Dec 13 '22 11:12 nemke82

Hi @nemke82, thanks for reporting this! Which CMS/Ecommerce application are you using?

I'll file an internal ticket right now for this and can follow up when we get to it.

jbensal avatar Dec 13 '22 18:12 jbensal

Hello @jbensal. Thanks for the quick response. Yeah, you can test in Magento 2, and due to this line, it is not functional if I parse SELECT queries through Readyset since they add SET in each query (sad but true).

https://github.com/magento/magento2/blob/2.4-develop/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php#L432

nemke82 avatar Dec 13 '22 19:12 nemke82

I just wanted to follow up on this @jbensal. Any news or plans?

nemke82 avatar Aug 10 '23 18:08 nemke82

This also makes it impossible to use Readyset in Drupal.

Marcuzz avatar May 03 '24 10:05 Marcuzz

We are also running into the same issue with Springboot ORM (Hibernate).

JihadMotii-REISys avatar Jul 03 '24 17:07 JihadMotii-REISys