Skip to content

Add a version() function #12424

@samuelcolvin

Description

@samuelcolvin

Is your feature request related to a problem or challenge?

(Sorry if this has been covered before, I searched but obviously there are a lot of false positives, so I might have missed a discussion)

I'd like to propose a UDF version() which returns a string including the datafusion version, and perhaps other related versions, similar to postgres:

select version():
-- PostgreSQL 14.11 (Homebrew) on aarch64-apple-darwin23.2.0, compiled by Apple clang version 15.0.0 (clang-1500.1.0.2.5), 64-bit

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions