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

SQLTransformer.transformSchema is not implemented correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1, 2.0.0
    • 1.6.2, 2.0.0
    • ML
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: