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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to