Evaluate ProcedureCallContext
to optimize heavy procedures
#204
Labels
enhancement
New feature or request
ProcedureCallContext
to optimize heavy procedures
#204
We could evaluate the use of ProcedureCallContext, which captures info about the context in which a procedure was called.
Using this class, when we call a procedure using a
YIELD
with only some fields,we can capture the YIELDed fields and optimize heavy procedures to skip calculating and returning the unused fields.
Can be useful, for instance, to exclude some fields from the
CALL apoc.export.csv.all(null, {stream: true})
, and similar.This class is already used by the GDS Library.
To be noted: is an
org.neo4j.internal
, therefore perhaps the class should have changed as a@PublicApi
/cc @nadja-muller @ncordon
The text was updated successfully, but these errors were encountered: