Skip to content

Commit cf11d52

Browse files
committed
include types returning Int64AsString in sum functions
1 parent e0cf303 commit cf11d52

File tree

1 file changed

+5
-1
lines changed
  • crates/connectors/ndc-postgres/src/schema

1 file changed

+5
-1
lines changed

crates/connectors/ndc-postgres/src/schema/mod.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ pub fn get_schema(
5555
// any other will simply be a custom sum function. eg. sum over intervals
5656
(
5757
"sum",
58-
Some(TypeRepresentation::Float64 | TypeRepresentation::Int64),
58+
Some(
59+
TypeRepresentation::Float64
60+
| TypeRepresentation::Int64
61+
| TypeRepresentation::Int64AsString,
62+
),
5963
) => models::AggregateFunctionDefinition::Sum {
6064
result_type: function_definition.return_type.clone().into(),
6165
},

0 commit comments

Comments
 (0)