layout: global title: INVALID_OBSERVED_METRICS error class displayTitle: INVALID_OBSERVED_METRICS error class license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Invalid observed metrics.
This error class has the following derived error classes:
Aggregate expressions with DISTINCT are not allowed in observed metrics, but found: <expr>
.
Aggregate expression with FILTER predicate are not allowed in observed metrics, but found: <expr>
.
The observed metrics should be named: <operator>
.
Nested aggregates are not allowed in observed metrics, but found: <expr>
.
Attribute <expr>
can only be used as an argument to an aggregate function.
Non-deterministic expression <expr>
can only be used as an argument to an aggregate function.
Window expressions are not allowed in observed metrics, but found: <expr>
.