Skip to content

Different results in queries * | pack_json | sort by (_time) desc and * | sort by (_time) desc | pack_json #1601

Description

@arturminchukov

Describe the bug

When I use queries :

* | pack_json | sort by (_time) desc

and

* | sort by (_time) desc  | pack_json

I expect the same results.
Query * | pack_json | sort by (_time) desc returns results:

Image

Query * | sort by (_time) desc | pack_json returns error:

Image

But I expect the same results.

To Reproduce

Links - results and error

Version

v1.51.0

Logs

No response

Screenshots

No response

Used command-line flags

No response

Additional information

No response

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