karps-0.2.0.0: Haskell bindings for Spark Dataframes and Datasets

Safe HaskellNone
LanguageHaskell2010

Spark.Core.ColumnFunctions

Contents

Description

The standard library of functions that operate on data columns.

Synopsis

Reductions

sumCol :: forall ref a. (Num a, SQLTypeable a, ToSQL a) => Column ref a -> LocalData a Source #

The sum of all the elements in a column.

If the data type is too small to represent the sum, the value being returned is undefined.

Casting

asDoubleCol :: Num a => Column ref a -> Column ref Double Source #