Skip to content

Suggest defer_iteration_parsing on stderr if opening a Series takes longer than a certain amount of time #1799

@franzpoeschel

Description

@franzpoeschel

Is your feature request related to a problem? If so, please describe.
People usually don't know about the config option {"defer_iteration_parsing": true} and then have to suffer through long opening times.

Describe the solution you'd like
Add a timeout in Iteration parsing. If the timeout is exceeded, suggest lazy parsing.
Would probably need a way to switch it back off again for users that want up-front parsing.

Describe alternatives you've considered
Make lazy parsing the default. It already is in READ_LINEAR, but it would break legacy code if applying it also to READ_RANDOM_ACCESS.

Additional context
No async or threading needed for implementation. Just check the time after each Iteration parsed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions