Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[SPARK-28697][SQL] Invalidate Database/Table names starting with underscore #25448
What changes were proposed in this pull request?
I think we should disallow if a identifier starts with _ for create database and create table
How was this patch tested?
Avoiding creating tables and databases with names starting from underscore. Added test case for same
changed the title
[SPARK-28697] Invalidate Database/Table names starting with underscore
Aug 14, 2019
Do we need to keep the failed unittest case actually?
Its defined as following :
Hive seems to have allowed digit as first character as well.
Not sure why in spark we allowed "_" as starting char to begin with ? Is it to match some other system ?