forked from kokosing/trino-rest
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Some more complex queries (like check_suites sync queries) makes the planner fetch table stats, which throws errors like this:
2021-11-22T14:12:36.014Z ERROR Query-20211122_141235_00080_e59kh-455 io.trino.cost.CachingStatsProvider Error occurred when computing stats for query 20211122_141235_00080_e59kh
java.lang.IllegalStateException: Domain is not a single value
at io.trino.spi.predicate.Domain.getSingleValue(Domain.java:159)
at pl.net.was.rest.filter.FilterApplier.getFilter(FilterApplier.java:193)
at pl.net.was.rest.filter.FilterApplier.getFilter(FilterApplier.java:172)
at pl.net.was.rest.github.GithubRest.getCheckSuitesFilters(GithubRest.java:1884)
at pl.net.was.rest.github.GithubRest.getCheckSuitesCount(GithubRest.java:1867)
at pl.net.was.rest.github.GithubRest.getTableStatistics(GithubRest.java:2394)
at pl.net.was.rest.RestMetadata.getTableStatistics(RestMetadata.java:185)
at io.trino.metadata.MetadataManager.getTableStatistics(MetadataManager.java:642)
Figure out the root cause and make it stop, since it's flooding logs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels