[ 
https://issues.apache.org/jira/browse/SPARK-14563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiangrui Meng updated SPARK-14563:
----------------------------------
    Description: 
`transformSchema` uses `__THIS__` as a temp table name, which would cause 
errors under HiveContext (in Spark 1.6):

{code}
org.apache.spark.sql.AnalysisException: cannot recognize input near '__THIS__' 
'<EOF>' '<EOF>' in join source; line 1 pos 39
{code}

It also exposes race conditions.

  was:
`transformSchema` uses `__THIS__` as a temp table name, which would cause 
errors in a pipeline.

{code}
org.apache.spark.sql.AnalysisException: cannot recognize input near '__THIS__' 
'<EOF>' '<EOF>' in join source; line 1 pos 39
{code}


> SQLTransformer.transformSchema is not implemented correctly
> -----------------------------------------------------------
>
>                 Key: SPARK-14563
>                 URL: https://issues.apache.org/jira/browse/SPARK-14563
>             Project: Spark
>          Issue Type: Bug
>          Components: ML
>    Affects Versions: 1.6.1, 2.0.0
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>
> `transformSchema` uses `__THIS__` as a temp table name, which would cause 
> errors under HiveContext (in Spark 1.6):
> {code}
> org.apache.spark.sql.AnalysisException: cannot recognize input near 
> '__THIS__' '<EOF>' '<EOF>' in join source; line 1 pos 39
> {code}
> It also exposes race conditions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to