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

Column alias is not working for a parquet file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.17.0
    • 1.19.0
    • Storage - Parquet
    • None

    Description

      The following query results in a column name of "shot_id" instead of the expected "x".

      SELECT shot_id as x FROM values.parquet WHERE step = 'RPCurve_001'

      The strange thing is, if I modify the query, like adding a limit clause, it is working:

      SELECT shot_id as x FROM values.parquet WHERE step = 'RPCurve_001' LIMIT 1000

      values.parquet

      Attachments

        1. values.parquet
          31 kB
          Matthias Rosenthaler

        Activity

          People

            volodymyr Vova Vysotskyi
            matthros Matthias Rosenthaler
            Paul Rogers Paul Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: