datastation icon indicating copy to clipboard operation
datastation copied to clipboard

Table panel columns are not in the same order as its data source

Open pokle opened this issue 3 years ago • 1 comments

I expect the table panel to show columns in the same order as its source. It appears to sort the columns alphabetically by default.

For example, if I query (sqlite): select 1 d, 2 c, 3 b, 4 a, the table panel displays these columns in the order a,b,c,d. I expect them to be in the same order as queried.

pokle avatar Jun 22 '22 04:06 pokle

Yes column order from the response of queries is not stored at all right now so I just picked an order so it's not constantly changing.

You can modify the order today by editing the table details but yeah that's not too friendly.

This is a good feature request.

eatonphil avatar Jun 22 '22 12:06 eatonphil