Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

ORDER BY with aggregations fails with a missleading error #675

@mcuadros

Description

@mcuadros

Executing a SQL query generated by superset, the execution fails with a missleading error.

SELECT repository_id AS repository_id,        
COUNT(*) AS count,        
COUNT(repository_id) AS c 
FROM commits 
GROUP BY repository_id ORDER BY COUNT(repository_id) DESC LIMIT 10000;

Outputs:
ERROR 1105 (HY000): unknown error: table "commits" does not have column "repository_id"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy