This custom step analyses parquet files and writes results to an output dataset. The output is expected to help drive data configuration decisions in SAS Data Maker, a focussed application for synthetic data generation. The program in this step uses the SAS/Access Interface to DuckDB, a standard component available with SAS Viya, to take advantage of DuckDB's performant capabilities in processing Parquet.
This step can be viewed both as a general purpose "data profiler" or as a specific tool to ease data preparation prior to data ingestion in Data Maker. Data Maker, being a focussed tool, provides some summary statistics to help inform the user. This step endeavours to provide the same statistics at an earlier stage in the Analytics Life Cycle, helping improve first-pass yield by allowing data generators to take adequate and appropriate steps for data preparation and transformation.
See the step's About tab in SAS Studio for contextual help. The Parameters tab prompts for the inputs required to build the aggregation SQL automatically.
A video showing a quick walkthrough of this step: here
A wiki of this repo has been generated using DeepWiki and is available here:
- Parquet file path (file selector, required): based on a radio button select either a single Parquet file or a folder containing multiple Parquet files on the SAS server filesystem.
- Output table (output port / libname-qualified preferred, required): destination table for the aggregated results
- SAS Viya environment with SAS Studio flows
- SAS/ACCESS Interface to DuckDB configured on the compute server. Note that SAS supports DuckDB from version 2025.07 onwards.
- Parquet files accessible from the SAS compute server filesystem
- Select either a single Parquet file or provide the directory/prefix for a set of Parquet files.
- Provide an output table name (logical name used in the generated SQL).
- Run the step
The step will build DuckDB-compliant SQL and execute it via explicit passthrough to DuckDB, producing the aggregated output table.
This step is available as an individual repo and might also form part of the sas-studio-custom-steps collection. Follow these instructions to make custom steps available in SAS Studio.
Version: 0.2.0 (23JAN2026)
Sundaresh Sankaran (Sundaresh.sankaran@sas.com)