GitHub user rekhajoshm opened a pull request: https://github.com/apache/spark/pull/12183
[SPARK-14410] [SQL] : SessionCatalog needs to check database/table/function existence ## What changes were proposed in this pull request? 1.Check for existence of Function in catalog, instead of try-catch 2. Check for existence of database before create/alter/drop database, though ignoreIfExists/ignoreIfNotExists become futile 3.Rename getFunction to getMetadataOfFunction ## How was this patch tested? TestSuite You can merge this pull request into a Git repository by running: $ git pull https://github.com/rekhajoshm/spark SPARK-14410 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/12183.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #12183 ---- commit e3677c9fa9697e0d34f9df52442085a6a481c9e9 Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2015-05-05T23:10:08Z Merge pull request #1 from apache/master Pulling functionality from apache spark commit 106fd8eee8f6a6f7c67cfc64f57c1161f76d8f75 Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2015-05-08T21:49:09Z Merge pull request #2 from apache/master pull latest from apache spark commit 0be142d6becba7c09c6eba0b8ea1efe83d649e8c Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2015-06-22T00:08:08Z Merge pull request #3 from apache/master Pulling functionality from apache spark commit 6c6ee12fd733e3f9902e10faf92ccb78211245e3 Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2015-09-17T01:03:09Z Merge pull request #4 from apache/master Pulling functionality from apache spark commit b123c601e459d1ad17511fd91dd304032154882a Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2015-11-25T18:50:32Z Merge pull request #5 from apache/master pull request from apache/master commit c73c32aadd6066e631956923725a48d98a18777e Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2016-03-18T19:13:51Z Merge pull request #6 from apache/master pull latest from apache spark commit 7dbf7320057978526635bed09dabc8cf8657a28a Author: Rekha Joshi <rekhajo...@gmail.com> Date: 2016-04-05T20:26:40Z Merge pull request #8 from apache/master pull latest from apache spark commit 59c60a6d2d2d59f1a7656fd197442934fbc06a11 Author: Joshi <rekhajo...@gmail.com> Date: 2016-04-05T21:37:45Z SessionCatalog function/database existence checks, metadata commit e040216efc19f111371883989f8df5b34dc032db Author: Joshi <rekhajo...@gmail.com> Date: 2016-04-05T21:40:13Z SessionCatalog function/database existence checks, metadata ---- --- 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