-
Notifications
You must be signed in to change notification settings - Fork 302
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
CANNOT_RESOLVE_STAR_EXPAND error sdf_sql() / DBR 15.2 #3439
Comments
HI @romangehrn , thank you for reporting it. This came up in DB v2, so I fixed it in |
Hi @edgararuiz exactly |
It looks like the issue goes beyond Databricks connections. I'm able to recreate by deleting a table, which is an operation that returns no data. Somewhat minimum reprex: library(sparklyr)
sc <- spark_connect("local", version = "3.5")
sdf_copy_to(sc, mtcars, "mtcars")
sdf_sql(sc, "drop table mtcars")
#> Error:
#> ! org.apache.spark.sql.AnalysisException: [CANNOT_RESOLVE_STAR_EXPAND]
#> Cannot resolve `sparklyr_tmp_68a85dc3_1ce8_4921_84c8_9c8131649976`.* given
#> input columns . Please check that the specified table or struct exists and is
#> accessible in the input columns.; line 1 pos 7
#>
#> Run �]8;;x-r-run:sparklyr::spark_last_error()�`sparklyr::spark_last_error()`�]8;;� to see the full Spark error (multiple lines)
#> To use the previous style of error message set
#> `options("sparklyr.simple.errors" = TRUE)`
spark_disconnect(sc) Created on 2024-05-07 with reprex v2.1.0 |
Hi @romangehrn , I just merged a fix, which automatically closed the Issue. But no problem, if you are still having trouble, please feel free to reopen |
@edgararuiz thanks, great! |
With Databricks Runtime DBR 15.2 an error occurs when I use the function sdf_sql() to drop a table. DBR 15.2 normally has sparkylr 1.8.4, I changed it to 1.8.6, but the error is still there.
The text was updated successfully, but these errors were encountered: