
Better Query View
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I could go uh I think I'm ready is dealing with this thing this morning uh for anyway uh I think it's all good think I know what I'm doing uh so demo two things one is I haven't merged this yet and so this is partly like a request for feedback too um the changing way we do query views a bit so here's a SQL View and it has nothing in it at all other than just the select star but if you go to here you'll see like that all the dimensions are there so just basically implicitly putting the dimensions there and again live demo didn't have time to chest any this but you should be able to then go if you don't want one of
them um just remove it but it might not work it didn't work that's not surprising uh so something to figure out there but in theory that would be the idea so that's the um but that so that's for that's what it looks like for a SQL View and then over here for query view if we go in this one's a little more interesting because it has this kind of clunky name parameter and I don't know exactly what else to call it but basically it's saying like this thing has these three fields and the problem we have is that these then end up with our funky Omni aliases that are like you know in quotes users.
AG sum so basically instead name our three Fields these nice names and then if I go and that also implicitly creates those three dimensions with those three names so if I go query it that's not even going to show up at all if you can see down here uh it's selecting these um actually these ones didn't even change their names so you see it selected this one as H sum uh so not the users.
AG sum which would be today and same and so if you wanted to refer to a column reference that would be actually like the name you refer to it as anyway that's so that's kind of the but the qu the so the thing to think about kind of for to chew on is like this kind of weird name it in looker for Native dve tables the way it works is you declared uh each each thing had had to declare its name but then you did have to redeclare the dimensions on the bottom anyway if folks you know think about it