Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.79 KB

plugin-parquet.adoc

File metadata and controls

56 lines (42 loc) · 1.79 KB

Parquet Plugin

The plugin provides the ability to create Parquet files.

Properties

Property Name Acceptable values Default Description

expression.csv-to-parquet.csv-format

DEFAULT

Specifies the format of a CSV file to create a Parquet file from.

Expressions

Note
The expression parameters marked with bold are mandatory.

convertCsvToParquetFile

Creates temporary Parquet file, writes CSV data records to the file using Avro schema and returns its path.

#{convertCsvToParquetFile($csv-resource-path, $avro-schema-resource-path)}
  • $csv-resource-path - The path to a resource containing CSV data.

  • $avro-schema-resource-path - The path to a resource containing Avro schema.

Initialize a variable with a path to a Parquet file
Given I initialize scenario variable `parquet-path` with value `#{convertCsvToParquetFile(data/pets.csv, data/pets-schema.avsc)}`