Main utility functions
Main utility functions
(load-dataframe sql-ctx
path
colspecs
&
{:keys [fmt] :or {fmt (:default sparq.const/read)}})
Loads dataframe from specification.
Loads dataframe from specification.
(load-dataframe-from-schema sql-ctx path schema fmt)
Loads dataframe with defined schema.
Loads dataframe with defined schema.
(load-dataframe-ns sql-ctx
path
&
{:keys [fmt] :or {fmt (:default sparq.const/read)}})
Loads dataframe with defined schema.
Loads dataframe with defined schema.
(load-dataframe-sources
sql-ctx
path
&
{:keys [schema fmt paths]
:or {schema nil fmt (:default sparq.const/read) paths nil}})
Loads dataframe with defined schema.
Loads dataframe with defined schema.
(load-row-rdd sql-ctx
path
&
{:keys [fmt] :or {fmt (:default sparq.const/read)}})
Loads row rdd
Loads row rdd
(write df
output
&
{:keys [save-mode with-partitions]
:or {save-mode nil with-partitions nil}})
Persists dataframe in parquet format.
Persists dataframe in parquet format.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close