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

Double execution with CREATE TABLE AS SELECT

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • SQL
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: