Hi guys! Can you, please, help me with next proble...
# contribute-code
s
Hi guys! Can you, please, help me with next problem: I`m trying to fix oracle integration tests, but receive next error:
Copy code
ValueError: source produced an invalid metadata work unit: MetadataChangeEventClass(
    {
        "auditHeader": None,
        "proposedSnapshot": DatasetSnapshotClass(
            {
                "urn": "urn:li:dataset:(urn:li:dataPlatform:oracle,schema2.test4,PROD)",
                "aspects": [
                    StatusClass({"removed": False}),
                    DatasetPropertiesClass(
                        {
                            "customProperties": {},
                            "externalUrl": None,
                            "name": "test4",
                            "qualifiedName": None,
                            "description": {
                                "text": "fake_comments",
                                "properties": {"p1": "property1"},
                            },
                            "uri": None,
                            "created": None,
                            "lastModified": None,
                            "tags": [],
                        }
                    ),
                    SchemaMetadataClass(
                        {
                            "schemaName": "schema2.test4",
                            "platform": "urn:li:dataPlatform:oracle",
                            "version": 0,
                            "created": AuditStampClass(
                                {
                                    "time": 0,
                                    "actor": "urn:li:corpuser:unknown",
                                    "impersonator": None,
                                    "message": None,
                                }
                            ),
                            "lastModified": AuditStampClass(
                                {
                                    "time": 0,
                                    "actor": "urn:li:corpuser:unknown",
                                    "impersonator": None,
                                    "message": None,
                                }
                            ),
                            "deleted": None,
                            "dataset": None,
                            "cluster": None,
                            "hash": "",
                            "platformSchema": MySqlDDLClass({"tableSchema": ""}),
                            "fields": [],
                            "primaryKeys": None,
                            "foreignKeysSpecs": None,
                            "foreignKeys": None,
                        }
                    ),
                ],
            }
        ),
        "proposedDelta": None,
        "systemMetadata": SystemMetadataClass(
            {
                "lastObserved": 1643871600000,
                "runId": "oracle-2022_02_03-07_00_00",
                "lastRunId": "no-run-id-provided",
                "pipelineName": None,
                "registryName": None,
                "registryVersion": None,
                "properties": None,
            }
        ),
    }
)
I don`t understand, why this wu is wrong... @hundreds-photographer-13496
h
I think description here is not set correctly. It should be string. however its set as
Copy code
"description": {
                                "text": "fake_comments",
                                "properties": {"p1": "property1"},
                            },