dap 1.x adds namespace prefix to MySQL table names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We devised a simple workaround to utilize dap 0.3.18 to load our production MySQL 5.7.15 tables. All of our CD2 SQL queries have been tested and deployed into production using the non-prefixed table names, e.g. assignments rather than canvas__assignments. The 1.x dap CLI release notes include the following:
"In earlier releases of the 0.3.x series, the namespace prefix was not applied to Canvas tables. (However, it was applied to tables part of the namespaces canvas_logs and
catalog.) This issue has been fixed in the 1.0.x series, and an automatic migration script ensures that tables that had the incomplete table name would be renamed to the fully qualified (prefixed) name for MySQL users."
Ideally, we would like the ability to turn off the prefixing feature if not needed (not loading multiple namespaces) or if we prefer using multiple MySQL database schemas in lieu of table prefixes.
Does Instructure have plans to support turning off the prefixing feature?
Do other MySQL 5.7 users have any thoughts on workarounds, e.g. views, table renames, table copies, etc.., to continue using non-prefixed table names?