Vira Vitanska created DATALAB-2492:
--------------------------------------
Summary: [GCP][RStudio][Apache Standalone cluster] Flight data
visualization runs with error of collect method usage
Key: DATALAB-2492
URL: https://issues.apache.org/jira/browse/DATALAB-2492
Project: Apache DataLab
Issue Type: Bug
Security Level: Public (Regular Issues)
Components: DataLab Main
Affects Versions: v.2.5
Reporter: Vira Vitanska
Assignee: Mykola Bodnar
Fix For: v.2.5
Attachments: RStudio-Spark.png
*Preconditions:*
# Apache Standalone cluster is created on RStudio
*Steps to reproduce:*
# Run Flight data visualization on Apache Standalone cluster
*Actual result:*
1. Flight data visualization playbook running fails
{code:java}
> delay <- collect(delay_sql)
Error in UseMethod("collect") :
no applicable method for 'collect' applied to an object of class
"SparkDataFrame"
> delay_melt <- melt(delay[c('Carrier', 'WorkDayDelay', 'WeekendDelay')])
Error in melt(delay[c("Carrier", "WorkDayDelay", "WeekendDelay")]) :
object 'delay' not found{code}
*Expected result:*
1. Flight data visualization playbook running is successful
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]