karps-0.2.0.0: Haskell bindings for Spark Dataframes and Datasets

Safe HaskellNone
LanguageHaskell2010

Spark.Core.Internal.TypesFunctions

Contents

Synopsis

Documentation

structTypeTuple :: NonEmpty DataType -> StructType Source #

Builds a type that is a tuple of all the given types.

Following the Spark and SQL convention, the indexing starts at 1.

structTypeTuple' :: NonEmpty DataType -> DataType Source #

Returns a data type instead (the most common use case)

Note that unlike Spark and SQL, the indexing starts from 0.

tupleType :: SQLType a -> SQLType b -> SQLType (a, b) Source #

Orphan instances