<?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: Need automatic script(Query) for JSON file in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3335455#M403</link>
    <description>&lt;P&gt;You can do copy file to file or file to table into lakehouse.&amp;nbsp;Can you elaborate a bit more on "automatic script"?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jul 2023 02:06:57 GMT</pubDate>
    <dc:creator>GraceGu</dc:creator>
    <dc:date>2023-07-18T02:06:57Z</dc:date>
    <item>
      <title>Need automatic script(Query) for JSON file</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3334121#M397</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a JSON file, I need automatic script in sql/python for that file, so that i can run that code in my pipeline to copy that file to my lakehouse.&lt;/P&gt;&lt;P&gt;is there any way. please let me know.&lt;/P&gt;&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 10:47:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3334121#M397</guid>
      <dc:creator>sudhav</dc:creator>
      <dc:date>2023-07-17T10:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need automatic script(Query) for JSON file</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3335455#M403</link>
      <description>&lt;P&gt;You can do copy file to file or file to table into lakehouse.&amp;nbsp;Can you elaborate a bit more on "automatic script"?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 02:06:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3335455#M403</guid>
      <dc:creator>GraceGu</dc:creator>
      <dc:date>2023-07-18T02:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need automatic script(Query) for JSON file</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3338443#M409</link>
      <description>&lt;P&gt;Hi Grace,&lt;/P&gt;&lt;P&gt;below is my JSON script&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;and i have Json table below with name Student(for assumption)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;it is having the columns of&lt;/P&gt;&lt;P&gt;studentId,studentName,studentBranch&amp;nbsp;&lt;/P&gt;&lt;P&gt;and data is&amp;nbsp;&lt;/P&gt;&lt;P&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; Adam&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&lt;/P&gt;&lt;P&gt;102&amp;nbsp; &amp;nbsp; &amp;nbsp; Scott&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Accounts&lt;/P&gt;&lt;P&gt;103&amp;nbsp; &amp;nbsp; &amp;nbsp;Saran&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&lt;/P&gt;&lt;P&gt;104&amp;nbsp; &amp;nbsp; &amp;nbsp;Aantony&amp;nbsp; &amp;nbsp;Sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so if you want to create the same table in SQL, you need to write one query like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;create table Student(studentId int,studentName varchar(50),StudentBranch varchar(50))&lt;/P&gt;&lt;P&gt;insert into Student values(&lt;/P&gt;&lt;P&gt;101&amp;nbsp; &amp;nbsp; &amp;nbsp; Adam&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Finance),&lt;/P&gt;&lt;P&gt;(102&amp;nbsp; &amp;nbsp; &amp;nbsp; Scott&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Accounts),&lt;/P&gt;&lt;P&gt;(103&amp;nbsp; &amp;nbsp; &amp;nbsp;Saran&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Finance),&lt;/P&gt;&lt;P&gt;(104&amp;nbsp; &amp;nbsp; &amp;nbsp;Aantony&amp;nbsp; &amp;nbsp;Sales)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then the same table will create in SSMS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="475409" data-lia-user-login="GraceGu" class="lia-mention lia-mention-user"&gt;GraceGu&lt;/a&gt;&amp;nbsp; what I want to achieve here is, that sql script i want to generate automatically from that JSON file/script. in SQL or in Python or pyspark also(in any language) that enough for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any way, please let me know. its very need for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2023 11:40:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Need-automatic-script-Query-for-JSON-file/m-p/3338443#M409</guid>
      <dc:creator>sudhav</dc:creator>
      <dc:date>2023-07-19T11:40:55Z</dc:date>
    </item>
  </channel>
</rss>

