Description
`transformSchema` uses `_THIS_` as a temp table name, which would cause errors under HiveContext (in Spark 1.6):
org.apache.spark.sql.AnalysisException: cannot recognize input near '__THIS__' '<EOF>' '<EOF>' in join source; line 1 pos 39
It also exposes race conditions.