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

Column alias is not working for a parquet file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.19.0
    • Component/s: Storage - Parquet
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: