Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/scalardb-analytics/run-analytical-queries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,23 @@ You can use an arbitrary name for `<DATA_SOURCE_NAME>`.
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.database` | No | The name of the database to connect to |
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.secure` | No | Whether to use a secure connection to the SQL Server server. Set to `true` to use a secure connection. |

:::tip

You can use an arbitrary name for `<DATA_SOURCE_NAME>`.

:::

</TabItem>
<TabItem value="dynamodb" label="DynamoDB">

| Configuration Key | Required | Description |
|:---------------------------------------------------------------------------|:------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.type` | Yes | Always set to `dynamodb` |
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.region` | Either `region` or `endpoint` must be set | The AWS region of the DynamoDB instance |
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.endpoint` | Either `region` or `endpoint` must be set | The AWS endpoint of the DynamoDB instance |
| `spark.sql.catalog.<CATALOG_NAME>.data_source.<DATA_SOURCE_NAME>.schema` | Yes | A JSON object representing the schema of the catalog. For details on the format, see [Catalog-level mappings](./design.mdx#catalog-level-mappings). |


:::tip

You can use an arbitrary name for `<DATA_SOURCE_NAME>`.
Expand Down