
Modeling
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I got one demo that want to do real quick uh I think this will work I mean the feature works the demo might not work uh the so I've got a model where I renamed a couple views to you know orders to order items two so that then this query should totally break yes okay so this is basically just these uh this new this Alias is paramed so this was so let's just Alias everything back all right and then hopefully the query works if I did the demo right yeah it worked it unpivoted that's interesting that's probably a bug um so go find that but yeah otherwise like it's just it gives the uh again like the fields are still selected um yeah I mean
it's like so that's it just allows you if your table gets renamed in the database to point it back um well all the schema refresh stuff and all that kind of stuff continue to work well yeah because this is not like this is the new I mean about I renamed the tables to make this artificial demo although the scheme of refresh stuff actually still works there too but usually it's the other way around um yeah that all works right and so it's just uh it uh yeah it's pointed at the new the new view I mean the thing about it like the caveat that I said in the pr one like say again is like just like that pivot disappearing there I'll go fix that
but like there's like a there's like a lot it's like all the names of the fields as they flow through the whole system so like I've tried to like grab them at certain key points and be like this is where I'm gonna rename them all to the new names this is where we rename them all to the new names but like there's probably going to be hidden funkiness so this is kind of like we probably also want to build the content validator with the find the right place so it's like if you have a bunch of free names do this aliasing thing your query should probably all still work also now go use the content validator find the right place that like your key dashboards
like really really really work um I've been shocked how much content validation has come up already yeah Stephen Could you um put it in an alias for a table that also exists I'm thinking about hypothetical migration scenario the table might still be there and you want yeah you have to put in I mean it'll give a view a validator error like you'd have to basically ignore the view built on that table okay yeah that's just a new thing otherwise you get a validate error but yeah but that's I mean that's easy yeah cool is that in I can give that to uh to actually uh Jamie came off vacation to approve it so yeah I can I can merge it um I'll go fix the
whatever that pivoting thing was in some other yeah