Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/18985
  
    ```
    spark-sql> create database test;
    17/08/19 10:29:33 WARN ObjectStore: Failed to get database test, returning 
NoSuchObjectException
    spark-sql> use test;
    spark-sql> create table t2(col1 int, col2 int);
    17/08/19 10:30:46 WARN HiveMetaStore: Location: 
file:/Users/xiaoli/IdeaProjects/sparkDelivery/bin/spark-warehouse/test.db/t2 
specified for non-external table:t2
    spark-sql> insert into t2 values (1, 2);
    spark-sql> select * from t2;
    1   2
    spark-sql> create table t1 as select col1, col2 from t2;
    17/08/19 10:31:10 WARN HiveMetaStore: Location: 
file:/Users/xiaoli/IdeaProjects/sparkDelivery/bin/spark-warehouse/test.db/t1 
specified for non-external table:t1
    spark-sql> select * from t1;
    1   2
    spark-sql> 
    ```
    
    I am still unable to reproduce it. Could you provide us more info?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to