<?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: Hyperleaup to push data to Tableau Server in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35168#M25840</link>
    <description>&lt;P&gt;Hi. Yes dashboard includes multiple filters but only uploaded dashboard on server without any other sheets. I am looking into the extract that other users have suggested. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Sep 2022 09:07:11 GMT</pubDate>
    <dc:creator>badnishant79</dc:creator>
    <dc:date>2022-09-28T09:07:11Z</dc:date>
    <item>
      <title>Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35162#M25834</link>
      <description>&lt;P&gt;Would any care to share how they got the Hyperleaup library working I am currently stuck at an error at publish and cannot seem to find a solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TypeError: publish() got an unexpected keyword argument 'file_path'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am %pip installing all the requirements and installing the library with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%pip install git+https://github.com/goodwillpunning/hyperleaup&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I create the query from a delta table with limit 10 so its small just to test and run:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;hf = HyperFile(name="df_name", sql=query, is_dbfs_enabled=True, creation_mode='copy')&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The file appears under in /tmp/hyperleaup/df_name/df_name.hyper&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set all the connection values and datasource_name an it authenticates. But the publish stops at the error I posted above. I am using my login credentials for tab server and have full admin privileges. I can display all datasources on our tableau server from a databricks notebook using other code to test the connection. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Hyperleaup test notebook is running on cluster with runtime 10.1 using i3.xlarge if it matters. No custom config settings. If you need any other info please ask. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've watched the data collab lab video on youtube. it would have been great to see the 5mins it took to config the demo.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 23:28:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35162#M25834</guid>
      <dc:creator>kpendergast</dc:creator>
      <dc:date>2021-11-12T23:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35163#M25835</link>
      <description>&lt;P&gt;Hi again. Thank you for your question. Let's give it a bit longer to see what answers come.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 19:55:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35163#M25835</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-13T19:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35164#M25836</link>
      <description>&lt;P&gt;Hi @Ken Pendergast​&amp;nbsp;could you please share the full stack trace? &lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 10:49:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35164#M25836</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-15T10:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35165#M25837</link>
      <description>&lt;P&gt;@Prabakar Ammeappin​&amp;nbsp; Here is the full error from the last time I tried to run it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
&amp;lt;command-4104295034046338&amp;gt; in &amp;lt;module&amp;gt;
      7 
      8 # Publish the Hyper File!
----&amp;gt; 9 luid = hf.publish(tableau_server_url=tableau_server,
     10                   username=username,
     11                   password=password,
&amp;nbsp;
/local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/hyperleaup/hyper_file.py in publish(self, tableau_server_url, username, password, site_id, project_name, datasource_name)
     72         publisher = Publisher(tableau_server_url, username, password,
     73                               site_id, project_name, datasource_name, self.path)
---&amp;gt; 74         self.luid = publisher.publish()
     75         logging.info(f"Hyper File published to Tableau Server with datasource LUID : {self.luid}")
     76 
&amp;nbsp;
/local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/hyperleaup/publisher.py in publish(self, creation_mode)
    104             datasource_item = TSC.DatasourceItem(project_id=self.project_id, name=self.datasource_name)
    105             logging.info(f'Publishing datasource: \n{datasource_to_string(datasource_item)}')
--&amp;gt; 106             datasource_item = server.datasources.publish(datasource_item=datasource_item,
    107                                                          file_path=self.hyper_file_path,
    108                                                          mode=create_mode)
&amp;nbsp;
/local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/tableauserverclient/server/endpoint/endpoint.py in wrapper(self, *args, **kwargs)
    161         def wrapper(self, *args, **kwargs):
    162             self.parent_srv.assert_at_least_version(version)
--&amp;gt; 163             return func(self, *args, **kwargs)
    164 
    165         return wrapper
&amp;nbsp;
/local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/tableauserverclient/server/endpoint/endpoint.py in wrapper(self, *args, **kwargs)
    203                     error = "{!r} not available in {}, it will be ignored. Added in {}".format(p, server_ver, min_ver)
    204                     warnings.warn(error)
--&amp;gt; 205             return func(self, *args, **kwargs)
    206 
    207         return wrapper
&amp;nbsp;
/local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/tableauserverclient/server/endpoint/endpoint.py in wrapper(self, *args, **kwargs)
    203                     error = "{!r} not available in {}, it will be ignored. Added in {}".format(p, server_ver, min_ver)
    204                     warnings.warn(error)
--&amp;gt; 205             return func(self, *args, **kwargs)
    206 
    207         return wrapper
&amp;nbsp;
TypeError: publish() got an unexpected keyword argument 'file_path'&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you would like me to rerun it for logs please let me know.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 17:56:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35165#M25837</guid>
      <dc:creator>kpendergast</dc:creator>
      <dc:date>2021-11-15T17:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35166#M25838</link>
      <description>&lt;P&gt;There is nothing wrong with your code. There is a bug in line 107 of &lt;A href="https://github.com/goodwillpunning/hyperleaup/blob/master/hyperleaup/publisher.py" alt="https://github.com/goodwillpunning/hyperleaup/blob/master/hyperleaup/publisher.py" target="_blank"&gt;https://github.com/goodwillpunning/hyperleaup/blob/master/hyperleaup/publisher.py&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expected arg passing is &lt;B&gt;filepath&lt;/B&gt; but it is defined as &lt;B&gt;file_path&lt;/B&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can edit the library in your local machine as below /local_disk0/.ephemeral_nfs/envs/pythonEnv-9ce478c3-3c92-4e39-8fb0-576418e91fb7/lib/python3.8/site-packages/hyperleaup/&lt;A href="http://publisher.py" alt="http://publisher.py" target="_blank"&gt;publisher.py&lt;/A&gt; to fix this. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;datasource_item = server.datasources.publish(datasource_item=datasource_item,
                                                         filepath=self.hyper_file_path,
                                                         mode=create_mode)
&amp;nbsp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Ref: line 190- argument acceptance syntax in dependant library: &lt;A href="https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/endpoint.py" alt="https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/endpoint.py" target="_blank"&gt;https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/endpoint.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 04:18:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35166#M25838</guid>
      <dc:creator>User16871418122</dc:creator>
      <dc:date>2021-11-24T04:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35167#M25839</link>
      <description>&lt;P&gt;I created a git bug for a long term fix: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/goodwillpunning/hyperleaup/issues/22" target="test_blank"&gt;https://github.com/goodwillpunning/hyperleaup/issues/22&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 04:22:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35167#M25839</guid>
      <dc:creator>User16871418122</dc:creator>
      <dc:date>2021-11-24T04:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperleaup to push data to Tableau Server</title>
      <link>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35168#M25840</link>
      <description>&lt;P&gt;Hi. Yes dashboard includes multiple filters but only uploaded dashboard on server without any other sheets. I am looking into the extract that other users have suggested. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 09:07:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/hyperleaup-to-push-data-to-tableau-server/m-p/35168#M25840</guid>
      <dc:creator>badnishant79</dc:creator>
      <dc:date>2022-09-28T09:07:11Z</dc:date>
    </item>
  </channel>
</rss>

