Skip to content

Incorrect query results and problems with FULL GROUP BY #185

@solomonty

Description

@solomonty

I noticed that I was getting an invalid mapping of hostname_max and db_max after adding them to the query.

It appears that the GROUP BY is not properly grouping the data.

If I turn on FULL GROUP BY then I get an error message from MySQL.

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'slow_query_log.dimension.sample' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (1055)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions