-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the cells column name? #13
Comments
Hello, MariaDB was branched from MySQL 5.5 which doesn't include column names(or any column identifiers) in binary log. select TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME, ORDINAL_POSITION
from INFORMATION_SCHEMA.COLUMNS
where TABLE_NAME='AspNetUsers' and TABLE_SCHEMA='Identity'
order by ORDINAL_POSITION; The query result will show columns in the same order as they are logged in the binlog |
Thanks for your quick reply, I got it. Is there any plan to provide a easily API to get column names in the future versions, I think MySqlCdc |
This is a good idea, but I think the library should be a low-level connector. I think that for high-level API with caching features there has to be a separate library that uses MySqlCdc. Different companies may have different use cases |
If the goal of MySqlCdc is low-level connector, I definitely agree with you~ Thanks again, cheers~ |
My pleasure, |
This is a really reasonable question. |
Looks like table metadata will be supported in MariaDB 10.5 when it is released |
I really hope to have it .
I really hope to have it . |
Hello, this is a great library~
I know that the column name is not included in the raw event data, but I need using the clolumn name to get the data from cells, so I want to ask that is there some way to get the affected column names?
Thanks.
My database is MariaDB 10.3
The text was updated successfully, but these errors were encountered: