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

Spark SQL uses table metadata inconsistently

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
    • Environment:

      Ubuntu on AWS

      Description

      For the same table, DESCRIBE and SHOW COLUMNS produce different results. The former shows the correct column names. The latter always shows just a single column named col. This is true for any table created with HiveContext.read.json.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                simeons Simeon Simeonov
              • Votes:
                7 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: