Skip to content

Commit d2ec6aa

Browse files
committed
Fix lifecycle runtime regressions
1 parent 3e129d1 commit d2ec6aa

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎src/openstatspec/sql/profiles.py‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,16 +225,11 @@ def preflight(
225225
)
226226
if value is not None and not math.isfinite(float(value)):
227227
raise _exceeded(
228-
"numeric_value_not_finite",
228+
"nonfinite_numeric_value",
229229
f"row {row_ordinal} value for {variable['source_name']!r} "
230230
"is not finite; non-finite adapter inputs are rejected.",
231231
row_ordinal=row_ordinal,
232232
source_name=variable["source_name"],
233-
classification=(
234-
"nan" if math.isnan(float(value))
235-
else "positive_infinity" if float(value) > 0
236-
else "negative_infinity"
237-
),
238233
)
239234
row_bytes += 8
240235
continue

0 commit comments

Comments
 (0)