hoverinc / tableau-utilities

A module and CLI Utility for managing Tableau objects, locally, and in Tableau Online.
MIT License
4 stars 1 forks source link

Fixed a bug that would error when trying to update extract metadata for live connections #7

Closed JustinGrilli closed 2 years ago

JustinGrilli commented 2 years ago

Summary

When attempting to add a column to a datasource with a live connection, sometimes it will throw this error:

Metadata does not exist

This happens because added/updated columns will have the metadata enforced. When updating metadata for a datasource with an extract, there are two sections where metadata is stored and updated - the connection and the extract connection. However, live connections typically do not have any extract connection metadata, which is why this error appears for live connections. If this error does not happen for a live connection, it is because that extract metadata is lingering from an old extract connection.

Changes

Tests