Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14563

SQLTransformer.transformSchema is not implemented correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1, 2.0.0
    • Fix Version/s: 1.6.2, 2.0.0
    • Component/s: ML
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              mengxr Xiangrui Meng
              Reporter:
              mengxr Xiangrui Meng
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: