diff --git a/crates/tests/databases-tests/src/citus/snapshots/databases_tests__citus__schema_tests__schema_test__get_schema.snap b/crates/tests/databases-tests/src/citus/snapshots/databases_tests__citus__schema_tests__schema_test__get_schema.snap index 1f2bab37e..b3101159f 100644 --- a/crates/tests/databases-tests/src/citus/snapshots/databases_tests__citus__schema_tests__schema_test__get_schema.snap +++ b/crates/tests/databases-tests/src/citus/snapshots/databases_tests__citus__schema_tests__schema_test__get_schema.snap @@ -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": { @@ -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": { @@ -2515,6 +2596,13 @@ expression: result } } }, + { + "name": "citus_schemas", + "arguments": {}, + "type": "citus_schemas", + "uniqueness_constraints": {}, + "foreign_keys": {} + }, { "name": "citus_tables", "arguments": {}, diff --git a/crates/tests/databases-tests/src/cockroach/snapshots/databases_tests__cockroach__query_tests__types__select_value_types.snap b/crates/tests/databases-tests/src/cockroach/snapshots/databases_tests__cockroach__query_tests__types__select_value_types.snap index e77c99ae6..6122d10bf 100644 --- a/crates/tests/databases-tests/src/cockroach/snapshots/databases_tests__cockroach__query_tests__types__select_value_types.snap +++ b/crates/tests/databases-tests/src/cockroach/snapshots/databases_tests__cockroach__query_tests__types__select_value_types.snap @@ -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" } diff --git a/docker-compose.yaml b/docker-compose.yaml index 1171f2988..492bf94e6 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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 @@ -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 @@ -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: diff --git a/static/citus/chinook-deployment.json b/static/citus/chinook-deployment.json index 26ea4d647..18d709a9a 100644 --- a/static/citus/chinook-deployment.json +++ b/static/citus/chinook-deployment.json @@ -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", @@ -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": "=",