Conversation
* Update project dependencies * Bumps dbt_utils to 1.3.3 * Fixes materialization config on dbt_project.yml to prevent warnings * Updates upper bondandaries for Python (<3.14)
* `fct_fhv_monthly_zone_traveltime_p90`: computes the P90 travel time (in seconds) per pickup/dropoff zone pair per month for FHV trips, ranked by longest travel time * `fct_taxi_trips_monthly_fare_p95`: calculates P97, P95, and P90 fare percentiles by service type per month, filtering for valid cash/credit card trips * `fct_taxi_trips_quarterly_revenue`: aggregates quarterly revenue and trip counts
b091e17 to
1f95544
Compare
* Adds exhaustive clause (else) on resolve_payment_type_desc * Minor update on var name
8adbdca to
153db80
Compare
|
@claude code review it |
|
Claude finished @iobruno's task in 2m 40s —— View job Code Review Complete ✓
Review SummaryOverall, this is a well-structured refactor that modernizes the dbt-redshift project with improved models, better deduplication, and updated dependencies. The code quality is high, and the changes are mostly solid. However, there are several issues that should be addressed before merging. 🔴 Critical Issues1. Incorrect Function in
|
Summary
stg_green_,stg_yellow_,stg_fhv_)QUALIFYon main SELECT stmtQUALIFY) onstg_fhvfor consistencydim_fhv_trips,dim_taxi_trips)year,quarter, andmonthfields from pickup/dropoff timestampsto support downstream aggregations; shortened join aliases for readability
fct_fhv_monthly_zone_traveltime_p90: computes the P90 travel time (in seconds)per pickup/dropoff zone pair per month for FHV trips, ranked by longest travel time
fct_taxi_trips_monthly_fare_p95: calculates P97, P95, and P90 fare percentilesby service type per month, filtering for valid cash/credit card trips
fct_taxi_trips_quarterly_revenue: aggregates quarterly revenue and trip countsby service type with year-over-year growth percentage
resolve_payment_type_descmacroastral-sh/uv:python3.13-trixie-slimas base image for builder stageand
python3.13-slimas base image for the runner stageremoved the dbt logo in Remove dbt simple-icons/simple-icons#13525
Test plan
dbt buildto validate all models compile and execute against BigQuerydim_fhv_tripsanddim_taxi_tripsstill pass existing tests after the schema changes🤖 Generated with Claude Code