Skip to content

Druid SQL returns way less data than what's on S3. #11535

@didip

Description

@didip

Affected Version

0.21.1

Description

I see that we have way more data on the S3 folders but this query returns way less number of days.

I should already have the full July dates but many of them are missing in my query.

SELECT DATE_TRUNC('day', "__time") as "day", SUM("count") as "count"
FROM "mytable" GROUP BY DATE_TRUNC('day', "__time") order by DATE_TRUNC('day', "__time") DESC

Table:
... Where's the rest of the days? ...
2021-07-15T00:00:00.000Z 00000000001979009692
... Where's the rest of the days? ...
2021-07-11T00:00:00.000Z 00000000001693378623
... Where's the rest of the days? ...

I also unchecked these 3, but the result is the same:
Screen Shot 2021-08-02 at 4 48 18 PM

All my tables are shown as "Fully Available"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions