You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2020/01/18 01:18:00 UTC
[jira] [Assigned] (SPARK-25993) Add test cases for resolution of
ORC table location
[ https://issues.apache.org/jira/browse/SPARK-25993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dongjoon Hyun reassigned SPARK-25993:
-------------------------------------
Assignee: kevin yu
> Add test cases for resolution of ORC table location
> ---------------------------------------------------
>
> Key: SPARK-25993
> URL: https://issues.apache.org/jira/browse/SPARK-25993
> Project: Spark
> Issue Type: Bug
> Components: SQL, Tests
> Affects Versions: 2.3.2
> Reporter: Xiao Li
> Assignee: kevin yu
> Priority: Major
> Labels: starter
>
> Add a test case based on the following example. The behavior was changed in 2.3 release. We also need to upgrade the migration guide.
> {code:java}
> val someDF1 = Seq(
> (1, 1, "blah"),
> (1, 2, "blahblah")
> ).toDF("folder", "number", "word").repartition(1)
> someDF1.write.orc("/tmp/orctab1/dir1/")
> someDF1.write.orc("/mnt/orctab1/dir2/")
> create external table tab1(folder int,number int,word string) STORED AS ORC LOCATION '/tmp/orctab1/");
> select * from tab1;
> create external table tab2(folder int,number int,word string) STORED AS ORC LOCATION '/tmp/orctab1/*");
> select * from tab2;
> {code}
--
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