https://github.com/mashiike/redshift-data-set-annotator
Annotator for QuickSight datasets with Redshift as the data source
https://github.com/mashiike/redshift-data-set-annotator
Last synced: 3 months ago
JSON representation
Annotator for QuickSight datasets with Redshift as the data source
- Host: GitHub
- URL: https://github.com/mashiike/redshift-data-set-annotator
- Owner: mashiike
- License: mit
- Created: 2022-12-09T08:11:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T21:38:05.000Z (about 2 years ago)
- Last Synced: 2024-06-21T07:38:23.009Z (11 months ago)
- Language: Go
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# redshift-data-set-annotator


[](https://github.com/mashiike/redshift-data-set-annotator/blob/master/LICENSE)Annotator for QuickSight datasets with Redshift as the data source
The `redshift-data-set-annotator` is a tool to add dataset annotations based on column names, column comments, etc. for QuickSight datasets based on a single redshift Relation (table, view, etc.).
## Install
#### Homebrew (macOS and Linux)
```console
$ brew install mashiike/tap/redshift-data-set-annotator
```### Binary packages
[Releases](https://github.com/mashiike/redshift-data-set-annotator/releases)
## QuickStart
1st configure for provisoned cluster
```shell
$ redshift-data-set-annotator configure
default profile is serverless?: (yes/no) [no]: no
Enter cluster identifier: warehouse
Enter db user: admin
```and execute annotate
```shell
$ redshift-data-set-annotator annotate --data-set-id j
```## Usage
```
Usage: redshift-data-set-annotatorFlags:
-h, --help Show context-sensitive help.
--aws-account-id=STRING QuickSight aws account id
-r, --region=STRING AWS region ($AWS_REGION)
--log-level="info" output log level ($LOG_LEVEL)Commands:
configure
Create a configuration file of redshift-data-set-annotatorannotate --data-set-id=STRING
Annotate a QuickSight dataset with Redshift as the data sourceversion
Show versionRun "redshift-data-set-annotator --help" for more information on a command.
``````
Usage: redshift-data-set-annotator annotate --data-set-id=STRINGAnnotate a QuickSight dataset with Redshift as the data source
Flags:
-h, --help Show context-sensitive help.
--aws-account-id=STRING QuickSight aws account id
-r, --region=STRING AWS region ($AWS_REGION)
--log-level="info" output log level ($LOG_LEVEL)--data-set-id=STRING task ID
--dry-run if true, no update data set and display plan
--force-rename The default is to keep any renaming that has already taken place. Enabling this option forces a name overwrite.
--force-update-description The default is to keep any renaming that has already taken place. Enabling this option forces a description overwrite.
```## Column Comment
Basically, we expect comments of the following form.
``````
## LICENSE
MIT License
Copyright (c) 2022 IKEDA Masashi