<?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 databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks/m-p/110628#M43627</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Having excel file in sharepoint folder, and has to insert excel data into SQL table from databricks notebook . can i have clear steps on it. Dont have access to Azure Active Directory.&amp;nbsp; can anyone gives solution without using AZURE Active Directory.&lt;/P&gt;&lt;P&gt;inserting excel data from sharepoint to SQL table through power automate, working fine , but when having 10000 records, for inserting data taking 4-5 hrs of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 16:09:41 GMT</pubDate>
    <dc:creator>KSB</dc:creator>
    <dc:date>2025-02-19T16:09:41Z</dc:date>
    <item>
      <title>databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks/m-p/110628#M43627</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;Having excel file in sharepoint folder, and has to insert excel data into SQL table from databricks notebook . can i have clear steps on it. Dont have access to Azure Active Directory.&amp;nbsp; can anyone gives solution without using AZURE Active Directory.&lt;/P&gt;&lt;P&gt;inserting excel data from sharepoint to SQL table through power automate, working fine , but when having 10000 records, for inserting data taking 4-5 hrs of time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 16:09:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks/m-p/110628#M43627</guid>
      <dc:creator>KSB</dc:creator>
      <dc:date>2025-02-19T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks/m-p/110685#M43643</link>
      <description>&lt;P&gt;Hi KSB&lt;BR /&gt;&lt;BR /&gt;You could read direkt with Databricks from Excel Sharepoint with Graph API. Here is one possible way:&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/load-data-from-sharepoint-site-to-delta-table-in-databricks/td-p/16410" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/load-data-from-sharepoint-site-to-delta-table-in-databricks/td-p/16410&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, you need the proper rights/grants&amp;nbsp;to use the Graph API.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Another approach: Copy the Excel from Sharepoint to your Datalake with Power Automate. Then, read the data with Databricks into a Delta Table. If you have your Excel file in the data lake, the code could look like this:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;pip install openpyxl

import pandas as pd

schema_name = f"my_catalog.my_schema"
file_location_xls   = "/Volumes/demo_shared/samples/files/FinancialsSampleData.xlsx"

# create pandas dataframe
pdf = pd.read_excel(file_location_xls, sheet_name="Financials1")

# convert pandas dataframe to pyspark dataframe
df = spark.createDataFrame(pdf)

df.write.saveAsTable(f"{schema_name}.financials_sheet1")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2025 05:47:41 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks/m-p/110685#M43643</guid>
      <dc:creator>Stefan-Koch</dc:creator>
      <dc:date>2025-02-20T05:47:41Z</dc:date>
    </item>
  </channel>
</rss>

