Fix/2802 support for mysql invisible attribute#3140
Open
yoavweber wants to merge 4 commits intoariga:masterfrom
Open
Fix/2802 support for mysql invisible attribute#3140yoavweber wants to merge 4 commits intoariga:masterfrom
yoavweber wants to merge 4 commits intoariga:masterfrom
Conversation
…e attribute values in extra column
|
I was running into this issue on four different MySQL databases. Building against this branch I was able to process those tables and no longer encounter the error:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request fixes Issue #2802 by supporting the
INVISIBLEcolumn attribute in MySQL.Main Changes
parseExtrato support mul multiple attribute values in "extra" column using regexinspectto support invisible attributemigrateandsqlspecto support invisible attributeHow to Test
Create a Docker Compose File
In the root directory of your project, create a
docker-compose.ymlfile with the following content:Add the Schema
In the root directory, create a folder named
mysql/initand add a SQL file (e.g.,init.sql) with the following content:Compile the Code
Compile your Atlas project to ensure all changes are built.
Run the Inspection Command
Execute the following command to inspect the schema:
atlas schema inspect --url mysql://testuser:testpassword@localhost:3306/atlas_bug_test > schema.atlas