Questions tagged [hyper-api]

The Tableau Hyper API gives users direct access to the Tableau Hyper database engine. It allows for performing CRUD operations on `.hyper` database files.

The Tableau Hyper API gives users direct access to the Tableau Hyper database engine. It allows for performing CRUD operations on .hyper database files.

8 questions
8
votes
3 answers

How to convert a Tableau .hyper File to a pandas dataframe?

I want to convert a Tableau .hyper file to a pandas dataframe. It is possible to convert a dataframe to a .hyper file, but unfortunately, I could not come up with a solution for this problem. How can you achieve this with python?
btinman
  • 83
  • 1
  • 3
1
vote
1 answer

Hyper API and AWS EC2

Hi I am new to Tableau server and AWS EC2. I am trying to write a python script to connect to AWS EC2 database, get the table out into .hyper file using hyper api from tableau and then push it into tableau server. I had searched around but with no…
1
vote
1 answer

I/O error while accessing file:/dbfs/my_hyper.hyper: SIGBUS

I'm trying to write Tableau's .hyper file to a directory in Databricks. However it yields The database "hyper.file:/dbfs/my_hyper.hyper" could not be created: I/O error while accessing file:/dbfs/my_hyper.hyper: SIGBUS Why is this happening? I face…
The Singularity
  • 2,428
  • 3
  • 19
  • 48
1
vote
2 answers

pysintaller exe file does not run, throws could not find Hyper API binary directory error

I've created a python script that creates a Tableau (.hyper) extract file using the Tableau Hyper Api. Largely based on the sample scripts provided by Tableau. I'm trying to package this using pyinstaller. Pyinstaller creates the exe…
Hayley
  • 23
  • 7
0
votes
0 answers

Appending csv to tableau datasource

Due to some IT restrictions, I'm not able to integrate Tableau with our database. Instead I'm trying to build a pipeline that will upload csv query outputs to tableau. I know tableau only supports tde, tds, tdsx, and hyper files through their rest…
justin
  • 169
  • 6
0
votes
0 answers

Unable to publish .hyper file to Tableau site but hyper publish python code does not throw any error

I am trying to publish 686MB .hyper file to tableau server with user token value and token value, but from the logs I could see the file getting published but that file is not getting received on tableau server. With same code I had published 191MB…
0
votes
1 answer

How do i get datetime into a tableau extract with pantab

I have this code: import pantab import pandas as pd import datetime df = pd.DataFrame([ [datetime.date(2018,2,20), 4], [datetime.date(2018,2,20), 4], ], columns=["date", "num_of_legs"]) pantab.frame_to_hyper(df, "example.hyper",…
0
votes
0 answers

Error converting .hyper tableau file to a pandas dataframe

I downloaded a datasource using Tableau rest api and it downloads it in a .tdsx format. Upon extracting it, I got the .hyper file I was looking for. Now I'm trying to load the .hyper file into a pandas dataframe using this: import pantab result =…