Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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, ..., ... }