Skip to content

Commit

Permalink
Docs athena default workflow (#2988)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiskus authored Aug 26, 2022
1 parent d6da2ca commit 9d9e827
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* [Added] Deep search indexing for .pptx ([#2881](https://github.com/quiltdata/quilt/pull/2881))
* [Added] Stack Status Admin UI ([#2935](https://github.com/quiltdata/quilt/pull/2935))
* [Added] Render package manifests using Perspective ([#2971](https://github.com/quiltdata/quilt/pull/2971))
* [Added] Athena default workflow config setting ([#2985](https://github.com/quiltdata/quilt/pull/2985))
* [Added] Add missing README to package ([#2960](https://github.com/quiltdata/quilt/pull/2960), [#2979](https://github.com/quiltdata/quilt/pull/2979))
* [Added] View and copy full Athena query by expanding table row ([2993](https://github.com/quiltdata/quilt/pull/2993))
* [Added] Create packages from Athena query results ([#3004](https://github.com/quiltdata/quilt/pull/3004))
Expand Down
27 changes: 22 additions & 5 deletions docs/Catalog/Preferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

You can use the configuration file to show or hide certain
tabs and buttons in the Quilt catalog. This gives you fine-grained control
over how users interact with the Quilt catalog. There is one catalog config file
over how users interact with the Quilt catalog. There is one catalog config file
per-bucket. The config file's path is `s3://BUCKET/.quilt/catalog/config.yaml`.

If there is no config.yaml, or your config.yaml file does not override the `ui`
Expand All @@ -29,9 +29,6 @@ ui:
package_description:
.*:
message: True
sourceBuckets:
s3://BUCKET_1: {}
s3://BUCKET_2: {}
```
### Properties
Expand All @@ -54,6 +51,18 @@ Revise Package > Add files from Bucket; if the dictionary is not set or is empty
* `ui.defaultSourceBucket` - source bucket from `ui.sourceBuckets` that is selected by default; if it doesn't match any bucket then it's ignored
* `ui.package_description` - a dictionary that maps package handle regular expressions or literals to JSONPath expressions of fields to show from package metadata in the package list view.
Strings display as paragraphs. Elements of a list display as tags.
* `ui.athena.defaultWorkflow` - default workflow to select on the Athena page

#### `ui.sourceBuckets` example

```yaml
ui:
sourceBuckets:
s3://bucket-a: {}
s3://bucket-b: {}
s3://bucket-c: {}
defaultSourceBucket: s3://bucket-b
```

#### `ui.package_description` example

Expand All @@ -77,4 +86,12 @@ ui:
- $.key4[0]
```

![](../imgs/package-list-selective-metadata.png)
![Example of package_description use](../imgs/package-list-selective-metadata.png)

#### `ui.athena` example

```yaml
ui:
athena:
defaultWorkflow: primary
```

0 comments on commit 9d9e827

Please sign in to comment.