Spotfire Data Science Basic Verification Tests

Spotfire Data Science Basic Verification Tests

book

Article ID: KB0082626

calendar_today

Updated On:

Products Versions
Spotfire Data Science 6.x

Description

Spotfire Data Science Basic Verification Tests

Issue/Introduction

Spotfire Data Science Basic Verification Tests

Resolution

Spotfire Data Science Basic Verification Tests

Follow these steps to test that your Spotfire Data Science operators are working fine

1. Download to your computer the attached archive that contains .afm files (exported Spotfire Data Science flows) and data files.

2. Navigate to a workspace where you want to upload the .afm files, click "Upload a File", select an .afm file, add the appropriate data sources and click "Upload File". Make sure to include a hadoop and database data sources if you want the "Copy to hadoop" and "Copy to database" operators to succeed. 
(see the attached screenshot)

3. For a hadoop flow, after uploading the .afm file, open the newly created flow (you will see how all the operators are turned red), click "Data" tab from the left side panel, navigate to a directory where you have a permission, click "Import a dataset" icon from that same panel, and upload the .csv files that came with the downloaded archive.
(see the attached screenshot)

Then edit the data file operators (the first ones in the flow), and point each one to the newly uploaded corresponding file on the hadoop cluster.
(see the attached screenshot)

4. For a database flow, after uploading the .afm file, open the flow, click the "Data" tab, navigate to the schema where you have permission to create a new table. Then, click "Import a dataset" icon from that same panel, and upload the downloaded .csv files (one by one) to create tables in the selected database schema. 
(see the attached screenshot)

When the table creation is done, edit the data source operators and point them to the newly created corresponding tables.
(see the attached screenshot)

5. If there are any other operators in red (after configuring the data source operators), edit them, select the needed data source, or configure whatever is missing and save. Once all the in red operators are corrected, you can go ahead and run the uploaded flows.

Note: Please note that if you don't have an R server configured, the R-Execute operator will fail. For more information about configuring a link to your R server, look into this page - Connect Spotfire Data Science to R Server.

Attachments

Spotfire Data Science Basic Verification Tests get_app
Spotfire Data Science Basic Verification Tests get_app