How to reliably get the databricks run time version as part of init scripts in aws/azure databricks
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2024 10:55 PM
We currently use the script below, but it is not working in some environments.
The environment variable used in the script is not listed in this link Databricks Environment Variables
```bash
#!/bin/bash
echo "Databricks Runtime Version: $DATABRICKS_RUNTIME_VERSION"
```