Hello,
I'm using Datastream to unload binlog files to Google Cloud Storage. Unfortunately, my source database is encoded in latin1 :
> SHOW VARIABLES LIKE 'character_set_database';
> latin1
> SHOW VARIABLES LIKE 'collation_database';
> latin1_swedish_ci
Even though I tried to start the stream using a "mysql-source-config" that looks like this :
{
"includeObjects": {
"mysqlDatabases": [
{
"database": "my_db",
"mysqlTables": [
{
"table": "my_table",
"mysqlColumns": [
{
"column": "id",
"dataType": "int"
},
{
"column": "some_text_col",
"dataType": "varchar",
"primaryKey": false,
"collation": "latin1_swedish_ci"
}
]
}
]
}
]
},
"excludeObjects": {}
}
The stream fails to read the content of the "some_text_col" column with the following error:
Discarded 2 unsupported events with reason code: MYSQL_DECODE_ERROR. Latest discarded event details: Discarded an event from my_db.my_table: Event Parsing Error: Failed to parse event: === UpdateRowsEvent === Date: 2024-07-03T13:26:08 Log position: 17343280 Event size: 839 Read bytes: 161. Successfully parsed rows: []., caused by: Row Parsing Error: Failed to parse row of table xxx ... [skipping because the full schema is written]