krapsh-0.1.6.1: Haskell bindings for Spark Dataframes and Datasets

Safe HaskellNone
LanguageHaskell2010

Spark.Core.Internal.ContextInternal

Synopsis

Documentation

type FinalResult = Either NodeComputationFailure NodeComputationSuccess Source #

buildComputationGraph :: ComputeNode loc a -> Try ComputeGraph Source #

Builds the computation graph by expanding a single node until a transitive closure is reached.

It performs the naming, node deduplication and cycle detection.

TODO(kps) use the caching information to have a correct fringe

performGraphTransforms :: ComputeGraph -> Try ComputeGraph Source #

Performs all the operations that are done on the compute graph:

  • fullfilling autocache requests
  • checking the cache/uncache pairs
  • deconstructions of the unions (in the future)

This could all be done on the server side at this point.