<?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: Will a table backed by a SQL server database table automatically get updated if the base table in SQL server database is updated? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7315#M3216</link>
    <description>&lt;P&gt;yes, I thought the internal table stored at hive warehouse will not get updated automatically.  But to my surprise, the table was synchronized immediately after I manually updated the source table in azure Sql server database. &lt;/P&gt;</description>
    <pubDate>Wed, 22 Mar 2023 14:58:32 GMT</pubDate>
    <dc:creator>andrew0117</dc:creator>
    <dc:date>2023-03-22T14:58:32Z</dc:date>
    <item>
      <title>Will a table backed by a SQL server database table automatically get updated if the base table in SQL server database is updated?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7313#M3214</link>
      <description>&lt;P&gt;If I creat a table using the code below: CREATE TABLE IF NOT EXISTS jdbcTable&lt;/P&gt;&lt;P&gt;using org.apache.spark.sql.jdbc&lt;/P&gt;&lt;P&gt;options(&lt;/P&gt;&lt;P&gt;  url "sql_server_url",&lt;/P&gt;&lt;P&gt;  dbtable "sqlserverTable",&lt;/P&gt;&lt;P&gt;  user "username", &lt;/P&gt;&lt;P&gt;  password "password"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;will jdbcTable always be automatically synchronized with sqlserverTable?  Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 23:35:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7313#M3214</guid>
      <dc:creator>andrew0117</dc:creator>
      <dc:date>2023-03-21T23:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Will a table backed by a SQL server database table automatically get updated if the base table in SQL server database is updated?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7314#M3215</link>
      <description>&lt;P&gt;Hi @andrew li​ There is a feature introduced from DBR11 where you can directly ingest the data to the table from a selected list of sources. As you are creating a table, I believe this command will create a managed table  by loading the data from the sqlserver table to your default warehouse location.   Please do DESCRIBE EXTENDED and check the path to see if you have data in there. If there is data, it is not going to sync automatically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you try creating a View with the same way and see what happens there? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the below link &lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.databricks.com/external-data/jdbc.html" target="test_blank"&gt;https://docs.databricks.com/external-data/jdbc.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK, DBSQL and Delta lake supports external table on S3 layer like hive external table. The table automatically pickups the data when loaded in S3 layer. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 08:30:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7314#M3215</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-22T08:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Will a table backed by a SQL server database table automatically get updated if the base table in SQL server database is updated?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7315#M3216</link>
      <description>&lt;P&gt;yes, I thought the internal table stored at hive warehouse will not get updated automatically.  But to my surprise, the table was synchronized immediately after I manually updated the source table in azure Sql server database. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 14:58:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7315#M3216</guid>
      <dc:creator>andrew0117</dc:creator>
      <dc:date>2023-03-22T14:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Will a table backed by a SQL server database table automatically get updated if the base table in SQL server database is updated?</title>
      <link>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7316#M3217</link>
      <description>&lt;P&gt;@andrew li​&amp;nbsp;That's interesting. I'm curious to try this out and get an answer on how does the Databricks layer know that the source is updated? As it is pull based ingestion pattern, the trigger should be from DBx. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Mar 2023 15:11:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/will-a-table-backed-by-a-sql-server-database-table-automatically/m-p/7316#M3217</guid>
      <dc:creator>pvignesh92</dc:creator>
      <dc:date>2023-03-22T15:11:57Z</dc:date>
    </item>
  </channel>
</rss>

