This page details some methods to import CSV data to SurrealDB.
CSV data is the easiest external data type to import to SurrealDB, as it can be imported directly via the Surrealist UI.
Importing the data is done by going to the Explorer tab, clicking on Import database below, and following the prompts. For more details, see this page in the Surrealist documentation.
The Surreal Sync tool can be used to import CSV files in the local filesystem or S3 buckets into a SurrealDB table with automatic type detection and optional record ID generation.
For more on how this is done, please see the CSV Import for Surreal Sync page in its repo.