Project plugin with counter throws error
Hi,
I tried to use the project plugin and call a transform function with the counter.
For this, i selected "yes" in the "Declare counter" dropdown in Project plugin's general tab.
When i executed the job with the above setup am getting the below error.
"ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : (24,35): error C2397: Identifier 'count' clashes with a reserved symbol"
Below is the equivalent ecl code generated by the job.
newPersonRS Trans(personDS input, integer count) := transform
self.id := input.id;
self.firstName := input.firstName;
self.lastName := input.lastName;
self.address := input.address;
self.state := input.state;
self.city := input.city;
self.zip := input.zip;
self.callcnt := 1;
end;
ProjectedPersonDS := project(personDS,Trans(left, counter));
OUTPUT( ProjectedPersonDS);
Why is the HPCC plugin generating code with the counter paramater named as "count" (which is a reserved keyword) in the transform function definition?
Is there any way to override this issue or is this an existing issue which needs to be fixed?
Pls anyone help me out of this issue. Pentaho version used: 4.4.0
I tried to use the project plugin and call a transform function with the counter.
For this, i selected "yes" in the "Declare counter" dropdown in Project plugin's general tab.
When i executed the job with the above setup am getting the below error.
"ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : (24,35): error C2397: Identifier 'count' clashes with a reserved symbol"
Below is the equivalent ecl code generated by the job.
newPersonRS Trans(personDS input, integer count) := transform
self.id := input.id;
self.firstName := input.firstName;
self.lastName := input.lastName;
self.address := input.address;
self.state := input.state;
self.city := input.city;
self.zip := input.zip;
self.callcnt := 1;
end;
ProjectedPersonDS := project(personDS,Trans(left, counter));
OUTPUT( ProjectedPersonDS);
Why is the HPCC plugin generating code with the counter paramater named as "count" (which is a reserved keyword) in the transform function definition?
Is there any way to override this issue or is this an existing issue which needs to be fixed?
Pls anyone help me out of this issue. Pentaho version used: 4.4.0
- SuganthSelvan
- Posts: 15
- Joined: Wed Jul 15, 2015 7:34 am
There wasn't a conflict with the version of HPCC that existed when the plugin was developed. We will need to update it.
- joe.chambers
- Posts: 21
- Joined: Wed Apr 27, 2011 1:07 pm
Thanks Joe.
So, will you be raising any JIRA request for fixing this issue.
So, will you be raising any JIRA request for fixing this issue.
- SuganthSelvan
- Posts: 15
- Joined: Wed Jul 15, 2015 7:34 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest