Reputation: 689
Given some Custom SQL, I want to create a Tableau Extract programmatically.
Is this possible?
Context of the process is:
Step 2 can be done manually using Tableau Desktop's Custom SQL
.
As seen here in this help doc, https://help.tableau.com/current/pro/desktop/en-us/customsql.htm
I want to do it (Step 2) programmatically, due to the number of extracts needed and the time it will take.
Upvotes: 0
Views: 392
Reputation: 3348
Yes, you can programmatically create extracts with the Hyper API. Then you have the option to use either Tabcmd, Tableau REST API or Tableau Server Client Python library to publish the extract. If you go with Python to create the extract, then in the same script, you could use the Server Client to publish. Instead of tableau server refreshing it, you would schedule your script with some sort task scheduler, like in Windows Task Scheduler.
Upvotes: 1
Reputation: 557
Tableau can do Step 4, you just need to configure it.
Is the problem with steps 1-3 that you have the SQL and just need to automate that part ?
Upvotes: 0