Closed addlockwood closed 2 years ago
Hey, thx for PR. Could you provide a test scripts. And an example of how to use it, that could be added to the readme.
I added a test script that shows how I was using it as a part of an ETL pipeline. I thought it might be a cool feature to add to the standard package. Not sure if this is enough for you, but let me know if you need more.
It could be very useful too for editing SSAS models, using TMSL commands, without generate the error "AdomdUnknownResponseException: The result set returned by the server is not a rowset."
Exactly! With it you can execute any of the SSAS commands that do not return data.
On Thu, Jun 2, 2022, 20:19 alexisechague @.***> wrote:
It could be very useful too for editing SSAS models, using TMSL commands, without generate the error "AdomdUnknownResponseException: The result set returned by the server is not a rowset."
— Reply to this email directly, view it on GitHub https://github.com/S-C-O-U-T/Pyadomd/pull/18#issuecomment-1145545276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AONHXEQNZOPR6WAKMWD4ZD3VNF2VHANCNFSM5RORN5OQ . You are receiving this because you authored the thread.Message ID: @.***>
Thanks @S-C-O-U-T !!!
Adding support for Microsoft.AnalysisServices.AdomdClient.dll ExecuteNonQuery method. This will allow user to execute commands against the data model that do not return rowsets, such as processing the database. This action is useful in ETL pipelines that can refresh the Analysis Services database after new data has been loaded in the source.