Skip to content

Commit

Permalink
fix: keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
cbini committed Oct 8, 2024
1 parent a3a6aa6 commit 71fd947
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/dbt/iready/models/sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ version: 2
sources:
- name: iready
schema: "{{ var('iready_schema', env_var('DBT_DEV_IREADY_SCHEMA', 'iready')) }}"
database:
"{% if target.type != 'spark' %}{{ var('iready_database', target.database) }}{% endif %}"
database: "{{ var('iready_database', target.database) }}"
tags:
- stage_external_sources
tables:
Expand Down
10 changes: 5 additions & 5 deletions src/dbt/iready/models/staging/stg_iready__diagnostic_results.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ with
annual_stretch_growth_measure,
annual_typical_growth_measure,
completion_date,
grouping,
`grouping`,
mid_on_grade_level_scale_score,
most_recent_diagnostic_y_n,
most_recent_diagnostic_ytd_y_n,
Expand All @@ -14,11 +14,11 @@ with
`subject`
),

cast(_dagster_partition_academic_year as int) as academic_year_int,

parse_date('%m/%d/%Y', `start_date`) as `start_date`,
parse_date('%m/%d/%Y', completion_date) as completion_date,

cast(_dagster_partition_academic_year as int) as academic_year_int,

coalesce(
student_grade.string_value, cast(student_grade.long_value as string)
) as student_grade,
Expand All @@ -34,8 +34,8 @@ with
) as annual_typical_growth_measure,

coalesce(
grouping.long_value, cast(grouping.double_value as int)
) as grouping,
`grouping`.long_value, cast(`grouping`.double_value as int)
) as `grouping`,

coalesce(
mid_on_grade_level_scale_score.long_value,
Expand Down
1 change: 0 additions & 1 deletion src/teamster/libraries/schoolmint/grow/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def schoolmint_grow_user_update_op(

schoolmint_grow.delete(*request_args)
except Exception as e:
context.log.exception(e)
exception_str.append(str(e))

exceptions.append("\t".join(exception_str))
Expand Down

0 comments on commit 71fd947

Please sign in to comment.