Skip to content

read time calculation error in DirectTrinoPageSource #83

Open
@coderwf

Description

@coderwf

DirectTrinoPageSource contains server ConnectorPageSource Reader, so it's read time shoud be a value accumulated by all ConnectorPageSource.

Otherwise, a negative relative read time will be calculated out by caller, because the caller in trino accumlates the read time by difference of pre(readtime) and current(readtime), if current ConnectorPageSource changed, it may be return a less read time, it will cause a check non-negative error and calculate incorrection

image

PR:#82

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