Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6518

DESCRIBE command on Drill created parquet table does not return results

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.14.0
    • Future
    • Storage - Parquet
    • None

    Description

      Describe command on a Drill (1.14.0) created parquet table, does not return the table description.
      Parquet file and parquet metadata cache file for item table is attached here, it has the details of column types in the metadata cache file.

      Apache Drill 1.14.0-SNAPSHOT 
      commit : b447260e49dc4a8c906f5b310c037fe6dd77166f
      
      // DESCRIBE commands returns no information about the table.
      
      
      0: jdbc:drill:schema=dfs.tpcds_sf1_parquet_vi> describe dfs.`/drill/testdata/tpcds_sf1/parquet/item`;
      +--------------+------------+--------------+
      | COLUMN_NAME | DATA_TYPE | IS_NULLABLE |
      +--------------+------------+--------------+
      +--------------+------------+--------------+
      No rows selected (0.221 seconds)
      0: jdbc:drill:schema=dfs.tpcds_sf1_parquet_vi> refresh table metadata dfs.`/drill/testdata/tpcds_sf1/parquet/item`;
      +-------+----------------------------------------------------------------------------------+
      | ok | summary |
      +-------+----------------------------------------------------------------------------------+
      | true | Successfully updated metadata for table /drill/testdata/tpcds_sf1/parquet/item. |
      +-------+----------------------------------------------------------------------------------+
      1 row selected (0.173 seconds)
      0: jdbc:drill:schema=dfs.tpcds_sf1_parquet_vi> describe dfs.`/drill/testdata/tpcds_sf1/parquet/item`;
      +--------------+------------+--------------+
      | COLUMN_NAME | DATA_TYPE | IS_NULLABLE |
      +--------------+------------+--------------+
      +--------------+------------+--------------+
      No rows selected (0.229 seconds)
      

      Attachments

        1. item.drill.parquet_metadata
          8 kB
          Khurram Faraaz
        2. 0_0_0.parquet
          5.74 MB
          Khurram Faraaz

        Activity

          People

            Unassigned Unassigned
            khfaraaz Khurram Faraaz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: