WASM Model
The WASM Model uses WASM technology to run the analytical database within the browser, allowing for the analysis of online data. The WASM model supports the following data source types:
- CSV
- JSON
- Parquet
- Excel
Creating a WASM Model
On the model list page, click on Create WASM Model in the more menu, enter the model name in the popup, and click apply to create. Open the newly created model.
Adding Data Files
Before modeling, you need to add a data table.
- Click the add button in the data table area to create a data table.
- Enter table name: CsseCovid19Daily
- Select type: csv
- Delimiter: Default is empty or ,
- Enter link https://app.mtda.cloud/assets/data/CsseCovid19Daily.csv You can also upload data files to network storage, and the link address of the network storage will automatically fill in the link address:
- Click next to preview the data (if the file data volume is large, the page may lag), (adjust the
Last_Update
field type toDate
) - After confirming everything is correct, click apply to add the file (table) to the model.
info
Enterprise tenants can customize network storage configurations.
Detailed file configuration:
Attribute | Description | Value |
---|---|---|
Name | Table name | Any valid table name (refer to PostgreSQL) |
Type | Online file type | CSV, JSON, Parquet, Excel |
First row is header | Whether the first row of the file is the column header when the file type is CSV | |
Delimiter | Column delimiter when the file type is CSV | |
Link | Link address of the online file |
After successfully adding the data table, you can verify the data correctness through the query interface. Enter and execute SQL in the query interface to see if you can get the data from the CSV file.
The query statement is