TableauWriter writes data in Tableau (
files. The component depends on native libraries.
|Component||Data output||Input ports||Output ports||Transformation||Transf. required||Java||CTL||Auto-propagated metadata|
|TableauWriter||Tableau binary file||1||0|
|Input||0||For received data records||Not all data types|
Input metadata of TableauWriter cannot contain data types
Tableau types do not have sufficient precision for CloverDX types
long and the conversion would be lossy.
A recommended alternative to
decimal data type in TableauWriter
an alternative to
CloverDX data types
cbyte do not have
a corresponding Tableau data type.
Metadata containers (list, map) are not supported.
To set up mapping of particular metadata fields on Tableau metadata, use the attribute Tableau Table Structure.
An attribute specifying where received data will be written.
The file name must have the
The prefilled value
|Default table collation|
Value of the default collation used in the Tableau Table Structure dialog.
|EN_US (default) | any from the list|
|Tableau table structure||See Tableau Table Structure.|
|Action on existing output file||Defines an action to be done if the output file already exists.||Overwrite table (replace the file) | Append to table | Terminate processing|
|Tableau Table Structure|
|Notes and Limitations|
Tableau Table Structure
The Tableau Table Structure dialog serves to assign Tableau data types and collation to particular metadata fields.
The input field above the list of fields works as a filter to the displayed fields.
Figure 56.26. Tableau Table Structure
TableauWriter depends on native libraries. You need to download the libraries and set up your operating system to use it. OS X is not currently supported as there are currently no native Tableau libraries for OS X.
The libraries can be downloaded from Tableau - Data Extract API.
The usage of Tableau libraries with Eclipse is described at Using the Tableau SDK with Java and Eclipse
To use TableauWriter on Linux,
directory to system
directory must be on
For more information, see the Linux documentation: Shared Libraries.
To be able to use TableauWriter on Windows,
you should add the
of Tableau to system
Notes and Limitations
More TableauWriters cannot write in the same phase as Tableau API is not threadsafe.
.tde file is open in
Tableau application, CloverDX
cannot write into it.
TableauWriter cannot write data directly to
files via URL (e.g.
as the URL from the component is passed down to the Tableau library and
the library cannot write zip files in this way.
Recommended Swap Size
On Linux, in the case of a small swap size, an exception may occur:
com.tableausoftware.TableauException: Cannot allocate memory - fork()
To prevent this, you can either:
increase the size of swap to equal the RAM size, or
allow memory overcommit (see overcommit accounting).
In the latter case, make sure you understand the implications.
Concurrent run of TableauWriter components
More TableauWriter components cannot run at the same time. If there is TableauWriter component already running, and the second TableauWriter component needs to run, the graph with the second component fails.
|4.0||TableauWriter component is available since 4.0.0.|