Hyper Parser

In this article

Overview

You can use this Snap to parse Tableau extract (hyper) file and convert it into documents.

Prerequisites

  • Tableau Hyper 10.25 or later version.

  • To run the Tableau hyper Pipelines in a plex, you must set the environment or system property TABLEAU_HYPER_LIBS to hyper (excluding hyper folder) where the jcc is running.

  • Tableau Hyper Snaps use Tableau Hyper API version 21.0.0.12982. You must have the Java Native Access (JNA) and shared libraries of the same API version for the respective Operating System on which you are running your Tableau Pipelines. You can download the files for your operating system (Windows and Linux) using this link: https://www.tableau.com/support/releases/hyper-api/0.0.12982.

Support for Ultra Pipelines

Works in Ultra Pipelines

Limitations

None.

Known Issues

None.

Snap Input and Output

Input/Output

Type of View

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input/Output

Type of View

Number of Views

Examples of Upstream and Downstream Snaps

Description

Input 

Document

  • Min:1

  • Max:1

  • S3 File Reader

  • File Reader

Data in document format.

Output

Binary

  • Min:1

  • Max:∞

  • JSON Formatter

  • CSV Formatter

  • Mapper

  • Copy

Document in binary format.

Snap Settings

Field Name

Field Dependency

Description

Field Name

Field Dependency

Description

Label*

None.

Specify the name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline.

Default ValueHyper Parser
ExampleHyper Parser

Schema Name

N/A

Specify a schema name for the Tableau extract. If left empty, the Snap uses the default schema name Extract.

Default ValueExtract
ExampleExtract

Routes

Use this field set to define table names and the output views to send documents. You must specify each route in a separate row. Click + to add a new row.

This field set consists of the following fields:

  • Table Name

  • Output view name

Table Name

N/A

Specify a name for the hyper table.

A table must exist in the incoming data of the hyper file. Else, an error is displayed upon validation.

Output view name

N/A

Specify a name for the output view to which the documents should be routed.

Example

Reading And Parsing Tableau Hyper Data

This example Pipeline demonstrates reading and parsing Tableau Hyper data using Tableau Hyper Formatter and Hyper Parser Snaps.

First, we configure the JSON Generator and CSV Generator Snaps to pass JSON and CSV data. Upon validation, we get the JSON and CSV data respectively in the output preview of the Snaps.

JSON Generator Snap

JSON Generator Output

JSON Generator Snap

JSON Generator Output

 

 

CSV Generator Snap

CSV Generator Output

Next, we configure the Hyper Formatter Snap to transform the JSON and CSV output into hyper extract format. We configure two input views, json_data and csv_data—this creates target tables with the same names in the Hyper database of Tableau.

Hyper Formatter Snap

Hyper Formatter Views

Hyper Formatter Snap

Hyper Formatter Views

 

 

Next, we configure the Hyper Parser Snap to parse the transformed Hyper data into two tables, one each for json_data and csv_data. Upon validation, we get JSON and CSV outputs in the two output previews.

Hyper Parser Snap

Hyper Parser Snap

 

Hyper Parser JSON Output

Hyper Parser CSV Output

 

 

Finally, we configure two Mapper Snaps to transform the incoming JSON and CSV data. Upon validation, we get the output data for each format (JSON and CSV).

Mapper Snap - JSON Data

Mapper Snap - CSV Data

Mapper Snap - JSON Data

Mapper Snap - CSV Data

 

Mapper -JSON Data Output

Mapper - CSV Data Output

 

 

Download this Pipeline.

Snap Pack History

Release 

Snap Pack Version

Date

Type

  Updates

4.26

main11181

Aug 14, 2021 

Stable

Added the following Tableau Snaps to support hyper extract files for Tableau 10.25 and later versions.

  • Hyper Formatter: Converts the incoming documents to Tableau hyper extract format and sends the output (extract) to the binary output view.

  • Hyper Parser: Parses Tableau hyper extract files and converts them to a document format.

  • Hyper Write: Creates a hyper file in a temporary location (local disk) for incoming documents and publishes it to Tableau Server/Online without packaging it into a data source.

4.25

main9554

May 8, 2021 

Stable

Upgraded with the latest SnapLogic Platform release.

4.24

main8556

Feb 13, 2021 

Stable

Fixed an issue when updating user information in the Tableau REST Snap by not overwriting the site ID or user ID if the entries already exist.

Behavioral Change

