Closed martinstuder closed 6 years ago
Hey I am not the strongest with R so I cant help you there, but looking at the stack trace it seems its a spark error rather than a specific problem with this connector. I will close for now as I cant help
sorry for that
@martinstuder How do you pass configuration? I've tried:
config <- spark_config()
config$`fs.gs.project.id` <- "my-project"
but it does not work.
@pcejrowski
You will need to pass them as Spark hadoop configuration properties, i.e.
config$`spark.hadoop.fs.gs.project.id` <- "my-project"
In case you are interested you might also want to have a look at https://github.com/miraisolutions/sparkbq
Awesome! Many thanks @martinstuder
I attempted to use your library with RStudio's sparklyr package. sparklyr's
spark_read_source
relies on availability of aDefaultSource
which implementsorg.apache.spark.sql.sources.RelationProvider
. In a fork of your library I have extendedDefaultSource
as follows (short version):The corresponding R/sparklyr code is as follows (using a locally published version of your library):
When trying to execute the above I get the following exception:
It seems to successfully connect and determine the schema but then fails with "No plan for Relation". Any idea what could be causing this?