Skip to main content

CONNECT_ML error condition

SQLSTATE: 56K00

Spark Connect ML error:

ATTRIBUTE_NOT_ALLOWED

<attribute> in <className> is not allowed to be accessed.

CACHE_INVALID

Cannot retrieve Summary object <objectName> from the ML cache

because the Summary object was evicted due to non use for more than <evictTimeoutInMinutes> minutes.

Call model.evaluate(dataset) to create a new Summary object.

DISABLED

Spark Connect ML is disabled.

ML_CACHE_SIZE_OVERFLOW_EXCEPTION

The model cache size in current session is about to exceed <mlCacheMaxSize> bytes.

Delete existing cached models by executing 'del model' in python client before fitting new models or loading a new model

MODEL_SIZE_OVERFLOW_EXCEPTION

The fitted or loaded model size is about <modelSize> bytes.

Fit or load a model smaller than <modelMaxSize> bytes.

MODEL_SUMMARY_LOST

The model <objectName> summary is lost because the cached model is offloaded.

UNSUPPORTED_EXCEPTION

<message>