How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2022 12:54 PM
%sh
export a
a=100
echo $a
OUTPUT: 100
in the below cell trying to use the variable a, but it's not printing the value
%sh
echo $a
OUTPUT:
Labels:
- Labels:
-
Azure databricks
-
Global