turbaszek commented on a change in pull request #8240: GCP SparkR Example
URL: https://github.com/apache/airflow/pull/8240#discussion_r406746389
 
 

 ##########
 File path: tests/providers/google/cloud/operators/test_dataproc_system.py
 ##########
 @@ -35,16 +37,28 @@
 print(words)
 """
 
+sparkr_file = """
+#!/usr/bin/r
+sparkR.session()
+# Create the SparkDataFrame
+df <- as.DataFrame(faithful)
+head(summarize(groupBy(df, df$waiting), count = n(df$waiting)))
+"""
 
 Review comment:
   When running this test I got the following error:
   ```
   Error: could not find function "sparkR.session"
   Execution halted
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to