Skip to content

Commit f93a5b3

Browse files
committed
schema snapshots updated to reflect changes in sum aggregates definition
1 parent 2d2084f commit f93a5b3

File tree

3 files changed

+15
-49
lines changed

3 files changed

+15
-49
lines changed

crates/tests/databases-tests/src/citus/snapshots/databases_tests__citus__schema_tests__schema_test__get_schema.snap

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -537,14 +537,8 @@ snapshot_kind: text
537537
}
538538
},
539539
"sum": {
540-
"type": "custom",
541-
"result_type": {
542-
"type": "nullable",
543-
"underlying_type": {
544-
"type": "named",
545-
"name": "int8"
546-
}
547-
}
540+
"type": "sum",
541+
"result_type": "int8"
548542
},
549543
"var_pop": {
550544
"type": "custom",
@@ -957,14 +951,8 @@ snapshot_kind: text
957951
}
958952
},
959953
"sum": {
960-
"type": "custom",
961-
"result_type": {
962-
"type": "nullable",
963-
"underlying_type": {
964-
"type": "named",
965-
"name": "int8"
966-
}
967-
}
954+
"type": "sum",
955+
"result_type": "int8"
968956
},
969957
"var_pop": {
970958
"type": "custom",
@@ -1123,14 +1111,8 @@ snapshot_kind: text
11231111
}
11241112
},
11251113
"sum": {
1126-
"type": "custom",
1127-
"result_type": {
1128-
"type": "nullable",
1129-
"underlying_type": {
1130-
"type": "named",
1131-
"name": "int8"
1132-
}
1133-
}
1114+
"type": "sum",
1115+
"result_type": "int8"
11341116
},
11351117
"var_pop": {
11361118
"type": "custom",

crates/tests/databases-tests/src/postgres/snapshots/databases_tests__postgres__schema_tests__schema_test__get_schema.snap

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -691,14 +691,8 @@ snapshot_kind: text
691691
}
692692
},
693693
"sum": {
694-
"type": "custom",
695-
"result_type": {
696-
"type": "nullable",
697-
"underlying_type": {
698-
"type": "named",
699-
"name": "int8"
700-
}
701-
}
694+
"type": "sum",
695+
"result_type": "int8"
702696
},
703697
"var_pop": {
704698
"type": "custom",
@@ -1209,14 +1203,8 @@ snapshot_kind: text
12091203
}
12101204
},
12111205
"sum": {
1212-
"type": "custom",
1213-
"result_type": {
1214-
"type": "nullable",
1215-
"underlying_type": {
1216-
"type": "named",
1217-
"name": "int8"
1218-
}
1219-
}
1206+
"type": "sum",
1207+
"result_type": "int8"
12201208
},
12211209
"var_pop": {
12221210
"type": "custom",
@@ -1375,14 +1363,8 @@ snapshot_kind: text
13751363
}
13761364
},
13771365
"sum": {
1378-
"type": "custom",
1379-
"result_type": {
1380-
"type": "nullable",
1381-
"underlying_type": {
1382-
"type": "named",
1383-
"name": "int8"
1384-
}
1385-
}
1366+
"type": "sum",
1367+
"result_type": "int8"
13861368
},
13871369
"var_pop": {
13881370
"type": "custom",

crates/tests/databases-tests/src/snapshots/databases_tests__capabilities_tests__get_capabilities.snap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
source: crates/tests/databases-tests/src/capabilities_tests.rs
33
expression: "ndc_postgres::capabilities::get_capabilities()"
4+
snapshot_kind: text
45
---
56
{
67
"query": {
@@ -9,7 +10,8 @@ expression: "ndc_postgres::capabilities::get_capabilities()"
910
"explain": {},
1011
"nested_fields": {
1112
"filter_by": {},
12-
"order_by": {}
13+
"order_by": {},
14+
"aggregates": {}
1315
},
1416
"exists": {
1517
"nested_collections": {}

0 commit comments

Comments
 (0)