apache / druid

Apache Druid: a high performance real-time analytics database.

Home Page:https://druid.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Native queries: joining with inline data sources results in an error.

oskar11120 opened this issue · comments

Affected Version

28.0.1

Description

Example query against wikipedia edits example datasource ingested using web console:

{
  "queryType": "scan",
  "intervals": [
    "2016-06-27T00:00:00.0000000+00:00/2016-06-28T00:00:00.0000000+00:00"
  ],
  "limit": 100,
  "dataSource": {
    "type": "join",
    "left": "wikipedia",
    "right": {
      "type": "inline",
      "rows": [
        [
          "US",
          "United States"
        ]
      ],
      "columnNames": [
        "Code",
        "FullName"
      ]
    },
    "rightPrefix": "r.",
    "condition": "countryIsoCode == r.Code",
    "joinType": "LEFT"
  }
}

Error:
image