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 2017/10/05 18:05:01 UTC
[jira] [Commented] (SPARK-14286) Empty ORC table join throws
exception
[ https://issues.apache.org/jira/browse/SPARK-14286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16193344#comment-16193344 ]
Dongjoon Hyun commented on SPARK-14286:
---------------------------------------
Hi, [~rajesh.balamohan].
How can I reproduce this? When I tested the following in Spark 1.6.3, 2.0.2, 2.1.1, 2.2.0, all passes.
{code}
scala> sql("create table x(a int) stored as orc")
res4: org.apache.spark.sql.DataFrame = [result: string]
scala> sql("create table y(a int) stored as orc")
res5: org.apache.spark.sql.DataFrame = [result: string]
scala> sql("select * from x, y where x.a=y.a").show
+---+---+
| a| a|
+---+---+
+---+---+
{code}
> Empty ORC table join throws exception
> -------------------------------------
>
> Key: SPARK-14286
> URL: https://issues.apache.org/jira/browse/SPARK-14286
> Project: Spark
> Issue Type: Bug
> Reporter: Rajesh Balamohan
> Priority: Minor
>
> When joining with an empty ORC table, sparks throws following exception.
> {noformat}
> java.sql.SQLException: java.lang.IllegalArgumentException: orcFileOperator: path ..../apps/hive/warehouse/test.db/table does not have valid orc files matching the pattern
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org