<?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 pass job task parameters to another task in scala in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19618#M13172</link>
    <description>&lt;P&gt;Hi @Sreekanth Nallapa​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you want to pass python notebook params to scala nb. Else dbutils.jobs.taskValues is also available in scala.&lt;/P&gt;&lt;P&gt;If you want to pass parameters from py nb to scala nb or vice-versa,&lt;/P&gt;&lt;P&gt;try using dbutils.notebook.exit() and for the returnValue part, return the parameter you want. &lt;/P&gt;&lt;P&gt;You can then pull the exited value into your other notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2022 19:10:34 GMT</pubDate>
    <dc:creator>UmaMahesh1</dc:creator>
    <dc:date>2022-11-30T19:10:34Z</dc:date>
    <item>
      <title>How to pass job task parameters to another task in scala</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19617#M13171</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I have a requirement in workflow job. Job has two tasks, one is python-task and another one is scala-task (both are running their own cluster).&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I have defined dbutils.job.taskValue in python which is not able to read value in scala because of job.taskValue is not supported in scala.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;So, the question is, &lt;/P&gt;&lt;P&gt;how to pass custom parameters to task 2 ( scala )?​.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Is dbutil.widget can work here by setText in python-task and read widget.get in scala-task ?.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Do we have any approaches?.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Note : We shouldn't use notebook.run.​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 18:56:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19617#M13171</guid>
      <dc:creator>Sreekanth1</dc:creator>
      <dc:date>2022-11-30T18:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass job task parameters to another task in scala</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19618#M13172</link>
      <description>&lt;P&gt;Hi @Sreekanth Nallapa​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you want to pass python notebook params to scala nb. Else dbutils.jobs.taskValues is also available in scala.&lt;/P&gt;&lt;P&gt;If you want to pass parameters from py nb to scala nb or vice-versa,&lt;/P&gt;&lt;P&gt;try using dbutils.notebook.exit() and for the returnValue part, return the parameter you want. &lt;/P&gt;&lt;P&gt;You can then pull the exited value into your other notebook. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers..&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 19:10:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19618#M13172</guid>
      <dc:creator>UmaMahesh1</dc:creator>
      <dc:date>2022-11-30T19:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass job task parameters to another task in scala</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19619#M13173</link>
      <description>&lt;P&gt;Hi @Sreekanth Nallapa​&amp;nbsp;please refer&lt;A href="https://medium.com/creative-data/using-variables-in-databricks-workflows-557549b19c2a" alt="https://medium.com/creative-data/using-variables-in-databricks-workflows-557549b19c2a" target="_blank"&gt; this link &lt;/A&gt;&lt;/P&gt;&lt;P&gt;This might help you in this&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 09:56:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-pass-job-task-parameters-to-another-task-in-scala/m-p/19619#M13173</guid>
      <dc:creator>Ajay-Pandey</dc:creator>
      <dc:date>2022-12-06T09:56:39Z</dc:date>
    </item>
  </channel>
</rss>

