SAP AI SDK for JavaScript - v2.17.0
    Preparing search index...

    Type Alias CreateTARequest

    Representation of the 'CreateTARequest' schema.

    type CreateTARequest = {
        csnMetadata: {
            definition: CSNDefinition;
            entityName?: string;
            selectedColumns?: Set<string>;
        };
        dataDestinationName: string;
        path: string;
        type: "CSV"
        | "PARQUET"
        | "DELTA";
    }
    Index
    csnMetadata: {
        definition: CSNDefinition;
        entityName?: string;
        selectedColumns?: Set<string>;
    }

    Metadata of artifact in CSN format. For AUTO definition type, entityName is optional and will be derived from the file name if not provided.

    Type Declaration

    • definition: CSNDefinition
    • OptionalentityName?: string

      Name of the entity in CSN model. Required for DOCUMENT and REFERENCE types. Optional for AUTO type (defaults to file name without extension).

    • OptionalselectedColumns?: Set<string>

      List of selected columns from the source file to be included in the TA

      [
      "customer_id",
      "customer_name",
      "purchase_amount"
      ]
      Min Items: 1.
    dataDestinationName: string

    Identifier for the target data destination Max Length: 127. Min Length: 1.

    path: string

    Absolute path to the data (must start with '/').

    • For file-based artifacts (HDL, S3, GCS, AZURE): Standard file path (e.g., /data/customers.parquet)
    • For Delta Sharing artifacts (DELTA_SHARING): Format /// (e.g., /sample_data/tpch/customer)
      "/data/ingest/customer_data/file1.csv"
      Pattern: "^\/.*".
      type: "CSV" | "PARQUET" | "DELTA"

      Source file format

      "CSV"