tableau / community-tableau-server-insights

Community-built data sources for answering questions about Tableau Server
MIT License
127 stars 52 forks source link

TS Content: Refactor Revision / Content Version fields for consistency #64

Open mcoles opened 2 years ago

mcoles commented 2 years ago

Same as #58 but for TS Content. Why didn't just we do this in 03.01? Didn't think to. :(

DigitalDuquette commented 1 year ago

I'm trying to find some documentation here to explain why the revision numbers in this data source (ex. 41.5) don't match the whole number integer shown in Tableau Server (ex 140).

https://help.tableau.com/current/pro/desktop/en-us/qs_revision_history.htm

Revision history in Tableau documentation references the whole number, but these data sources provide values that I can't tie out in the server GUI. I have to be searching for the wrong key words here.

mcoles commented 1 year ago

If you look at #58 I refactored the TS Events data source to reconcile what's in PostgreSQL with what you'd see in the UI. I forgot to add that logic to TS Content as well, which is why it's different. You could grab the calc from TS Events and likely re-apply it to TS Content as well. As for why we store it differently in PostgreSQL, I have no idea :)