View a markdown version of this page

AWS Glue Data Catalog에 대한 비즈니스 용어집 - AWS Glue

AWS Glue Data Catalog에 대한 비즈니스 용어집

참고

AWS Glue의 비즈니스 컨텍스트와 시맨틱 검색은 미리 보기로 제공되며 변경될 수 있습니다.

비즈니스 용어집은 조직 내에서 비즈니스 개념을 정의하는 제어된 어휘 용어를 위한 컨테이너입니다. 용어집 용어를 Data Catalog 자산과 연결하여 비즈니스 의미를 부여하고 시맨틱 검색을 통한 검색 가능성을 높입니다.

용어집 생성

CreateGlossary를 사용하여 비즈니스 용어집을 생성합니다.

aws glue create-glossary \ --name "Finance Data Definitions" \ --description "Standardized financial terms used across reporting and analytics"

출력 예시:

{ "Id": "gl-c9vq7sh2fk4t2h", "Name": "Finance Data Definitions" }

용어집 용어 생성

CreateGlossaryTerm을 사용하여 용어집에 용어를 추가합니다.

aws glue create-glossary-term \ --glossary-identifier glossary-id \ --name "Active User" \ --short-description "A user with at least one login in the last 30 days" \ --long-description "An account that has logged in at least once within the trailing 30-day window. Used as the standard engagement metric across all product teams."

출력 예시:

{ "Id": "gt-d7xm3np5rk2w9j", "GlossaryId": "gl-c9vq7sh2fk4t2h", "Name": "Active User" }

자산과 용어집 용어 연결

AssociateGlossaryTerms를 사용하여 용어를 Data Catalog 자산과 연결합니다.

참고

미리 보기 중 자산당 최대 10개의 용어집 용어를 연결할 수 있습니다.

aws glue associate-glossary-terms \ --identifier asset-id \ --glossary-term-identifiers '["term-id-1", "term-id-2"]'

출력 예시:

{ "Identifier": "c2fymbu18rtsx5", "GlossaryTerms": [ {"Id": "gt-d7xm3np5rk2w9j", "Name": "Active User"}, {"Id": "gt-h4kp9wt6mq3v2n", "Name": "PII"} ] }

용어집 용어 연결 제거

DisassociateGlossaryTerms를 사용하여 자산에서 용어 연결을 제거합니다.

aws glue disassociate-glossary-terms \ --identifier asset-id \ --glossary-term-identifiers '["term-id"]'

용어집 및 용어 업데이트

업데이트는 즉시 적용되며 검색 결과에 반영됩니다.

용어집을 생성하려면

UpdateGlossary를 사용합니다.

aws glue update-glossary \ --identifier glossary-id \ --name "Enterprise Finance Glossary" \ --description "Updated standardized financial terms for enterprise reporting"
용어집 용어를 업데이트하려면

UpdateGlossaryTerm을 사용합니다.

aws glue update-glossary-term \ --identifier term-id \ --name "Monthly Active User" \ --short-description "A user with at least one login in the last 30 days"

용어집 및 용어 삭제

용어집을 삭제하려면 먼저 용어집에서 모든 용어를 삭제해야 합니다.

용어집 용어를 삭제하려면

DeleteGlossaryTerm을 사용합니다.

aws glue delete-glossary-term \ --identifier term-id
용어집을 삭제하려면

모든 용어를 제거한 후 DeleteGlossary를 사용합니다.

aws glue delete-glossary \ --identifier glossary-id

용어집 및 용어 삭제

ListGlossariesListGlossaryTerms 모두 MaxResultsNextToken을 사용하여 쪽수 매기기를 지원합니다.

모든 용어집을 나열하려면

다음 명령을 실행합니다.

aws glue list-glossaries \ --max-results 10

출력 예시:

{ "Items": [ {"Id": "gl-c9vq7sh2fk4t2h", "Name": "Finance Data Definitions"}, {"Id": "gl-f8yn2bx7jl5r4k", "Name": "Marketing Glossary"} ] }
용어집의 용어를 나열하려면

다음 명령을 실행합니다.

aws glue list-glossary-terms \ --glossary-identifier glossary-id \ --max-results 10

출력 예시:

{ "GlossaryId": "gl-c9vq7sh2fk4t2h", "Items": [ {"Id": "gt-d7xm3np5rk2w9j", "Name": "Active User"}, {"Id": "gt-j6rm4xv9np8w3t", "Name": "EBITDA"} ] }

용어집 및 용어 세부 정보 검색

용어집을 검색하려면

다음 명령을 실행합니다.

aws glue get-glossary \ --identifier glossary-id
용어집을 검색하려면

다음 명령을 실행합니다.

aws glue get-glossary-term \ --identifier term-id