feat: dbt BigQuery 프로젝트 뼈대 + 로컬 stage 연결#14
Merged
Merged
Conversation
- Medallion(silver/gold) dbt 프로젝트 구조 - dev(OAuth/stage) / prod(service-account/운영) 타겟 분리 - GA4 소스를 환경변수로 dev/prod 스위칭 (sources.yml) - 데이터셋 이름 깔끔이 매크로 (generate_schema_name) - docker-compose dbt 서비스: profiles 경로 + 로컬 ADC 마운트 로컬에서 dbt debug 로 stage(koin-stage-438512) 연결 확인 완료. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughAdds dbt project and profile configuration for BigQuery, custom schema generation, GA4 event source registration, and Docker-based local OAuth/ADC support. Changesdbt BigQuery setup
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Dataform을 dbt로 전환하기 위한 첫 단계 — dbt 프로젝트 뼈대 구축.
silver(view) /gold(table) 레이어dev(OAuth, 스테이지) /prod(service-account 키, 운영),DBT_TARGET으로 스위칭KOIN_DATA_GA4_PROJECT/DATASET)로 dev/prod 입력 스위칭. 못생긴analytics_*이름은ga4별명으로 가림generate_schema_name오버라이드로 데이터셋 이름 깔끔하게 (silver_silver방지)DBT_PROFILES_DIR+ 로컬 gcloud ADC 마운트확인 완료
docker compose run --rm dbt debug→ stage(koin-stage-438512) 연결 성공 (All checks passed!)배포 안전성
--version만 실행하므로up시 자동 실행 없음.envprod 값 + Airflow DAG) 필요남은 작업 (별도 PR)
dbt run🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Chores