sql-bi / Pbi-PushDataset

Validate and translate regular Tabular models in Push Datasets, also providing helper functions to clear, populate, and simulate real-time transactions.
MIT License
49 stars 15 forks source link

Update PublishPushDataset.cs #11

Closed ghost closed 2 years ago

ghost commented 2 years ago

Allow to set the RetentionPolicy to 'basicFIFO' via a cmdlet parameter. Replaces hardcoded 'None'.

marcosqlbi commented 2 years ago

Thanks for the contribution. Do you have a cmdlet compiled you can use, or do you need the one in the gallery? I'm not able to publish an update soon, for this reason I'm asking!

ghost commented 2 years ago

Thanks for the feedback! I have compiled the cmdlet locally so I can survive until a next version. Maybe it would be good to return the retention policy of the new dataset as well, as apparently there's no way to read it after creation.

marcosqlbi commented 2 years ago

I just released an updated version of the NuGet package and of the PowerShell cmdlet yesterday. Good point about the retention policy, thanks for the suggestion!