@azure/synapse-spark
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0-beta.2 • Public • Published

    Azure Synapse Spark client library for JavaScript

    This package contains an isomorphic SDK for Spark.

    Getting started

    Install the package

    npm install @azure/synapse-spark

    Currently supported environments

    • Node.js version 8.x.x or higher
    • Browser JavaScript

    Key concepts

    How to use

    Examples

    import { SparkClient } from "@azure/synapse-spark";
    import { DefaultAzureCredential } from "@azure/identity";
    
    export async function main(): Promise<void> {
      const credential = new DefaultAzureCredential();
    
      let client = new SparkClient(credential, "https://mysynapse.dev.azuresynapse.net", "mysparkpool");
      let output = await client.sparkBatch.getSparkBatchJobs();
      console.log("output:", output);
    }

    Related projects

    Impressions

    Troubleshooting

    Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the AZURE_LOG_LEVEL environment variable to info. Alternatively, logging can be enabled at runtime by calling setLogLevel in the @azure/logger:

    import { setLogLevel } from "@azure/logger";
    
    setLogLevel("info");

    Next steps

    In the future, you'll find additional code samples here.

    Contributing

    If you'd like to contribute to this library, please read the contributing guide to learn more about how to build and test the code.

    Impressions

    Install

    npm i @azure/synapse-spark

    DownloadsWeekly Downloads

    66

    Version

    1.0.0-beta.2

    License

    MIT

    Unpacked Size

    407 kB

    Total Files

    10

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar