DataAI ETL .NET pipelines — Production Installation Guide

Product: .NET pipelines

Distribution: Production

Source document: NuGet/docs/INSTALLATION_AND_USAGE.md

Source SHA-256: c9acdb5e3dde6eee24c317b0107e9b75f969d86d142753e752daa727d56f0e9a

Download the applicable package | Read the applicable license

Downloads and verification: Integration package 1.0.0 | Runtime package 1.0.0 | Production checksums

DataAI ETL NuGet Installation and Usage

Requirements

Install from a private feed

dotnet nuget add source "<PRIVATE-FEED-URL>" --name DataAI
dotnet add package Yanbor.DataAI.Etl.Spark `
  --version 1.0.0 `
  --source DataAI

Yanbor.DataAI.Etl.Spark depends on Yanbor.DataAI.Etl.Spark.Runtime, so one command installs both packages. At build and publish time, the runtime package copies four unshaded library JARs to dataai/jars and the shaded CLI JAR to dataai/cli.

Create a quality job

using Yanbor.DataAI.Etl.Spark;

var configuration = new DataAiQualityJobConfiguration
{
    SourceTable = "dataai_sample.orders",
    CleanTable = "dataai_sample.orders_clean",
    RejectedTable = "dataai_sample.orders_rejected",
    ProfileTable = "dataai_sample.orders_profiles",
    FindingsTable = "dataai_sample.orders_findings",
    Normalize = true,
    RecordKeyColumns = ["order_id"],
    Rules =
    [
        DataAiRuleSpec.Required("customer-required", "customer_id"),
        DataAiRuleSpec.Between("amount-range", "amount", 0, 100000)
    ],
    MinimumQualityScore = 95
};

configuration.WriteJson("dataai-job.json");
var runtime = DataAiSparkRuntimeLayout.Discover();
var command = DataAiSparkSubmitBuilder.BuildQualityJob(
    "dataai-job.json",
    runtime,
    new DataAiSparkSubmitOptions { Master = "local[2]" });

Console.WriteLine(command.ToDisplayString());

The builder returns an executable name and argument list. The consuming application decides whether, where, and under which identity to launch it.

Use the libraries with another Spark application

var command = DataAiSparkSubmitBuilder.BuildLibraryApplication(
    "customer-pipeline.jar",
    options: new DataAiSparkSubmitOptions
    {
        Master = "yarn",
        DeployMode = "cluster",
        ApplicationArguments = ["--input", "customer.orders"]
    });

This adds the four unshaded DataAI library JARs through --jars; it does not bundle Spark or Hadoop classes.

Function coverage

DataAiFunctionCatalog.All lists the DataAI ETL, quality, analytics, time-series, business, market, geographic, insight, and matrix-balancing APIs included in the runtime. The quality CLI is directly configurable from the .NET helper. Other functions are invoked through the packaged Java APIs.

Direct Microsoft.Spark DataFrame extension methods are not claimed in this 1.0.0 package. They require a separately implemented and externally validated JVM bridge. No external DataAI service is required.

Customer control and writes

The package performs no installation-time or build-time network calls beyond the customer's configured NuGet restore. The .NET helper does not launch Spark, send telemetry, or write data. The shaded quality CLI writes only table names explicitly supplied in the job configuration; blank output names disable the corresponding write.