The resourcing should hoist any subquery that contains a no_dataset_from_transform

Description

The following code in hqlresource.cpp(~720) can cause problems:

//Generally this appears to be better to hoist since it involves calling a transform. if (ds->getOperator() == no_dataset_from_transform) return true; if (canProcessInline(NULL, ds)) return false;

In particular, count(f(inline)) is not hoisted, but the inline dataset will be hoisted, leading to inefficient spilling.

Found when investigating https://hpccsystems.atlassian.net/browse/HPCC-12527#icft=HPCC-12527

Conclusion

None

Activity

Show:
Richard Chapman
updated the WorkflowSeptember 18, 2017 at 2:26 PM
NewTriagedWorkflow
AbbeyDoreWorkflow
Richard Chapman
changed the PriorityApril 5, 2017 at 11:34 AM
Not specified
Minor
Richard Chapman
changed the StatusApril 5, 2017 at 11:34 AM
Merge Pending
Resolved
Richard Chapman
updated the ResolutionApril 5, 2017 at 11:34 AM
None
Fixed
Richard Chapman
updated the Fix versionsApril 5, 2017 at 11:34 AM
None
6.2.0
Shamser Ahmed
changed the StatusSeptember 30, 2016 at 12:56 PM
New
Merge Pending
Shamser Ahmed
updated the Pull Request URLSeptember 30, 2016 at 12:56 PM
None
https://github.com/hpcc-systems/HPCC-Platform/pull/9199
Shamser Ahmed
changed the AssigneeSeptember 29, 2016 at 1:08 PM
Unassigned
Shamser Ahmed
Gavin Halliday
created the IssueSeptember 29, 2016 at 10:31 AM
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Fix versions

Created September 29, 2016 at 10:31 AM
Updated April 5, 2017 at 11:34 AM
Resolved April 5, 2017 at 11:34 AM

Flag notifications