[ 
https://issues.apache.org/jira/browse/SPARK-37546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17453500#comment-17453500
 ] 

Apache Spark commented on SPARK-37546:
--------------------------------------

User 'huaxingao' has created a pull request for this issue:
https://github.com/apache/spark/pull/34807

> V2 ReplaceTableAsSelect command should qualify location
> -------------------------------------------------------
>
>                 Key: SPARK-37546
>                 URL: https://issues.apache.org/jira/browse/SPARK-37546
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.3.0
>            Reporter: Huaxin Gao
>            Priority: Major
>
> V2 ReplaceTableAsSelect command should qualify location. Currently, 
> {code:java}
> spark.sql("REPLACE TABLE testcat.t USING foo LOCATION '/tmp/foo' AS SELECT id 
> FROM source")
> spark.sql("DESCRIBE EXTENDED testcat.t").show(false)
> {code}
> displays the location as `/tmp/foo` whereas V1 command displays/stores it as 
> qualified (`file:/tmp/foo`).



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to