Skip to content

Handle query timeout errors #54

Description

@AndreaNassisi

Today the utility crashes when a query like the one below goes in timeout.
MATCH (from)-[r:]->(to) RETURN DISTINCT labels(from) as fromLabel, labels(to) as toLabel

The error message can offer the solution to change the neptune_query_timeout (cluster-level parameter).(https://docs.aws.amazon.com/neptune/latest/userguide/parameters.html#parameters-db-cluster-parameters-neptune_query_timeout)

Alternatively, the utility can fall back to small queries. Sampling each node label combination for the <edge_type>.
Is slower, but will complete with no user intervention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions