Closed allwefantasy closed 6 years ago
When the query result is following:
[ { "ac": "block" }, { "ac": "gslb" }, { "ac": "time", "pt": 14 }, { "ac": "play" }, { "ac": "block" }, { "ac": "play" }, { "ac": "end" }, { "ac": "time", "pt": 5 }, { "ac": "init" }, { "ac": "init" }, { "ac": "time", "pt": 8 }, { "ac": "end" }, { "ac": "gslb" }, { "ac": "block" }, { "ac": "gslb" }, { "ac": "init" }, { "ac": "block" }, { "ac": "end" }, { "ac": "time", "pt": 0 } ]
The query result ui will miss the pt column.
It looks like this issue is caused by spark df.toJSON function. When converting row to json, null value will be ignored.
When the query result is following:
The query result ui will miss the pt column.