Describe the bug
Based on the behavior of grafana, the datasource seems to use the first row to define the table structure (if the first row is not null, it can display properly). Then, when the first row with the nested value is null, the table will display only the name of nested value, not flatten this value.
Expected behavior
The datasource should able to find the table structure from from the query or the all elements of result.
Screenshots


Describe the bug
Based on the behavior of grafana, the datasource seems to use the first row to define the table structure (if the first row is not null, it can display properly). Then, when the first row with the nested value is null, the table will display only the name of nested value, not flatten this value.
Expected behavior
The datasource should able to find the table structure from from the query or the all elements of result.
Screenshots

