You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by gatorsmile <gi...@git.apache.org> on 2018/11/23 18:50:35 UTC

[GitHub] spark issue #22466: [SPARK-25464][SQL] Create Database to the location,only ...

Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/22466
  
    Regarding the potentially high cost of file listing, `CREATE DATABASE` is not a frequent operation. The cost is high only if the target directory is non-empty with many many files. We are blocking users from creating such a database. Thus, the cost is not a big deal I think. 
    
    We need to list this behavior change in the SQL migration guide.


---

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