-
Notifications
You must be signed in to change notification settings - Fork 679
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
Assertion Error #610
Comments
What is your Pymyrepli version? @MintooJinnu |
I tried with multiple mysql-replication @sean-k1 , tried with 0.24, 0.25, 0.26 and 1.0.0, 0.1.0, 0.45.0, 1.0.6 and 1.0.5 |
@MintooJinnu |
Sure let me get you the rows @sean-k1 |
I have a huge insert query with multiple sub queries, Query 1 is just an insert and Query 2 is a select query Insert into table_1 columns(.....) SELECT...... Query2 fetching records:
Also attached the excel sheet for your reference The Schema of table_1: This is all happening in Maria DB @sean-k1 |
Adding an other piece of information, which might be helpful to you is the query2(subquery) is having PARTITION BY also, please let me know if that might create some problem in reading string in pascal method @sean-k1 |
I observed one more thing, ie. It is reading the other column data suddenly after reading data of column F @sean-k1. In column F receiving all the data of other columns. This is happening only to this table. |
your Data '4njkfneodnkemfkekdmownfkfrnfirwo', -- N (33) is larger than 32 so i erase last word |
i did not find error in mysql 8.0 enviornment
|
There is some problem with the data @sean-k1 because I was running very huge query, and that is not reading the correct data, unpacking is the problem actually. Let me send you the exact query by morphing it. |
value[name] = self.__read_string(1, column) it is throwing a value which is not in perfect way. Please help me on this @sean-k1 |
@MintooJinnu |
I'm able to fix the error but I need a small help @sean-k1 I have a table with column DDL declaration as 'DOB datetime(3) NOT NULL DEFUALT '0000-00-00 00:00:00.000' Now while extracting the rows of writerows event reading column data and it is going to method _read_datetime() Getting a large number in the value = self.packet.uint64() How to get the datetime stamp and what exactly should be there in struct.unpack() I tried with struct.unpack('I3s', self.read(7)) It is getting very larhe Can you please help me on this @sean-k1 |
@MintooJinnu
I can not reproduce the issue without these information. |
Version
Please specify the versions you are using. Exact version numbers are preferred.
binlog_row_metadata
: NoneSymptoms
I have a prod db, where somw insert queries are running on top of it, I am trying to replicate in snowflake. But while reading the insert event, while getting binlog_event.event.rows throwing
Assertion Error
Expected = 111. Actual = 46. Position=130. Data=176
And I am getting the assertion error for column type varchar,
Steps to Reproduce
I cannot help you in reproducing as I am testing in prod environment
I tried with many version degrading and upgrading with all the modules such as pymysql, mysql-replication, s3, etc..
The text was updated successfully, but these errors were encountered: