CSV upload soft launch

Steven Talbot · Friday Demos · February 14, 2025 · 7:36

The soft launch (feature flag) of CSV upload, plus lots of conversation around lifecycle management. Note this will work in any supported dialects in Omni.

Try it yourselfThe full week on docsdashboardsworkbook

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. is uh made some changes to uh made used a prettier upload CSV model I I mostly just lifted this off the connections page because we really put a lot of effort to the drag and drop on the service account Jon for big query but hey two years waiter get to use it for something else um and if we upload something oh I should have demonstrated that whoops oh hello my back I'm dead that's unfortunate intelligent killed my back end well that's going to take a second to come back um while that's coming back uh I'll talk about the other a couple other things um the is this is now this is shipped in the settings page there's a page where you can see all the

  2. uploads that you have and you can delete some um if I go back is my back end back it is hoay uh let's the upload work okay good um and Stephen remind us where these live right now yes so right now these live in S3 and so if I go to this one that I just uploaded um and I want to delete it it'll delete both it'll Market is deleted internally and delete it in S3 so I can do that this one I just uploaded uh H delete it's deleted um if I pop back here and query it uh should there right it's gone the the other thing that we've done though is if I go to the workbook I should actually see yeah like

  3. there's there's a lot of errors in this my local workbook model but this error here this is a new thing too uh this hasn't quite shipped yet but it will I actually am getting an error about this thing being uh invalid um and if and so then one other thing if I pop over here let's go to actually to make this to might be hard to tell what's happening here but I go to a new workbook oh here let's let's drag it actually just just to show that where is it come on Mac all right there we go drag that upload um and then so this is a different workbook this workbook still has an error about the the table not being found because it

  4. got uploaded to a whole different special key um if I go here well that's not good like you're back end died again did it oh it really did wow I think Rome I think I think I need a new computer guys uh Rome and intell and screen sharing and demo is not uh to the Apple Store yeah get a all right and intellig basically don't work yeah it comes back um all right so back end back hooray this is the non AED uploaded table um if I pop back over here so it has this different identifier if I go over here and paste this in it it now does not have an error it's found on the table that that's not like a real case

  5. really you don't want it to be manually typing but the important thing for that is you can like uh revert git basically like you can have one of these switch to a new version do a git revert and we'll go find the old version that's the real use case for that not like copy pasting but just to show that it's there and it works very cool Stephen the um that uid uh that's essentially like the identifier of CSV in the index yep that's are we doing um are we doing a lot of permission checking around uses of that both across or and across user uh so across org yes across user no the basically the idea is that try to say this really quick our

  6. reasoning was since we want to put these in the database anyway if we allow you to put these in the database any querier user can see anything put in the database there's no way to protect against that so we didn't want to have two tiers of permission thinking for things that go in the database and things that don't so we're just same permission model if you put this and if you upload one of these to a workbook any querier user can see it okay if they have access to the work I mean if they have access to the workbook or somehow get access to like that file identifier like content permission still kick it so like if you lock the thing down and nobody sent

  7. them that ID then you know they can't get to the workbook so they can't get to it uh which for for what it's worth that's how we're going to do our commissions app in Omni is we're going to upload certain information to csvs and lock it down in that workbook and then people won't be able to access that workbook oh should I show the restricted querer thing or should just move on no yeah go I mean real quick these are our dos for now too one last thing um the the thing that I didn't show is she's a small one this time there's this create topic effect here so if I do this um what happens is like it creates the file for the CSV

  8. it also made a topic so it's over here in topics and this uploaded CSV topic group and what's important about that is oh my God uh get to see how the sausage is made um uh this this query down here right that I just uploaded on that new upload does not have this little like this this one I did without the topic has a little star right it's not on a topic this one does not and these topics even though they only exist in the workbook which normally just freezes out the whole workbook they're a special kind of topic that is like these are allowed for restricted queriers because they're an uploaded topic and they're only allowed to be on top of a single uploaded

  9. table and that's the little little security model for this that's it