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

describe table result contains only one column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1, 1.1.0
    • SQL
    • None

    Description

      scala> hql("describe src").collect().foreach(println)
      
      [key                 	string              	None                ]
      [value               	string              	None                ]
      

      The result should contain 3 columns instead of one. This screws up JDBC or even the downstream consumer of the Scala/Java/Python APIs.

      Attachments

        Issue Links

          Activity

            People

              yhuai Yin Huai
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: