Starting on or after January 15, 2027, with ANSI mode enabled in Databricks Runtime 19 and above, array contains(arr, value) will return NULL, not false, when arr is a constant empty array and value…
Starting on or after January 15, 2027, with ANSI mode enabled in Databricks Runtime 19 and above, array contains(arr, value) will return NULL, not false, when arr is a constant empty array and value is NULL. map contains key(map, key) with a constant empty map will change the same way. As a result, NOT array contains(arr, value) will no longer match rows where value is NULL.
Reduces operational overhead and unlocks new capabilities for data teams on Databricks.
Starting on or after January 15, 2027, with ANSI mode enabled in Databricks Runtime 19 and above, array contains(arr, value) will return NULL, not false, when arr is a constant empty array and value is NULL. map contains key(map, key) with a constant empty…
Read the full documentation ↗