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

Allow field names to include dots

    XMLWordPrintableJSON

Details

    Description

      If you have some json data like this...

          {
            "0.0.1":{
              "version":"0.0.1",
              "date_created":"2014-03-15"
            },
            "0.1.2":{
              "version":"0.1.2",
              "date_created":"2014-05-21"
            }
          }
      

      ... there is no way to select any of the rows since their identifiers contain dots and when trying to select them, Drill throws the following error:

      Error: SYSTEM ERROR: UnsupportedOperationException: Unhandled field reference "0.0.1"; a field reference identifier must not have the form of a qualified name

      This must be fixed since there are many json data files containing dots in some of the keys (e.g. when specifying version numbers etc)

      Attachments

        Issue Links

          Activity

            People

              volodymyr Vova Vysotskyi
              AleCaste Alex
              Paul Rogers Paul Rogers
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: