
SQL with sorts, column labels, and calcs
A first look at our effort to bring all of the Omni goodness to SQL queries as well. Instead of forcing users to wedge calculations or column relabels or sorts into the SQL block, now it's…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
uh I can go GL check Kathy with the interjection that my mic is now working um let's see all right first thing is really a work in progress demo but it's to prove that I'm doing my day job uh it uh so we're we're thinking about ways to make SQL queries more interactive um should be there uh and so I built it's the I can so this on this Branch I can currently sort a SQL query one time uh more than that weird things happen see these column names change it's not quite right but what's interesting about this is it's obviously you can sort results in like a two-liner or just taking the arrow p and messing around with it but if you look over
on the side here the way that this is working is it's working by sending a query to the back end with the the squl but then also the sorts embedded and then what's more interesting is details I won't get into but we need to like keep track of the the raw column names like the raw structure of the SQL even if we augment it with sorts and Cals so to do that got this working where we basically we've have this split plan that's now running a requery on the client which is a new thing so we have requery running on the server today but um this is basically send run this SQL query send down the results run this query on top of the client
which has the order Buy in it sorts and if we try to sort again everything gets quite strange so obviously this is not real product this is not but this is the pro concept the underlying thing is working should be able to have sorts on seq queries and Cals somay Richard will do the actual figuring out what the heck is wrong with his columns all right uh