Test #11126
Annotations
5 errors
Test:
packages/legend-manual-tests/src/__tests__/roundtrip-grammar/RoundtripGrammar.engine-roundtrip-test.ts#L217
expect(received).toIncludeSameMembers(expected)
Expected list to have the following members and no more:
[{"_type": "hostedService", "actions": [], "autoActivateUpdates": true, "documentation": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "generateLineage": false, "name": "NewActivatorWithTag", "ownership": {"_type": "DeploymentOwner", "id": ""}, "package": "model", "pattern": "/pattern", "stereotypes": [{"profile": "equality", "value": "Key"}], "storeModel": false, "taggedValues": []}, {"_type": "hostedService", "actions": [], "autoActivateUpdates": true, "documentation": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "generateLineage": false, "name": "NewActivator", "ownership": {"_type": "DeploymentOwner", "id": ""}, "package": "model", "pattern": "/pattern", "stereotypes": [], "storeModel": false, "taggedValues": []}, {"_type": "relational", "filters": [], "includedStores": [], "joins": [{"name": "FirmPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "FirmAddress", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "HobbyPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}], "name": "TestDB", "package": "store", "schemas": [{"name": "default", "tables": [[Object], [Object], [Object], [Object]], "views": []}], "stereotypes": []}, {"_type": "class", "constraints": [], "name": "Firm", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "legalName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "employees", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 0}, "name": "contractors", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 1}, "name": "address", "stereotypes": [], "taggedValues": [], "type": "model::Address"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Hobby", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "name", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Integer"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Person", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "firstName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "lastName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "hobbies", "stereotypes": [], "taggedValues": [], "type": "model::Hobby"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Address", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "streetName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "pincode", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [{"profile": "meta::pure::profiles::temporal", "value": "businesstemporal"}], "superTypes": [], "taggedValues": []}, {"_type": "function", "body": [{"_type": "func", "function": "from", "parameters": [[Object], [Object], [Object]]}], "name": "Firm_QueryFunction__TabularDataSet_1_", "packa
|
Test:
packages/legend-manual-tests/src/__tests__/roundtrip-grammar/RoundtripGrammar.engine-roundtrip-test.ts#L217
expect(received).toIncludeSameMembers(expected)
Expected list to have the following members and no more:
[{"_type": "snowflakeApp", "actions": [], "activationConfiguration": {"_type": "snowflakeDeploymentConfiguration", "activationConnection": {"_type": "connectionPointer", "connection": "model::SnowFlakeConnection"}}, "applicationName": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "name": "NewActivator", "ownership": {"_type": "DeploymentOwner", "id": "user"}, "package": "model", "stereotypes": [], "taggedValues": []}, {"_type": "snowflakeApp", "actions": [], "activationConfiguration": {"_type": "snowflakeDeploymentConfiguration", "activationConnection": {"_type": "connectionPointer", "connection": "model::SnowFlakeConnection"}}, "applicationName": "", "function": {"path": "model::Firm_QueryFunction(String[1]):TabularDataSet[1]", "type": "FUNCTION"}, "name": "NewActivatorWithParam", "ownership": {"_type": "DeploymentOwner", "id": "user"}, "package": "model", "stereotypes": [{"profile": "equality", "value": "Key"}], "taggedValues": []}, {"_type": "relational", "filters": [], "includedStores": [], "joins": [{"name": "FirmPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "FirmAddress", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "HobbyPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}], "name": "TestDB", "package": "store", "schemas": [{"name": "default", "tables": [[Object], [Object], [Object], [Object]], "views": []}], "stereotypes": []}, {"_type": "class", "constraints": [], "name": "Firm", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "legalName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "employees", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 0}, "name": "contractors", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 1}, "name": "address", "stereotypes": [], "taggedValues": [], "type": "model::Address"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Hobby", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "name", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Integer"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Person", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "firstName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "lastName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "hobbies", "stereotypes": [], "taggedValues": [], "type": "model::Hobby"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Address", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "streetName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "pincode", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [{"profile": "meta::pure::profiles::temporal", "value": "businesstemporal"}], "superTypes": [], "taggedValues": []}, {
|
Test:
packages/legend-manual-tests/src/__tests__/roundtrip-grammar/RoundtripGrammar.engine-roundtrip-test.ts#L217
expect(received).toIncludeSameMembers(expected)
Expected list to have the following members and no more:
[{"_type": "hostedService", "actions": [], "autoActivateUpdates": true, "documentation": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "generateLineage": false, "name": "NewActivatorWithTag", "ownership": {"_type": "DeploymentOwner", "id": ""}, "package": "model", "pattern": "/pattern", "stereotypes": [{"profile": "equality", "value": "Key"}], "storeModel": false, "taggedValues": []}, {"_type": "hostedService", "actions": [], "autoActivateUpdates": true, "documentation": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "generateLineage": false, "name": "NewActivator", "ownership": {"_type": "DeploymentOwner", "id": ""}, "package": "model", "pattern": "/pattern", "stereotypes": [], "storeModel": false, "taggedValues": []}, {"_type": "relational", "filters": [], "includedStores": [], "joins": [{"name": "FirmPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "FirmAddress", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "HobbyPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}], "name": "TestDB", "package": "store", "schemas": [{"name": "default", "tables": [[Object], [Object], [Object], [Object]], "views": []}], "stereotypes": []}, {"_type": "class", "constraints": [], "name": "Firm", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "legalName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "employees", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 0}, "name": "contractors", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 1}, "name": "address", "stereotypes": [], "taggedValues": [], "type": "model::Address"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Hobby", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "name", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Integer"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Person", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "firstName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "lastName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "hobbies", "stereotypes": [], "taggedValues": [], "type": "model::Hobby"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Address", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "streetName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "pincode", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [{"profile": "meta::pure::profiles::temporal", "value": "businesstemporal"}], "superTypes": [], "taggedValues": []}, {"_type": "function", "body": [{"_type": "func", "function": "from", "parameters": [[Object], [Object], [Object]]}], "name": "Firm_QueryFunction__TabularDataSet_1_", "packa
|
Test:
packages/legend-manual-tests/src/__tests__/roundtrip-grammar/RoundtripGrammar.engine-roundtrip-test.ts#L217
expect(received).toIncludeSameMembers(expected)
Expected list to have the following members and no more:
[{"_type": "snowflakeApp", "actions": [], "activationConfiguration": {"_type": "snowflakeDeploymentConfiguration", "activationConnection": {"_type": "connectionPointer", "connection": "model::SnowFlakeConnection"}}, "applicationName": "", "function": {"path": "model::Firm_QueryFunction():TabularDataSet[1]", "type": "FUNCTION"}, "name": "NewActivator", "ownership": {"_type": "DeploymentOwner", "id": "user"}, "package": "model", "stereotypes": [], "taggedValues": []}, {"_type": "snowflakeApp", "actions": [], "activationConfiguration": {"_type": "snowflakeDeploymentConfiguration", "activationConnection": {"_type": "connectionPointer", "connection": "model::SnowFlakeConnection"}}, "applicationName": "", "function": {"path": "model::Firm_QueryFunction(String[1]):TabularDataSet[1]", "type": "FUNCTION"}, "name": "NewActivatorWithParam", "ownership": {"_type": "DeploymentOwner", "id": "user"}, "package": "model", "stereotypes": [{"profile": "equality", "value": "Key"}], "taggedValues": []}, {"_type": "relational", "filters": [], "includedStores": [], "joins": [{"name": "FirmPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "FirmAddress", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}, {"name": "HobbyPerson", "operation": {"_type": "dynaFunc", "funcName": "equal", "parameters": [Array]}}], "name": "TestDB", "package": "store", "schemas": [{"name": "default", "tables": [[Object], [Object], [Object], [Object]], "views": []}], "stereotypes": []}, {"_type": "class", "constraints": [], "name": "Firm", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "legalName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "employees", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 0}, "name": "contractors", "stereotypes": [], "taggedValues": [], "type": "model::Person"}, {"multiplicity": {"lowerBound": 1}, "name": "address", "stereotypes": [], "taggedValues": [], "type": "model::Address"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Hobby", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "name", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "id", "stereotypes": [], "taggedValues": [], "type": "Integer"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Person", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "firstName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "lastName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 0}, "name": "hobbies", "stereotypes": [], "taggedValues": [], "type": "model::Hobby"}], "qualifiedProperties": [], "stereotypes": [], "superTypes": [], "taggedValues": []}, {"_type": "class", "constraints": [], "name": "Address", "originalMilestonedProperties": [], "package": "model", "properties": [{"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "streetName", "stereotypes": [], "taggedValues": [], "type": "String"}, {"multiplicity": {"lowerBound": 1, "upperBound": 1}, "name": "pincode", "stereotypes": [], "taggedValues": [], "type": "Number"}], "qualifiedProperties": [], "stereotypes": [{"profile": "meta::pure::profiles::temporal", "value": "businesstemporal"}], "superTypes": [], "taggedValues": []}, {
|
Test
Process completed with exit code 1.
|
Loading