<?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 Terraform Error: Cannot create sql table context deadline in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/terraform-error-cannot-create-sql-table-context-deadline/m-p/69165#M33831</link>
    <description>&lt;P&gt;I am currently trying to deploy external parquet tables to the Databricks UC using terraform. However, for some tables I get the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Error: &lt;/SPAN&gt;cannot create sql table: Post "&lt;A class="" href="https://[masked]/api/2.0/sql/statements/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://[MASKED]/api/2.0/sql/statements/&lt;/A&gt;": context deadline exceeded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is probably due to a high degree of partitioning of the underlying parquet tables. The terraform databricks provider sets the timeoutto max 50s (&lt;A href="https://github.com/databricks/terraform-provider-databricks/blob/main/catalog/resource_sql_table.go#L21" target="_blank"&gt;https://github.com/databricks/terraform-provider-databricks/blob/main/catalog/resource_sql_table.go#L21&lt;/A&gt;) and this can also not be changed as far as I have seen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Did anybody else experience this error and knows a way to circumvent this?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 14:43:51 GMT</pubDate>
    <dc:creator>Volker</dc:creator>
    <dc:date>2024-05-16T14:43:51Z</dc:date>
    <item>
      <title>Terraform Error: Cannot create sql table context deadline</title>
      <link>https://community.databricks.com/t5/data-engineering/terraform-error-cannot-create-sql-table-context-deadline/m-p/69165#M33831</link>
      <description>&lt;P&gt;I am currently trying to deploy external parquet tables to the Databricks UC using terraform. However, for some tables I get the following error:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Error: &lt;/SPAN&gt;cannot create sql table: Post "&lt;A class="" href="https://[masked]/api/2.0/sql/statements/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://[MASKED]/api/2.0/sql/statements/&lt;/A&gt;": context deadline exceeded&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;This is probably due to a high degree of partitioning of the underlying parquet tables. The terraform databricks provider sets the timeoutto max 50s (&lt;A href="https://github.com/databricks/terraform-provider-databricks/blob/main/catalog/resource_sql_table.go#L21" target="_blank"&gt;https://github.com/databricks/terraform-provider-databricks/blob/main/catalog/resource_sql_table.go#L21&lt;/A&gt;) and this can also not be changed as far as I have seen.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Did anybody else experience this error and knows a way to circumvent this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 14:43:51 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/terraform-error-cannot-create-sql-table-context-deadline/m-p/69165#M33831</guid>
      <dc:creator>Volker</dc:creator>
      <dc:date>2024-05-16T14:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Terraform Error: Cannot create sql table context deadline</title>
      <link>https://community.databricks.com/t5/data-engineering/terraform-error-cannot-create-sql-table-context-deadline/m-p/74661#M34772</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/9"&gt;@Retired_mod&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;thanks for your reply and sorry for the late reply from my side. I couldn't fix the problem with the databricks terraform provider unfortunately. I now switched to using liquibase to deploy tables to databricks.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2024 15:44:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/terraform-error-cannot-create-sql-table-context-deadline/m-p/74661#M34772</guid>
      <dc:creator>Volker</dc:creator>
      <dc:date>2024-06-17T15:44:40Z</dc:date>
    </item>
  </channel>
</rss>

