Jump to content

Connect SuperML | Leeroopedia MCP: Equip your AI agents with best practices, code verification, and debugging knowledge. Powered by Leeroo — building Organizational Superintelligence. Contact us at founders@leeroo.com.

Implementation:Apache Druid ConnectExternalDataDialog

From Leeroopedia
Revision as of 14:13, 16 February 2026 by Admin (talk | contribs) (Auto-imported from implementations/Apache_Druid_ConnectExternalDataDialog.md)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Knowledge Sources
Domains Web_Console, Data_Ingestion
Last Updated 2026-02-10 10:00 GMT

Overview

ConnectExternalDataDialog is a React dialog component that guides users through connecting to an external data source for ingestion.

Description

The dialog provides a two-step wizard workflow for configuring external data connections. In the first step, the user selects an input source via the InputSourceStep component. In the second step, the user configures the input format and parses sample data via the InputFormatStep component. Upon completion, the dialog passes back the full ExternalConfig (input source, input format, and signature), along with a time expression, partition hint, and array ingest mode to the parent component.

Usage

Used in the workbench view when a user wants to ingest data from an external source (such as HTTP, S3, or local files) using the SQL-based ingestion workflow. The dialog is opened via a button in the workbench toolbar.

Code Reference

Source Location

Signature

export interface ConnectExternalDataDialogProps {
  initExternalConfig?: Partial<ExternalConfig>;
  onSetExternalConfig(
    config: ExternalConfig,
    timeExpression: SqlExpression | undefined,
    partitionedByHint: string | undefined,
    arrayMode: ArrayIngestMode,
  ): void;
  onClose(): void;
}

export const ConnectExternalDataDialog = React.memo(function ConnectExternalDataDialog(
  props: ConnectExternalDataDialogProps,
): JSX.Element;

Import

import { ConnectExternalDataDialog } from 'web-console/src/views/workbench-view/connect-external-data-dialog/connect-external-data-dialog';

I/O Contract

Inputs

Name Type Required Description
initExternalConfig Partial<ExternalConfig> No Initial external config to pre-populate the dialog
onSetExternalConfig function Yes Callback with the completed ExternalConfig, time expression, partition hint, and array mode
onClose () => void Yes Callback to close the dialog

Outputs

Name Type Description
JSX.Element Dialog A BlueprintJS Dialog containing either the InputSourceStep or InputFormatStep wizard page

Usage Examples

Opening the connect external data dialog

<ConnectExternalDataDialog
  onSetExternalConfig={(config, timeExpression, partitionHint, arrayMode) => {
    handleExternalDataConfigured(config, timeExpression, partitionHint, arrayMode);
  }}
  onClose={() => setShowConnectDialog(false)}
/>

Related Pages

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment