node-red-contrib-parquet-ctmp 1.0.2

Read and write parquet format files

npm install node-red-contrib-parquet-ctmp

node-red-contrib-parquet-ctmp

Converts between a PARQUET string and its JavaScript object representation, in either direction.

This repository is a fork of @msigrupo-develop/node-red-contrib-parquet.

About This Fork

This fork was created to fix the temp file error when the application is not permitted to write in the default directory. With the changes made her you can change the default directory for the temp files.

Original Repository

For the original project, please visit @msigrupo-develop/node-red-contrib-parquet.

Installation

It can be installed from the Node-RED palette, or by executing the following command in the Node-RED installation directory:

npm install node-red-contrib-parquet-ctmp

Dependencies

This package depends on the following libraries:

Usage

Read or write mode must be selected.

Read mode

It will parse a single Buffer object from a parquet file to its JavaScript object representation. It is intended to be used together with the file reading node.

  • A single message per row
  • A single message [array]

By default, the output is sent to msg.payload bu it can be configured. An example is ready to use.

Write mode

It will parse a JavaScript object to a Parquet single Buffer object. It is intended to be used together with the file writing node. The columns names and types to be processed from the input must be configured. The input must be an array of objects with the names and values of the columns. The output returns a single Buffer object in msg.payload. An example is ready to use.

Changelog

Changes can be followed here

License

MIT

Node Info

Version: 1.0.2
Updated 9 months ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

2 in the last week

Nodes

  • parquet

Keywords

  • node-red
  • parquet

Maintainers