{"push_id":1339941247,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"26fbca480604ba258f97b9590cfd6dda1ecd31db","before":"8a6bbe095b6a9aa33989c0deaa5ed0128d70320f","commits":[{"sha":"26fbca480604ba258f97b9590cfd6dda1ecd31db","author":{"name":"jiangxingbo","email":"5b9d05a325a3f85d4c824395342a210596784248@gmail.com"},"message":"[SPARK-17832][SQL] TableIdentifier.quotedString creates un-parseable names when name contains a backtick\n\n## What changes were proposed in this pull request?\n\nThe `quotedString` method in `TableIdentifier` and `FunctionIdentifier` produce an illegal (un-parseable) name when the name contains a backtick. For example:\n```\nimport org.apache.spark.sql.catalyst.parser.CatalystSqlParser._\nimport org.apache.spark.sql.catalyst.TableIdentifier\nimport org.apache.spark.sql.catalyst.analysis.UnresolvedAttribute\nval complexName = TableIdentifier(\"`weird`table`name\", Some(\"`d`b`1\"))\nparseTableIdentifier(complexName.unquotedString) // Does not work\nparseTableIdentifier(complexName.quotedString) // Does not work\nparseExpression(complexName.unquotedString) // Does not work\nparseExpression(complexName.quotedString) // Does not work\n```\nWe should handle the backtick properly to make `quotedString` parseable.\n\n## How was this patch tested?\nAdd new testcases in `TableIdentifierParserSuite` and `ExpressionParserSuite`.\n\nAuthor: jiangxingbo <jiangxb1987@gmail.com>\n\nCloses #15403 from jiangxb1987/backtick.","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/26fbca480604ba258f97b9590cfd6dda1ecd31db"}]}
{"actor":{"display_login":"asfgit"}}