Infer 설정

Infer 설정

dbt 인스턴스에서 Infer에 연결하기 위한 프로필 설정을 정리한 페이지예요. profiles.yml의 형식과 각 프로필 필드가 무엇을 의미하는지를 소개해요.

출처: dbt 공식 문서

본문

인증

dbt 인스턴스에서 Infer에 연결하려면 profiles.yml에 올바른 프로필을 설정해야 해요.

형식은 다음과 같아요.

~/.dbt/profiles.yml

<profile-name>:
  target: <target-name>
  outputs:
    <target-name>:
      type: infer
      url: "<infer-api-endpoint>"
      username: "<infer-api-username>"
      apikey: ***
      data_config:
        [configuration for your underlying data warehouse]

Infer 프로필 필드 설명

필드 필수 설명
type infer로 설정해야 해요. profiles.yml이나 dbt_project.yml 파일에 반드시 포함해야 해요.
url 연결할 Infer 서버의 호스트 이름이에요. 보통 https://app.getinfer.io예요.
username 로그인할 때 쓰는 Infer 사용자 이름이에요.
apikey Infer API 키예요.
data_config 기본 데이터 웨어하우스의 설정이에요. 형식은 해당 데이터 웨어하우스 어댑터의 설정 형식을 따르면 돼요.

더 알아보기 (Learn more)