[Solved] Building new driver, no trend line (null insights)

I am building a new driver for a start-up product named clickzetta and the driver is almost done.
Now I am stucked at debuging why there is no trend line option in visualization.

Data:
create table foo (ts timestamp, v int);
insert into foo (now(), 1);
insert into foo (now(), 2);
...

Question:
select * from foo

After analyzing js code, I found it is because the json returned by my driver has a null insights part, while MySQL driver returned more data.

I've not clue why insights part is missing. Any suggestion will be helpful, thanks.
ps. I am developing the driver against code of v0.47.13 branch (our first customer is on this version)

I've found the reason. It turns out to be a case-sensitive issue in my JDBC driver. The column type in result set meta data of select * from foo diffs from show columns in foo.