document-api-python icon indicating copy to clipboard operation
document-api-python copied to clipboard

Add support for custom SQL

Open benlower opened this issue 9 years ago • 4 comments

Enable modification of custom SQL in data sources

/cc @DataRoberts

benlower avatar Jun 28 '16 23:06 benlower

This is great for when one has sql that changes frequently. So, for example, if you have a custom sql source on Github then the sql from the tableau data source/wb can also be updated in any number of workbooks.

MikeRobertsPS avatar Jun 29 '16 19:06 MikeRobertsPS

Here's an example: https://github.com/DataRoberts/Tableau/blob/master/AnalyticsEngineering/UpdateCustomSQL.ps1

MikeRobertsPS avatar Jun 29 '16 19:06 MikeRobertsPS

[https://tableauandbehold.com/2016/06/29/defining-a-tableau-data-source-programmatically/] goes into what is necessary here. Custom SQL is just another relation, so it is tied to being able to create / modify the relations.

bryanthowell-tableau avatar Sep 20 '16 19:09 bryanthowell-tableau

Hi,

We'd also like to be able to update the Custom SQL of our data sources using the Document API. I saw that it is possible to retrieve the Custom SQL but it is not possible to update it, do you have this enhancement in your roadmap ?

Thanks !

florent-guinard avatar Mar 01 '22 16:03 florent-guinard