Skip to main content
  • Creates a data sink, which contains the destination information for a data sink that is external to the database.

    Parameters

    • name: string

      Name of the data sink to be created.

    • destination: string

      Destination for the output data in format ‘storage_provider_type://path[:port]’.

      Supported storage provider types are ‘azure’, ‘gcs’, ‘hdfs’, ‘http’, ‘https’, ‘jdbc’, ‘kafka’, and ‘s3’.

    • Optionaloptions: Record<string, string>

      Optional parameters.

    • Optionalcallback: GPUdbCallback

      Optional callback function

    Returns Promise<CreateDatasinkResponse>

    Promise<Types.CreateDatasinkResponse> - Promise resolving to the response