Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stats throwing errors #122

Open
nineinchnick opened this issue Nov 22, 2021 · 0 comments
Open

Stats throwing errors #122

nineinchnick opened this issue Nov 22, 2021 · 0 comments

Comments

@nineinchnick
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant