Cmdlets for Avro

Build 24.0.9060

Modeling Avro Data

In this section we will show how to control the various schemes that the cmdlet offers to bridge the gap with relational SQL and nested Avro services. The CData Cmdlets PowerShell Module for Avro provides a managed way for you to use the two prevailing techniques for dealing with nested Avro data:

  • Parsing the data structure and building a relational model based on the existing hierarchy.
  • Drilling down into the nested arrays and objects using horizontal flattening.

Parsing Hierarchical Data

By default, the cmdlet automatically detects the rows in a document, so that you do not need to know the structure of the underlying data to query it with SQL. Set the DataModel property to choose a basic configuration of how the cmdlet models object arrays into tables. Set the FlattenObjects and FlattenArrays properties to configure how nested data is flattened into columns. See Parsing Hierarchical Data for a guide.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060