In the 4.23 release, the Tableau REST Snap had a defect where it used site ID and user ID from the Tableau Account even if the selected REST operation required a site ID and/or user ID from the input document. This issue is fixed in the 4.24 release, so that the Snap uses values for the said IDs from the input document when available. Since this fix changes the Snap behavior, it is possible for production Pipelines to fail after the 4.24 release. Hence, you need to reconfigure the Tableau REST Snap using the site ID and user ID values from the input document.

 

4.23

main7430

Nov 14, 2021 

Stable

Upgraded with the latest SnapLogic Platform release.

4.22

main6403

Sep 12, 2020 

Stable

Upgraded with the latest SnapLogic Platform release.

4.21

snapsmrc542

May 9, 2020 

Stable

Upgraded with the latest SnapLogic Platform release.

4.20

snapsmrc535

Feb 8, 2020 

Stable

Upgraded with the latest SnapLogic Platform release.

4.19

snaprsmrc528

Nov 19, 2019 

Stable

Upgraded with the latest SnapLogic Platform release.

4.18

snapsmrc523

Aug 10, 2019 

Stable

Upgraded with the latest SnapLogic Platform release.

4.17

ALL7402

Jun 11, 2019 

Latest

Pushed automatic rebuild of the latest version of each Snap Pack to SnapLogic UAT and Elastic servers.

4.17

snapsmrc515

Jun 11, 2019 

Latest

Added the Snap Execution field to all Standard-mode Snaps. In some Snaps, this field replaces the existing Execute during preview check box.

4.16

snapsmrc508

Feb 16, 2019 

Stable

Upgraded with the latest SnapLogic Platform release.

4.15

snapsmrc500

Dec 15, 2018 

Stable

Upgraded with the latest SnapLogic Platform release.

4.14

snapsmrc490

Aug 15, 2018 

Stable

Upgraded with the latest SnapLogic Platform release.

4.13

snapsmrc486

May 12, 2018 

Stable

Enhanced Tableau Snap Pack to support Tableau version 10.5 (Server version), this includes support for refresh task related REST API calls in the Tableau REST Snap.

4.12

snapsmrc480

Feb 17, 2018 

Stable

Upgraded with the latest SnapLogic Platform release.

4.11

snapsmrc465

Nov 11, 2017 

Stable

Upgraded with the latest SnapLogic Platform release.

4.10

snapsmrc414

Aug 12, 2017 

Stable

Upgraded with the latest SnapLogic Platform release.

4.9

snapsmrc405

May 13, 2017 

Stable

  • Extended the support for Tableau 9 and 10 REST Snap to access the TDE files on S3 (using the IAM role on the Snap Account).

  • Support extended for Tableau 10.1 server version.

  • Updated the Snap account with the properties, XML Schema URL and API version (other).

  • Updated the Snap account with Access Key ID, Secret Key and IAM role to support access to files on S3.

  • Tableau REST Snap extended support to access the TDE files on S3.

4.8

tableau92770

Mar 17, 2017 

Latest

Addressed an issue where the TDE Formatter threw a Field conversion failed error.

4.8

snapsmrc398

Feb 11, 2017 

Stable

Upgraded with the latest SnapLogic Platform release.

4.7

snapsmrc382

Nov 23, 2016 

Stable

Upgraded with the latest SnapLogic Platform release.

4.6

snapsmrc362

Aug 13, 2016 

Stable

  • Enhanced to support chunking when publishing large files for the Tableau 9&10 REST Snap. 

  • Enhanced error reporting when fields are improperly mapped from input Tableau 9&10 REST Snap. 

  • Enhanced error handling to appropriately route errors in the Tableau 9&10 Write Snap. 

  • Enhanced error handling to appropriately route errors in the Snap for the TDE Formatter Snap.

  • Extended the TDE Formatter Snap support for Linux Snaplexes. 

  • Doc Enhancement: Examples added to Tableau 9 Snap documentation.

  • Resolved an issue in Tableau REST Snap that caused failures when publishing workbook and datasources. 

  • Resolved an issue in TDE Formatter and Tableau REST Snap that cause errors on Windows Groundplex.

  • Resolved an issue in Tableau REST Snap that only made available 100 entries of datasource.

4.5.1

tableau91634

May 18, 2016 

Latest

  • Initial release of the Snap Pack with Tableau 9&10 REST, Write and the TDE Formatter Snaps.

  • Supports Tableau 9.1 version of Tableau server.


See Also