Skip to content

[FORMATTING] MariaDB function call parenthesis spacing results in invalid MariaDB SQL #757

@theking2

Description

@theking2

Input data

Which SQL and options did you provide as input?

select
    group_concat(PHYSICIAN separator ' / ') Doktor
from
	invoice_physician
group by
    INVOICENR;

Expected Output

select
    group_concat(PHYSICIAN separator ' / ') Doktor
from
	invoice_physician
group by
    INVOICENR;

Actual Output

select
    group_concat (PHYSICIAN separator ' / ') Doktor
from
	invoice_physician
group by
    INVOICENR;

Usage

  • VS Code
  • Currently using MariaDB 11.4.2
  • v4.1.1

MariaDB does not like a space between GROUP_CONCAT and the (. Don't ask but using the formatter breaks my code here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions