Skip to content

SQL: GROUP BY with timezone and small page size returns duplicate values #51258

@bpintea

Description

@bpintea

The following query on the test employees.csv:

POST _sql
{
  "query": "SELECT YEAR(birth_date) FROM employees GROUP BY YEAR(birth_date)",
  "time_zone": "Europe/Berlin",
  "fetch_size": 1
}

will return the following paged results: null, 1952, 1952, ...
Increasing the page size to 2 will duplicate 1954.

This doesn't (easily?) reproduce without a non-Z timezone.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions