From 1d87c09c5e19c23b16cdc4fdf76a2f47be01bd0f Mon Sep 17 00:00:00 2001 From: Rafael Bey Date: Wed, 4 Dec 2024 08:34:37 -0500 Subject: [PATCH] Fix fControl to correct value --- .../protocol/pure/v1/CorePureProtocolExtension.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/CorePureProtocolExtension.java b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/CorePureProtocolExtension.java index 644d6ba8fe..922793a38c 100644 --- a/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/CorePureProtocolExtension.java +++ b/legend-engine-core/legend-engine-core-base/legend-engine-core-language-pure/legend-engine-protocol-pure/src/main/java/org/finos/legend/engine/protocol/pure/v1/CorePureProtocolExtension.java @@ -299,11 +299,11 @@ private static AppliedFunction convertNewBasicColumnSpecificationToColFunctionCa .map(CString.class::cast); appliedFunction.function = "meta::pure::tds::col"; - appliedFunction.fControl = "meta::pure::tds::col_Function_1__String_1__BasicColumnSpecification_1_"; + appliedFunction.fControl = "col_Function_1__String_1__BasicColumnSpecification_1_"; appliedFunction.parameters = Stream.of(func, name, doc).filter(Optional::isPresent).map(Optional::get).collect(Collectors.toList()); if (appliedFunction.parameters.size() == 3) { - appliedFunction.fControl = "meta::pure::tds::col_Function_1__String_1__String_1__BasicColumnSpecification_1_"; + appliedFunction.fControl = "col_Function_1__String_1__String_1__BasicColumnSpecification_1_"; } return appliedFunction; @@ -323,7 +323,7 @@ private static AppliedFunction convertNewTdsOlapRankToFuncFunctionCall(AppliedFu .map(Lambda.class::cast); appliedFunction.function = "meta::pure::tds::func"; - appliedFunction.fControl = "meta::pure::tds::func_FunctionDefinition_1__TdsOlapRank_1_"; + appliedFunction.fControl = "func_FunctionDefinition_1__TdsOlapRank_1_"; appliedFunction.parameters = Stream.of(func).filter(Optional::isPresent).map(Optional::get).collect(Collectors.toList()); return appliedFunction; } @@ -346,7 +346,7 @@ private static AppliedFunction convertNewPairToPairFunctionCall(AppliedFunction .orElseGet(Collection::new); appliedFunction.function = "meta::pure::functions::collection::pair"; - appliedFunction.fControl = "meta::pure::functions::collection::pair_U_1__V_1__Pair_1_"; + appliedFunction.fControl = "pair_U_1__V_1__Pair_1_"; appliedFunction.parameters = Lists.fixedSize.with(first, second); return appliedFunction; }