You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kousuke Saruta (Jira)" <ji...@apache.org> on 2021/04/07 05:35:00 UTC

[jira] [Created] (SPARK-34977) LIST FILES/JARS/ARCHIVES cannot handle multiple arguments properly when at least one path is quoted.

Kousuke Saruta created SPARK-34977:
--------------------------------------

             Summary: LIST FILES/JARS/ARCHIVES cannot handle multiple arguments properly when at least one path is quoted.
                 Key: SPARK-34977
                 URL: https://issues.apache.org/jira/browse/SPARK-34977
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.1.1, 3.0.2, 3.2.0
            Reporter: Kousuke Saruta
            Assignee: Kousuke Saruta


`LIST {FILES/JARS/ARCHIVES} path1, path2, ...` cannot list all paths if at least one path is quoted.
An example here.

{code}
ADD FILE /tmp/test1;
ADD FILE /tmp/test2;

LIST FILES /tmp/test1 /tmp/test2;
file:/tmp/test1
file:/tmp/test2

LIST FILES /tmp/test1 "/tmp/test2";
file:/tmp/test2
{code}

In this example, the second `LIST FILES` doesn't show `file:/tmp/test1`.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org