<?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: Single task job that runs SQL notebook, can't retrieve results in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92480#M38447</link>
    <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I need to retrieve a result of the the notebook task&lt;BR /&gt;&lt;BR /&gt;If you want to know if the task run has succeeded or not, you &lt;A href="https://docs.databricks.com/api/azure/workspace/systemschemas/enable" target="_self"&gt;can enable&lt;/A&gt; the "lakeflow" system schema and you'll find the &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/system-tables/jobs" target="_self"&gt;logs of jobs and task runs&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;You could then use the above info to execute an SQL query against the logs in a task after you job query task.&lt;BR /&gt;&lt;BR /&gt;In any case, you should provide a better description of the problem you are trying to solve to help people understand what you are trying to achieve.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2024 17:16:56 GMT</pubDate>
    <dc:creator>adriennn</dc:creator>
    <dc:date>2024-10-01T17:16:56Z</dc:date>
    <item>
      <title>Single task job that runs SQL notebook, can't retrieve results</title>
      <link>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92425#M38434</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are integrating databricks and I need to run a job with single task that will run notebok with SQL query in it.&amp;nbsp;&lt;BR /&gt;I Can only use SQL warehouse and no cluster, I need to retrieve a result of the the notebook task but I can't see the results.&amp;nbsp;&lt;BR /&gt;Is there something like dbutils.exit() in SQL notebook ( i can;t run python nor Java)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reason for going this way is that I need to run a job on behalf of another user.&lt;BR /&gt;Please help. Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 11:50:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92425#M38434</guid>
      <dc:creator>varonis_evgeniy</dc:creator>
      <dc:date>2024-10-01T11:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Single task job that runs SQL notebook, can't retrieve results</title>
      <link>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92446#M38442</link>
      <description>&lt;P&gt;May I know what is being performed on this query? Is it a select on a table but no results being showed?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 14:15:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92446#M38442</guid>
      <dc:creator>Walter_C</dc:creator>
      <dc:date>2024-10-01T14:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Single task job that runs SQL notebook, can't retrieve results</title>
      <link>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92480#M38447</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;I need to retrieve a result of the the notebook task&lt;BR /&gt;&lt;BR /&gt;If you want to know if the task run has succeeded or not, you &lt;A href="https://docs.databricks.com/api/azure/workspace/systemschemas/enable" target="_self"&gt;can enable&lt;/A&gt; the "lakeflow" system schema and you'll find the &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/admin/system-tables/jobs" target="_self"&gt;logs of jobs and task runs&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;You could then use the above info to execute an SQL query against the logs in a task after you job query task.&lt;BR /&gt;&lt;BR /&gt;In any case, you should provide a better description of the problem you are trying to solve to help people understand what you are trying to achieve.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 17:16:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/single-task-job-that-runs-sql-notebook-can-t-retrieve-results/m-p/92480#M38447</guid>
      <dc:creator>adriennn</dc:creator>
      <dc:date>2024-10-01T17:16:56Z</dc:date>
    </item>
  </channel>
</rss>

