Getting Started: How to Quickly Upload and Import Local Data
Applicable Scenarios
Lakehouse provides an integrated engine to support data processing, transformation, and analysis, using SQL as the development language. This document provides an overview of how to quickly write and run a SQL statement for data query and analysis through the task development feature module of Lakehouse Studio.
Prerequisite Reading
Before reading this guide, it is recommended to complete reading and understanding the following documents:
Operation Guide
You can add data to Lakehouse tables through the "Data Upload" feature available on the Lakehouse Studio interface.
Usage Notes
- Suitable for relatively small (no larger than 2GB) local files (CSV, TXT, Parquet, Avro, ORC) to be uploaded directly to Singdata Lakehouse tables. No programming required, the simplest approach.
- Currently only supports uploading one file at a time.
- The data upload feature currently does not support parsing fields of the struct, map, and array data types within files.
- Users with
workspace_admin,workspace_dev, orworkspace_analystrole permissions are required to use the data upload feature.
Steps
-
Log into your Singdata Studio account
-
You can click "Upload Data" in any of the following locations:
- Instance Homepage

- Development -> Data Tree

- Data Asset Map

- Data Asset Map -> Data Management

- Instance Homepage
-
After clicking, the following dialog will appear. You can add local files by dragging and dropping, or by clicking to browse files on the local system. Only one file can be added at a time, and the size must not exceed 2GiB. You can use this sample file to try uploading: :attachment[walmart.csv]{src=".topwrite/assets/walmart.csv" size="363.73 kB"}.

-
Schema: Choose to create the table under a certain schema.
-
Select Table: Choose "New Table" and enter the new table name in the field behind.
-
Cluster: The available cluster under the workspace where the current schema is located.
-
Data Import Mode: Supports append write and truncate-then-write modes for importing data into the new table.
-
After confirming all information, click "Next". The system will automatically parse the field information from the uploaded file, as shown below.

-
Check and determine whether the automatically parsed field names and field types meet expectations. After confirming correctness, click "Confirm" to complete the table creation and data upload.
- If you find issues with field parsing, you can modify the File Properties configuration items to re-trigger automatic parsing of field names, field types, etc. Or you can manually modify field names or field types.
- Note: Modified field types may not match the system's parsing, potentially causing upload failure.
Related Documents
- You can read the Upload Data Using the Data Upload Feature help document to learn more about data upload methods, such as uploading data to existing tables.
- You can read the Comprehensive Guide to Ingesting Data into Lakehouse to learn more ways to import data into Lakehouse.
Next Steps
- After completing data upload, you can refer to the guide How to Quickly Run a SQL Query to query and analyze the data in the table.
