possible code generator bug -- internal error on publish to dev roxie.

Description

got this error on publish:
eclserver: (0,0): Error C3112: INTERNAL: Selected field 'wd_orig_state' does not appear in the dataset

directed per email response from Gavin to create this jira:

error appears on publish of query to dev 194 roxie cluster.

e.g. published WU that failed: W20150417-132519 (not using stored below)
e.g published WU that worked: W20150417-133833 (using stored below)
from this cluster IP: xxxx

Only difference in code from one that worked vs one that failed is
this line:

string2 regState := '';
//string2 regState := '' : stored('registerState');

Conclusion

None

Activity

Show:

Gavin Halliday April 22, 2015 at 8:36 PM

I probably haven't checked it in - I'll do that tomorrow.

Jamie Noss April 22, 2015 at 2:18 PM

I don't believe there is a dlingle17.eclxml in LNtesting, did you mean another file or that it exists somewhere else?

Gavin Halliday April 22, 2015 at 11:11 AM

It looks like it is caused by a KEYED filter on a DATASET(,PRELOAD) where the condition is always true.

(See dlingle17[a].eclxml in the private regression suite.)

I think the implicit project code inserts a project after the disk read. It then tries to move the filter over the over the project, which fails because the field isn't in the projected output.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Pull Request URL

Created April 17, 2015 at 5:48 PM
Updated June 29, 2015 at 7:20 AM
Resolved June 29, 2015 at 7:18 AM