File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/cubejs-schema-compiler/src/adapter Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -188,12 +188,14 @@ export class MysqlQuery extends BaseQuery {
188188 // NOTE: this template contains a comma; two order expressions are being generated
189189 templates . expressions . sort = '{{ expr }} IS NULL {% if nulls_first %}DESC{% else %}ASC{% endif %}, {{ expr }} {% if asc %}ASC{% else %}DESC{% endif %}' ;
190190 delete templates . expressions . ilike ;
191- templates . types . string = 'VARCHAR ' ;
191+ templates . types . string = 'CHAR ' ;
192192 templates . types . boolean = 'TINYINT' ;
193193 templates . types . timestamp = 'DATETIME' ;
194194 delete templates . types . interval ;
195195 templates . types . binary = 'BLOB' ;
196196
197+ templates . expressions . concat_strings = 'CONCAT({{ strings | join(\',\' ) }})' ;
198+
197199 templates . filters . like_pattern = 'CONCAT({% if start_wild %}\'%\'{% else %}\'\'{% endif %}, LOWER({{ value }}), {% if end_wild %}\'%\'{% else %}\'\'{% endif %})' ;
198200 templates . tesseract . ilike = 'LOWER({{ expr }}) {% if negated %}NOT {% endif %}LIKE {{ pattern }}' ;
199201
You can’t perform that action at this time.
0 commit comments