<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33050#M24140</link>
    <description>&lt;P&gt;You can configure custom environment variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the cluster configuration page, click the &lt;B&gt;Advanced Options&lt;/B&gt; toggle.&lt;/LI&gt;&lt;LI&gt;Click the &lt;B&gt;Spark&lt;/B&gt; tab.&lt;/LI&gt;&lt;LI&gt;Set the environment variables in the &lt;B&gt;Environment Variables&lt;/B&gt; field.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 30 Aug 2022 21:01:04 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2022-08-30T21:01:04Z</dc:date>
    <item>
      <title>How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33047#M24137</link>
      <description>&lt;P&gt;%sh&lt;/P&gt;&lt;P&gt;export a&lt;/P&gt;&lt;P&gt;a=100&lt;/P&gt;&lt;P&gt;echo $a&lt;/P&gt;&lt;P&gt;OUTPUT: 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the below cell trying to use the variable a, but it's not printing the value&lt;/P&gt;&lt;P&gt;%sh&lt;/P&gt;&lt;P&gt;echo $a&lt;/P&gt;&lt;P&gt;OUTPUT: &lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 19:54:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33047#M24137</guid>
      <dc:creator>VeeraNerella</dc:creator>
      <dc:date>2022-08-30T19:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33048#M24138</link>
      <description>&lt;P&gt;Hi, bash is not supported as notebook language. Instead, it is a magic cell executing shell script on the driver node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 19:59:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33048#M24138</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-08-30T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33049#M24139</link>
      <description>&lt;P&gt;Okay... &lt;/P&gt;&lt;P&gt;In data bricks notebook, is there a way to declare a bash variable as a global variable and use that variable's value in the subsequent cells in the notebook? &lt;/P&gt;&lt;P&gt;like mentioned in the attachment&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 20:22:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33049#M24139</guid>
      <dc:creator>VeeraNerella</dc:creator>
      <dc:date>2022-08-30T20:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33050#M24140</link>
      <description>&lt;P&gt;You can configure custom environment variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;On the cluster configuration page, click the &lt;B&gt;Advanced Options&lt;/B&gt; toggle.&lt;/LI&gt;&lt;LI&gt;Click the &lt;B&gt;Spark&lt;/B&gt; tab.&lt;/LI&gt;&lt;LI&gt;Set the environment variables in the &lt;B&gt;Environment Variables&lt;/B&gt; field.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 30 Aug 2022 21:01:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33050#M24140</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2022-08-30T21:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33052#M24142</link>
      <description>&lt;P&gt;Hi Kaniz, seems this is limitation in databricks notebook(S)&lt;/P&gt;&lt;P&gt;"&lt;B&gt;How to use a bash variable, which holds a value to the below subsequent cells in Data bricks notebook?"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;So alternatively, i used all commands in the same cell and moved forward, i didn't find any alternative as of now&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 00:12:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-use-a-bash-variable-which-holds-a-value-to-the-below/m-p/33052#M24142</guid>
      <dc:creator>VeeraNerella</dc:creator>
      <dc:date>2022-09-13T00:12:49Z</dc:date>
    </item>
  </channel>
</rss>

