Upload files
You can add a source table to your primary SQL warehouse by uploading a file directly onto the visual canvas. This gives you greater control over your data and how you incorporate it into your model transformation.
Supported file types:
- CSV
- JSON
- Excel (XLS, XLSX)
- XML
- Text
- Parquet
When you upload your file through Prophecy, it's added directly to your Databricks or Snowflake SQL warehouse as a table.
The recommended maximum file size is 100 MB.
File upload
To upload your file:
- Open a pipeline.
- Drag and drop your file onto the canvas. This opens a new Source gem.
Type and format
Once the Source gem opens, you can review the type and format of the file.
- Optional: Replace or delete your uploaded file.
- Optional: Change the type and format of the file.
- Click Next.
Location
Now, set the location where the table will be stored in the primary SQL warehouse configured in your fabric.
- Choose the database.
- Choose the schema.
- Choose the table. You can either select an existing table or create a new one.
If you select an existing table, Prophecy deletes and recreates the table with your uploaded file.
Properties
You can configure the table properties before completing the file upload.
- Review the file's options. Depending on the file type and format, common defaults are already chosen for you.
- Optional: Modify the options. For example, you can change the header row by selecting First row is header.
- Optional: If you made any changes to the options, click Infer Schema. This will update the schema according to the defined options.
Preview
The preview step shows your table data and gives you the option to download it.
- To generate the preview, click Load. This loads the data.
- Check that your preview looks correct and click Done.
- If you selected a table to write your uploaded file to, you'll need to confirm the upload in the pop-up window by clicking Proceed.
The new table is now in your environment and available in Source/Target gems. You can upload another file or start working with your new source gem.