---
title: METRIC_VIEW_MATERIALIZATION_NOT_INCREMENTALIZABLE error condition
description: Documentation for the METRIC\_VIEW\_MATERIALIZATION\_NOT\_INCREMENTALIZABLE error condition on Databricks
canonical_url: https://docs.databricks.com/aws/en/error-messages/metric-view-materialization-not-incrementalizable-error-class
---

# METRIC\_VIEW\_MATERIALIZATION\_NOT\_INCREMENTALIZABLE error condition

[SQLSTATE: 42601](https://docs.databricks.com/aws/en/error-messages/sqlstates.md#class-42-syntax-error-or-access-rule-violation)

Metric view `<viewName>`: materialization `<materialization>` requests the `<refreshPolicy>` refresh policy but cannot be refreshed incrementally. Reason:

## AGGREGATE\_NOT\_TOP\_NODE

`GROUP BY` with complex expressions above it is not supported. Consider rewriting the query to make `GROUP BY` the top-level operation.

## EXPRESSION\_NOT\_DETERMINISTIC

Expressions `<expressionNames>` are not deterministic. Consider rewriting the query to avoid using them.

## INPUT\_NOT\_IN\_DELTA

Tables `<tableNames>` are not in Delta format. Consider converting them to Delta tables.

## OPERATOR\_NOT\_INCREMENTALIZABLE

Operators `<operatorNames>` are not incrementalizable. Consider rewriting the query to avoid using them.

## ROW\_TRACKING\_NOT\_ENABLED

Tables `<tableNames>` do not have row tracking enabled. Please enable row tracking on the tables.

## SUBQUERY\_EXPRESSION\_NOT\_INCREMENTALIZABLE

Subquery expressions `<subqueryExpressionTypes>` are not incrementalizable. Consider rewriting the query to avoid using them.

## UDF\_NOT\_DETERMINISTIC

UDFs `<expressionNames>` are not deterministic. Please mark the UDFs as deterministic.

## WINDOW\_WITHOUT\_PARTITION\_BY

Window specifications without `PARTITION BY` are not incrementalizable. Consider adding `PARTITION BY` clauses to the window specifications.
