System#

Function

Description

VERSION

Returns the version of Polars that plans the query.

VERSION#

Returns the version of Polars that plans the query: the Python Polars version, or in the polars command-line tool, the version of that tool.

Example:

pl.sql("SELECT VERSION()").collect()
# shape: (1, 1)
# ┌─────────┐
# │ version │
# │ ---     │
# │ str     │
# ╞═════════╡
# │ 2.2.0   │
# └─────────┘