Kibana Vega-lite Row & Column Encoding Channels doesn't support parent-child type field

hi, the vega-lite Row & Column Encoding Channels is able to support the nested type field, but the kibana vega does not.

{
  "$schema": "https://vega.github.io/schema/vega-lite/v2.json",
  "data": {
    "name": "temperature",
      "values":[
        
   {
      "Name":"chevrolet chevelle malibu",
      "Miles_per_Gallon":18,
      "Cylinders":8,
      "Displacement":307,
      "Horsepower":130,
      "Weight_in_lbs":3504,
      "Acceleration":12,
      "Year":"1970-01-01",
      "Origin":{"Country": "USA"}
   },
   {
      "Name":"buick skylark 320",
      "Miles_per_Gallon":15,
      "Cylinders":8,
      "Displacement":350,
      "Horsepower":165,
      "Weight_in_lbs":3693,
      "Acceleration":11.5,
      "Year":"1970-01-01",
      "Origin":{"Country": "EU"}
   }
       
  ]
  },
  "mark": "bar",
  "encoding": {
    "x": {
      "bin": {"maxbins": 15},
      "field": "Horsepower",
      "type": "quantitative"
    },
    "y": {"aggregate": "count", "type": "quantitative"},
    "row": {"field": "Origin.Country", "type": "nominal"}
  },
  "config": {"axisY": {"minExtent": 30}}
}

and in the kibana vega, it shows error and can not access the field
kibana-vega-lite

after change to flat field, it works fine
kibana-vega-good

BTW, the vega-lite tooltip also doesn't work in kibana-vega!

These should be filed as issues in the Kibana github repository:

This issue was resolved in https://github.com/elastic/kibana/issues/19642

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.