assert(recordTypesMatch(serializedType, expr->queryType())) failed

Description

s := service string dumpDatasetType(streamed dataset val) : eclrtl,pure,library='eclrtl',entrypoint='dumpDatasetType',passParameterMeta(true); end; r := record string5 s5; end; d := dataset([],{ string stringField; string20 field2, string20 field3, dataset(r) child }); s.dumpDatasetType(d);

Adding EMBEDDED on the child dataset makes the error go away

Conclusion

None

Activity

Show:

Richard Chapman June 29, 2020 at 12:10 PM

This issue has not been updated since 2018 - timing out. Please reopen if it is still relevant.

Richard Chapman July 16, 2018 at 10:47 AM

The latter option sounds more sensible.

Gavin Halliday July 10, 2018 at 10:59 AM

what do you think this should do?  Normally datasets are projected to match the format of the dataset that is expected - so it would pass the dataset as a dataset containing no data.  That may not be very useful though!

We could redefine the semantics so that if the dataset has no record, it takes on the format of whatever is passed.  

 

 

Gavin Halliday May 8, 2018 at 12:23 PM

I suspect this will not be fixed for 7.0.  Leaving for the moment - might be looked at in a bug fixing spree.

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

Details

Components

Assignee

Reporter

Priority

Compatibility

Minor

Affects versions

Created July 5, 2017 at 4:04 PM
Updated June 29, 2020 at 12:10 PM
Resolved June 29, 2020 at 12:10 PM

Flag notifications