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
AnalysisException: "Can not create the managed table('`green19_stellar_params`'). The associated location('file:/epyc/projects/lsd2/pzwarehouse/green19_stellar_params') already exists.;"
And indeed the files are there.
running drop_table again reports: 'Table or view not found: green19_stellar_params;'
(I manually removed the directory and continued.)
The text was updated successfully, but these errors were encountered:
Another related case, apparently sometimes after calling drop_table() and manually deleting the data directory, spark still throws an error when trying to save a new table with that name.
Clipping some parts from the traceback:
Py4JJavaError: An error occurred while calling o155.saveAsTable.
: org.apache.spark.sql.AnalysisException: Table `skymapper` already exists.;
at org.apache.spark.sql.DataFrameWriter.saveAsTable(DataFrameWriter.scala:418)
at org.apache.spark.sql.DataFrameWriter.saveAsTable(DataFrameWriter.scala:403)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
at py4j.Gateway.invoke(Gateway.java:282)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:238)
at java.lang.Thread.run(Thread.java:748)
I'm trying to replace an existing AXS table with a new version.
I ran
and got the following error:
And indeed the files are there.
running
drop_table
again reports:'Table or view not found: green19_stellar_params;'
(I manually removed the directory and continued.)
The text was updated successfully, but these errors were encountered: