bumpy-activity-74405
08/12/2021, 6:30 AMSink (datahub-rest) report:
{'failures': [{'error': 'Unable to emit metadata to DataHub GMS',
'info': {'exceptionClass': 'com.linkedin.restli.server.RestLiServiceException',
'message': "javax.persistence.PersistenceException: Error[(conn=2227952) Incorrect string value: '\\xC4\\x97l pi...' for "
"column 'metadata' at row 1]",
Is this something that can be easily fixed or are utf-8 characters are just not supported?big-carpet-38439
08/12/2021, 4:11 PMearly-lamp-41924
08/12/2021, 4:56 PMearly-lamp-41924
08/12/2021, 5:22 PMALTER TABLE metadata_aspect_v2 CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;big-carpet-38439
08/12/2021, 5:58 PMmammoth-bear-12532
great-branch-515
06/16/2023, 11:39 AMmysql> use datahub
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> show tables
-> ;
+--------------------+
| Tables_in_datahub |
+--------------------+
| metadata_aspect_v2 |
| metadata_index |
+--------------------+
2 rows in set (0.37 sec)
mysql> describe metadata_aspect_v2;
+----------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+--------------+------+-----+---------+-------+
| urn | varchar(500) | NO | PRI | NULL | |
| aspect | varchar(200) | NO | PRI | NULL | |
| version | bigint(20) | NO | PRI | NULL | |
| metadata | longtext | NO | | NULL | |
| systemmetadata | longtext | YES | | NULL | |
| createdon | datetime(6) | NO | | NULL | |
| createdby | varchar(255) | NO | | NULL | |
| createdfor | varchar(255) | YES | | NULL | |
+----------------+--------------+------+-----+---------+-------+
8 rows in set (0.37 sec)
mysql> SELECT default_character_set_name FROM information_schema.SCHEMATA WHERE schema_name = "datahub"
-> ;
+----------------------------+
| default_character_set_name |
+----------------------------+
| latin1 |
+----------------------------+
1 row in set (0.34 sec)
mysql> SELECT CCSA.character_set_name FROM information_schema.`TABLES` T,information_schema.`COLLATION_CHARACTER_SET_APPLICABILITY` CCSA WHERE CCSA.collation_name = T.table_collation AND T.table_schema = "datahub" AND T.table_name = "metadata_aspect_v2";
+--------------------+
| character_set_name |
+--------------------+
| latin1 |
+--------------------+
1 row in set (0.27 sec)
mysql>great-branch-515
06/16/2023, 11:51 AMALTER TABLE metadata_aspect_v2 CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
seems to help
but now seeing another issue
/usr/local/bin/ingestion_common.sh: line 56: 113 Killed pip install -r $req_filegreat-branch-515
06/16/2023, 1:18 PM