नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
Applies to:
Databricks SQL
Databricks Runtime 11.3 LTS and above
Returns the current version of Databricks SQL or Databricks Runtime.
Syntax
current_version()
Arguments
This function takes no arguments.
Returns
A STRUCT with the following fields:
Applies to:
Databricks SQL
dbr_version: ANULLSTRINGin Databricks SQL.dbsql_version: ASTRINGwith the current version of Databricks SQL.u_build_hash: ASTRINGused by Azure Databricks support.r_build_hash: ASTRINGused by Azure Databricks support.
Applies to:
Databricks Runtime
dbr_version: ASTRINGwith the current version of Databricks Runtime.dbsql_version: ANULLSTRINGin Databricks Runtime.u_build_hash: ASTRINGused by Azure Databricks support.r_build_hash: ASTRINGused by Azure Databricks support.
Examples
> SELECT current_version().dbsql_version;
2022.25
> SELECT current_version();
{ NULL, 2022.25, ..., ... }