Get a Table from a File

Opens a table from a file, provided either through direct upload or at an S3 URL.

Overview

This procedure imports a table from a file, which can be provided via direct upload to Kognitos or fetched from an S3 URL. It supports popular file formats such as CSV and Excel.

Input Concepts

Concept
Type
Description
Default
Required

file

file or string

Either a file containing a table or an S3 URL pointing to a file containing a table.

No default

Yes

Output Concepts

Concept
Description

table

The table retrieved from the file.

Examples

1. Uploading a File Directly

In this example, the file will raise a question prompting you to upload a file directly.

the file
open the table at the file

2. Specifying an S3 URL

In this example, the file is provided as an S3 URL.

the file is "s3://my-bucket/data/table.xlsx"
open a table at the file

Last updated

Was this helpful?