Skip to content

MEDIAN aggregation causes subsequent columns to return empty cells #52

Description

@Schaechtle

Examples of MEDIAN aggregation causing subsequent columns to return empty cells

iql> SELECT MEDIAN(Perigee_km), AVG(Perigee_km) FROM d

| MEDIAN(Perigee_km) | AVG(Perigee_km) |
|--------------------+-----------------|
|               1413 |                 |


iql> SELECT MEDIAN(Perigee_km), Perigee_km FROM d
| MEDIAN(Perigee_km) | Perigee_km |
|--------------------+------------|
|               1413 |            |

The following runs fine

iql> SELECT MEDIAN(Perigee_km) FROM d

| MEDIAN(Perigee_km) |
|--------------------|
|               1413 |


iql> SELECT AVG(Perigee_km), MEDIAN(Perigee_km) FROM d

|    AVG(Perigee_km) | MEDIAN(Perigee_km) |
|--------------------+--------------------|
| 15507.611492281303 |               1413 |

This was tested with the satellites data and with iql-strict.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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