Closed atomical closed 4 years ago
We solved it by using _setproperty in the index definition.
set_property :sql_query_pre => ["SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));"]
This is the solution I would have suggested as well :) Glad to see you got it figured out.
Is there a way to set additional options, like sql_mode, for the indexer? Something like init_command with mysql2?