samuelcolvin opened a new pull request, #12429:
URL: https://github.com/apache/datafusion/pull/12429

   ## Which issue does this PR close?
   
   Closes #12424
   
   ## Rationale for this change
   
   Pretty self explanatory — it's use to know what version of a database you're 
using. 
   
   ## What changes are included in this PR?
   
   Adds a `version()` UDF.
   
   Usage:
   
   ```bash
   cargo run --manifest-path datafusion-cli/Cargo.toml
   ```
   
   ```sql
   select version();
   +-------------------------------------+
   | version()                           |
   +-------------------------------------+
   | DataFusion 41.0.0, aarch64 on macos |
   +-------------------------------------+
   1 row(s) fetched. 
   Elapsed 0.018 seconds.
   ```
   
   I'd like to add:
   * Rustc version, but that would require a build script or another dependency
   * Arrow-rs version, would require a new export from arrow-rs, equivalent to 
`datafusion::DATAFUSION_VERSION`
   
   ## Are these changes tested?
   
   yes
   
   ## Are there any user-facing changes?
   
   Just one new UDF.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to