Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Databricks SQL
Databricks Runtime 19.0 and above
Important
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Azure Databricks previews.
Returns the name of the pattern variable that the current row matched. Use classifier() in ALL ROWS PER MATCH output to label each row with its role in the pattern. Use this function only in the MEASURES and DEFINE clauses of MATCH_RECOGNIZE.
Syntax
classifier()
Arguments
This function takes no arguments.
Returns
A STRING.