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

Cannot query JSON with property names containing a period '.'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.20.2
    • None
    • Storage - JSON
    • None

    Description

      The query

      select tbl.object['info_abc'] from dfs.tmp.`foo.json` tbl;

      works on a foo.json containing

      {"object": {"id": 123, "info_abc": "foo"}}

      but the query

      select tbl.object['info.abc'] from dfs.tmp.`foo.json` tbl;

      does not work on a foo.json containing

      {"object": {"id": 123, "info.abc": "foo"}}

      Attachments

        Activity

          People

            Unassigned Unassigned
            dzamo James Turton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: