Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Creating an external table using spark.catalog.createTable results in incorrect escaping of special chars in paths.
Consider the following code:
{{spark.catalog.createTable("testTable", source = "parquet", schema = new StructType().add("id", "int"), description = "", options = Map("path" -> "/tmp/test table"))}}
The above call creates a table that is stored in /tmp/test%20table instead of /tmp/test table. Note that this behaviour is different from the SQL API, e.g. create table testTable(id int) using parquet location '/tmp/test table'
Attachments
Issue Links
- links to