GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/20215
[SPARK-23001] [SQL] Fix NullPointerException when DESC a database with NULL description ## What changes were proposed in this pull request? When users' DB description is NULL, users might hit `NullPointerException`. This PR is to fix the issue. ## How was this patch tested? Added test cases You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark SPARK-23001 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20215.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 #20215 ---- commit 137fd7a268b23ca52ca190d5b630503e6dc73404 Author: gatorsmile <gatorsmile@...> Date: 2018-01-10T03:48:06Z fix ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org