Skip to content

Commit 9ead514

Browse files
Merge pull request mendix#10894 from mendix/kk-snow-dataloader-logtable
Accessing snowflake logs
2 parents 9c8d736 + 8d78695 commit 9ead514

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

content/en/docs/marketplace/platform-supported-content/modules/snowflake/mendix-data-loader.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,23 @@ If you encounter any issues while using the Mendix Data Loader, use the followin
340340

341341
For any additional troubleshooting, contact the [development team](mailto:mendix-tech-alliance-dev-team.disw@siemens.com).
342342

343+
### Accessing the Snowflake Logs
344+
345+
Snowflake works with a logging table. To view the logs, create a Snowflake worksheet and use it to execute SQL commands like the following.
346+
347+
To create a log table if it does not exist:
348+
349+
```sql
350+
CREATE EVENT TABLE <Db_Name>.<Schema_Name>.LogTable;
351+
ALTER ACCOUNT SET EVENT_TABLE = <Db_Name>.<Schema_Name>.LogTable;
352+
```
353+
354+
To view the logs in the log table:
355+
356+
```sql
357+
SELECT * FROM <Db_Name>.<Schema_Name>.LogTable WHERE TIMESTAMP BETWEEN '2024-07-01 00:00:01' AND '2024-07-02 23:59:59' ORDER BY TIMESTAMP DESC;
358+
```
359+
343360
### Ingestion Fails at RETRIEVING_METADATA
344361

345362
When ingesting data, the Mendix Data Loader displays an error similar to the following: `connection.ConnectionValidationException: Failed to validate connection to https://nodename.mendixcloud.com/odata/TableName/v1/`.

0 commit comments

Comments
 (0)