Creating a Forest Drive Visualization - Format Error

Aster

Creating a Forest Drive Visualization - Format Error

I am relatively new to Aster and the AppCenter. I am attempting to create a dtree visualization based on Forest Drive.

Here is my generated visualization sample code:

INSERT INTO app_center_visualizations (json)
SELECT json FROM Visualizer (
ON "myschema.myforestdrivetable" PARTITION BY 1
AsterFunction('forestdrive')
Title('mytitle')
VizType('dtree')
);

When I run this app, I am receiving the error 

(34) ERROR: SQL-MR function VISUALIZER failed: Failed to parse JSON. Please check the format:

concerning the 'tree' column in the forest drive table.

How should I format my forest drive table to avoid this error? 


Accepted Solutions
Teradata Employee

Re: Creating a Forest Drive Visualization - Format Error

Can you try to remove the Categorical variables and try visualizing? I think there is a known issue around that with the Visualizer. I will confirm soon. But it would be good to check it quickly.

1 ACCEPTED SOLUTION
3 REPLIES 3
Teradata Employee

Re: Creating a Forest Drive Visualization - Format Error

Can you try to remove the Categorical variables and try visualizing? I think there is a known issue around that with the Visualizer. I will confirm soon. But it would be good to check it quickly.

Re: Creating a Forest Drive Visualization - Format Error

I would, but most of the variables are categorical. I only have one numerical variable. Thank you for the suggestion though!

Edit: I removed the categorical variables anyway, and the visualization run completed without error. Seems like a very large limitation - any way to get around it?

Highlighted
Teradata Employee

Re: Creating a Forest Drive Visualization - Format Error

I'm checking. Will get someone to help you ...