View a markdown version of this page

Reading from Coda entities - AWS Glue

Reading from Coda entities

Prerequisites

A Coda object you want to read from. For the available entities, see the following supported entities table.

The docs, folders, and doc-analytics entities are top-level entities. The controls, doc-permissions, pages, and tables entities belong to a doc. The columns and rows entities belong to a table in a doc. For a nested entity, set ENTITY_NAME to the full entity path that AWS Glue returns when it lists the entities for your connection, for example rows/docId/tableId.

Supported entities for source

EntityCan be filteredSupports limitSupports select *Supports order bySupports partitioning
columnsNoYesYesNoNo
controlsNoYesYesNoNo
doc-analyticsYesYesYesNoNo
doc-permissionsNoYesYesNoNo
docsYesYesYesNoNo
foldersYesYesYesNoNo
pagesNoYesYesNoNo
rowsYesYesYesNoNo
tablesYesYesYesNoNo
Example – Reading from a Coda entity

The following Python example reads from the docs entity. Replace connectionName with the name of your Coda connection:

read_df = glueContext.create_dynamic_frame.from_options( connection_type="coda", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "docs" } )