You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/23 19:06:05 UTC

[jira] [Commented] (SPARK-8714) Refresh table not working with non-default databases

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

Apache Spark commented on SPARK-8714:
-------------------------------------

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

> Refresh table not working with non-default databases
> ----------------------------------------------------
>
>                 Key: SPARK-8714
>                 URL: https://issues.apache.org/jira/browse/SPARK-8714
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Prakash Chockalingam
>
> I created an external table with sqlContext.createExternalTable from parquet data in S3. After that, I placed a new partition (directory with some parquet files) in S3. Then I did a sql refresh table. It worked great.
> I created a separate cluster and changed the database from default to my database. I repeated the above process for the new database. Now the createExternalTable works fine but the refresh table doesn't work. The first time I got an exception stack trace but the next time I don't see any error but when I do a count on the # of rows, the new data is not reflected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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