Support writing parquet files Usage: (def pf (open-parquet-file! k (parse-schema "message test{ required binary name; repeated int32 age;}") fname)) (write! pf {"name" "hi" "age" [1 2 3]}) (close! pf)
Support writing parquet files Usage: (def pf (open-parquet-file! k (parse-schema "message test{ required binary name; repeated int32 age;}") fname)) (write! pf {"name" "hi" "age" [1 2 3]}) (close! pf)
(parquet-metadata file)
Returns the ParquetMetadata from a file file can be a string, File, or Hadoop Path. Can be used to validate files for correctness also.
Returns the ParquetMetadata from a file file can be a string, File, or Hadoop Path. Can be used to validate files for correctness also.
(parquet-ok? file)
Return nil when the parquet file is corrupt or cannot be read
Return nil when the parquet file is corrupt or cannot be read
(parse-schema schema)
Takes a schema string and parses it into a MessageType
Takes a schema string and parses it into a MessageType
(record-writer k conf schema file codec)
Create a Parquet Record write that will accept Maps as groups and messages and primitive Java/Clojure types as values
Create a Parquet Record write that will accept Maps as groups and messages and primitive Java/Clojure types as values
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close