-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading csv with "spark_write_csv" = spark_write_csv #8
Comments
This error message indicates that the spark_write_csv function does not work for data.frame inputs. you should look at the man page ?spark_write_csv to see what is the right input data type. |
@tdhock I did what you suggested before and I added the required for running spark but i still run it into the error i defined sc as this:
and I'm running into this error message.
---- Output Log ---- In addition, I get this error when trying to run the efficiency of polars for writing csv this is the error message this is the whole code I'm running
|
your code is trying to use reticulate / python polars? please use R polars as described here https://github.com/pola-rs/r-polars/blob/main/vignettes/userguide.Rmd |
for spark I'm not sure the issue but you should check that the sc object is actually being created. |
@tdhock
I am trying to write a code for writing a csv with spark
This is the code I run
"spark_write_csv" = spark_write_csv(input.df,tempfile(),TRUE)
I'm getting this Error, kindly assist
Error in UseMethod("spark_write_csv") :
no applicable method for 'spark_write_csv' applied to an object of class "data.frame"
The text was updated successfully, but these errors were encountered: