<?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 Forcing the refresh of the sql endpoint of a lakehouse using in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4879172#M8777</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across this site:&lt;BR /&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs/wiki/Code-Examples#refresh-sql-endpoint-metadata" target="_blank" rel="noopener"&gt;Code Examples · microsoft/semantic-link-labs Wiki · GitHub&lt;/A&gt;&lt;BR /&gt;I am trying to implement the semanticlink, but it doesnt seem to work. My notebook is as follows:&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#%pip install semantic-link-labs&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;sempy_labs&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'xxx'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the Fabric item&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Lakehouse'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the item type&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'yyy'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the workspace&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#&amp;nbsp;Example 1: Refresh the metadata of all tables&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;SPAN&gt;.refresh_sql_endpoint_metadata(&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;display&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When i run it I get error: &lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;: got an unexpected keyword argument 'tables'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The language I have chosen in pyspark(python).&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What am I missing here?&lt;BR /&gt;Cheers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hans&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 19 Nov 2025 02:19:40 GMT</pubDate>
    <dc:creator>smeetsh</dc:creator>
    <dc:date>2025-11-19T02:19:40Z</dc:date>
    <item>
      <title>Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4879172#M8777</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I came across this site:&lt;BR /&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs/wiki/Code-Examples#refresh-sql-endpoint-metadata" target="_blank" rel="noopener"&gt;Code Examples · microsoft/semantic-link-labs Wiki · GitHub&lt;/A&gt;&lt;BR /&gt;I am trying to implement the semanticlink, but it doesnt seem to work. My notebook is as follows:&lt;/P&gt;&lt;P&gt;----------&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#%pip install semantic-link-labs&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt; &lt;SPAN&gt;sempy_labs&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt; &lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'xxx'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the Fabric item&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'Lakehouse'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the item type&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;'yyy'&lt;/SPAN&gt; &lt;SPAN&gt;# Enter the name or ID of the workspace&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;#&amp;nbsp;Example 1: Refresh the metadata of all tables&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;labs&lt;/SPAN&gt;&lt;SPAN&gt;.refresh_sql_endpoint_metadata(&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;item&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;type&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;workspace&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;tables&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;display&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--------&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When i run it I get error: &lt;SPAN class=""&gt;TypeError&lt;/SPAN&gt;: got an unexpected keyword argument 'tables'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The language I have chosen in pyspark(python).&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;What am I missing here?&lt;BR /&gt;Cheers&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hans&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Nov 2025 02:19:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4879172#M8777</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2025-11-19T02:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4879226#M8778</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="718450" data-lia-user-login="smeetsh" class="lia-mention lia-mention-user"&gt;smeetsh&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have not used semantic link labs to do this, so I'm not sure what error you may be running into there. Seeing as you're using the sample code, maybe this is a bug that you should report?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I have done is refresh directly with the API. IT is described here:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/refresh-sql-analytics-endpoint-metadata-rest-api-now-in-ga/" target="_blank"&gt;Refresh SQL analytics endpoint Metadata REST API (Generally Available) | Microsoft Fabric Blog | Microsoft Fabric&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and further described here:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/sqlendpoint/items/refresh-sql-endpoint-metadata?tabs=HTTP" target="_blank"&gt;Items - Refresh Sql Endpoint Metadata - REST API (SQLEndpoint) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Nov 2025 04:09:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4879226#M8778</guid>
      <dc:creator>tayloramy</dc:creator>
      <dc:date>2025-11-19T04:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4881462#M8785</link>
      <description>&lt;P&gt;I am aware of that article, but it requires some work in the background (clientID's secrets, api keys etc), Also it seems to refresh the whole lakehouse and we have a lot of pipelines that are scheduled at various times, which means i will be calling that notebook dozens of times per day, which seems a waste of CU's&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 19:40:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4881462#M8785</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2025-11-20T19:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4881466#M8786</link>
      <description>&lt;P&gt;I have created an issue on the git, lets see what comes back&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 19:49:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4881466#M8786</guid>
      <dc:creator>smeetsh</dc:creator>
      <dc:date>2025-11-20T19:49:13Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4882435#M8795</link>
      <description>&lt;P&gt;the bug is in this file I think: _sql_endpoints.py&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the parameter "tables" doesn't exist for that function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;def refresh_sql_endpoint_metadata(
    item: str | UUID,
    type: Literal["Lakehouse", "MirroredDatabase"],
    workspace: Optional[str | UUID] = None,
    timeout_unit: Literal["Seconds", "Minutes", "Hours", "Days"] = "Minutes",
    timeout_value: int = 15,
) -&amp;gt; pd.DataFrame:
    """
    Refreshes the metadata of a SQL endpoint.

    This is a wrapper function for the following API: `Items - Refresh Sql Endpoint Metadata &amp;lt;https://learn.microsoft.com/rest/api/fabric/sqlendpoint/items/refresh-sql-endpoint-metadata&amp;gt;`_.

    Service Principal Authentication is supported (see `here &amp;lt;https://github.com/microsoft/semantic-link-labs/blob/main/notebooks/Service%20Principal.ipynb&amp;gt;`_ for examples).

    Parameters
    ----------
    item : str | uuid.UUID
        The name or ID of the item (Lakehouse or MirroredDatabase).
    type : Literal['Lakehouse', 'MirroredDatabase']
        The type of the item. Must be 'Lakehouse' or 'MirroredDatabase'.
    workspace : str | uuid.UUID, default=None
        The Fabric workspace name or ID.
        Defaults to None which resolves to the workspace of the attached lakehouse
        or if no lakehouse attached, resolves to the workspace of the notebook.
    timeout_unit : Literal['Seconds', 'Minutes', 'Hours', 'Days'], default='Minutes'
        The unit of time for the request duration before timing out. Additional duration types may be added over time.
    timeout_value : int, default=15
        The number of time units in the request duration.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;anyway as clearly stated in the function definition this is just a wrapper of the api that refresh metadata for all tables it seems there's no way to do it just for one table (as of now).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 17:50:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4882435#M8795</guid>
      <dc:creator>R1k91</dc:creator>
      <dc:date>2025-11-21T17:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Forcing the refresh of the sql endpoint of a lakehouse using</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4883700#M8799</link>
      <description>&lt;P&gt;Kowalsky confirmed on the &lt;A href="https://github.com/microsoft/semantic-link-labs/issues/972#issuecomment-3569132838" target="_self"&gt;issue's thread&lt;/A&gt; that the example is wrong since tables parameters is not exposed by the api.&lt;BR /&gt;as of now you can't choose which table to refresh, it's all or nothing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 07:52:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Forcing-the-refresh-of-the-sql-endpoint-of-a-lakehouse-using/m-p/4883700#M8799</guid>
      <dc:creator>R1k91</dc:creator>
      <dc:date>2025-11-24T07:52:21Z</dc:date>
    </item>
  </channel>
</rss>

