File Upload Component
Import local JSON, CSV, or NDJSON files into a pipeline; learn how formats are detected, parsed in-browser, saved in workspace state, and passed downstream.
Last updated:
The File Upload Component serves as a source node that allows you to bring local datasets into your DataLensia workflow.
⚙️ Configuration
| Property | Type | Description |
|---|---|---|
Upload | button | Trigger the browser's file picker to select a local file. |
Format | enum | Automatically detected (JSON, CSV, NDJSON). |
🛠️ Functionality
- Local Parsing: Files are parsed directly in your browser. Large files are handled using optimized streaming parsers to prevent UI freezing.
- Persistence: The uploaded data is stored within your workspace state, allowing the pipeline to re-run automatically when upstream changes occur or when the workspace is reloaded.
- Format Conversion: If a CSV file is uploaded, it is automatically converted into an array of JSON objects for processing by downstream nodes.