<?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: SAS Viya 3.5 - WRITE EXTERNAL TABLE DATABRICKS in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904384#M357318</link>
    <description>&lt;P&gt;A log would be nice, to understand what the problem is.&lt;/P&gt;
&lt;P&gt;But if you take the SQL that is returned by your SASTRACE, and excute it within Databricks - what happens then?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 15:19:27 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2023-11-23T15:19:27Z</dc:date>
    <item>
      <title>SAS Viya 3.5 - WRITE EXTERNAL TABLE DATABRICKS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904348#M357311</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm preparing scripts to create table on Databricks from SAS Viya 3.5 RH 7.9. Now I'm using the SAS/ACCESS TO JDBC which works Good about reading table from Databricks (tested by me), but I have problems with write table to Databricks. It's important to mention that the Physical space of Databricks Schema is ADLS2. I tried this with other database Hadoop with SAS/ACCESS TO HADOOP and have statement to work with EXTERNAL TABLE and EXTERNAL_LOCATION, but with the connector SAS-JDBC (Databricks), i can't use that statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;@sasviya &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/302184"&gt;@sasprogramming&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please your help,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Claudio&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is my code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="claudiodejesusa_2-1700745197395.png" style="width: 449px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90127i83184505A3FDEEE1/image-dimensions/449x221?v=v2" width="449" height="221" role="button" title="claudiodejesusa_2-1700745197395.png" alt="claudiodejesusa_2-1700745197395.png" /&gt;&lt;/span&gt;&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;Also permissions I have on the space&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="claudiodejesusa_1-1700745082262.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90126i71A4D0EAE7587DAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="claudiodejesusa_1-1700745082262.png" alt="claudiodejesusa_1-1700745082262.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 13:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904348#M357311</guid>
      <dc:creator>claudiodejesusa</dc:creator>
      <dc:date>2023-11-23T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya 3.5 - WRITE EXTERNAL TABLE DATABRICKS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904384#M357318</link>
      <description>&lt;P&gt;A log would be nice, to understand what the problem is.&lt;/P&gt;
&lt;P&gt;But if you take the SQL that is returned by your SASTRACE, and excute it within Databricks - what happens then?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 15:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904384#M357318</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-11-23T15:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya 3.5 - WRITE EXTERNAL TABLE DATABRICKS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904408#M357326</link>
      <description>&lt;P&gt;Sorry for not send the log. I understand that this error is because the privilege that I have on my blob storage is just CREATE EXTERNAL TABLE. The security area of my company choose that setting. What alternative does i have considering that i have connection with SAS/ACCESS JDBC to Databricks. When i try the options&amp;nbsp;DBCREATE_TABLE_LOCATION, it is not supported by JDBC and got syntax error on SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/da/pgmsascdc/v_042/acreldb/p0hbggr9cfmadzn1px40rne6o59n.htm" target="_blank"&gt;https://documentation.sas.com/doc/da/pgmsascdc/v_042/acreldb/p0hbggr9cfmadzn1px40rne6o59n.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Claudio&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="claudiodejesusa_0-1700759367391.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90155i846B5BFC4773053B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="claudiodejesusa_0-1700759367391.png" alt="claudiodejesusa_0-1700759367391.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 17:11:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904408#M357326</guid>
      <dc:creator>claudiodejesusa</dc:creator>
      <dc:date>2023-11-23T17:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Viya 3.5 - WRITE EXTERNAL TABLE DATABRICKS</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904429#M357331</link>
      <description>&lt;P&gt;Hi everone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the help, i found the mistake on my code, i use the preffix https instead of abfss. I want to share the correct code to write a external table on databricks-adls2 with SAS Viya using JDBC Connector. You have to use POST_STMT_OPTS on Data-Step Statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Claudio&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="claudiodejesusa_0-1700794003200.png" style="width: 756px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90162i39ABA408497EEDCB/image-dimensions/756x312?v=v2" width="756" height="312" role="button" title="claudiodejesusa_0-1700794003200.png" alt="claudiodejesusa_0-1700794003200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 02:48:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Viya-3-5-WRITE-EXTERNAL-TABLE-DATABRICKS/m-p/904429#M357331</guid>
      <dc:creator>claudiodejesusa</dc:creator>
      <dc:date>2023-11-24T02:48:13Z</dc:date>
    </item>
  </channel>
</rss>

