Skip to main content
This tutorial walks you through how you can upload a CSV file into the NexusOne platform.

Prerequisite

Appropriate permission: nx1_ingest

Download a CSV file

Use a financial transactions dataset from Kaggle containing user data.

Upload it to the portal

  1. Log in to NexusOne.
  2. On the NexusOne homepage, navigate to Ingest > File.
  3. In the File Details section, click Upload File > Choose file.
After choosing a file, several file options displays, which provides extra customization for the CSV file.
  • Header: Use it to define if the first row is the column name. Defaults to True.
  • Infer Schema: If NexusOne should guess the data type of each column. Defaults to True.
  • Delimeter: To separate each field.
  • Quote character: Protects the slicing of strings by a delimeter.
  • Date format: Indicates the date format of the CSV file.
  • Timestamp format: Indicates the timestamp format of the CSV file.
Leave these file options as defaults since the data has no special configurations needed.

Add ingest details

Add the following information to the fields:
  • Name: csv
  • Schema: csv_schema
  • Table: csv_table
  • Schedule: None
  • Mode: append
  • Tags: Don’t add any tags
For the Schedule field, None specifies that the DAG on Apache Airflow won’t rerun. After adding these details, click Ingest. Wait for a few minutes until you see a success message appear.
The DAG automatically runs on the first schedule. Recurrent runs depend on your selected schedule option.

Monitor job

After the success message from the previous instruction appears, click View Jobs or navigate to the NexusOne homepage and click Monitor. You should see your job name, csv, in the list, and its current status.

Visualize your dataset

On the NexusOne homepage, navigate to Discover > New > SQL query. Then execute the following command:
SELECT * FROM csv_schema.csv_table
visualize-csv-dataset-mtb58

Visualize your dataset

Additional resources