Skip to content

Commit

Permalink
Upgrade the databases we test against. (#181)
Browse files Browse the repository at this point in the history
### What

Let's ensure we work with the latest versions.

### How

I found the latest versions of each of the Docker image tags.

Citus and CockroachDB had changes that were caught by the tests. They
seem perfectly benign.
  • Loading branch information
SamirTalwar authored Nov 20, 2023
1 parent e4881fc commit 0278ae5
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,47 @@ expression: result
}
}
},
"regnamespace": {
"aggregate_functions": {},
"comparison_operators": {
"_eq": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
},
"_gt": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
},
"_gte": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
},
"_lt": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
},
"_lte": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
},
"_neq": {
"argument_type": {
"type": "named",
"name": "regnamespace"
}
}
}
},
"text": {
"aggregate_functions": {
"max": {
Expand Down Expand Up @@ -2069,6 +2110,46 @@ expression: result
}
}
},
"citus_schemas": {
"fields": {
"colocation_id": {
"type": {
"type": "nullable",
"underlying_type": {
"type": "named",
"name": "int4"
}
}
},
"schema_name": {
"type": {
"type": "nullable",
"underlying_type": {
"type": "named",
"name": "regnamespace"
}
}
},
"schema_owner": {
"type": {
"type": "nullable",
"underlying_type": {
"type": "named",
"name": "name"
}
}
},
"schema_size": {
"type": {
"type": "nullable",
"underlying_type": {
"type": "named",
"name": "text"
}
}
}
}
},
"citus_tables": {
"fields": {
"access_method": {
Expand Down Expand Up @@ -2515,6 +2596,13 @@ expression: result
}
}
},
{
"name": "citus_schemas",
"arguments": {},
"type": "citus_schemas",
"uniqueness_constraints": {},
"foreign_keys": {}
},
{
"name": "citus_tables",
"arguments": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ expression: result
"time": "02:35:59",
"timestamp": "2013-11-03T02:35:59",
"timestamptz": "2013-11-03T09:35:59Z",
"timetz": "02:35:59-07:00:00",
"timetz": "02:35:59-07",
"uuid": "7992fdfa-65b5-11ed-8612-6a8b11ef7372",
"varchar": "varchar string"
}
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
retries: 20

cockroach:
image: cockroachdb/cockroach:latest-v22.2
image: cockroachdb/cockroach:latest-v23.1
command:
- start-single-node
- --insecure
Expand All @@ -55,7 +55,7 @@ services:
retries: 20

citus:
image: citusdata/citus:11.3.0
image: citusdata/citus:12.1.1
platform: linux/amd64
command:
- -F # turn fsync off for speed
Expand All @@ -82,7 +82,7 @@ services:
retries: 20

yugabyte:
image: yugabytedb/yugabyte:2.18.3.0-b75
image: yugabytedb/yugabyte:2.19.3.0-b140
platform: linux/amd64
# we use a custom script to start Yugabyte and then load Chinook data
command:
Expand Down
59 changes: 59 additions & 0 deletions static/citus/chinook-deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,39 @@
},
"description": null
},
"citus_schemas": {
"schemaName": "public",
"tableName": "citus_schemas",
"columns": {
"colocation_id": {
"name": "colocation_id",
"type": "int4",
"nullable": "nullable",
"description": null
},
"schema_name": {
"name": "schema_name",
"type": "regnamespace",
"nullable": "nullable",
"description": null
},
"schema_owner": {
"name": "schema_owner",
"type": "name",
"nullable": "nullable",
"description": null
},
"schema_size": {
"name": "schema_size",
"type": "text",
"nullable": "nullable",
"description": null
}
},
"uniquenessConstraints": {},
"foreignRelations": {},
"description": null
},
"citus_tables": {
"schemaName": "public",
"tableName": "citus_tables",
Expand Down Expand Up @@ -1570,6 +1603,32 @@
"argumentType": "regclass"
}
},
"regnamespace": {
"_eq": {
"operatorName": "=",
"argumentType": "regnamespace"
},
"_gt": {
"operatorName": ">",
"argumentType": "regnamespace"
},
"_gte": {
"operatorName": ">=",
"argumentType": "regnamespace"
},
"_lt": {
"operatorName": "<",
"argumentType": "regnamespace"
},
"_lte": {
"operatorName": "<=",
"argumentType": "regnamespace"
},
"_neq": {
"operatorName": "<>",
"argumentType": "regnamespace"
}
},
"text": {
"_eq": {
"operatorName": "=",
Expand Down

0 comments on commit 0278ae5

Please sign in to comment.