3

I have started to use Tableau recently and was digging on Data Extract API. I understand that Tableau could connect to various data sources, pull data and create a tableau data extract file. I wanted to understand if we could read any *.tde file using Tableau jars for JAVA. I tried creating an extract object from an existing tde file but it threw below exception

com.tableausoftware.TableauException: table name must be "Extract"

Request any inputs or pointers from someone who has worked on Tableau Data Extracts.

Sushant Gupta
  • 1,487
  • 2
  • 16
  • 23

1 Answers1

3

The current (version 8.1) Tableau extract API seems to be designed solely for creating and appending to extracts, not for reading from them. Of course, you can read from them using Tableau. That works well for using extracts as a cache of an external data source. If you have another use case in mind, the API may not support it. (Would love to be proven wrong)

Alex Blakemore
  • 11,301
  • 2
  • 26
  • 49
  • I agree, after further research I found that Tableau reader is proprietary in reading tableau extracts for now. Thanks. – Sushant Gupta May 14 '14 at 06:11
  • if we want to convert the json file to tableau extract file i.e. .tde file in java..any idea how to the same using extract api?? – JGS Oct 06 '17 at 07:00
  • You can generate a TDE file from a Java program using the API. That’s the whole purpose. You just can’t read a TDE file via the API. – Alex Blakemore Oct 07 '17 at 01:56