Columns order


I have a problem. Trying to make the cubejs driver works with the new driver interface introduced in v0.35.0. This is how I use the respond callback. My problem is the Metabase reorders the columns but not the values.

cols: [{:name :Orders.status} {:name :Orders.count} {:name :Orders.totalAmount}]
rows: ((processed 2 800) (new 2 300) (shipped 1 600))
and the result is

What am I doing wrong?

Thanks in advance!

I have found a solution. Get the columns with the annotate/merged-column-info then order the result by that.

1 Like