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

Double execution with CREATE TABLE AS SELECT

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: SQL
    • Labels:
      None

      Description

      Reproduction:

      scala> hql("CREATE TABLE foo AS select unix_timestamp() from src limit 1").collect()
      res5: Array[org.apache.spark.sql.Row] = Array()
      
      scala> hql("SELECT * FROM foo").collect()
      res6: Array[org.apache.spark.sql.Row] = Array([1403159129], [1403159130])
      

        Attachments

          Activity

            People

            • Assignee:
              marmbrus Michael Armbrust
              Reporter:
              marmbrus Michael Armbrust
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: