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

Error message not clear when we try to select a field within a map without using an alias

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=3b19076

      When I try to access a field within a map (without using an alias), below is the error I get.

      0: jdbc:drill:schema=dfs_eea> select map.rm from `data.json`;
      Error: exception while executing query: Failure while executing query. (state=,code=0)
      

      There is no message from drill and the chances of users hitting this scenario is very high. So I am marking this as critical.

      Attachments

        Issue Links

          Activity

            People

              jni Jinfeng Ni
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: