<?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 Issue converting the datasets into JSON in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/issue-converting-the-datasets-into-json/m-p/23124#M15927</link>
    <description>&lt;P&gt;Im a newbie to Databricks, I need to convert the data sets into JSON. i tried bth FOR JSON AUTO AND FOR JSON PATH, However im getting an issue - [PARSE_SYNTAX_ERROR] Syntax error at or near 'json'line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Query works fine without FOR JSON AUTO AND FOR JSON PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Query:&lt;/P&gt;&lt;P&gt;Select ChecklistName as a from ***&lt;/P&gt;&lt;P&gt;FOR JSON AUTO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 02:07:34 GMT</pubDate>
    <dc:creator>Kavin</dc:creator>
    <dc:date>2022-11-09T02:07:34Z</dc:date>
    <item>
      <title>Issue converting the datasets into JSON</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-converting-the-datasets-into-json/m-p/23124#M15927</link>
      <description>&lt;P&gt;Im a newbie to Databricks, I need to convert the data sets into JSON. i tried bth FOR JSON AUTO AND FOR JSON PATH, However im getting an issue - [PARSE_SYNTAX_ERROR] Syntax error at or near 'json'line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Query works fine without FOR JSON AUTO AND FOR JSON PATH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Query:&lt;/P&gt;&lt;P&gt;Select ChecklistName as a from ***&lt;/P&gt;&lt;P&gt;FOR JSON AUTO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone help me here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 02:07:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-converting-the-datasets-into-json/m-p/23124#M15927</guid>
      <dc:creator>Kavin</dc:creator>
      <dc:date>2022-11-09T02:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue converting the datasets into JSON</title>
      <link>https://community.databricks.com/t5/data-engineering/issue-converting-the-datasets-into-json/m-p/23125#M15928</link>
      <description>&lt;P&gt;Hi @Kavin Natarajan​&amp;nbsp;, Could you please go through &lt;A href="https://www.tutorialkart.com/apache-spark/spark-write-dataset-to-json-file-example/" alt="https://www.tutorialkart.com/apache-spark/spark-write-dataset-to-json-file-example/" target="_blank"&gt;https://www.tutorialkart.com/apache-spark/spark-write-dataset-to-json-file-example/&lt;/A&gt; , looks like the steps are okay. &lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 07:03:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/issue-converting-the-datasets-into-json/m-p/23125#M15928</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2022-11-09T07:03:28Z</dc:date>
    </item>
  </channel>
</rss>

