Prerequisite
Before starting this tutorial, ensure you have the following:- Required roles:
nx1_ingestandsuperset_user. - While configuring variables to deploy NexusOne,
your
ranger_repo_modevariable has the valueshared. This ensures you have thenx1-unifiedsqlservice name. NexusOne supports other values too, but this tutorial usesshared. - Two separate policies that your platform administrator creates for you:
- A policy on the schema you ingest into, such as
parquet_schemain theicebergcatalog. It should grant thealter,create,drop,insert,select, andupdatepermissions. It’s created with one of the following options:- NexusOne portal: Refer to Grant a role access to data.
- Ranger: Refer to Create a policy.
- A policy on the
s3a://<bucket>/uploadfolder in your default S3 bucket. The NexusOne team shares this bucket with you when you purchase NexusOne. It should grant thereadpermission. It’s created with one of the following options:- NexusOne portal: Refer to Grant a role access to a storage location.
- Ranger: Refer to Create a policy.
- A policy on the schema you ingest into, such as
- When you create both policies, assign them to the
nx1_ingestorsuperset_userrole.
Download a Parquet file
Use this user dataset provided by team.Upload the file to the portal
- Log in to NexusOne.
- On the top navigation bar, hover your mouse over Data, and then select Ingest.
- Click New pipeline.
- In the Source step, select Files.
- Click the Upload tab.
- Next to File, click Choose File, and select the Parquet file you downloaded.
- Wait until the filename appears with a check mark, and then confirm that the Format field shows Parquet.
- Click Next.
Add ingest details
- In the Preview and schema step, review the columns that NexusOne detected, and then click Next.
-
In the Destination step, enter the following information in the fields:
- Schema:
parquet_schema - Table:
parquet_table - Mode:
Append - Pipeline name:
parquet - Schedule:
Once
- Schema:
- Click Next.
- In the Governance step, don’t add any tags or domain, and then click Next.
- In the Review step, click Create pipeline.
Monitor the pipeline
When you create the pipeline, NexusOne creates an Airflow job and opens the Ingest page, which lists your pipelines in a table. Since you set the pipeline to run once, as soon as it’s created, you can monitor the run using the following steps:- On the Ingest page, click the All tab to show pipelines with any status.
- Select Mine to show only your pipelines.
- In the table, find your pipeline,
parquet, and click it. - On the pipeline’s page, click the Runs tab.
- Find the latest run in the list, and watch its status in the Result column.
- Wait for a few minutes and refresh your browser until the status in the Result column changes to
Succeeded.
Visualize your dataset
Use the following steps to visualize your dataset:- On the top navigation bar, hover your mouse over Platform, and then select Tools.
- On the Superset card, click SQL Lab to launch Superset’s SQL Lab.
-
Enter the following command in the query box:

Visualize your dataset
Additional resources
- To get an overview of what file ingestion is, refer to Data ingestion overview.
- For general instructions about how to ingest a file in NexusOne, refer to How to ingest a file.
- For more information about roles or permissions, refer to IAM.

