You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Py4JError: An error occurred while calling o333.saveAsBigQueryTable. Trace:
py4j.Py4JException: Method saveAsBigQueryTable([class java.lang.String]) does not exist
at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:341)
at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:349)
at py4j.Gateway.invoke(Gateway.java:286)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:251)
at java.lang.Thread.run(Thread.java:748)>
This is my cluster configuration:
These are my installed JARs and libraries
The text was updated successfully, but these errors were encountered:
dduran28
changed the title
Method saveAsBigQueryTable([class java.lang.String]): Issue persists even after shading guava dependecies
Method saveAsBigQueryTable([class java.lang.String]) does not exist: Issue persists even after shading guava dependecies
Apr 13, 2020
I am still experiencing the above issue when trying to run the PySpark example in Databricks.
`bq = bigquery.BigQuerySQLContext(session._wrapped._jsqlContext)
bq.setGcpJsonKeyFile(KEY_FILE)
bq.setBigQueryProjectId(BQ_PROJECT_ID)
bq.setGSProjectId(BQ_PROJECT_ID)
bq.setBigQueryGcsBucket(STAGING_BUCKET)
bq.setBigQueryDatasetLocation(DATASET_LOCATION)
bqDF = bigquery.BigQueryDataFrame(df._jdf)
bqDF.saveAsBigQueryTable(
"{0}:{1}.{2}".format(BQ_PROJECT_ID, DATASET_ID, TABLE_NAME)`
gives me the following error
This is my cluster configuration:
These are my installed JARs and libraries
The text was updated successfully, but these errors were encountered: