Skip to:
In the following code
EXPORT RCCodes(STRING5 Code) := MODULEEXPORT Dct := DICTIONARY([],{ STRING5 Code => STRING GroupType, STRING Description }) : ONCE;EXPORT GroupType := Dct[Code].GroupType;EXPORT Description := Dct[Code].Description;END;
Description := RCCodes('23456').Description;output (Description);
It is generating an empty dictionary and giving me a compiler error.
WUID: W20151111-164526
Compiler error on eclserver. Code 3000.Message: assert(dictionary->getOperator() == no_createdictionary) failed - file: /var/lib/jenkins/workspace/LN-Candidate-withplugins-5.4.4-1/LN/centos-6.4-x86_64/HPCC-Platform/ecl/hqlcpp/hqlhtcpp.cpp, line 11283
In the following code
EXPORT RCCodes(STRING5 Code) := MODULE
EXPORT Dct := DICTIONARY([
],{ STRING5 Code => STRING GroupType, STRING Description }) : ONCE;
EXPORT GroupType := Dct[Code].GroupType;
EXPORT Description := Dct[Code].Description;
END;
Description := RCCodes('23456').Description;
output (Description);
It is generating an empty dictionary and giving me a compiler error.
WUID: W20151111-164526
Compiler error on eclserver. Code 3000.
Message: assert(dictionary->getOperator() == no_createdictionary) failed - file: /var/lib/jenkins/workspace/LN-Candidate-withplugins-5.4.4-1/LN/centos-6.4-x86_64/HPCC-Platform/ecl/hqlcpp/hqlhtcpp.cpp, line 11283