Datasource.enforce_column() will throw an error when used on a datasource with a live connection, if remote_name is provided.
This happens because it will attempt to update extract metadata; tho live connections do not have an extract section, of course.
Changes
Updated Datasource.enforce_column logic to check for, and only update, the extract metadata, if that section exists
Summary
Datasource.enforce_column()
will throw an error when used on a datasource with a live connection, ifremote_name
is provided. This happens because it will attempt to updateextract
metadata; tho live connections do not have anextract
section, of course.Changes
Datasource.enforce_column
logic to check for, and only update, theextract
metadata, if that section existsTests