Skip to content
This repository was archived by the owner on Apr 20, 2018. It is now read-only.
This repository was archived by the owner on Apr 20, 2018. It is now read-only.

Query "too long to run" when no data found #80

@markdlehane

Description

@markdlehane

When querying the Transport data set (see SQL below) the response comments that the "Query would take too long to run, please apply a LIMIT of less than 5000 rows". I suspect that there is no data available for the road, start_date and end_date and that the response should be changed to show that data is not available.

This is the query:

select *
from planned_road_works
where road = 'M20'
and start_date > '01/01/2017'
and end_date < '07/01/2017'
limit 10

If I change the start and end dates to '01/01/2013' and '07/01/2013' respectively, data is returned.

Thank you. This has fantastic potential.

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