Github user windpiger commented on the issue:

    https://github.com/apache/spark/pull/16938
  
    @cloud-fan @gatorsmile @tejasapatil  As we discussed above, we have three 
actions to do:
    ##### 1. CREATE TABLE ... (PARTITIONED BY ...) LOCATION path
    
    *situation:path not exists*
    
    Item | Before| After
    ------------ | ------------- | -----
    spark(parquet with HiveExternalCatalog) | throw exception(path does not 
exists) |  ok
    spark(parquet with InMemoryCatalog) | throw exception(path does not exists) 
|  ok
    
    ##### 2. CREATE TABLE ...(PARTITIONED BY ...) LOCATION path AS SELECT
    *situation:path exists*
    
    Item | Before| After
    ------------ | ------------- | -----
    spark(parquet with HiveExternalCatalog) | throw exception(path already 
exists) |  ok
    spark(parquet with InMemoryCatalog) | throw exception(path already exists) 
|  ok
    
    ##### 3. CREATE TABLE ... (PARTITIONED BY ...) AS SELECT ...
    *situation:default warehouse table path exists*
    
    Item | Before| After
    ------------ | ------------- | -----
    spark(hive with HiveExternalCatalog) | ok |  throw exception(path already 
exists)
    
    please help to confirm the actions above, if it is ok, situation 2 is this 
PR going to resolve, and I will make another PR to resolve situation 1&3, 
thanks~ 


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to