Closed cockroach-teamcity closed 3 years ago
(compose).TestComposeCompare failed on master@89c379950cb4ca77c5d25e45aac4008b1f1758d9:
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-09 06:11:23.311 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-09 06:11:23.329 UTC [49] LOG: database system was shut down at 2021-03-09 06:11:23 UTC
postgres_1 | 2021-03-09 06:11:23.334 UTC [48] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
test_1 | --- FAIL: TestCompare (1.46s)
test_1 | --- FAIL: TestCompare/postgres (0.42s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
test_1 | --- FAIL: TestCompare/mutators (1.04s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 UUID NOT NULL, col1_1 INTERVAL NOT NULL, col1_2 INET NOT NULL, col1_3 REGCLASS, col1_4 INT8 NOT NULL, col1_5 BOOL NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_7 STRING NOT NULL, col1_8 TIMETZ, col1_9 UUID, col1_10 BOX2D, col1_11 NAME, col1_12 TIMESTAMPTZ, col1_13 REGCLASS NOT NULL, col1_14 REGPROC NULL, PRIMARY KEY (col1_7, col1_5 DESC), col1_15 STRING NULL AS (lower(CAST(col1_5 AS STRING))) VIRTUAL, col1_16 STRING NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_17 STRING NOT NULL AS (lower(CAST(col1_13 AS STRING))) VIRTUAL, INDEX (col1_13, col1_10 DESC, col1_7 ASC, col1_8 ASC, col1_4 DESC) STORING (col1_2, col1_3, col1_6, col1_9, col1_11, col1_12) WHERE (table1.col1_11 = '':::STRING) AND (table1.col1_7 != e'\x00':::STRING), INDEX (col1_3 DESC, col1_1, col1_0, col1_17 ASC, col1_8 DESC, col1_12 DESC, col1_6 DESC, col1_10 ASC, col1_4 ASC, col1_5 ASC, col1_9, col1_16, col1_2 ASC, col1_14 DESC, col1_15, col1_13) STORING (col1_11) WHERE (((table1.col1_8 > '24:00:00-15:59:00':::TIMETZ) AND (table1.col1_15 <= 'X':::STRING)) AND (table1.col1_16 < e'\x00':::STRING)) OR table1.col1_5, INDEX (col1_0) STORING (col1_2, col1_3, col1_4, col1_8, col1_10, col1_11, col1_13, col1_14, col1_16) WHERE (((((table1.col1_11 <= 'X':::STRING) OR (table1.col1_6 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_17 > '':::STRING)) OR (table1.col1_4 = 2147483647:::INT8)) OR (table1.col1_7 > e'\U00002603':::STRING)) AND (table1.col1_16 > '"':::STRING), INDEX (col1_7, col1_0 DESC, col1_11 ASC, col1_14, col1_16 ASC, col1_15 DESC, col1_8, col1_13 ASC, col1_12, col1_3 ASC, col1_2 ASC, col1_4, col1_6) STORING (col1_10), FAMILY (col1_4, col1_14), FAMILY (col1_0, col1_6), FAMILY (col1_2), FAMILY (col1_13, col1_3, col1_12, col1_9), FAMILY (col1_10), FAMILY (col1_11, col1_1), FAMILY (col1_8), FAMILY (col1_7), FAMILY (col1_5, col1_16));
test_1 | CREATE TABLE table2 (col1_7 STRING NOT NULL, col1_5 BOOL NOT NULL, col2_2 INT8 NULL, col2_3 INT4, col2_4 BOOL NULL, col2_5 INT4 NOT NULL, col2_6 DECIMAL NULL, col2_7 INT2 NOT NULL, col2_8 OID, col2_9 OID, col2_10 FLOAT8 NOT NULL, col2_11 UUID NULL, col2_12 TIME, col2_13 BYTES NULL, col2_14 DATE NOT NULL, col2_15 REGTYPE NULL, col2_16 BOX2D NOT NULL, col2_17 REGPROCEDURE NOT NULL, col2_18 BYTES NULL, col2_19 BOOL, col2_20 UUID, PRIMARY KEY (col1_7, col1_5 DESC, col2_2 ASC, col2_16 ASC, col2_12 DESC, col2_4 ASC, col2_11), FAMILY (col1_7, col2_8), FAMILY (col2_18, col2_17), FAMILY (col2_19), FAMILY (col2_10), FAMILY (col2_3), FAMILY (col1_5, col2_9, col2_12, col2_5), FAMILY (col2_11, col2_14), FAMILY (col2_6), FAMILY (col2_20, col2_15), FAMILY (col2_13, col2_2, col2_16), FAMILY (col2_7), FAMILY (col2_4)) INTERLEAVE IN PARENT table1 (col1_7, col1_5);
test_1 | CREATE TABLE table3 (col3_0 INT2 NULL, col3_1 INT2 NOT NULL, col3_2 INT4 NOT NULL, col3_3 BOX2D NOT NULL, col3_4 DATE NOT NULL, col3_5 DECIMAL, col3_6 DECIMAL NOT NULL, col3_7 CHAR NOT NULL, col3_8 OID NOT NULL, col3_9 BIT(39) NOT NULL, col3_10 TIME NOT NULL, col3_11 TIME, PRIMARY KEY (col3_7 ASC, col3_3 DESC, col3_6, col3_9 DESC, col3_4 ASC, col3_8, col3_2 ASC, col3_10 ASC), col3_12 INT2 AS (col3_0 + (-5432):::INT8) VIRTUAL, UNIQUE (col3_4, col3_10, col3_5 DESC, col3_1 ASC, col3_7 DESC, col3_11 ASC) WHERE ((table3.col3_5 >= 'NaN':::DECIMAL) AND (table3.col3_0 > 0:::INT8)) AND (table3.col3_12 > (-1):::INT8), UNIQUE (col3_4 DESC, col3_9, col3_10 DESC, col3_3, col3_12 DESC, col3_5, col3_0, col3_11 ASC, col3_6 ASC) STORING (col3_1) WHERE (((((((((table3.col3_12 >= (-1):::INT8) AND (table3.col3_11 != '24:00:00':::TIME)) OR (table3.col3_1 >= 0:::INT8)) OR (table3.col3_7 = '':::STRING)) AND (table3.col3_0 >= (-1):::INT8)) AND (table3.col3_5 = 1:::DECIMAL)) OR (table3.col3_2 <= (-1):::INT8)) OR (table3.col3_10 = '00:00:00':::TIME)) OR (table3.col3_6 <= 1:::DECIMAL)) OR (table3.col3_4 <= '-infinity':::DATE), INDEX (col3_2 ASC, col3_9 ASC, col3_11, col3_10 ASC, col3_12 ASC, col3_3 ASC, col3_5, col3_6, col3_1, col3_4 DESC, col3_8) WHERE (((table3.col3_7 != e'\'':::STRING) AND (table3.col3_1 < 1:::INT8)) AND (table3.col3_12 > (-1):::INT8)) OR (table3.col3_6 < '-Infinity':::DECIMAL), INDEX (col3_0 ASC, col3_6 ASC, col3_9 DESC, col3_8, col3_7 DESC, col3_11 DESC, col3_5, col3_2 ASC, col3_10 ASC), UNIQUE (col3_3 DESC, col3_11 ASC, col3_9 ASC, col3_12 DESC, col3_7 DESC) WHERE (((((table3.col3_1 = (-32768):::INT8) AND (table3.col3_7 > '"':::STRING)) OR (table3.col3_11 >= '24:00:00':::TIME)) OR (table3.col3_6 <= (-1.234E+401):::DECIMAL)) AND (table3.col3_4 >= '1970-01-01':::DATE)) AND (table3.col3_0 < 127:::INT8), UNIQUE (col3_0) STORING (col3_1) WHERE (((((((table3.col3_2 != 2147483647) OR (table3.col3_5 <= NaN)) OR (table3.col3_1 < 0)) AND (table3.col3_7 >= '"')) AND (table3.col3_11 > '24:00:00')) OR (table3.col3_12 < -128)) AND (table3.col3_4 = 'infinity')) OR (table3.col3_6 < 1), FAMILY (col3_10), FAMILY (col3_4), FAMILY (col3_3), FAMILY (col3_8, col3_7, col3_2), FAMILY (col3_5, col3_9), FAMILY (col3_6, col3_0), FAMILY (col3_1), FAMILY (col3_11));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5252522633127418678, "histo_buckets": [{"distinct_range": 0, "num_eq": 1566826249963425442, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 54922.3281750524, "num_eq": 2603343692948982412, "num_range": 90000, "upper_bound": "0bce971d-8a2f-4174-903e-e329c4594a1f"}, {"distinct_range": 0, "num_eq": 3229207734588124075, "num_range": 70000000000, "upper_bound": "27aa06b2-23b0-4657-bf1a-868c2caa4267"}, {"distinct_range": 6250490.203857712, "num_eq": 9000, "num_range": 8000000, "upper_bound": "2adf3522-a923-4e7f-b195-0d87f94f6db3"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 1000000, "upper_bound": "2b6bdabd-4d3d-4398-9e2b-e91c00db922d"}, {"distinct_range": 0, "num_eq": 6901762048339736075, "num_range": 300000000, "upper_bound": "5e9314c2-3e6e-4ada-99f4-de63d53539b3"}, {"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "7637fe0c-fc1a-4100-8d38-ce60fee73f4a"}, {"distinct_range": 5452118470231646000, "num_eq": 30, "num_range": 5950706832199024340, "upper_bound": "db9c01ee-ca83-4cd9-a8e4-fb63545fbeaf"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1617510120016612513, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2373548466731433415, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1170562097425503500, "num_eq": 60000000000, "num_range": 3374604166267251746, "upper_bound": "2408116281"}, {"distinct_range": 7053.003687852531, "num_eq": 90000, "num_range": 9000, "upper_bound": "2697176809"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 307390625408134312, "row_count": 5264773068629512561}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3235456448938197027, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4146689860839378297, "histo_col_type": "", "name": "__auto__", "null_count": 1575928143738560249, "row_count": 5264773068629512561}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1077391898672556377, "histo_col_type": "", "name": "__auto__", "null_count": 3888091711992327439, "row_count": 5264773068629512561}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4694106640063611410, "histo_col_type": "", "name": "__auto__", "null_count": 3536021012379154036, "row_count": 5264773068629512561}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 150630480523201899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3140973219383891661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2761215638782107736, "histo_col_type": "", "name": "__auto__", "null_count": 1716409782566935870, "row_count": 5264773068629512561}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2503032092598807648, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3466774420260489958, "histo_buckets": [{"distinct_range": 0, "num_eq": 6167840909367221526, "num_range": 0, "upper_bound": "\\u0010+\\\\\\u00119\\u001fx\\u001a\\u0013"}, {"distinct_range": 109655612631351250, "num_eq": 200000000, "num_range": 109655612631351251, "upper_bound": "\\u0013\\"XXx"}, {"distinct_range": 2782593633653293000, "num_eq": 10, "num_range": 8013407933529129428, "upper_bound": "("}, {"distinct_range": 5000000, "num_eq": 600000000, "num_range": 5000000, "upper_bound": ",g"}, {"distinct_range": 7000, "num_eq": 5000000000, "num_range": 7000, "upper_bound": "-wGW\\u0013"}, {"distinct_range": 5191.7051612499, "num_eq": 1594205357511693941, "num_range": 10000, "upper_bound": "^8V|"}, {"distinct_range": 8636596115089288000, "num_eq": 3000000000, "num_range": 8636596115089287753, "upper_bound": "al\\u0011G&"}, {"distinct_range": 5855712511529231000, "num_eq": 8660650487161941817, "num_range": 5855712511529231142, "upper_bound": "h;h]l"}, {"distinct_range": 80000000000, "num_eq": 6419716486793675035, "num_range": 80000000000, "upper_bound": "i"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3803773540353696747, "histo_col_type": "", "name": "__auto__", "null_count": 2047662578572271410, "row_count": 5264773068629512561}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3451049609541250519, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "514561561"}, {"distinct_range": 0, "num_eq": 3741918705345740299, "num_range": 6232716396626965961, "upper_bound": "2580603870"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1481180118622691609, "histo_col_type": "", "name": "__auto__", "null_count": 3064988769034632803, "row_count": 5264773068629512561}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2678455511722050700, "histo_col_type": "", "name": "__auto__", "null_count": 4346267631527407850, "row_count": 5264773068629512561}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 626341303612084165, "histo_col_type": "", "name": "__auto__", "null_count": 1519484172729407089, "row_count": 5264773068629512561}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 617440104189040949, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5264773068629512561}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 531089262, "histo_col_type": "", "name": "__auto__", "null_count": 2269638, "row_count": 800000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271861981, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 536033038, "histo_col_type": "", "name": "__auto__", "null_count": 229706442, "row_count": 800000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 188291910, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199445986, "histo_col_type": "", "name": "__auto__", "null_count": 566394165, "row_count": 800000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 660007258, "histo_col_type": "", "name": "__auto__", "null_count": 739896283, "row_count": 800000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 550818419, "histo_col_type": "", "name": "__auto__", "null_count": 609868552, "row_count": 800000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 294267466, "histo_col_type": "", "name": "__auto__", "null_count": 731088392, "row_count": 800000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30885417, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92983406, "histo_col_type": "", "name": "__auto__", "null_count": 609807474, "row_count": 800000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9314345, "histo_col_type": "", "name": "__auto__", "null_count": 31679545, "row_count": 800000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 535578442, "histo_col_type": "", "name": "__auto__", "null_count": 18626456, "row_count": 800000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140017543, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 693771245, "histo_col_type": "", "name": "__auto__", "null_count": 772411988, "row_count": 800000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 640022028, "histo_col_type": "", "name": "__auto__", "null_count": 592275350, "row_count": 800000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350207829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 521067760, "histo_buckets": [{"distinct_range": 0, "num_eq": 5323064433386738059, "num_range": 0, "upper_bound": "#\' \\u000f/"}, {"distinct_range": 123962575015661950, "num_eq": 4027352301738067254, "num_range": 5165920094039635167, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 1281779291145931977, "num_range": 1288796926818053314, "upper_bound": "X"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268215915, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 703864061, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602795172, "histo_col_type": "", "name": "__auto__", "null_count": 129285361, "row_count": 800000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 105508335, "histo_col_type": "", "name": "__auto__", "null_count": 281705123, "row_count": 800000000}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 106485118579108618, "histo_buckets": [{"distinct_range": 0, "num_eq": 4295214875267173268, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 5451331042291738000, "num_eq": 0, "num_range": 5451331042291738037, "upper_bound": "BOX(-1.1560556094792798 0.5554612352952838,-1.0813831601844792 1.127071637161125)"}, {"distinct_range": 800000, "num_eq": 2730370645043636915, "num_range": 800000, "upper_bound": "BOX(-0.7718028655548825 0.8603337445586313,-0.5511990021736679 1.3867727756854478)"}, {"distinct_range": 300, "num_eq": 1000000000, "num_range": 300, "upper_bound": "BOX(0.39466094932671947 0.8112609160356898,1.797528663129175 1.167319836345842)"}, {"distinct_range": 1708445049.2811863, "num_eq": 6597420025174528477, "num_range": 5000000000, "upper_bound": "BOX(0.5871827925238902 0.23570585999199672,2.638185941921372 2.077831238724916)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1042821497425230013, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 376764956841085688, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "!"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 374857415025553900, "num_eq": 4000, "num_range": 374857415025553920, "upper_bound": "a"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 40000000000, "upper_bound": "w"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 310162863140125791, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 666583995914946756, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 808149738396816397, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 475604084811959176, "histo_buckets": [{"distinct_range": 0, "num_eq": 4255230894560249795, "num_range": 0, "upper_bound": "-1515982082"}, {"distinct_range": 100000000, "num_eq": 40000000, "num_range": 100000000, "upper_bound": "-129513251"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 4000000, "upper_bound": "-8911161"}, {"distinct_range": 728878782880375200, "num_eq": 900000000, "num_range": 728878782880375215, "upper_bound": "32767"}, {"distinct_range": 997234692213603600, "num_eq": 0, "num_range": 997234692213603538, "upper_bound": "1400708496"}, {"distinct_range": 900000000, "num_eq": 90, "num_range": 900000000, "upper_bound": "1500822183"}, {"distinct_range": 134026.87573663535, "num_eq": 8000, "num_range": 1000000, "upper_bound": "2081425215"}, {"distinct_range": 70000000, "num_eq": 3689024650722625091, "num_range": 70000000, "upper_bound": "2101606374"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 968798266367716372, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 20000000000, "upper_bound": "1973-04-05"}, {"distinct_range": 0, "num_eq": 175214908726920441, "num_range": 2000000, "upper_bound": "1973-12-12"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93827233301117453, "histo_col_type": "", "name": "__auto__", "null_count": 1083965211798778518, "row_count": 1090549937514315425}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 476069407410322681, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1090549937514315425}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21183968205422253, "histo_col_type": "", "name": "__auto__", "null_count": 27691542826758430, "row_count": 1090549937514315425}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 711691957902665380, "histo_col_type": "", "name": "__auto__", "null_count": 474329234129622264, "row_count": 1090549937514315425}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 501284723197204143, "histo_buckets": [{"distinct_range": 0, "num_eq": 6817406700735719482, "num_range": 0, "upper_bound": "-23967"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 600000000, "upper_bound": "-8212"}, {"distinct_range": 717307880.2815169, "num_eq": 7084754744759234073, "num_range": 800000000, "upper_bound": "-2442"}, {"distinct_range": 8356559417012031000, "num_eq": 9000000, "num_range": 8356559417012031887, "upper_bound": "30577"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 770566015322324505, "row_count": 1090549937514315425}]':::JSONB;
test_1 | ALTER TABLE table2 ADD FOREIGN KEY (col2_3) REFERENCES table3 (col3_0) ON UPDATE RESTRICT;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('bzkh', 'fglpoz', 'gqvbi', 'ild');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('a', 'zdnsg', 'gbsinb', 'ocd');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('hlgln', 'yroqd', 'arlsr', 'dcsrah', 'vc');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 426004, "histo_buckets": [{"distinct_range": 0, "num_eq": 3382444488765919265, "num_range": 0, "upper_bound": "01a9cc68-507c-4e96-ad07-e30bf80fbdab"}, {"distinct_range": 169692.90066975378, "num_eq": 400000000, "num_range": 200000, "upper_bound": "24ed2fa8-56b0-4013-bbaa-e57b6eeda3c7"}, {"distinct_range": 146.66512579643683, "num_eq": 4751721683157134156, "num_range": 200, "upper_bound": "365f63a7-b56d-4da0-9fcb-935d5188e4fe"}, {"distinct_range": 2863705922311953400, "num_eq": 90, "num_range": 2863705922311953497, "upper_bound": "56b05ace-f338-495c-953b-7a70359572b5"}, {"distinct_range": 900000000, "num_eq": 8882809679768753170, "num_range": 900000000, "upper_bound": "56bb5cf0-c982-4810-b24a-806b5527d462"}, {"distinct_range": 3140256248969680400, "num_eq": 100000000, "num_range": 6766848730377890536, "upper_bound": "666b6c1a-26c9-4ead-a6f7-c23a45319acc"}, {"distinct_range": 0, "num_eq": 40, "num_range": 100000, "upper_bound": "7542b57d-d608-4749-8d04-4cf0d907b6d0"}, {"distinct_range": 4617328793388384000, "num_eq": 7425501027677313569, "num_range": 7180578257923336726, "upper_bound": "c45c19fd-05c6-4f26-87b2-edab54eeb71f"}, {"distinct_range": 1139981032069843500, "num_eq": 9000000, "num_range": 1665121001851189577, "upper_bound": "fdf213d4-4d0d-4374-a947-5b7d38708200"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 280247, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33226, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "\\u0001\\u0006]D\\u0006k\\u001dm!"}, {"distinct_range": 202.46500730435213, "num_eq": 50, "num_range": 300, "upper_bound": "\\u0006N$)@1"}, {"distinct_range": 413534.4517663274, "num_eq": 50000, "num_range": 500000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 7366843779918102567, "num_range": 125058300274987810, "upper_bound": "GF\\u0001_V)Z"}, {"distinct_range": 0, "num_eq": 1849759022243482064, "num_range": 0, "upper_bound": "KEs`S"}, {"distinct_range": 20.06922565075464, "num_eq": 4621381862321914516, "num_range": 70, "upper_bound": "kcH"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 604743, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157055, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 613597, "histo_col_type": "", "name": "__auto__", "null_count": 252540, "row_count": 700000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 449850, "histo_col_type": "", "name": "__auto__", "null_count": 429352, "row_count": 700000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 513624, "histo_col_type": "", "name": "__auto__", "null_count": 36982, "row_count": 700000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402022, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30744, "histo_col_type": "", "name": "__auto__", "null_count": 324887, "row_count": 700000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136886, "histo_col_type": "", "name": "__auto__", "null_count": 76749, "row_count": 700000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 163606, "histo_col_type": "", "name": "__auto__", "null_count": 444150, "row_count": 700000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34274, "histo_col_type": "", "name": "__auto__", "null_count": 460428, "row_count": 700000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 607066, "histo_buckets": [{"distinct_range": 0, "num_eq": 1881295185818142844, "num_range": 0, "upper_bound": "571379023"}, {"distinct_range": 5517947237039390000, "num_eq": 10000000000, "num_range": 5517947237039390163, "upper_bound": "588899118"}, {"distinct_range": 517164566306246500, "num_eq": 1705159521765596740, "num_range": 7380226828250081984, "upper_bound": "606089268"}, {"distinct_range": 8000000, "num_eq": 6090412277292793048, "num_range": 8000000, "upper_bound": "3237715084"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 549050, "histo_col_type": "", "name": "__auto__", "null_count": 124766, "row_count": 700000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266030, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 181163, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 160989, "histo_buckets": [{"distinct_range": 0, "num_eq": 2435450366863008153, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 389343980995123400, "num_eq": 6205187655087112057, "num_range": 2152389883637377381, "upper_bound": "1188769870"}, {"distinct_range": 0, "num_eq": 0, "num_range": 20000000000, "upper_bound": "1400962437"}, {"distinct_range": 4782548267466028000, "num_eq": 10000000, "num_range": 4782548267466028091, "upper_bound": "1543871154"}, {"distinct_range": 70736806217816010, "num_eq": 0, "num_range": 5214023905636213078, "upper_bound": "1899698790"}, {"distinct_range": 474335585902644100, "num_eq": 40000, "num_range": 4043942782539384481, "upper_bound": "4269574496"}, {"distinct_range": 0, "num_eq": 5107801431075877468, "num_range": 10000000, "upper_bound": "4294333048"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 658003, "row_count": 700000}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 872468022778873836, "histo_buckets": [{"distinct_range": 0, "num_eq": 1966195584511315207, "num_range": 0, "upper_bound": ""}, {"distinct_range": 4815339145108044000, "num_eq": 1363924749826115120, "num_range": 4815339145108044209, "upper_bound": "\\u0006v\\u001d"}, {"distinct_range": 700, "num_eq": 6000000, "num_range": 700, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 3925721276046262476, "num_range": 2440506595738460006, "upper_bound": "3\\u001d\\u0001)(="}, {"distinct_range": 2611447829.393381, "num_eq": 6375282633033861916, "num_range": 10000000000, "upper_bound": ">D"}, {"distinct_range": 0, "num_eq": 7430726011271457020, "num_range": 234215950594991989, "upper_bound": "E"}, {"distinct_range": 1983875680941752000, "num_eq": 800000, "num_range": 7734958462715336938, "upper_bound": "H("}, {"distinct_range": 8027266122705661000, "num_eq": 30000000, "num_range": 8027266122705661328, "upper_bound": "J%\\u0016@J>~\\u0010"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 257029671881995510, "histo_col_type": "", "name": "__auto__", "null_count": 783383180789221471, "row_count": 1323678561550484512}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 286846226650547868, "histo_col_type": "", "name": "__auto__", "null_count": 1087244624979969041, "row_count": 1323678561550484512}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 347398917641345222, "histo_col_type": "", "name": "__auto__", "null_count": 607504919381385762, "row_count": 1323678561550484512}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1302723782286317954, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1077653085753666305, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 804710074556017480, "histo_col_type": "", "name": "__auto__", "null_count": 278579946435981407, "row_count": 1323678561550484512}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 751531238569614692, "histo_col_type": "", "name": "__auto__", "null_count": 751817266361118660, "row_count": 1323678561550484512}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 304448975003032246, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 83059344709546157, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 397091310782812777, "histo_col_type": "", "name": "__auto__", "null_count": 24892413009243577, "row_count": 1323678561550484512}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 820593997933422695, "histo_col_type": "", "name": "__auto__", "null_count": 1279603701973992412, "row_count": 1323678561550484512}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1182627181836164043, "histo_col_type": "", "name": "__auto__", "null_count": 549481653734402478, "row_count": 1323678561550484512}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 428122249000195612, "histo_col_type": "", "name": "__auto__", "null_count": 486303518930046368, "row_count": 1323678561550484512}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 201112583813925674, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 948016955261094601, "histo_col_type": "", "name": "__auto__", "null_count": 773962716552022616, "row_count": 1323678561550484512}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 826262456430552930, "histo_col_type": "", "name": "__auto__", "null_count": 1176544853907403414, "row_count": 1323678561550484512}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 709823785733567980, "histo_col_type": "", "name": "__auto__", "null_count": 485889156970972139, "row_count": 1323678561550484512}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 836670731699766424, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 468728709433940270, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1323678561550484512}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 887903098004445525, "histo_col_type": "", "name": "__auto__", "null_count": 230569023965545209, "row_count": 1323678561550484512}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 4, "row_count": 10}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 9, "row_count": 10}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 4, "row_count": 10}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_buckets": [{"distinct_range": 0, "num_eq": 5932628388188399925, "num_range": 0, "upper_bound": "19491"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 8, "row_count": 10}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "-2113780066"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 100, "upper_bound": "-2044825271"}, {"distinct_range": 42347.56566870703, "num_eq": 4115252640736049529, "num_range": 50000, "upper_bound": "-1990249582"}, {"distinct_range": 0, "num_eq": 3992199889491903704, "num_range": 5554098136404371134, "upper_bound": "-1532769302"}, {"distinct_range": 3000000, "num_eq": 2021148089167473169, "num_range": 3000000, "upper_bound": "-1474935780"}, {"distinct_range": 4703.275478724117, "num_eq": 5540744886541192291, "num_range": 5000, "upper_bound": "-1432603466"}, {"distinct_range": 200000, "num_eq": 10000000, "num_range": 200000, "upper_bound": "-1090148609"}, {"distinct_range": 7277345139136295000, "num_eq": 4464728382761925420, "num_range": 7277345139136295259, "upper_bound": "1"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "BOX(-2.2846407862085845 0.19474031957669347,-0.37682776482752 2.5117600233612474)"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 300000000, "upper_bound": "BOX(-1.6746664837787995 1.0568925048406288,-0.2080320132309085 1.2917486611057685)"}, {"distinct_range": 8000000000, "num_eq": 20, "num_range": 8000000000, "upper_bound": "BOX(-0.2566329151471063 0.8178470023938447,0.5722267281205795 1.2233775508869438)"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 25823384120326362, "upper_bound": "BOX(1.1423731531237546 0.5836297803240313,1.1466489809394076 0.9390560337724602)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 10}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 7307706540470971000, "num_eq": 40000000, "num_range": 7307706540470971496, "upper_bound": "18512cf6-c4c5-4250-a223-6e710c1f351c"}, {"distinct_range": 5215913.639961826, "num_eq": 20000, "num_range": 20000000, "upper_bound": "852a0c30-89fc-47e1-9d2e-4dc9128e9a1c"}, {"distinct_range": 0, "num_eq": 5558854056798136852, "num_range": 0, "upper_bound": "ac070a06-2cb6-4f56-b88d-09bdef890576"}, {"distinct_range": 290.8731961476783, "num_eq": 0, "num_range": 300, "upper_bound": "b4877642-a10d-4849-9295-1a6cb1298ed3"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "e9c48676-697a-4b66-b95d-f106b27685b2"}, {"distinct_range": 0, "num_eq": 4975097636351845490, "num_range": 8804777811395790123, "upper_bound": "ebc79460-0c9b-40db-847e-ef25c93192c7"}, {"distinct_range": 200344690.87579966, "num_eq": 70000, "num_range": 600000000, "upper_bound": "fb8cdb83-5e9b-4b56-b6ab-148b76d1b59d"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "15617840"}, {"distinct_range": 0, "num_eq": 2622348327210885604, "num_range": 5000000000, "upper_bound": "55603561"}, {"distinct_range": 0, "num_eq": 451272090181646398, "num_range": 1000, "upper_bound": "667744454"}, {"distinct_range": 0, "num_eq": 200, "num_range": 7710904950572256703, "upper_bound": "707417430"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 20000000, "upper_bound": "3587153437"}, {"distinct_range": 173869543.84134007, "num_eq": 5538454736856108353, "num_range": 1000000000, "upper_bound": "4050614957"}, {"distinct_range": 339305382000619400, "num_eq": 2000000000, "num_range": 3363983503310453134, "upper_bound": "4095221558"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1369683240850839637, "num_range": 0, "upper_bound": "\\r\'\\"\\u000f\\u0018"}, {"distinct_range": 68.73364619508057, "num_eq": 600000, "num_range": 80, "upper_bound": " \\u001d\\u0013&\\\\q]"}, {"distinct_range": 26105775257786116, "num_eq": 2823837873752997562, "num_range": 2246530268041301071, "upper_bound": "$CR\'dr\\u0007"}, {"distinct_range": 5953442203138612000, "num_eq": 8951604878274315010, "num_range": 5953442203138612701, "upper_bound": "\'"}, {"distinct_range": 2287730449886233000, "num_eq": 493587146170651277, "num_range": 8206876941010919958, "upper_bound": "WZX"}, {"distinct_range": 1268360009120247600, "num_eq": 0, "num_range": 1268360009120247509, "upper_bound": "]&/<IB\\"\\t\\\\"}, {"distinct_range": 179372487.00942084, "num_eq": 7100634498329853529, "num_range": 200000000, "upper_bound": "a9.\\u00162=\\u000e"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "1241278531"}, {"distinct_range": 8907992604018941000, "num_eq": 8428029467629366274, "num_range": 8907992604018940672, "upper_bound": "1831791674"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 4781423049920232006, "upper_bound": "2812928161"}, {"distinct_range": 318035053789377860, "num_eq": 600, "num_range": 318035053789377868, "upper_bound": "2982143431"}, {"distinct_range": 2105497018831626200, "num_eq": 50000000, "num_range": 2105497018831626348, "upper_bound": "3924008383"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27418, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 744176, "histo_col_type": "", "name": "__auto__", "null_count": 472626, "row_count": 800000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99037, "histo_col_type": "", "name": "__auto__", "null_count": 20337, "row_count": 800000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 690282, "histo_col_type": "", "name": "__auto__", "null_count": 461445, "row_count": 800000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108359, "histo_col_type": "", "name": "__auto__", "null_count": 46870, "row_count": 800000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 349914, "histo_col_type": "", "name": "__auto__", "null_count": 355887, "row_count": 800000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 231521, "histo_col_type": "", "name": "__auto__", "null_count": 243551, "row_count": 800000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350611, "histo_col_type": "", "name": "__auto__", "null_count": 344769, "row_count": 800000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 689237, "histo_col_type": "", "name": "__auto__", "null_count": 376293, "row_count": 800000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69300, "histo_col_type": "", "name": "__auto__", "null_count": 303188, "row_count": 800000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558840, "histo_col_type": "", "name": "__auto__", "null_count": 472260, "row_count": 800000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 514712, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "\\u0018qT\\u0014"}, {"distinct_range": 12068616471.459253, "num_eq": 7409861834614368316, "num_range": 50000000000, "upper_bound": "5"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 5038002525183865602, "upper_bound": "F\\u0017u.G5="}, {"distinct_range": 9773.956387953367, "num_eq": 10000, "num_range": 10000, "upper_bound": "SEvSL"}, {"distinct_range": 39.52746847091306, "num_eq": 7210075054460087553, "num_range": 100, "upper_bound": "{>"}, {"distinct_range": 507.0288794819432, "num_eq": 30000000000, "num_range": 10000, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29515, "histo_col_type": "", "name": "__auto__", "null_count": 94544, "row_count": 800000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379785, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 502826, "histo_col_type": "", "name": "__auto__", "null_count": 680491, "row_count": 800000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 752199, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 365119, "histo_col_type": "", "name": "__auto__", "null_count": 361068, "row_count": 800000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36563, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 126032, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 256599, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 329222, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2886770669, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2419362460, "histo_buckets": [{"distinct_range": 0, "num_eq": 4335322686129013613, "num_range": 0, "upper_bound": "-10730"}, {"distinct_range": 2791340093643325000, "num_eq": 8173522266466955453, "num_range": 2791340093643324686, "upper_bound": "1"}, {"distinct_range": 8112374419516151000, "num_eq": 5123249980787520558, "num_range": 8343013248614723004, "upper_bound": "7347"}, {"distinct_range": 6894661663.882664, "num_eq": 3827909458329179610, "num_range": 10000000000, "upper_bound": "23132"}, {"distinct_range": 2284502335939307500, "num_eq": 5889826207702530592, "num_range": 2284502335939307562, "upper_bound": "30015"}, {"distinct_range": 0, "num_eq": 7015479025848403723, "num_range": 4000000, "upper_bound": "31631"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 409386635, "row_count": 5000000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 889449164, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "-1582275995"}, {"distinct_range": 4.517892674659306, "num_eq": 3231978976451520882, "num_range": 70, "upper_bound": "-1264658024"}, {"distinct_range": 511524290.7951955, "num_eq": 9000000, "num_range": 700000000, "upper_bound": "-369330645"}, {"distinct_range": 6989876.698913743, "num_eq": 90, "num_range": 400000000, "upper_bound": "0"}, {"distinct_range": 3848730378067843600, "num_eq": 300000000, "num_range": 4864331594071624162, "upper_bound": "1035692445"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 10, "upper_bound": "1207754670"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4333019819, "histo_buckets": [{"distinct_range": 0, "num_eq": 2815644812641322167, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 68934.01758273788, "num_eq": 90, "num_range": 7000000, "upper_bound": "BOX(-1.1027617627555455 -0.5825046025802,-0.7502101940392464 -0.009010387274344389)"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 4744080144226022410, "upper_bound": "BOX(-0.5010530313251625 -0.2900578339808031,-0.2299315115964978 0.8661248653853795)"}, {"distinct_range": 2322551984390779400, "num_eq": 8000, "num_range": 9118391946680557679, "upper_bound": "BOX(-0.23343913268632174 -0.41941819099833444,0.7926274405375598 2.2243137477947283)"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 70, "upper_bound": "BOX(-0.16724035445347216 -0.42974522759144995,0.201550196650498 -0.009211708730002321)"}, {"distinct_range": 50, "num_eq": 5000, "num_range": 50, "upper_bound": "BOX(0.20794066631961228 0.4505853262135555,1.043126007625896 0.5247073060067733)"}, {"distinct_range": 6379229080940591000, "num_eq": 4000000000, "num_range": 7197899241021107095, "upper_bound": "BOX(0.3424108031451659 -0.9954818783367446,1.4190264056139323 1.2756574312847548)"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 1000000000, "upper_bound": "BOX(0.5479753230963027 -0.1858023417962869,0.74314778866965 1.0080039206094595)"}, {"distinct_range": 568153376325433800, "num_eq": 700, "num_range": 568153376325433766, "upper_bound": "BOX(0.9997507910863201 -0.041188765395610005,1.509640608092882 2.3511877185465346)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1035547830, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3331422419, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3343997387, "histo_col_type": "", "name": "__auto__", "null_count": 455757341, "row_count": 5000000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1180243885, "histo_col_type": "", "name": "__auto__", "null_count": 1766027436, "row_count": 5000000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1685711784, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2247001554, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "1976-09-18"}, {"distinct_range": 770841701.1784762, "num_eq": 308721326854641563, "num_range": 1000000000, "upper_bound": "1983-08-27"}, {"distinct_range": 1000000000, "num_eq": 70, "num_range": 1000000000, "upper_bound": "1992-12-25"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 660163853, "histo_col_type": "", "name": "__auto__", "null_count": 741463140, "row_count": 5000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1484341185, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3195337586, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "\\u0001"}, {"distinct_range": 185852941414546720, "num_eq": 100, "num_range": 299292903024414318, "upper_bound": "\\u000c"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 300, "upper_bound": "\\""}, {"distinct_range": 723931194966117900, "num_eq": 8000000, "num_range": 7036741686676286919, "upper_bound": "`"}, {"distinct_range": 200000000, "num_eq": 10, "num_range": 200000000, "upper_bound": "u"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 5000000000}]';
test_1 |
test_1 | compare_test.go:130: cockroach2: exec: ERROR: column "nan" does not exist (SQLSTATE 42703)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_postgres_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@3bae381e45397225ff926f3f8f60d52b70fdc661:
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-10 06:13:15.211 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-10 06:13:15.231 UTC [49] LOG: database system was shut down at 2021-03-10 06:13:15 UTC
postgres_1 | 2021-03-10 06:13:15.236 UTC [48] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | Loading PostGIS extensions into postgres
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 |
postgres_1 | waiting for server to shut down...2021-03-10 06:13:18.130 UTC [48] LOG: received fast shutdown request
postgres_1 | .2021-03-10 06:13:18.132 UTC [48] LOG: aborting any active transactions
postgres_1 | 2021-03-10 06:13:18.134 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-03-10 06:13:18.141 UTC [50] LOG: shutting down
postgres_1 | 2021-03-10 06:13:18.261 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-10 06:13:18.342 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-10 06:13:18.342 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-10 06:13:18.346 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-10 06:13:18.362 UTC [85] LOG: database system was shut down at 2021-03-10 06:13:18 UTC
postgres_1 | 2021-03-10 06:13:18.368 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (603.15s)
test_1 | --- FAIL: TestCompare/postgres (2.24s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@fc68d927f946103a757888fcbd3ac20904c57a6b:
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-11 06:12:40.552 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-11 06:12:40.552 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-11 06:12:40.556 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-11 06:12:40.571 UTC [85] LOG: database system was shut down at 2021-03-11 06:12:40 UTC
postgres_1 | 2021-03-11 06:12:40.577 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (3.73s)
test_1 | --- FAIL: TestCompare/postgres (2.59s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | --- FAIL: TestCompare/mutators (1.14s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 BIT(10), col1_1 VARCHAR NOT NULL, col1_2 INET NOT NULL, col1_3 BIT(36) NOT NULL, col1_4 REGTYPE NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_6 REGCLASS NOT NULL, col1_7 OID NOT NULL, col1_8 REGPROC NOT NULL, col1_9 TIME NOT NULL, col1_10 INTERVAL NOT NULL, PRIMARY KEY (col1_8, col1_4, col1_9 DESC, col1_10, col1_2 DESC, col1_1, col1_7 DESC, col1_5 ASC, col1_3 ASC, col1_6 ASC), INDEX (col1_4 ASC, col1_7 ASC, col1_3, col1_6 ASC, col1_8 ASC, col1_1 DESC, col1_0, col1_9 DESC, col1_10 ASC, col1_5 ASC) WHERE (table1.col1_1 != 'X':::STRING) AND (table1.col1_9 != '00:00:00':::TIME), INDEX (col1_1 ASC, col1_4 ASC, col1_3 DESC, col1_6 DESC) WHERE (table1.col1_9 = '24:00:00':::TIME) AND (table1.col1_1 > '"':::STRING), UNIQUE (col1_5 DESC, col1_9, col1_1, col1_7 ASC, col1_10 ASC) WHERE (table1.col1_9 <= '00:00:00') AND (table1.col1_1 > ''), INDEX (col1_10 DESC, col1_5 DESC, col1_7 DESC, col1_8, col1_6 ASC, col1_9 DESC, col1_4 ASC, col1_1 DESC, col1_2 ASC, col1_0 ASC), UNIQUE (col1_6 DESC, col1_10 ASC, col1_2 DESC, col1_8 DESC) STORING (col1_0) WHERE (table1.col1_9 < '24:00:00':::TIME) OR (table1.col1_1 < '"':::STRING), UNIQUE (col1_5 DESC, col1_9 ASC, col1_8 DESC, col1_7, col1_1 ASC, col1_2, col1_3, col1_6, col1_4 DESC, col1_10, col1_0 DESC) WHERE (table1.col1_9 = '00:00:00') AND (table1.col1_1 != ''), UNIQUE (col1_10, col1_9 DESC, col1_1, col1_8 ASC, col1_5 ASC, col1_0 ASC, col1_3 DESC, col1_2, col1_6 DESC, col1_7 ASC) WHERE (table1.col1_1 >= 'X':::STRING) AND (table1.col1_9 = '24:00:00':::TIME), INDEX (col1_9 ASC) STORING (col1_0) WHERE table1.col1_1 <= '':::STRING, FAMILY (col1_1), FAMILY (col1_2, col1_9, col1_10, col1_8), FAMILY (col1_4, col1_0, col1_7), FAMILY (col1_3), FAMILY (col1_5, col1_6));
test_1 | CREATE TABLE table2 (col1_8 REGPROC NOT NULL, col1_4 REGTYPE NOT NULL, col1_9 TIME NOT NULL, col1_10 INTERVAL NOT NULL, col1_2 INET NOT NULL, col1_1 VARCHAR NOT NULL, col1_7 OID NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_3 BIT(36) NOT NULL, col1_6 REGCLASS NOT NULL, col2_10 INT8 NOT NULL, col2_11 TIMESTAMPTZ NULL, col2_12 BYTES, col2_13 REGPROC NOT NULL, col2_14 FLOAT8 NULL, col2_15 FLOAT8 NOT NULL, col2_16 TIMETZ NOT NULL, col2_17 TIMESTAMP NOT NULL, PRIMARY KEY (col1_8, col1_4, col1_9 DESC, col1_10, col1_2 DESC, col1_1, col1_7 DESC, col1_5 ASC, col1_3 ASC, col1_6 ASC, col2_10 ASC, col2_17, col2_12 DESC), INDEX (col2_16, col1_4 DESC, col1_3, col1_7 ASC, col2_15, col1_10, col2_12 ASC) STORING (col2_11) WHERE ((((((((table2.col2_11 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col2_16 = '24:00:00-15:59:00':::TIMETZ)) AND (table2.col2_14 != 'NaN':::FLOAT8)) AND (table2.col1_9 > '24:00:00':::TIME)) AND (table2.col2_17 >= '-4713-11-24 00:00:00':::TIMESTAMP)) OR (table2.col2_10 < 32767:::INT8)) AND (table2.col2_15 <= '+Inf':::FLOAT8)) OR (table2.col2_12 != e'\\x':::BYTES)) OR (table2.col1_1 > 'X':::STRING), INDEX (col1_5 DESC, col2_16 DESC, col2_13 DESC, col2_17 DESC, col1_9 ASC) WHERE (((table2.col2_12 <= e'\\xe29883':::BYTES) OR (table2.col2_11 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_17 != '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table2.col2_14 = 3.4028234663852886e+38:::FLOAT8), INDEX (col2_17, col1_1, col2_15 DESC, col2_11 ASC, col2_16 ASC, col1_10) WHERE ((((((((table2.col1_1 >= e'\U00002603') OR (table2.col1_9 <= '00:00:00')) AND (table2.col2_10 >= 9223372036854775807)) AND (table2.col2_14 != 1.0)) OR (table2.col2_15 != 1.401298464324817e-45)) OR (table2.col2_12 < '\x22')) AND (table2.col2_17 = '0001-01-01 00:00:00')) AND (table2.col2_16 < '00:00:00+15:59:00')) OR (table2.col2_11 >= '294276-12-31 23:59:59.999999+00:00'), INDEX (col1_2, col2_15 ASC, col2_13 DESC) STORING (col2_11, col2_16) WHERE (table2.col1_9 != '24:00:00') OR (table2.col1_1 >= e'\x00'), UNIQUE (col2_16, col2_10 DESC, col2_11 ASC, col1_9 DESC, col1_5 DESC, col1_3, col1_6, col1_7 DESC, col2_15 ASC, col2_13 ASC, col1_4, col2_17, col1_10 DESC, col1_2 ASC) STORING (col2_14) WHERE ((((((((table2.col2_17 >= '0001-01-01 00:00:00':::TIMESTAMP) AND (table2.col2_12 = e'\\xe29883':::BYTES)) OR (table2.col1_1 >= e'\x00':::STRING)) AND (table2.col2_16 < '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_15 >= 1.401298464324817e-45:::FLOAT8)) OR (table2.col2_14 > 5e-324:::FLOAT8)) OR (table2.col1_9 = '00:00:00':::TIME)) AND (table2.col2_10 = (-1):::INT8)) OR (table2.col2_11 > '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ), FAMILY (col2_17), FAMILY (col1_6, col2_11), FAMILY (col1_1), FAMILY (col2_14), FAMILY (col2_15), FAMILY (col1_8), FAMILY (col1_2), FAMILY (col1_7), FAMILY (col1_9, col2_13, col1_10, col1_3, col2_10, col1_5, col2_12, col2_16, col1_4)) INTERLEAVE IN PARENT table1 (col1_8, col1_4, col1_9, col1_10, col1_2, col1_1, col1_7, col1_5, col1_3, col1_6);
test_1 | CREATE TABLE table3 (col3_0 BOOL NOT NULL, col3_1 INT8 NOT NULL, col3_2 REGCLASS NOT NULL, col3_3 TIME NULL, col3_4 REGPROCEDURE NOT NULL, col3_5 VARCHAR NOT NULL, col3_6 BYTES NOT NULL, col3_7 INT2 NOT NULL, col3_8 BYTES NOT NULL, col3_9 FLOAT4 NOT NULL, col3_10 STRING[] NULL, col3_11 VARCHAR NOT NULL, col3_12 STRING NOT NULL, col3_13 INT4 NOT NULL, col3_14 INTERVAL, PRIMARY KEY (col3_0 ASC, col3_2 ASC, col3_5 ASC, col3_1 DESC, col3_4 ASC, col3_9, col3_11, col3_6 ASC, col3_8 DESC, col3_13, col3_12 DESC), col3_15 STRING NOT NULL AS (lower(CAST(col3_0 AS STRING))) VIRTUAL, col3_16 STRING NOT NULL AS (lower(col3_12)) VIRTUAL, col3_17 INT8 AS ((col3_1 + col3_13) + col3_7) STORED, col3_18 INT2 NOT NULL AS (col3_7 + 2307:::INT8) VIRTUAL, FAMILY (col3_17), FAMILY (col3_13), FAMILY (col3_0, col3_2, col3_1, col3_7), FAMILY (col3_9), FAMILY (col3_3), FAMILY (col3_4, col3_6, col3_8, col3_5, col3_11, col3_12, col3_10, col3_14));
test_1 | CREATE TABLE table4 (col1_8 REGPROC NOT NULL, col1_4 REGTYPE NOT NULL, col1_9 TIME NOT NULL, col1_10 INTERVAL NOT NULL, col1_2 INET NOT NULL, col1_1 VARCHAR NOT NULL, col1_7 OID NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_3 BIT(36) NOT NULL, col1_6 REGCLASS NOT NULL, col2_10 INT8 NOT NULL, col2_17 TIMESTAMP NOT NULL, col2_12 BYTES, col4_13 INT4 NOT NULL, col4_14 INET NULL, col4_15 REGTYPE NULL, col4_16 DATE NOT NULL, col4_17 BYTES, col4_18 INET NOT NULL, col4_19 REGCLASS NOT NULL, col4_20 TIMESTAMPTZ, col4_21 DECIMAL NULL, col4_22 TIMETZ, col4_23 INET, col4_24 INT8, col4_25 INT2 NULL, PRIMARY KEY (col1_8, col1_4, col1_9 DESC, col1_10, col1_2 DESC, col1_1, col1_7 DESC, col1_5 ASC, col1_3 ASC, col1_6 ASC, col2_10 ASC, col2_17, col2_12 DESC), UNIQUE (col1_4 ASC, col1_3, col4_15 ASC, col2_17, col4_22, col1_8, col1_2, col4_25, col4_17 DESC, col4_23 DESC, col4_21 DESC, col1_1 DESC, col4_20 ASC, col2_10 ASC, col4_14 ASC, col4_18, col4_24, col1_10 DESC, col1_6 DESC, col2_12 ASC) STORING (col4_13, col4_16, col4_19), FAMILY (col4_17), FAMILY (col4_23, col4_16), FAMILY (col2_17, col2_12, col4_22, col1_3, col1_1), FAMILY (col4_24), FAMILY (col4_21, col1_9, col1_10), FAMILY (col4_13), FAMILY (col1_8, col2_10, col1_6, col1_2), FAMILY (col4_20, col4_25), FAMILY (col4_14, col4_15, col1_7, col1_5), FAMILY (col4_18, col4_19), FAMILY (col1_4)) INTERLEAVE IN PARENT table2 (col1_8, col1_4, col1_9, col1_10, col1_2, col1_1, col1_7, col1_5, col1_3, col1_6, col2_10, col2_17, col2_12);
test_1 | CREATE TABLE table5 (col5_0 UUID, col5_1 CHAR NOT NULL, col5_2 FLOAT4, PRIMARY KEY (col5_1), INDEX (col5_2, col5_1, col5_0 DESC) WHERE (table5.col5_2 = '+Inf':::FLOAT8) AND (table5.col5_1 = '':::STRING), UNIQUE (col5_0 ASC) STORING (col5_2) WHERE (table5.col5_2 <= -1.0) OR (table5.col5_1 >= 'X'), INDEX (col5_1, col5_0 ASC) STORING (col5_2) WHERE (table5.col5_2 = '+Inf':::FLOAT8) AND (table5.col5_1 > '"':::STRING), UNIQUE (col5_0 ASC, col5_1 ASC, col5_2) WHERE (table5.col5_2 > 3.4028234663852886e+38) AND (table5.col5_1 = e'\''), INDEX (col5_0 ASC, col5_1 DESC) STORING (col5_2), INDEX (col5_1 DESC, col5_0 ASC) STORING (col5_2) WHERE (table5.col5_2 > -Inf) AND (table5.col5_1 = '"'), FAMILY (col5_0, col5_2, col5_1));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2382259808, "histo_buckets": [{"distinct_range": 0, "num_eq": 6024713936427345650, "num_range": 0, "upper_bound": "-44 years -10 mons -272 days -03:16:52.022711"}, {"distinct_range": 0, "num_eq": 2007159243788448099, "num_range": 2012824153765138647, "upper_bound": "-30 years -9 mons -291 days -09:47:14.011836"}, {"distinct_range": 4128136994000071700, "num_eq": 400, "num_range": 4128136994000071798, "upper_bound": "-20 years -4 mons -385 days -14:54:24.083562"}, {"distinct_range": 700000, "num_eq": 9000000, "num_range": 700000, "upper_bound": "-3 years -5 mons -143 days -07:37:41.220858"}, {"distinct_range": 6000, "num_eq": 70000000000, "num_range": 6000, "upper_bound": "1 mon 1 day"}, {"distinct_range": 10373226464861322, "num_eq": 50000000000, "num_range": 7978328399708637518, "upper_bound": "6 years 6 mons 901 days 05:04:05.883046"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3407963330, "histo_col_type": "", "name": "__auto__", "null_count": 45799853739, "row_count": 50000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30774719109, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "\\u0003?)"}, {"distinct_range": 4366897861445163500, "num_eq": 1000000000, "num_range": 4366897861445163554, "upper_bound": "\\rW\\u0017"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45752332549, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47912305426, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24123271254, "histo_buckets": [{"distinct_range": 0, "num_eq": 9049739216733018019, "num_range": 0, "upper_bound": "1586873222"}, {"distinct_range": 347520196.81674224, "num_eq": 2385824740047558761, "num_range": 800000000, "upper_bound": "2060096046"}, {"distinct_range": 10.008859619727966, "num_eq": 5340048738847363823, "num_range": 30, "upper_bound": "3490553437"}, {"distinct_range": 0, "num_eq": 4290488945209787457, "num_range": 500, "upper_bound": "4217983977"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36747245839, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "653700127"}, {"distinct_range": 300000000, "num_eq": 7165282289936305521, "num_range": 300000000, "upper_bound": "3709361188"}, {"distinct_range": 5000, "num_eq": 0, "num_range": 5000, "upper_bound": "4235777558"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5018161504, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37757083998, "histo_buckets": [{"distinct_range": 0, "num_eq": 6594054288236700233, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4330.40021381119, "num_eq": 951136940783917308, "num_range": 10000, "upper_bound": "1849351417"}, {"distinct_range": 3584565222639841300, "num_eq": 1000000000, "num_range": 6576640361624972185, "upper_bound": "1929720098"}, {"distinct_range": 80000, "num_eq": 50000, "num_range": 80000, "upper_bound": "4169728611"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47820022499, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "2629001799"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 4675249760316608984, "upper_bound": "2678941177"}, {"distinct_range": 3798299506351765500, "num_eq": 30, "num_range": 3798299506351765349, "upper_bound": "3502470716"}, {"distinct_range": 26140434490.695175, "num_eq": 400000, "num_range": 50000000000, "upper_bound": "3574455736"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28032526358, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "03:18:34.018402"}, {"distinct_range": 656477608.9426129, "num_eq": 1238201285334034949, "num_range": 700000000, "upper_bound": "06:29:30.4987"}, {"distinct_range": 6173358559371512000, "num_eq": 0, "num_range": 6173358559371511995, "upper_bound": "11:37:57.207288"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 30, "upper_bound": "18:28:09.114586"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 90000, "upper_bound": "21:54:48.915345"}, {"distinct_range": 2079660192432617200, "num_eq": 2853825792052315765, "num_range": 4366216996246192010, "upper_bound": "23:47:13.865717"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 50000000000}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34564, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35184, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33162, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24361, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7342, "histo_col_type": "", "name": "__auto__", "null_count": 36710, "row_count": 40000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3620, "histo_col_type": "", "name": "__auto__", "null_count": 15393, "row_count": 40000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27974, "histo_buckets": [{"distinct_range": 0, "num_eq": 7190371640659206860, "num_range": 0, "upper_bound": "275086191"}, {"distinct_range": 695282875071514500, "num_eq": 4900610039073389570, "num_range": 695282875071514501, "upper_bound": "495186042"}, {"distinct_range": 7045811511803270000, "num_eq": 10000000000, "num_range": 7045811511803270124, "upper_bound": "598696940"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "709876273"}, {"distinct_range": 960285838369850500, "num_eq": 40, "num_range": 2232637783527432163, "upper_bound": "2051825733"}, {"distinct_range": 3712630028132858400, "num_eq": 8713740195729432262, "num_range": 5474311614954975823, "upper_bound": "2079207911"}, {"distinct_range": 229601226412153380, "num_eq": 3000000, "num_range": 1554040463409280244, "upper_bound": "3412812682"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13997, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12755, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27646, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15521, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 742424259924910200, "upper_bound": "1973-05-12 10:12:22.000881"}, {"distinct_range": 57169.08852886013, "num_eq": 5000, "num_range": 1000000, "upper_bound": "1975-12-07 03:39:04.000261"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 2337254773530585491, "upper_bound": "1980-06-24 05:48:59.000412"}, {"distinct_range": 3256694462549120000, "num_eq": 152895896327259539, "num_range": 5789146239253494950, "upper_bound": "1998-11-27 01:25:52.000117"}, {"distinct_range": 60, "num_eq": 734281973345389810, "num_range": 60, "upper_bound": "2003-07-16 23:09:58.000518"}, {"distinct_range": 700000, "num_eq": 7000000, "num_range": 700000, "upper_bound": "2004-03-24 07:23:49.000798"}, {"distinct_range": 1000, "num_eq": 50, "num_range": 1000, "upper_bound": "2032-06-26 03:21:41.000908"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26343, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27279, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "183.208.224.178/9"}, {"distinct_range": 10, "num_eq": 8545838550594673888, "num_range": 10, "upper_bound": "147.36.74.239/26"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 6768600382657173564, "upper_bound": "f1dc:1ea9:a9b4:2ea8:8095:7399:8552:f3ec/44"}, {"distinct_range": 0, "num_eq": 1685939142994645949, "num_range": 7106840213731173536, "upper_bound": "449f:d976:432c:7e92:8c4a:8bfc:63c0:c9f1/118"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2921680413173807048, "upper_bound": "2f3c:aa9d:b6d:3729:32c2:cdb9:8f29:efef"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16094, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20024, "histo_col_type": "", "name": "__auto__", "null_count": 15444, "row_count": 40000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28475, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3280, "histo_buckets": [{"distinct_range": 0, "num_eq": 7460378915500203208, "num_range": 0, "upper_bound": "07:09:04.414471+10:49:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 40000}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7474, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4774, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3701, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5074, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 625, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7160, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5955, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4028, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589, "histo_col_type": "", "name": "__auto__", "null_count": 7624, "row_count": 8000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2331, "histo_col_type": "", "name": "__auto__", "null_count": 3969, "row_count": 8000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3225, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6965, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7458, "histo_col_type": "", "name": "__auto__", "null_count": 7541, "row_count": 8000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2762, "histo_col_type": "", "name": "__auto__", "null_count": 4345, "row_count": 8000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3610, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4630, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3955, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3259, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9489526002265310, "histo_col_type": "", "name": "__auto__", "null_count": 1612552839332481245, "row_count": 6637094878715822968}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1091797739881850570, "histo_buckets": [{"distinct_range": 0, "num_eq": 5336442050335627327, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 80000000, "num_eq": 481577969003913790, "num_range": 80000000, "upper_bound": "49584715"}, {"distinct_range": 2024024.2823845968, "num_eq": 100, "num_range": 4000000, "upper_bound": "791183174"}, {"distinct_range": 5324675499808080000, "num_eq": 40000000, "num_range": 5324675499808079893, "upper_bound": "897236321"}, {"distinct_range": 4205883785817064000, "num_eq": 7750768435259732379, "num_range": 4205883785817063747, "upper_bound": "1199620600"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4091686845794401085, "upper_bound": "1216026534"}, {"distinct_range": 887.214769014523, "num_eq": 7000000000, "num_range": 1000, "upper_bound": "1485865735"}, {"distinct_range": 12101.810175157985, "num_eq": 3509432784206430911, "num_range": 60000, "upper_bound": "3462101326"}, {"distinct_range": 0, "num_eq": 1168906922932462557, "num_range": 0, "upper_bound": "4269969499"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 903358688536407394, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2525977918269512249, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1933197455061253282, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1349218718572646949, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4074358449739622850, "histo_col_type": "", "name": "__auto__", "null_count": 1013855661190172448, "row_count": 6637094878715822968}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4031790167826584330, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2272420269028688133, "histo_col_type": "", "name": "__auto__", "null_count": 6122098777418668927, "row_count": 6637094878715822968}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2872796771563766081, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3510068528585193287, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1965028459436351012, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2906672691229379546, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4767406776789147308, "histo_col_type": "", "name": "__auto__", "null_count": 1926343979697836505, "row_count": 6637094878715822968}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 190179201516155936, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3759154425492419457, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4188278354629387931, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4492945496148283970, "histo_col_type": "", "name": "__auto__", "null_count": 1002879769180149428, "row_count": 6637094878715822968}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5250815612737891339, "histo_col_type": "", "name": "__auto__", "null_count": 5813320745053525915, "row_count": 6637094878715822968}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6383959935747041163, "histo_col_type": "", "name": "__auto__", "null_count": 2880131121032991979, "row_count": 6637094878715822968}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1705479414338068451, "histo_col_type": "", "name": "__auto__", "null_count": 3970359972325913461, "row_count": 6637094878715822968}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5247067852642622221, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1823073801548751773, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5459576152823025539, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6637094878715822968}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1658695796599692672, "histo_col_type": "", "name": "__auto__", "null_count": 3513881889669208062, "row_count": 6637094878715822968}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1321463779821722139, "histo_col_type": "", "name": "__auto__", "null_count": 1653170426775474897, "row_count": 6637094878715822968}]':::JSONB;
test_1 | ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1780207658021891716, "histo_buckets": [{"distinct_range": 0, "num_eq": 5477881459889265937, "num_range": 0, "upper_bound": "<"}, {"distinct_range": 690021795.8068715, "num_eq": 100000000, "num_range": 5000000000, "upper_bound": "U"}, {"distinct_range": 0, "num_eq": 5417914871275801266, "num_range": 278035053990471177, "upper_bound": "a"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 7949079916902405658}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5466104041730562914, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "-0.8782202005386353"}, {"distinct_range": 10000000000, "num_eq": 100000, "num_range": 10000000000, "upper_bound": "-0.6014907360076904"}, {"distinct_range": 0, "num_eq": 7307575333155758929, "num_range": 2000000, "upper_bound": "0.8163091540336609"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 817290947074585102, "row_count": 7949079916902405658}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4805711545933021042, "histo_buckets": [{"distinct_range": 0, "num_eq": 2913356440837255660, "num_range": 0, "upper_bound": "3c5c6183-5bc0-4f99-a6a3-ce35f0201c12"}, {"distinct_range": 3661954757850826000, "num_eq": 60000000, "num_range": 4087616114428241574, "upper_bound": "3faaeeaf-6955-45ea-968c-5fd48e389db6"}, {"distinct_range": 709980401124272300, "num_eq": 8230151382333210935, "num_range": 709980401124272282, "upper_bound": "6948c32e-2747-4710-a71a-f034642f54c0"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 927161915329805637, "row_count": 7949079916902405658}]':::JSONB;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('yopa', 'bwfyt', 'h', 'hazqqp', 'jdwk', 'eykc');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('pjhw', 'ed', 'jucp', 'p', 'gh', 'cgoo');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('yy', 'sdj', 'apdk', 'sdhpp', 'nwgvhk', 'glw');
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1487307765429815554, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 600000, "num_eq": 7100481461066847191, "num_range": 600000, "upper_bound": "1583318060"}, {"distinct_range": 33652615889183348, "num_eq": 30000000, "num_range": 1227389382669363326, "upper_bound": "1667124905"}, {"distinct_range": 7000000000, "num_eq": 8000000, "num_range": 7000000000, "upper_bound": "2770614782"}, {"distinct_range": 4000000, "num_eq": 200000000, "num_range": 4000000, "upper_bound": "3166753118"}, {"distinct_range": 1209333643396059100, "num_eq": 10000000000, "num_range": 3278362028296557425, "upper_bound": "3877625622"}, {"distinct_range": 1000, "num_eq": 700000000, "num_range": 1000, "upper_bound": "4073670299"}, {"distinct_range": 5340709556624051000, "num_eq": 8100896716957737014, "num_range": 5340709556624051159, "upper_bound": "4199912727"}, {"distinct_range": 500, "num_eq": 200, "num_range": 500, "upper_bound": "4259266694"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3421481481688437163, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1751412982797859685, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "687045537"}, {"distinct_range": 432803543805243650, "num_eq": 4736677819503345608, "num_range": 1027678490949289066, "upper_bound": "718890238"}, {"distinct_range": 690892.514217788, "num_eq": 70000, "num_range": 1000000, "upper_bound": "2382938868"}, {"distinct_range": 2893622788.9445186, "num_eq": 1798678912580739615, "num_range": 6000000000, "upper_bound": "2463102259"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4208602572826823115, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "08:26:27.841052"}, {"distinct_range": 439021450492579800, "num_eq": 7000000000, "num_range": 1334152234760710661, "upper_bound": "09:15:24.57077"}, {"distinct_range": 3237997820397284400, "num_eq": 7000000000, "num_range": 5130012089909525572, "upper_bound": "10:32:16.696531"}, {"distinct_range": 50787582903.91109, "num_eq": 60000, "num_range": 60000000000, "upper_bound": "10:38:44.995344"}, {"distinct_range": 30, "num_eq": 714980148310551615, "num_range": 30, "upper_bound": "11:40:36.69094"}, {"distinct_range": 30.37406944665162, "num_eq": 2373337128356532946, "num_range": 60, "upper_bound": "13:25:13.787084"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 1217898191837456869, "upper_bound": "20:34:17.9147"}, {"distinct_range": 4734287013064867000, "num_eq": 900, "num_range": 8391442984807340256, "upper_bound": "23:19:45.700378"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3395289120669640999, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 851626039810740522, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4003375704287596944, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 778639507601402286, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 3279086364992649341, "num_range": 4945157504039040888, "upper_bound": "821830784"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 40000000000, "upper_bound": "4079957810"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 531935069870681462, "histo_buckets": [{"distinct_range": 0, "num_eq": 7271242592688429044, "num_range": 0, "upper_bound": "3702646983"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3246931962033311268, "histo_buckets": [{"distinct_range": 0, "num_eq": 1497767008618970086, "num_range": 0, "upper_bound": "8 years 5 mons 902 days 09:47:22.550629"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 10000000000, "upper_bound": "28 years 11 mons 13 days 06:35:57.189754"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 4400548760609426547}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3262955815509509341, "histo_col_type": "", "name": "__auto__", "null_count": 2494184595106112387, "row_count": 4400548760609426547}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 671613804802688768, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 473317589228144125, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "696850959"}, {"distinct_range": 2914733010787521500, "num_eq": 2472581714527382603, "num_range": 2914733010787521637, "upper_bound": "1134848006"}, {"distinct_range": 0, "num_eq": 300, "num_range": 864943436132235170, "upper_bound": "2335685293"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 3408234229381111118, "upper_bound": "3494666643"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 102195572383285958, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 417920401541584729, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 760779030404902330, "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504019801119262043, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "123.64.217.235/19"}, {"distinct_range": 401005051193406200, "num_eq": 5127493986631621417, "num_range": 8173688383739098072, "upper_bound": "178.142.201.212/19"}, {"distinct_range": 2746856049936383500, "num_eq": 2782688127769457065, "num_range": 5291961984250053391, "upper_bound": "40.40.25.140/22"}, {"distinct_range": 1229571293381128000, "num_eq": 937612200946746622, "num_range": 3642816416327453318, "upper_bound": "197.201.160.219/28"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 600000, "upper_bound": "11b2:ba7f:6456:4318:14a3:177c:2a13:ef9c/8"}, {"distinct_range": 78.64408042753494, "num_eq": 300000, "num_range": 900, "upper_bound": "3953:acd6:409d:f729:77fa:8114:b4f1:92eb/92"}, {"distinct_range": 40000, "num_eq": 400000, "num_range": 40000, "upper_bound": "1406:da4b:a57d:ad54:3169:9b6a:5c6e:6721/101"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 1000000, "upper_bound": "bb79:701:7266:3ed7:518c:5173:ac52:9bd8/101"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35098446864689059, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 777790049098375149, "histo_col_type": "", "name": "__auto__", "null_count": 155989205216475439, "row_count": 1106121114361890086}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 644242856834278953, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "00:36:43.988892-09:25:00"}, {"distinct_range": 1529893058551964700, "num_eq": 8898312994199100553, "num_range": 1576177163630135155, "upper_bound": "17:55:03.677841+00:50:00"}, {"distinct_range": 40000, "num_eq": 60, "num_range": 40000, "upper_bound": "23:55:58.582727+06:05:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 287835628139183543, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2896818571019301, "histo_col_type": "", "name": "__auto__", "null_count": 917013603086408973, "row_count": 1106121114361890086}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 950761787523237008, "histo_col_type": "", "name": "__auto__", "null_count": 28118056444332449, "row_count": 1106121114361890086}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 878734152999568642, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5557777741849368000, "num_eq": 200, "num_range": 5557777741849367970, "upper_bound": "75397183"}, {"distinct_range": 400000000, "num_eq": 900000000, "num_range": 400000000, "upper_bound": "1052708564"}, {"distinct_range": 100, "num_eq": 30, "num_range": 100, "upper_bound": "1291877703"}, {"distinct_range": 6532445600595436000, "num_eq": 7403504550104868464, "num_range": 6532445600595435278, "upper_bound": "1869854084"}, {"distinct_range": 1906873.6670691478, "num_eq": 3000000, "num_range": 100000000, "upper_bound": "3017086283"}, {"distinct_range": 600000000, "num_eq": 900000000, "num_range": 600000000, "upper_bound": "3635203404"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 8000000, "upper_bound": "4012933332"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518975145513352988, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 913940424075473152, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 934578828309417115, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1061253637491924155, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 723970790066834005, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1106121114361890086}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 633516, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 867483, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 749731, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 618340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 834099, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 242381, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 755829, "histo_buckets": [{"distinct_range": 0, "num_eq": 8195997722075370873, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7330572189330308145, "num_range": 80000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 645675, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 614075, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186930, "histo_col_type": "", "name": "__auto__", "null_count": 245383, "row_count": 900000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147872, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432273, "histo_col_type": "", "name": "__auto__", "null_count": 318697, "row_count": 900000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 753214, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47087, "histo_col_type": "", "name": "__auto__", "null_count": 9790, "row_count": 900000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432796, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 852743, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 283898, "histo_col_type": "", "name": "__auto__", "null_count": 132338, "row_count": 900000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 588638, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 896175, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}]';
test_1 | ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3251742996786721816, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 447740456657885658, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2367641957339517678, "histo_col_type": "", "name": "__auto__", "null_count": 2032887717791546937, "row_count": 3618208370813175303}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1449172706658600717, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2002119476193250844, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 720208070695951708, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 772229033040463502, "histo_col_type": "", "name": "__auto__", "null_count": 820588731035772115, "row_count": 3618208370813175303}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2146851953721720050, "histo_col_type": "", "name": "__auto__", "null_count": 2065796620431666048, "row_count": 3618208370813175303}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241990806097366849, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 858697905187808444, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3180825611026898015, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1535380085905978699, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2236807418639578817, "histo_col_type": "", "name": "__auto__", "null_count": 693870170773542259, "row_count": 3618208370813175303}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 665320718164552746, "histo_col_type": "", "name": "__auto__", "null_count": 1214043570914071429, "row_count": 3618208370813175303}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 374583823352446587, "histo_col_type": "", "name": "__auto__", "null_count": 1689537578765419578, "row_count": 3618208370813175303}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372162428546150851, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 200000000, "upper_bound": "49922298"}, {"distinct_range": 4000000, "num_eq": 10000000, "num_range": 4000000, "upper_bound": "1252352370"}, {"distinct_range": 600000000, "num_eq": 90000000, "num_range": 600000000, "upper_bound": "1416011015"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 5762896344551758581, "upper_bound": "1532991471"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2261060529576485057, "histo_col_type": "", "name": "__auto__", "null_count": 65607576849070651, "row_count": 3618208370813175303}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1090551538464049374, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3398592769267257065, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 264880565876148154, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2066368144298720886, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2006706908637933102, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3183546789484238857, "histo_col_type": "", "name": "__auto__", "null_count": 625479359224430957, "row_count": 3618208370813175303}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2774808222788855241, "histo_col_type": "", "name": "__auto__", "null_count": 261518120324136430, "row_count": 3618208370813175303}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2127250494491320629, "histo_buckets": [{"distinct_range": 0, "num_eq": 5724506772662779698, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1582679.6563547782, "num_eq": 4239274689383323127, "num_range": 5000000, "upper_bound": "424510799"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 5960793762958558007, "upper_bound": "1153643885"}, {"distinct_range": 7000000000, "num_eq": 800000000, "num_range": 7000000000, "upper_bound": "1561340717"}, {"distinct_range": 891720101952732700, "num_eq": 6000000000, "num_range": 6361396234111764377, "upper_bound": "2014865120"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "2164326493"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 3618208370813175303}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86524184899147637, "histo_col_type": "", "name": "__auto__", "null_count": 449501930558771863, "row_count": 3618208370813175303}]';
test_1 | ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 666463961892768360, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "0b0fe460-996d-4dce-8ac7-edd2d769f641"}, {"distinct_range": 1522733.302426114, "num_eq": 2000000, "num_range": 10000000, "upper_bound": "3003efc0-d6fe-4002-af88-4a9bd4aa7591"}, {"distinct_range": 191845618249892320, "num_eq": 700, "num_range": 1208545344889387356, "upper_bound": "4dc9749a-0fbf-478e-8385-7cff2b7246c7"}, {"distinct_range": 22.513283913059794, "num_eq": 20000000000, "num_range": 30, "upper_bound": "a07312da-7929-42c9-88dd-3e031f52f9f2"}, {"distinct_range": 4862922864188277000, "num_eq": 379720277507593358, "num_range": 4862922864188276378, "upper_bound": "d97c18f8-b0b0-4895-8076-3b649adaf169"}, {"distinct_range": 1410024227.0887215, "num_eq": 90, "num_range": 6000000000, "upper_bound": "fd93007c-2579-48ea-ae30-2b50b82ab729"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1140124254759865120, "row_count": 1609839681479110291}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24449351205429329, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": ","}, {"distinct_range": 5239367423516920000, "num_eq": 90000000, "num_range": 7674292382640496967, "upper_bound": "O"}, {"distinct_range": 3222593220047177000, "num_eq": 8096248791406671554, "num_range": 3222593220047177074, "upper_bound": "f"}, {"distinct_range": 0, "num_eq": 6262473583228157268, "num_range": 0, "upper_bound": "j"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 1609839681479110291}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1497153148509118705, "histo_buckets": [{"distinct_range": 0, "num_eq": 6609328055888972662, "num_range": 0, "upper_bound": "0.38168764114379883"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 5000000000, "upper_bound": "0.7529169917106628"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 2659734531660666921, "upper_bound": "2.1964948177337646"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 579478013841379748, "row_count": 1609839681479110291}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136586623, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "09:44:58.546145"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104913559, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "6 years 6 mons 592 days 08:30:51.098195"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 288925734, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": ""}, {"distinct_range": 8198415422716360000, "num_eq": 100, "num_range": 8198415422716359882, "upper_bound": "!N "}, {"distinct_range": 3928562626188969000, "num_eq": 700000, "num_range": 3928562626188968767, "upper_bound": "&AW\\r\\u0005*\\u0010"}, {"distinct_range": 206882261490186100, "num_eq": 20, "num_range": 2936977205166490927, "upper_bound": ",4-"}, {"distinct_range": 50000000000, "num_eq": 104687734056143970, "num_range": 50000000000, "upper_bound": ".\\u0019F"}, {"distinct_range": 6000000, "num_eq": 0, "num_range": 6000000, "upper_bound": "g\\u0006>>"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62696933, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 133880059, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 197115688, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "433929116"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 231237737, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0
(compose).TestComposeCompare failed on master@4b98115dfda02a9498f566958bd915c45ec7e449:
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT (5.0::FLOAT8::FLOAT8 || 'J'::TEXT::TEXT)::TEXT AS col_77081) AS tab_49099
test_1 | ORDER BY
test_1 | col_77081 NULLS FIRST;
test_1 |
test_1 | postgres: [same as previous]
test_1 |
test_1 | --- FAIL: TestCompare/mutators (1.08s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 DATE, col1_1 DATE NOT NULL, col1_2 BIT(13), col1_3 REGTYPE NOT NULL, col1_4 STRING NOT NULL, col1_5 VARCHAR[], col1_6 INET NOT NULL, PRIMARY KEY (col1_3 DESC, col1_4 DESC, col1_1 DESC), col1_7 STRING AS (lower(CAST(col1_2 AS STRING))) STORED, INDEX (col1_1, col1_0, col1_7, col1_6 DESC, col1_3, col1_4) WHERE (((table1.col1_1 > '4714-11-24 BC':::DATE) AND (table1.col1_7 < '"':::STRING)) OR (table1.col1_4 = e'\U00002603':::STRING)) AND (table1.col1_0 >= '4714-11-24 BC':::DATE), UNIQUE (col1_1 DESC, col1_7, col1_4 ASC, col1_6, col1_2), FAMILY (col1_4, col1_7, col1_2, col1_0, col1_3), FAMILY (col1_5), FAMILY (col1_1), FAMILY (col1_6), UNIQUE (col1_3, col1_4) STORING (col1_5, col1_6) WHERE table1.col1_7 != e'\'');
test_1 | CREATE TABLE table2 (col2_0 REGCLASS NOT NULL, col2_1 INT4 NOT NULL, col2_2 OID NOT NULL, col2_3 REGPROC NOT NULL, col2_4 STRING NOT NULL, col2_5 REGTYPE NOT NULL, col2_6 FLOAT8 NOT NULL, col2_7 BIT(6) NULL, col2_8 FLOAT8 NOT NULL, col2_9 BOX2D NULL, col2_10 TIMESTAMPTZ, PRIMARY KEY (col2_5 DESC, col2_8 ASC, col2_2, col2_4 ASC, col2_1 ASC, col2_6 DESC, col2_3 ASC), col2_11 STRING NULL AS (lower(CAST(col2_7 AS STRING))) STORED, col2_12 STRING NOT NULL AS (lower(CAST(col2_0 AS STRING))) VIRTUAL, col2_13 FLOAT8 AS (col2_8 + col2_6) STORED, col2_14 FLOAT8 NOT NULL AS (col2_8 + col2_6) VIRTUAL, UNIQUE (col2_13, col2_2 DESC, col2_1, col2_0 DESC) STORING (col2_7, col2_9, col2_10) WHERE ((((((((table2.col2_8 > 1.401298464324817e-45) AND (table2.col2_6 != -Inf)) OR (table2.col2_11 < e'\x00')) OR (table2.col2_13 < -Inf)) OR (table2.col2_10 != '-2000-01-01 00:00:00+00:00')) AND (table2.col2_1 >= -1)) OR (table2.col2_4 >= '')) AND (table2.col2_12 = '"')) AND (table2.col2_14 != 1.401298464324817e-45), INDEX (col2_11 ASC, col2_3 DESC, col2_0 ASC, col2_4, col2_1 ASC) WHERE (((((table2.col2_13 >= (-1.0):::FLOAT8) AND (table2.col2_14 >= 'NaN':::FLOAT8)) OR (table2.col2_6 <= (-1.0):::FLOAT8)) OR (table2.col2_10 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_12 < e'\U00002603':::STRING)) OR (table2.col2_8 >= 0.0:::FLOAT8), INDEX (col2_5, col2_12 DESC, col2_6 ASC, col2_4 DESC, col2_1) WHERE ((((((((table2.col2_10 != '294276-12-31 23:59:59.999999+00:00') OR (table2.col2_1 != 127)) OR (table2.col2_11 <= e'\x00')) OR (table2.col2_14 = 1.0)) OR (table2.col2_4 >= '"')) OR (table2.col2_12 < '')) OR (table2.col2_8 = 1.0)) AND (table2.col2_13 >= NaN)) OR (table2.col2_6 >= 1.401298464324817e-45), FAMILY (col2_7, col2_9, col2_1, col2_6), FAMILY (col2_11, col2_4), FAMILY (col2_13), FAMILY (col2_8), FAMILY (col2_3, col2_5, col2_2), FAMILY (col2_0, col2_10), UNIQUE (col2_7) WHERE ((((((((table2.col2_4 > '"') AND (table2.col2_1 > -2147483648)) AND (table2.col2_6 != +Inf)) AND (table2.col2_8 < 1.7976931348623157e+308)) OR (table2.col2_10 = '-2000-01-01 00:00:00+00:00')) AND (table2.col2_13 != 1.7976931348623157e+308)) AND (table2.col2_12 < '')) AND (table2.col2_11 != e'\x00')) OR (table2.col2_14 != 0.0));
test_1 | CREATE TABLE table3 (col3_0 BOX2D NOT NULL, col3_1 TIMESTAMP NOT NULL, col3_2 BOOL NULL, col3_3 TIMESTAMPTZ NOT NULL, col3_4 BOX2D NOT NULL, col3_5 TIMETZ NOT NULL, col3_6 INT2 NOT NULL, col3_7 VARCHAR NOT NULL, col3_8 INTERVAL NOT NULL, col3_9 TIMETZ NOT NULL, col3_10 BIT(23) NOT NULL, col3_11 FLOAT4 NOT NULL, col3_12 REGPROC, col3_13 TIMESTAMP NULL, PRIMARY KEY (col3_5, col3_7, col3_4 ASC, col3_6, col3_1, col3_3 ASC, col3_0 ASC, col3_10 DESC, col3_8 ASC, col3_11 DESC), col3_14 STRING AS (lower(CAST(col3_10 AS STRING))) VIRTUAL, col3_15 INT2 NULL AS (col3_6 + 4120:::INT8) STORED, col3_16 STRING NULL AS (lower(CAST(col3_0 AS STRING))) STORED, col3_17 STRING NOT NULL AS (lower(CAST(col3_8 AS STRING))) VIRTUAL, col3_18 STRING NOT NULL AS (lower(CAST(col3_4 AS STRING))) VIRTUAL, INDEX (col3_17 DESC, col3_14 ASC, col3_18 ASC, col3_13, col3_16 ASC, col3_2 ASC, col3_0 ASC, col3_1, col3_3 DESC) STORING (col3_9, col3_15) WHERE ((((table3.col3_3 < '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table3.col3_6 < 0:::INT8)) AND (table3.col3_9 = '24:00:00-15:59:00':::TIMETZ)) OR (table3.col3_14 <= e'\'':::STRING)) AND (table3.col3_11 = '+Inf':::FLOAT8), FAMILY (col3_2, col3_0), FAMILY (col3_5), FAMILY (col3_6, col3_11), FAMILY (col3_4, col3_1), FAMILY (col3_15, col3_12), FAMILY (col3_13, col3_10), FAMILY (col3_16), FAMILY (col3_3, col3_9), FAMILY (col3_7, col3_8), UNIQUE (col3_11));
test_1 | CREATE TABLE table4 (col4_0 INT2 NOT NULL, col4_1 INET NOT NULL, col4_2 BOOL, col4_3 VARCHAR NULL, col4_4 REGPROC NOT NULL, col4_5 TIMESTAMPTZ NOT NULL, col4_6 REGTYPE NOT NULL, col4_7 INT8, col4_8 INT2 NULL, col4_9 REGPROCEDURE NOT NULL, col4_10 "char" NOT NULL, PRIMARY KEY (col4_4 ASC, col4_5 ASC, col4_9 ASC, col4_1 ASC, col4_0 DESC, col4_10 DESC, col4_6), col4_11 INT2 AS (col4_8 + col4_7) STORED, col4_12 STRING AS (lower(CAST(col4_1 AS STRING))) VIRTUAL, col4_13 STRING NULL AS (lower(CAST(col4_9 AS STRING))) VIRTUAL, UNIQUE (col4_10 ASC, col4_6 DESC, col4_12 ASC, col4_13 ASC, col4_7, col4_4 ASC, col4_5, col4_3 ASC, col4_8, col4_9 DESC, col4_1, col4_0 ASC) STORING (col4_2, col4_11) WHERE ((((((((table4.col4_2 OR (table4.col4_13 = 'X')) AND (table4.col4_8 >= -1)) OR (table4.col4_0 != 1)) AND (table4.col4_3 = e'\'')) AND (table4.col4_7 != 127)) OR (table4.col4_10 <= e'\'')) AND (table4.col4_5 >= '0001-01-01 00:00:00+00:00')) OR (table4.col4_11 < 0)) AND (table4.col4_12 != 'X'), UNIQUE (col4_3, col4_11 ASC, col4_1, col4_0 ASC, col4_6 ASC, col4_13, col4_2 ASC, col4_7 DESC, col4_12 DESC, col4_10 ASC, col4_4, col4_9 DESC, col4_5 DESC, col4_8 DESC) WHERE (((((((((table4.col4_8 < 0:::INT8) OR (table4.col4_0 = (-32768):::INT8)) OR (table4.col4_12 > e'\x00':::STRING)) AND (table4.col4_3 > e'\U00002603':::STRING)) AND (table4.col4_13 > '':::STRING)) AND (table4.col4_11 >= (-1):::INT8)) AND (table4.col4_10 < 'X':::STRING)) AND (table4.col4_7 <= 2147483647:::INT8)) AND (NOT table4.col4_2)) OR (table4.col4_5 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ), INDEX (col4_3 DESC, col4_0 ASC, col4_7, col4_10 ASC, col4_5 ASC, col4_2 ASC, col4_12, col4_6 ASC, col4_4, col4_13 DESC, col4_9, col4_1 ASC) WHERE ((((((((table4.col4_12 > '"') AND (table4.col4_13 >= '"')) AND (table4.col4_3 >= e'\U00002603')) OR (table4.col4_7 <= 9223372036854775807)) OR (table4.col4_10 > '"')) OR (table4.col4_11 < -1)) AND (NOT table4.col4_2)) OR (table4.col4_0 != -128)) OR (table4.col4_8 > 127), UNIQUE (col4_10, col4_7 DESC, col4_1, col4_8, col4_11 DESC) STORING (col4_2, col4_3) WHERE (table4.col4_5 = '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ) AND (table4.col4_3 >= e'\'':::STRING), INDEX (col4_11, col4_1 ASC, col4_0, col4_8 DESC, col4_9 ASC, col4_7, col4_6, col4_10 ASC), INDEX (col4_6) STORING (col4_3, col4_7, col4_8, col4_11) WHERE ((((((table4.col4_10 >= e'\U00002603') AND (table4.col4_11 <= -1)) AND table4.col4_2) OR (table4.col4_3 > '')) OR (table4.col4_0 < -32768)) AND (table4.col4_5 <= '3000-01-01 00:00:00+00:00')) OR (table4.col4_8 = 32767), INDEX (col4_3, col4_12 ASC, col4_8, col4_9, col4_13 ASC) STORING (col4_7) WHERE (((table4.col4_12 < e'\'') AND (table4.col4_0 < 1)) OR (table4.col4_7 > 127)) OR (table4.col4_13 >= e'\''), UNIQUE (col4_12 DESC) STORING (col4_2, col4_7, col4_11), UNIQUE (col4_10 DESC, col4_3 DESC, col4_9 ASC, col4_5 DESC, col4_2 ASC, col4_13 ASC, col4_0, col4_1 ASC, col4_12 DESC, col4_8 ASC, col4_6 DESC, col4_11, col4_4, col4_7) WHERE (((table4.col4_5 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table4.col4_3 = e'\'':::STRING)) OR (table4.col4_12 >= e'\'':::STRING)) AND (table4.col4_10 = '"':::STRING), FAMILY (col4_9, col4_8, col4_1, col4_4, col4_5, col4_0, col4_6), FAMILY (col4_11), FAMILY (col4_2), FAMILY (col4_10), FAMILY (col4_7, col4_3));
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4192, "histo_buckets": [{"distinct_range": 0, "num_eq": 4131252925157609782, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 0, "num_eq": 4270837879713382444, "num_range": 0, "upper_bound": "1980-07-02"}, {"distinct_range": 5189353454843032000, "num_eq": 8613873404811537143, "num_range": 5189353454843031096, "upper_bound": "1982-08-22"}, {"distinct_range": 499521361029699000, "num_eq": 1830586615824704153, "num_range": 4674908922767749724, "upper_bound": "1983-11-15"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7411653773882919440, "upper_bound": "1987-05-23"}, {"distinct_range": 54.08678158298842, "num_eq": 6108277789360194607, "num_range": 80, "upper_bound": "1993-04-28"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2448, "histo_col_type": "", "name": "__auto__", "null_count": 2477, "row_count": 7000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5707, "histo_buckets": [{"distinct_range": 0, "num_eq": 4203899087758496765, "num_range": 0, "upper_bound": "2389805374"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5631, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5413, "histo_col_type": "", "name": "__auto__", "null_count": 4562, "row_count": 7000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 311, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2222, "histo_col_type": "", "name": "__auto__", "null_count": 1939, "row_count": 7000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1542, "histo_col_type": "", "name": "__auto__", "null_count": 3085, "row_count": 7000}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 5629236026622743383, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 0, "num_range": 7198318901177719801, "upper_bound": "\\u0018KAn"}, {"distinct_range": 71166.95834610666, "num_eq": 10000000, "num_range": 100000, "upper_bound": "9<-\\u0016\\u0014NKW?"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 70000000, "upper_bound": "`\\u000e"}, {"distinct_range": 0, "num_eq": 100, "num_range": 70000000, "upper_bound": "l"}, {"distinct_range": 1219215069896596200, "num_eq": 4088288633431730524, "num_range": 1219215069896596303, "upper_bound": "z"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "-1.160431603072452"}, {"distinct_range": 4000000, "num_eq": 60000000, "num_range": 4000000, "upper_bound": "-1.0"}, {"distinct_range": 0, "num_eq": 20, "num_range": 861799295091912765, "upper_bound": "-0.31907853159847865"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8957152867299492132, "upper_bound": "-0.15731455031754282"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 90000, "upper_bound": "0.32813934479805607"}, {"distinct_range": 1195987705267999000, "num_eq": 200, "num_range": 4250169919172063750, "upper_bound": "0.5493343308262645"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "1102133838"}, {"distinct_range": 0, "num_eq": 4066956724770897583, "num_range": 8955893599736723705, "upper_bound": "2529675313"}, {"distinct_range": 5743255353116006000, "num_eq": 7759993462373400093, "num_range": 5743255353116006198, "upper_bound": "2575477843"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 4310160556936938462, "upper_bound": "4071205584"}, {"distinct_range": 8281137516975501000, "num_eq": 5685079655474746298, "num_range": 8281137516975501241, "upper_bound": "4076023233"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432284558100544715, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 105022238337302281, "histo_col_type": "", "name": "__auto__", "null_count": 458750140906915533, "row_count": 525141955323975200}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 306251982730082793, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 373763729129763370, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 510829409176716912, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 447930018620907049, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 487285397385947279, "histo_col_type": "", "name": "__auto__", "null_count": 30128751974373437, "row_count": 525141955323975200}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38918090077015321, "histo_col_type": "", "name": "__auto__", "null_count": 334697253749874915, "row_count": 525141955323975200}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57724636942694026, "histo_buckets": [{"distinct_range": 0, "num_eq": 3184729424011738438, "num_range": 0, "upper_bound": "b"}, {"distinct_range": 9.948744505965335, "num_eq": 6197064372166037975, "num_range": 10, "upper_bound": "hO"}, {"distinct_range": 2176.5204946254894, "num_eq": 10000, "num_range": 4000, "upper_bound": "v^!\\r\\u0014Sv"}, {"distinct_range": 30560058689885308, "num_eq": 60000000000, "num_range": 2903208730193807418, "upper_bound": "}\\u0001"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497551308755033208, "histo_col_type": "", "name": "__auto__", "null_count": 33538882516530872, "row_count": 525141955323975200}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339268805222716715, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 80950588769207595, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 281665458496447762, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 758437889262638, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 424383066907733579, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 205634205683027295, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 94841949652500365, "histo_col_type": "", "name": "__auto__", "null_count": 76259985700193554, "row_count": 525141955323975200}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 364600273680608612, "histo_col_type": "", "name": "__auto__", "null_count": 436454090315762632, "row_count": 525141955323975200}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 405834442139649269, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 525141955323975200}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87964864, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 19943.16607667769, "num_eq": 5559829511611418390, "num_range": 20000, "upper_bound": "\\n"}, {"distinct_range": 7234736832904143000, "num_eq": 300, "num_range": 7234736832904142464, "upper_bound": "\\u001dsy!\\u0018EcxA"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 916745224383613400, "num_eq": 348383591292267516, "num_range": 2874760615908228763, "upper_bound": "[\\\\%gu\\u0019o"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 56964297, "row_count": 100000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9958599, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45570194, "histo_buckets": [{"distinct_range": 0, "num_eq": 6701948608707059239, "num_range": 0, "upper_bound": "\\u0016"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": ","}, {"distinct_range": 6913618965969808000, "num_eq": 2316760824993917018, "num_range": 6913618965969808420, "upper_bound": "N"}, {"distinct_range": 0, "num_eq": 5010896556297851723, "num_range": 8107926322398999818, "upper_bound": "f"}, {"distinct_range": 2055603014579214300, "num_eq": 60000, "num_range": 2397676954507609141, "upper_bound": "g"}, {"distinct_range": 6557754915088157000, "num_eq": 4072300334295570939, "num_range": 6557754915088156429, "upper_bound": "k"}, {"distinct_range": 2188680.291423652, "num_eq": 2215738630516128144, "num_range": 3000000, "upper_bound": "x"}, {"distinct_range": 2373391686836549600, "num_eq": 8465752745524105256, "num_range": 2373391686836549770, "upper_bound": "y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88635251, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-22706"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 200, "upper_bound": "-13303"}, {"distinct_range": 774103664552305300, "num_eq": 300000, "num_range": 1153122072461979134, "upper_bound": "20595"}, {"distinct_range": 7000, "num_eq": 1000000, "num_range": 7000, "upper_bound": "26341"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 50793747, "row_count": 100000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12281298, "histo_col_type": "", "name": "__auto__", "null_count": 1811892, "row_count": 100000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10168829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30805346, "histo_buckets": [{"distinct_range": 0, "num_eq": 413117099627621946, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 3809024830001037300, "num_eq": 1436619767321979219, "num_range": 5873596284355824572, "upper_bound": "399880118"}, {"distinct_range": 0, "num_eq": 60, "num_range": 500000000, "upper_bound": "1249833862"}, {"distinct_range": 969.1550485422466, "num_eq": 841739357572616842, "num_range": 2000, "upper_bound": "1268029521"}, {"distinct_range": 2716379457959671000, "num_eq": 20000, "num_range": 4007071648092649027, "upper_bound": "3006177416"}, {"distinct_range": 9000000, "num_eq": 50000000, "num_range": 9000000, "upper_bound": "3111931698"}, {"distinct_range": 1870045041690692900, "num_eq": 1488248780256552490, "num_range": 9079192956358621004, "upper_bound": "4151179440"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19642098, "histo_col_type": "", "name": "__auto__", "null_count": 98731758, "row_count": 100000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82316527, "histo_col_type": "", "name": "__auto__", "null_count": 18069989, "row_count": 100000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 89425240, "histo_col_type": "", "name": "__auto__", "null_count": 61981654, "row_count": 100000000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34315623, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12902465, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 100000, "upper_bound": "\\u0002\\u0002"}, {"distinct_range": 0, "num_eq": 1787599775631665788, "num_range": 7000, "upper_bound": "Hk;5`t$}"}, {"distinct_range": 2514355047504638000, "num_eq": 1000000, "num_range": 5150810769456246179, "upper_bound": "N9\\u0002>KC\\n"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 57389550, "row_count": 100000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91743190, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "43583720"}, {"distinct_range": 400000, "num_eq": 200000000, "num_range": 400000, "upper_bound": "1048884595"}, {"distinct_range": 1471037347589882600, "num_eq": 0, "num_range": 1471037347589882716, "upper_bound": "3983364627"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53539545, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}]':::JSONB;
test_1 | ALTER TABLE table4 ADD FOREIGN KEY (col4_9, col4_10) REFERENCES table1 (col1_3, col1_4) ON DELETE CASCADE ON UPDATE CASCADE;
test_1 | ALTER TABLE table1 ADD FOREIGN KEY (col1_2) REFERENCES table2 (col2_7) ON DELETE RESTRICT;
test_1 | ALTER TABLE table2 ADD FOREIGN KEY (col2_8) REFERENCES table3 (col3_11);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('hn', 'o', 'ket', 'lwgek', 'ntuhy');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('meubbe');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('ild', 'owynsp', 'u', 'cog');
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64755330817, "histo_buckets": [{"distinct_range": 0, "num_eq": 4208399908954927830, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 0, "num_eq": 50, "num_range": 500000, "upper_bound": "1983-04-05"}, {"distinct_range": 4941647452951362000, "num_eq": 6773454521891133812, "num_range": 8098885661347988027, "upper_bound": "1985-04-06"}, {"distinct_range": 0, "num_eq": 5848305695767567354, "num_range": 400, "upper_bound": "1993-04-29"}, {"distinct_range": 307159889743210430, "num_eq": 70000, "num_range": 397574568998647338, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39602694243, "histo_col_type": "", "name": "__auto__", "null_count": 45681048339, "row_count": 70000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44098682378, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "713079178"}, {"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "1009388128"}, {"distinct_range": 6000000000, "num_eq": 6408498772114974081, "num_range": 6000000000, "upper_bound": "2514997170"}, {"distinct_range": 0, "num_eq": 7649261465957433656, "num_range": 30000000000, "upper_bound": "2615892661"}, {"distinct_range": 4931.218488336773, "num_eq": 90000000000, "num_range": 8000, "upper_bound": "3555491659"}, {"distinct_range": 178781923747222340, "num_eq": 7985865003041223805, "num_range": 3124271025404112442, "upper_bound": "4177956706"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55329694706, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67691434409, "histo_col_type": "", "name": "__auto__", "null_count": 31398130527, "row_count": 70000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44598137073, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41510808091, "histo_col_type": "", "name": "__auto__", "null_count": 42858903486, "row_count": 70000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61459483739, "histo_col_type": "", "name": "__auto__", "null_count": 55452807059, "row_count": 70000000000}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 5985867505998650125, "num_range": 800000, "upper_bound": "135382447"}, {"distinct_range": 1000000000, "num_eq": 3000000, "num_range": 1000000000, "upper_bound": "1416598776"}, {"distinct_range": 0, "num_eq": 8128753612556157092, "num_range": 100, "upper_bound": "2061791785"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1797259664797363932, "num_range": 0, "upper_bound": "F9p\\u001d\\u0006"}, {"distinct_range": 1437867675091528700, "num_eq": 162312723311439843, "num_range": 3581929995719381904, "upper_bound": "MM"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6244757020352349968, "num_range": 0, "upper_bound": "0.6770646155907134"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 5460523764913306447, "num_range": 0, "upper_bound": "000010"}, {"distinct_range": 3796235798205716500, "num_eq": 5898732227857270780, "num_range": 5398149842249194557, "upper_bound": "001011"}, {"distinct_range": 0.0019238024809576152, "num_eq": 8389643901159333081, "num_range": 30, "upper_bound": "011111"}, {"distinct_range": 8321370831.682529, "num_eq": 8863497773491572871, "num_range": 30000000000, "upper_bound": "100100"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2482, "histo_col_type": "", "name": "__auto__", "null_count": 726, "row_count": 4000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2634, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2686, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2458, "histo_buckets": [{"distinct_range": 0, "num_eq": 5306330038132976631, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "0.34913063049316406"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3683, "histo_col_type": "", "name": "__auto__", "null_count": 800, "row_count": 4000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3108, "histo_col_type": "", "name": "__auto__", "null_count": 3835, "row_count": 4000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2691, "histo_col_type": "", "name": "__auto__", "null_count": 3658, "row_count": 4000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54, "histo_col_type": "", "name": "__auto__", "null_count": 1217, "row_count": 4000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 494, "histo_col_type": "", "name": "__auto__", "null_count": 1163, "row_count": 4000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1168, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2485, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3277, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "6*\\u0013"}, {"distinct_range": 0, "num_eq": 80, "num_range": 100, "upper_bound": "B,(P\\u0017\\u0014\\u000e*1"}, {"distinct_range": 0, "num_eq": 3665797631201280071, "num_range": 0, "upper_bound": "BL"}, {"distinct_range": 928857619435671000, "num_eq": 1232040236919796591, "num_range": 1497116256190592470, "upper_bound": "E"}, {"distinct_range": 4111009.5944868964, "num_eq": 9000000000, "num_range": 5000000, "upper_bound": "MU4<\\u00044"}, {"distinct_range": 32979.23825925997, "num_eq": 1804537705064709214, "num_range": 100000, "upper_bound": "X"}, {"distinct_range": 4000000000, "num_eq": 2626035318088669662, "num_range": 4000000000, "upper_bound": "w[\\u000c\\u001d"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 118, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "01:32:37.791484+11:56:00"}, {"distinct_range": 0, "num_eq": 9168336347812820140, "num_range": 50000000, "upper_bound": "05:46:33.217784+05:52:00"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 30000000, "upper_bound": "01:53:37.851135-04:28:00"}, {"distinct_range": 0, "num_eq": 3204783177570313194, "num_range": 80, "upper_bound": "23:20:45.800491+13:19:00"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 3205769940193636614, "upper_bound": "08:22:44.30156-02:21:00"}, {"distinct_range": 3889912962728484000, "num_eq": 40000000000, "num_range": 4863118214259044608, "upper_bound": "16:19:56.553307+00:02:00"}, {"distinct_range": 4504255188066634000, "num_eq": 632057011234022470, "num_range": 4504255188066634114, "upper_bound": "11:12:19.061173-13:36:00"}, {"distinct_range": 6000, "num_eq": 1335698612175752715, "num_range": 6000, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 426, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 882, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 544, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3306, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}]';
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104699480, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104401827, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 192480461, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127749443, "histo_col_type": "", "name": "__auto__", "null_count": 25341881, "row_count": 300000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186171058, "histo_col_type": "", "name": "__auto__", "null_count": 126219806, "row_count": 300000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 223344926, "histo_col_type": "", "name": "__auto__", "null_count": 78823442, "row_count": 300000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209790726, "histo_buckets": [{"distinct_range": 0, "num_eq": 6279327373497123224, "num_range": 0, "upper_bound": "\\u001d"}, {"distinct_range": 60000000, "num_eq": 473545721948114692, "num_range": 60000000, "upper_bound": ".uTl\\u0012"}, {"distinct_range": 60000000, "num_eq": 3046719920255426294, "num_range": 60000000, "upper_bound": "Ks"}, {"distinct_range": 2837101542276730400, "num_eq": 10000000000, "num_range": 2837101542276730328, "upper_bound": "\x7fw\\u0017\\u001c(n!"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 249328607, "row_count": 300000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 126705458, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "475060841"}, {"distinct_range": 0, "num_eq": 9094200638236924951, "num_range": 0, "upper_bound": "3275087941"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292622923, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "273181983"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 900000000, "upper_bound": "2334278167"}, {"distinct_range": 881930625.9636194, "num_eq": 300, "num_range": 900000000, "upper_bound": "2523415190"}, {"distinct_range": 3514.313514321009, "num_eq": 2610169132160276423, "num_range": 6000, "upper_bound": "3785936650"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28394726, "histo_col_type": "", "name": "__auto__", "null_count": 237264063, "row_count": 300000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 207739792, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": ""}, {"distinct_range": 196.42291724521112, "num_eq": 0, "num_range": 2000, "upper_bound": "\\n\\u0001|!939y"}, {"distinct_range": 0, "num_eq": 3681249735887213503, "num_range": 10000, "upper_bound": "a"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 219485266, "row_count": 300000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136518131, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46488, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "\\u0007"}, {"distinct_range": 6560325716.279718, "num_eq": 20000000000, "num_range": 8000000000, "upper_bound": "\\u0019"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2000000, "upper_bound": "!"}, {"distinct_range": 0, "num_eq": 7178509103082075941, "num_range": 0, "upper_bound": "@"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 838250554660477298, "upper_bound": "M"}, {"distinct_range": 8377.48627835703, "num_eq": 80000, "num_range": 50000, "upper_bound": "T"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 90, "upper_bound": "\\\\"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 4000, "upper_bound": "m"}, {"distinct_range": 2616.888532642831, "num_eq": 800000, "num_range": 50000, "upper_bound": "z"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69238553, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "-26853"}, {"distinct_range": 6053534643415354000, "num_eq": 8000000, "num_range": 6053534643415354617, "upper_bound": "-23294"}, {"distinct_range": 469128036.31267256, "num_eq": 8940913584919515294, "num_range": 4000000000, "upper_bound": "2763"}, {"distinct_range": 0, "num_eq": 8930661053580184250, "num_range": 70000, "upper_bound": "9210"}, {"distinct_range": 200000000, "num_eq": 4561568445368699367, "num_range": 200000000, "upper_bound": "9637"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 94105988, "row_count": 300000000}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3324624470075418032, "histo_col_type": "", "name": "__auto__", "null_count": 1733097738461302417, "row_count": 6848276953201412194}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4924486162363580723, "histo_buckets": [{"distinct_range": 0, "num_eq": 6753631424574212189, "num_range": 0, "upper_bound": "19210723"}, {"distinct_range": 1379599067067576000, "num_eq": 40, "num_range": 2149823601869609820, "upper_bound": "639406999"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "917083692"}, {"distinct_range": 800000, "num_eq": 80000, "num_range": 800000, "upper_bound": "1229959402"}, {"distinct_range": 566987.2793921302, "num_eq": 419578901655907944, "num_range": 900000, "upper_bound": "1458083885"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "1950719300"}, {"distinct_range": 3340.1179402711214, "num_eq": 6258892449980433310, "num_range": 6000, "upper_bound": "3596464552"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 6848276953201412194}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4811337992112032623, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6848276953201412194}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1300259426227342918, "histo_col_type": "", "name": "__auto__", "null_count": 4532219108902904860, "row_count": 6848276953201412194}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3098994642264416176, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6848276953201412194}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5917462091661390815, "histo_col_type": "", "name": "__auto__", "null_count": 2366956130013303433, "row_count": 6848276953201412194}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4873811353337110804, "histo_col_type": "", "name": "__auto__", "null_count": 382083101369951215, "row_count": 6848276953201412194}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3004418702513968116, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 2470229629553004500, "num_eq": 4520951505751754949, "num_range": 7977857641990348855, "upper_bound": "1975-09-05"}, {"distinct_range": 1000000, "num_eq": 90, "num_range": 1000000, "upper_bound": "1977-09-07"}, {"distinct_range": 8599293070485541000, "num_eq": 0, "num_range": 8599293070485540497, "upper_bound": "1979-05-22"}, {"distinct_range": 110760347.59233949, "num_eq": 200, "num_range": 200000000, "upper_bound": "1981-08-23"}, {"distinct_range": 7362063755455572000, "num_eq": 1000000, "num_range": 7362063755455571988, "upper_bound": "1989-03-19"}, {"distinct_range": 1789311507780569.8, "num_eq": 20000, "num_range": 7375284756577479368, "upper_bound": "1993-02-07"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 6848276953201412194}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1891944983711839174, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6617935830343602220, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3422724574038144788, "histo_col_type": "", "name": "__auto__", "null_count": 5083854644253721253, "row_count": 9104320548372190160}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2534046557217876651, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2110655674952343666, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6333448067419878119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3113282581469924096, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 7175348350355103736, "row_count": 9104320548372190160}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3846456693559326210, "histo_buckets": [{"distinct_range": 0, "num_eq": 3820894805406049338, "num_range": 0, "upper_bound": "880598735"}, {"distinct_range": 0, "num_eq": 2438694971571164086, "num_range": 0, "upper_bound": "2135973191"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "2445076914"}, {"distinct_range": 842617237419044400, "num_eq": 9000, "num_range": 848352556829563060, "upper_bound": "2492008806"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 90000, "upper_bound": "3005242799"}, {"distinct_range": 200, "num_eq": 0, "num_range": 200, "upper_bound": "3198934221"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8078106230713594814, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "000111"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 5321490514965037014, "row_count": 9104320548372190160}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 568991430840065150, "histo_col_type": "", "name": "__auto__", "null_count": 736093865930534044, "row_count": 9104320548372190160}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3773743923106845735, "histo_buckets": [{"distinct_range": 0, "num_eq": 4414370802771061385, "num_range": 0, "upper_bound": ""}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 1608765025398308631, "row_count": 9104320548372190160}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8192957724450644880, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 110848100644404085, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4069725942000609516, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4062210843768270598, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9104320548372190160}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1912, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1921, "histo_col_type": "", "name": "__auto__", "null_count": 2405, "row_count": 10000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3545, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6836, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3683, "histo_col_type": "", "name": "__auto__", "null_count": 7220, "row_count": 10000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9305, "histo_col_type": "", "name": "__auto__", "null_count": 151, "row_count": 10000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8234, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6786, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9705, "histo_col_type": "", "name": "__auto__", "null_count": 3946, "row_count": 10000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9636, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6146, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9900, "histo_buckets": [{"distinct_range": 0, "num_eq": 9195781248288591606, "num_range": 0, "upper_bound": "X"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1095, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9919, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 480, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "-2.327049493789673"}, {"distinct_range": 0, "num_eq": 359452281337434062, "num_range": 700000000, "upper_bound": "-0.34401383996009827"}, {"distinct_range": 0, "num_eq": 300, "num_range": 6709661816229123521, "upper_bound": "0.46478497982025146"}, {"distinct_range": 30000000000, "num_eq": 10000000, "num_range": 30000000000, "upper_bound": "0.5096845626831055"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9331, "histo_col_type": "", "name": "__auto__", "null_count": 5726, "row_count": 10000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7160, "histo_col_type": "", "name": "__auto__", "null_count": 8520, "row_count": 10000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}]';
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 777, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1246464220239121367, "num_range": 0, "upper_bound": "403530861"}, {"distinct_range": 6634585034363296000, "num_eq": 90000000000, "num_range": 6634585034363295547, "upper_bound": "1138177082"}, {"distinct_range": 453278420664890400, "num_eq": 1000000000, "num_range": 453278420664890391, "upper_bound": "2178090379"}, {"distinct_range": 0, "num_eq": 4630129860908006551, "num_range": 4000000, "upper_bound": "3587516679"}, {"distinct_range": 739142814.6796861, "num_eq": 1813516131065822408, "num_range": 1000000000, "upper_bound": "4278687459"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 595, "histo_buckets": [{"distinct_range": 0, "num_eq": 1860241226806138984, "num_range": 0, "upper_bound": "1748282073"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 322, "histo_col_type": "", "name": "__auto__", "null_count": 222, "row_count": 900}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 757, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "-32691"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 6414438199392270786, "upper_bound": "-9768"}, {"distinct_range": 20, "num_eq": 6000000, "num_range": 20, "upper_bound": "26277"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 886, "row_count": 900}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86, "histo_col_type": "", "name": "__auto__", "null_count": 99, "row_count": 900}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 165, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 845, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "#"}, {"distinct_range": 276380821539846460, "num_eq": 3000000, "num_range": 924773959143693885, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 100000, "upper_bound": ">"}, {"distinct_range": 2822039847813387300, "num_eq": 9000000000, "num_range": 5666663202821467693, "upper_bound": "M"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 437, "histo_buckets": [{"distinct_range": 0, "num_eq": 6464383634128599897, "num_range": 0, "upper_bound": ""}, {"distinct_range": 368723208897867260, "num_eq": 1134081454653718846, "num_range": 368723208897867249, "upper_bound": "\\u0003-YOIZ+"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 90000000, "upper_bound": "\\u0015];_*"}, {"distinct_range": 886508095685316200, "num_eq": 8787738005991391446, "num_range": 1790732049785481611, "upper_bound": "\\u0017POz,\\ra\\u0001W"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 6622938024270137059, "upper_bound": "xc"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 749, "row_count": 900}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 709, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 624, "histo_buckets": [{"distinct_range": 0, "num_eq": 1091695221310724477, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 4245229551824301859, "upper_bound": "a?"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 794, "row_count": 900}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 442, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 470, "histo_col_type": "", "name"
(compose).TestComposeCompare failed on master@4b98115dfda02a9498f566958bd915c45ec7e449:
test_1 | CREATE INDEX ON table1 (col1_0 DESC, col1_2, col1_1 DESC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_2 DESC, col1_3 ASC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3 DESC, col1_0, col1_2);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3 DESC, col1_2 ASC, col1_0);
test_1 | CREATE INDEX ON table1 (col1_1 ASC);
test_1 | CREATE INDEX ON table1 (col1_3 ASC, col1_0, col1_2, col1_1);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_1 DESC, col1_0 DESC, col1_3 DESC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3 ASC, col1_0 ASC, col1_2);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_2 DESC, col1_0, col1_3 DESC);
test_1 | CREATE TABLE table2 (col1_1 CHAR NOT NULL, col1_2 INT8 NOT NULL, col1_3 BOX2D NOT NULL, col1_0 REGTYPE NOT NULL, col2_4 FLOAT8 NULL, col2_5 REGPROC NULL, col2_6 "char" NULL, PRIMARY KEY (col1_1, col1_2, col1_3, col1_0));
test_1 | CREATE UNIQUE INDEX ON table2 (col2_5 ASC, col1_0 ASC, col2_6);
test_1 | CREATE UNIQUE INDEX ON table2 (col1_3, col1_2);
test_1 | ALTER TABLE table1 ADD FOREIGN KEY (col1_3, col1_2) REFERENCES table2 (col1_3, col1_2);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('wbv', 'fcrfo', 'lrfdj', 'zwbtgd', 'rnbpu', 'wyjswt');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('tcwbjf', 'qtf');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('ea', 'tyc', 'v', 'io', 'xewli');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('rvo', 'oike', 'yvf', 'r', 'mooasl', 'j');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('ajycm', 'cnau');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
test_1 | --- FAIL: TestCompare/mutators (0.91s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 BIT(13) NOT NULL, col1_1 REGTYPE NOT NULL, col1_2 REGCLASS NOT NULL, col1_3 TIMETZ NOT NULL, PRIMARY KEY (col1_3 DESC, col1_0 ASC, col1_2, col1_1 ASC), col1_4 STRING NULL AS (lower(CAST(col1_0 AS STRING))) STORED, col1_5 STRING AS (lower(CAST(col1_1 AS STRING))) STORED, col1_6 STRING AS (lower(CAST(col1_1 AS STRING))) VIRTUAL, UNIQUE (col1_1 ASC, col1_3 DESC, col1_4 DESC, col1_6, col1_2 ASC) STORING (col1_5) WHERE (((table1.col1_6 != e'\x00':::STRING) AND (table1.col1_4 > e'\x00':::STRING)) AND (table1.col1_5 != e'\U00002603':::STRING)) AND (table1.col1_3 > '24:00:00-15:59:00':::TIMETZ), UNIQUE (col1_6, col1_5, col1_4, col1_3 DESC, col1_2 DESC, col1_0 ASC, col1_1) WHERE (((table1.col1_4 = e'\'':::STRING) OR (table1.col1_6 != e'\U00002603':::STRING)) AND (table1.col1_5 <= '"':::STRING)) AND (table1.col1_3 > '00:00:00+15:59:00':::TIMETZ), UNIQUE (col1_1, col1_3, col1_0 DESC, col1_2 DESC, col1_4 DESC, col1_5 ASC) WHERE (((table1.col1_6 = '"':::STRING) OR (table1.col1_5 >= '"':::STRING)) AND (table1.col1_3 >= '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_4 <= '"':::STRING), UNIQUE (col1_4 ASC, col1_2, col1_1 ASC, col1_0 DESC, col1_6 DESC, col1_3 DESC, col1_5 DESC) WHERE (((table1.col1_4 != '"') OR (table1.col1_6 < '"')) AND (table1.col1_5 >= e'\U00002603')) AND (table1.col1_3 >= '00:00:00+15:59:00'), UNIQUE (col1_4, col1_5 ASC, col1_0 DESC, col1_2 DESC, col1_3, col1_1) WHERE (((table1.col1_6 <= 'X') OR (table1.col1_5 <= 'X')) OR (table1.col1_3 < '00:00:00+15:59:00')) AND (table1.col1_4 != e'\x00'), FAMILY (col1_2), FAMILY (col1_0), FAMILY (col1_1, col1_3, col1_5, col1_4));
test_1 | CREATE TABLE table2 (col1_3 TIMETZ NOT NULL, col1_0 BIT(13) NOT NULL, col1_2 REGCLASS NOT NULL, col1_1 REGTYPE NOT NULL, col2_4 BIT(42), col2_5 BIT(21), col2_6 DATE, col2_7 NAME, col2_8 BYTES NOT NULL, col2_9 BIT(24) NOT NULL, col2_10 NAME NOT NULL, col2_11 INET NULL, col2_12 TIMETZ, col2_13 FLOAT8, col2_14 INT2, col2_15 DECIMAL NOT NULL, col2_16 FLOAT8 NULL, col2_17 TIMETZ NOT NULL, col2_18 BIT NOT NULL, col2_19 UUID NULL, col2_20 REGPROCEDURE NOT NULL, PRIMARY KEY (col1_3 DESC, col1_0 ASC, col1_2, col1_1 ASC, col2_6 DESC, col2_17 DESC, col2_7 ASC, col2_16, col2_18 ASC, col2_10 DESC, col2_20 ASC, col2_4, col2_12 DESC, col2_14, col2_5, col2_13, col2_15 ASC, col2_19 DESC, col2_11, col2_9), INDEX (col2_5 ASC, col2_15 DESC, col2_7, col1_3 DESC) STORING (col2_8), UNIQUE (col2_14, col2_7, col2_16 ASC, col1_0 ASC, col2_15 DESC, col1_2 ASC, col2_17, col2_13, col2_11 DESC, col1_3 DESC, col2_4, col2_12 ASC, col2_18 ASC, col2_9, col2_19 DESC, col2_8 ASC, col2_6 DESC, col2_5, col2_10 ASC, col2_20) WHERE ((((((((((table2.col2_16 < 3.4028234663852886e+38:::FLOAT8) OR (table2.col2_17 < '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_13 = 1.401298464324817e-45:::FLOAT8)) OR (table2.col2_6 > '5874897-12-31':::DATE)) AND (table2.col2_8 < e'\\xe29883':::BYTES)) AND (table2.col1_3 < '00:00:00+15:59:00':::TIMETZ)) AND (table2.col2_10 > '"':::STRING)) OR (table2.col2_7 = '"':::STRING)) AND (table2.col2_14 = 32767:::INT8)) AND (table2.col2_12 <= '24:00:00-15:59:00':::TIMETZ)) OR (table2.col2_15 <= 'NaN':::DECIMAL), INDEX (col2_8, col2_14, col1_1 ASC, col2_4 DESC, col2_5, col2_13 ASC, col1_3 DESC, col2_12 DESC, col1_0 DESC, col2_7 DESC, col2_16 ASC, col2_17, col2_15 DESC, col2_19 DESC, col2_9 DESC, col2_20 ASC, col2_10 DESC), INDEX (col2_11, col2_18 DESC, col2_17, col2_20 ASC, col2_4, col2_5 DESC, col2_12 DESC, col2_13 DESC, col2_15 DESC, col2_14, col2_6 DESC, col1_2 ASC) STORING (col2_8), INDEX (col2_16 ASC, col2_5 DESC, col2_4 DESC, col1_1 ASC, col2_14 ASC, col2_8 DESC, col2_17 ASC, col1_3, col2_9 DESC, col2_19 DESC, col2_10, col1_2 ASC, col2_13 ASC) WHERE ((((((((((table2.col2_14 = -1) OR (table2.col2_17 > '24:00:00-15:59:00')) OR (table2.col2_16 < 1.401298464324817e-45)) AND (table2.col2_8 = '\x00')) OR (table2.col2_15 != -1.234E+401)) AND (table2.col2_10 != '"')) AND (table2.col2_6 >= '-infinity')) AND (table2.col2_12 > '24:00:00-15:59:00')) OR (table2.col2_7 > '"')) OR (table2.col2_13 != 1.0)) OR (table2.col1_3 >= '00:00:00+15:59:00'), INDEX (col2_13 DESC, col2_19 DESC, col2_15 DESC, col2_17 ASC, col1_2 ASC, col2_14, col2_10 ASC, col2_8 ASC, col1_1 ASC, col2_12 ASC, col2_18 DESC, col2_16, col2_5 ASC, col2_20, col2_4 ASC, col2_7 DESC) WHERE (((table2.col2_15 < -Infinity) OR (table2.col2_16 < +Inf)) OR (table2.col2_8 <= '\x27')) OR (table2.col2_7 < e'\U00002603'), UNIQUE (col2_11, col2_10 DESC, col2_15 DESC, col1_3 DESC, col2_17 DESC, col2_20 DESC, col2_5, col2_16), UNIQUE (col1_2, col1_1 ASC, col2_10 ASC, col2_7 ASC, col2_4, col1_3 ASC, col2_13 ASC, col2_14 ASC, col1_0, col2_9 ASC), INDEX (col2_15 ASC, col1_3 DESC, col2_11 ASC, col1_2 DESC, col2_12, col2_9 DESC, col1_0 DESC, col1_1, col2_18 ASC, col2_5 ASC, col2_6), FAMILY (col2_10), FAMILY (col2_8, col1_3), FAMILY (col2_16), FAMILY (col2_12), FAMILY (col2_18, col2_11), FAMILY (col2_7), FAMILY (col1_1), FAMILY (col2_19, col1_0, col2_14, col2_20), FAMILY (col2_4), FAMILY (col2_15, col2_5, col2_13, col2_9, col1_2, col2_17, col2_6)) INTERLEAVE IN PARENT table1 (col1_3, col1_0, col1_2, col1_1);
test_1 | CREATE TABLE table3 (col3_0 INT2 NOT NULL, col3_1 REGPROCEDURE NOT NULL, col3_2 BIT(25) NOT NULL, col3_3 INET NOT NULL, col3_4 "char" NOT NULL, col3_5 FLOAT8 NOT NULL, col3_6 DECIMAL NOT NULL, col3_7 REGPROC NULL, PRIMARY KEY (col3_4, col3_3 ASC, col3_6 DESC, col3_1 ASC, col3_2 ASC, col3_0 ASC, col3_5 ASC), col3_8 STRING NOT NULL AS (lower(CAST(col3_7 AS STRING))) VIRTUAL, col3_9 STRING AS (lower(col3_4)) VIRTUAL, col3_10 INT2 NOT NULL AS (col3_0 + (-22022):::INT8) VIRTUAL, col3_11 STRING AS (lower(CAST(col3_7 AS STRING))) STORED, col3_12 FLOAT8 NOT NULL AS (col3_5 + (-0.7644362350987426):::FLOAT8) STORED, col3_13 INT2 AS (col3_0 + 1764:::INT8) STORED, col3_14 FLOAT8 AS (col3_5 + 1.4048502847182405:::FLOAT8) STORED, UNIQUE (col3_0, col3_12, col3_8 DESC, col3_13 ASC, col3_7 ASC, col3_4 DESC, col3_6 DESC, col3_5, col3_9, col3_2 ASC, col3_3, col3_10 ASC, col3_11 ASC, col3_14, col3_1) WHERE ((((table3.col3_11 > e'\'':::STRING) OR (table3.col3_6 = (-1):::DECIMAL)) OR (table3.col3_4 < e'\U00002603':::STRING)) OR (table3.col3_12 < 1.401298464324817e-45:::FLOAT8)) AND (table3.col3_14 = 0.0:::FLOAT8), INDEX (col3_12 ASC, col3_10, col3_0 ASC, col3_5 ASC) STORING (col3_11, col3_13), INDEX (col3_1 ASC, col3_5, col3_13) STORING (col3_7, col3_11) WHERE ((((((table3.col3_4 != '"':::STRING) OR (table3.col3_12 < '-Inf':::FLOAT8)) OR (table3.col3_9 < e'\U00002603':::STRING)) OR (table3.col3_11 < '':::STRING)) AND (table3.col3_0 > (-1):::INT8)) AND (table3.col3_13 > 1:::INT8)) OR (table3.col3_5 != 'NaN':::FLOAT8), UNIQUE (col3_4 DESC, col3_2 DESC, col3_1 DESC, col3_14 ASC) STORING (col3_11, col3_12) WHERE ((((((((((table3.col3_11 > '"') AND (table3.col3_6 <= 0)) AND (table3.col3_0 != -1)) OR (table3.col3_12 >= 3.4028234663852886e+38)) AND (table3.col3_8 != '"')) OR (table3.col3_5 != 5e-324)) AND (table3.col3_9 != e'\'')) OR (table3.col3_14 > -1.0)) OR (table3.col3_4 = '')) OR (table3.col3_13 <= -128)) AND (table3.col3_10 != -1), INDEX (col3_5 DESC, col3_7, col3_11 ASC, col3_1 ASC, col3_3 DESC, col3_14 DESC, col3_6, col3_12 DESC, col3_0 DESC, col3_8 ASC, col3_10 ASC) STORING (col3_13) WHERE (((((table3.col3_8 < 'X') OR (table3.col3_12 < 0.0)) AND (table3.col3_13 > 0)) OR (table3.col3_11 != '')) AND (table3.col3_5 > NaN)) AND (table3.col3_10 >= -32768), INDEX (col3_1, col3_12 DESC, col3_5 ASC, col3_10 ASC, col3_3, col3_7 DESC, col3_6, col3_9 ASC, col3_4, col3_14 ASC, col3_0 DESC, col3_2 ASC, col3_8, col3_13 DESC, col3_11 ASC) WHERE ((((table3.col3_13 > (-1):::INT8) OR (table3.col3_14 = 1.0:::FLOAT8)) OR (table3.col3_0 <= (-32768):::INT8)) AND (table3.col3_5 < 1.401298464324817e-45:::FLOAT8)) AND (table3.col3_6 <= (-1):::DECIMAL), INDEX (col3_2 DESC) STORING (col3_11, col3_12) WHERE (((table3.col3_10 > 0:::INT8) AND (table3.col3_9 > 'X':::STRING)) AND (table3.col3_6 > (-1.234E+401):::DECIMAL)) OR (table3.col3_12 > (-1.0):::FLOAT8), FAMILY (col3_1), FAMILY (col3_6, col3_12, col3_14, col3_13, col3_3, col3_11), FAMILY (col3_2, col3_0, col3_5, col3_7, col3_4));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5088385668135298393, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "553602643"}, {"distinct_range": 1576913838059578000, "num_eq": 400000000, "num_range": 1576913838059578159, "upper_bound": "1285838409"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7551934018090086032}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2845842341218085810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7551934018090086032}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6061279060639465909, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 7551934018090086032}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 355333415505627394, "histo_buckets": [{"distinct_range": 0, "num_eq": 6404225556081494725, "num_range": 0, "upper_bound": "\'"}, {"distinct_range": 1083253891750430500, "num_eq": 7918639012950130149, "num_range": 5876210039389919079, "upper_bound": "Bo\\u001fE\\u0015O"}, {"distinct_range": 0, "num_eq": 8998920408624633984, "num_range": 5607695958185555106, "upper_bound": "IP\x7f"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2017420159641537478, "row_count": 7551934018090086032}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2970330418786360842, "histo_col_type": "", "name": "__auto__", "null_count": 6545403703983566488, "row_count": 7551934018090086032}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6075677619436028472, "histo_buckets": [{"distinct_range": 0, "num_eq": 3714740968909014701, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 346068087162165799, "num_range": 2601489586177475125, "upper_bound": "\\u00017"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "\\u000cU\\u0002c\\u001211"}, {"distinct_range": 0, "num_eq": 30, "num_range": 1514835569768785164, "upper_bound": "\\u0013`FA\\u0017D7"}, {"distinct_range": 0, "num_eq": 8532101584108989547, "num_range": 0, "upper_bound": "-/"}, {"distinct_range": 0, "num_eq": 3316921854834821936, "num_range": 8736684046097332691, "upper_bound": "F~"}, {"distinct_range": 8026852622929953000, "num_eq": 5868666006193591163, "num_range": 8026852622929953270, "upper_bound": "X"}, {"distinct_range": 200000, "num_eq": 3561579553604992475, "num_range": 200000, "upper_bound": "\\\\3\\u0002MPna"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 4530199038503003528, "row_count": 7551934018090086032}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6145266223952748769, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7551934018090086032}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338, "histo_col_type": "", "name": "__auto__", "null_count": 776, "row_count": 800}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 598, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 380, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-8.329617127620624359E+30"}, {"distinct_range": 1073126202294674000, "num_eq": 500000000, "num_range": 1073126202294674092, "upper_bound": "-7199.4798479736102"}, {"distinct_range": 563962011477114300, "num_eq": 800000000, "num_range": 3873614380512469018, "upper_bound": "-0.1297851463042292401"}, {"distinct_range": 253990077568168540, "num_eq": 0, "num_range": 7563327790815447197, "upper_bound": "758.1009895518995232"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 485, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 540, "histo_buckets": [{"distinct_range": 0, "num_eq": 2614115037519645823, "num_range": 0, "upper_bound": "101000110100000101001"}, {"distinct_range": 0, "num_eq": 8424136259306676693, "num_range": 9000, "upper_bound": "101010110110100111011"}, {"distinct_range": 0, "num_eq": 1118458028353866473, "num_range": 40000, "upper_bound": "111011110101000110000"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 180, "row_count": 800}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57, "histo_col_type": "", "name": "__auto__", "null_count": 370, "row_count": 800}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432, "histo_buckets": [{"distinct_range": 0, "num_eq": 4692596659116825460, "num_range": 0, "upper_bound": "-1.64808321518719"}, {"distinct_range": 3644297107837375500, "num_eq": 6366077903060263667, "num_range": 3644297107837375302, "upper_bound": "-0.024971920427203115"}, {"distinct_range": 1416161058869230600, "num_eq": 8357235441679110351, "num_range": 1416161058869230465, "upper_bound": "0.008526257185142994"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 456, "row_count": 800}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 252, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 413, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 5215758494511283000, "num_eq": 779093743435226595, "num_range": 5215758494511283021, "upper_bound": "\\\\x0a7f92"}, {"distinct_range": 82250984611455410, "num_eq": 900000, "num_range": 1398288941463671756, "upper_bound": "\\\\x113f"}, {"distinct_range": 14472230.819418041, "num_eq": 20000000, "num_range": 30000000, "upper_bound": "\\\\x885e39"}, {"distinct_range": 2629469491987290000, "num_eq": 10000, "num_range": 2629469491987290093, "upper_bound": "\\\\x92"}, {"distinct_range": 3307778412725524000, "num_eq": 100000, "num_range": 3307778412725524160, "upper_bound": "\\\\xd2f1"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 7000, "upper_bound": "\\\\xf77b5aa1efe6b106"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 775, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "150.2.87.195/6"}, {"distinct_range": 0, "num_eq": 60, "num_range": 80, "upper_bound": "71.247.225.211/12"}, {"distinct_range": 0, "num_eq": 800, "num_range": 40000000, "upper_bound": "1f0a:e648:31ba:1557:1bb0:a202:ba4e:40e4/72"}, {"distinct_range": 2417948398559941000, "num_eq": 90000000, "num_range": 2417948398559940908, "upper_bound": "842f:a10b:822b:54a0:96ea:4ec8:88fb:625e/73"}, {"distinct_range": 5000000, "num_eq": 8000, "num_range": 5000000, "upper_bound": "3031:d934:73b0:26b2:207c:ddd9:ee04:28d5/94"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 244, "row_count": 800}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 755, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 463, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 333, "histo_buckets": [{"distinct_range": 0, "num_eq": 8435380362203420643, "num_range": 0, "upper_bound": "-0.8243595015897504"}, {"distinct_range": 7181.059856988497, "num_eq": 700, "num_range": 10000, "upper_bound": "-0.386861514591485"}, {"distinct_range": 7604809.898719398, "num_eq": 6000000, "num_range": 90000000, "upper_bound": "0.15427057513746345"}, {"distinct_range": 360.4434948038104, "num_eq": 1659572375328483293, "num_range": 800, "upper_bound": "0.975653454769318"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "1.0183358021408468"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 308, "row_count": 800}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350, "histo_col_type": "INT2", "name": "__auto__", "null_count": 610, "row_count": 800}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 714, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 128, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_buckets": [{"distinct_range": 0, "num_eq": 125461765876298205, "num_range": 0, "upper_bound": "1476460676"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1700465565"}, {"distinct_range": 2412284781906427400, "num_eq": 669876341187702610, "num_range": 3601911510268686204, "upper_bound": "1980998947"}, {"distinct_range": 2446624.97257128, "num_eq": 40000000000, "num_range": 3000000, "upper_bound": "2358473515"}, {"distinct_range": 400000, "num_eq": 200, "num_range": 400000, "upper_bound": "2829233919"}, {"distinct_range": 18870816226.282406, "num_eq": 8416325889737751658, "num_range": 40000000000, "upper_bound": "2841355800"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 425, "histo_col_type": "", "name": "__auto__", "null_count": 640, "row_count": 800}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 580, "histo_col_type": "", "name": "__auto__", "null_count": 46, "row_count": 800}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "", "name": "__auto__", "null_count": 515, "row_count": 800}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "-1.5205944768443436"}, {"distinct_range": 1704307.0296773177, "num_eq": 0, "num_range": 7000000, "upper_bound": "-0.5000328018907141"}, {"distinct_range": 3294.61302707298, "num_eq": 800000000, "num_range": 6000, "upper_bound": "-0.46217290144701634"}, {"distinct_range": 90000000000, "num_eq": 7000000, "num_range": 90000000000, "upper_bound": "0.9583608424294037"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "1.3860398776795384"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4000000000, "upper_bound": "0"}, {"distinct_range": 7380026413230071000, "num_eq": 600000000, "num_range": 7380026413230071190, "upper_bound": "1275"}, {"distinct_range": 8279834879057931000, "num_eq": 1209244679396497084, "num_range": 8279834879057931740, "upper_bound": "29713"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "0010100110010001100111010"}, {"distinct_range": 4307548300041997000, "num_eq": 9000000, "num_range": 4307548300041996821, "upper_bound": "0110100010010110111100011"}, {"distinct_range": 889957801682015000, "num_eq": 2114056672912168560, "num_range": 3274458803281497517, "upper_bound": "0111110010110100000000000"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "1000010111011001110100011"}, {"distinct_range": 8825987485677081000, "num_eq": 107201204770415103, "num_range": 8825987485677081008, "upper_bound": "1011111111001000110011010"}, {"distinct_range": 157357835380005730, "num_eq": 8606511610080655134, "num_range": 157357835380005732, "upper_bound": "1100110010011111010110111"}], "histo_col_type": "BIT(25)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 4272240940451257319, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 3489526897373834056, "num_range": 5206360602797274122, "upper_bound": "771402219"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 7352022398325608205, "upper_bound": "1076398011"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 100, "upper_bound": "1289978120"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 5469551932256598418, "upper_bound": "1906770324"}, {"distinct_range": 700, "num_eq": 7688507622906669905, "num_range": 700, "upper_bound": "2113425104"}, {"distinct_range": 2446317681772603400, "num_eq": 8715499900829148674, "num_range": 2446317681772603409, "upper_bound": "3067121325"}, {"distinct_range": 0, "num_eq": 4339429975217889188, "num_range": 2999421808494818909, "upper_bound": "3851459763"}, {"distinct_range": 66380345.08622871, "num_eq": 6346245710766773945, "num_range": 70000000, "upper_bound": "3897175329"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "-1.4502381033828493"}, {"distinct_range": 8226975441927203000, "num_eq": 30000000000, "num_range": 8226975441927202392, "upper_bound": "-0.8081211682118512"}, {"distinct_range": 0, "num_eq": 100, "num_range": 1145243711702031123, "upper_bound": "-0.7830251199289817"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 8233832900971212840, "upper_bound": "-0.500280327548998"}, {"distinct_range": 4305015156361068500, "num_eq": 60, "num_range": 4305015156361068782, "upper_bound": "0.1286076504932815"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('fpkuoa', 'wcie', 'ualjb', 'rveicu');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558893074761147654, "histo_buckets": [{"distinct_range": 0, "num_eq": 2704644119361420205, "num_range": 0, "upper_bound": "\\u0004Y\'\'"}, {"distinct_range": 0, "num_eq": 3928822577305835383, "num_range": 661932256278635495, "upper_bound": "j$\\u0018\\u000f+T\\u0018\\t"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2997347411973098907, "row_count": 7921675728258745504}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6634679347756894923, "histo_col_type": "", "name": "__auto__", "null_count": 7845486274121603546, "row_count": 7921675728258745504}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5454596141370263137, "histo_buckets": [{"distinct_range": 0, "num_eq": 5144325898381254152, "num_range": 0, "upper_bound": "0eK1\\u001c\\u0010\'j%"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 1305561629945452688, "row_count": 7921675728258745504}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5224160743464068891, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7921675728258745504}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5611811561266922361, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "651688235"}, {"distinct_range": 1000000000, "num_eq": 7753448804588428097, "num_range": 1000000000, "upper_bound": "1140473369"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 6790998119444030927, "upper_bound": "2593557532"}, {"distinct_range": 7205816884922486000, "num_eq": 5747146644508051586, "num_range": 8112699545915222258, "upper_bound": "2886385799"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7921675728258745504}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7257357839536175239, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7921675728258745504}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7253175745299274131, "histo_buckets": [{"distinct_range": 0, "num_eq": 3367180522787871289, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 20000000000, "num_eq": 70000000000, "num_range": 20000000000, "upper_bound": "06:53:31.74983+08:22:00"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 90000000000, "upper_bound": "17:33:43.637567+11:45:00"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 400000, "upper_bound": "10:08:33.308928+01:52:00"}, {"distinct_range": 1000000000, "num_eq": 700000, "num_range": 1000000000, "upper_bound": "14:03:23.418952-00:20:00"}, {"distinct_range": 379977.2160050746, "num_eq": 40, "num_range": 1000000, "upper_bound": "21:52:42.31636+02:19:00"}, {"distinct_range": 791347056158816500, "num_eq": 8569693164741768569, "num_range": 791347056158816527, "upper_bound": "08:46:11.662313-12:54:00"}, {"distinct_range": 3163414135371973600, "num_eq": 9000, "num_range": 3163414135371973616, "upper_bound": "14:53:20.476739-09:56:00"}, {"distinct_range": 129087013.39259352, "num_eq": 8000, "num_range": 800000000, "upper_bound": "20:09:26.225096-07:03:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 7921675728258745504}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13631739, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35614102, "histo_col_type": "", "name": "__auto__", "null_count": 16119096, "row_count": 40000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20360730, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2577911, "histo_col_type": "", "name": "__auto__", "null_count": 11769304, "row_count": 40000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8551673, "histo_buckets": [{"distinct_range": 0, "num_eq": 8253722699824041695, "num_range": 0, "upper_bound": "-14999"}, {"distinct_range": 19165834287.853436, "num_eq": 8909464091260434892, "num_range": 30000000000, "upper_bound": "-2823"}, {"distinct_range": 6000, "num_eq": 1093416656328651008, "num_range": 6000, "upper_bound": "16547"}, {"distinct_range": 472058975058194370, "num_eq": 4542515514549141888, "num_range": 2629100778744093389, "upper_bound": "20355"}, {"distinct_range": 0, "num_eq": 6964757223244169680, "num_range": 200000, "upper_bound": "22646"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 33972229, "row_count": 40000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30661180, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12800947, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14899076, "histo_buckets": [{"distinct_range": 0, "num_eq": 852143091078934748, "num_range": 0, "upper_bound": "000100000011111100011"}, {"distinct_range": 300, "num_eq": 5859609964835341757, "num_range": 300, "upper_bound": "011000101010001001110"}, {"distinct_range": 1377731422357882000, "num_eq": 800000000, "num_range": 4071585182083625710, "upper_bound": "011100000100101101001"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 100000, "upper_bound": "011100101001100110000"}, {"distinct_range": 100, "num_eq": 20000, "num_range": 100, "upper_bound": "011110110010011111110"}, {"distinct_range": 0, "num_eq": 200, "num_range": 200000, "upper_bound": "100101010110001101000"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 16576543, "row_count": 40000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24013982, "histo_col_type": "", "name": "__auto__", "null_count": 33084574, "row_count": 40000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25065080, "histo_buckets": [{"distinct_range": 0, "num_eq": 656882985759694816, "num_range": 0, "upper_bound": "-1.6848869804547542"}, {"distinct_range": 70000000000, "num_eq": 1000000000, "num_range": 70000000000, "upper_bound": "0.04665707891490256"}, {"distinct_range": 800, "num_eq": 60000000, "num_range": 800, "upper_bound": "0.2827550931831882"}, {"distinct_range": 8376300900363998000, "num_eq": 9000000000, "num_range": 8376300900363998428, "upper_bound": "0.3989702475175072"}, {"distinct_range": 30, "num_eq": 8000000, "num_range": 30, "upper_bound": "1.038069373488618"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 7941480, "row_count": 40000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24027715, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4162777, "histo_col_type": "", "name": "__auto__", "null_count": 5599335, "row_count": 40000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 171474, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "\\\\xd83bf37da9"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13875745, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19204090, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 1060331912475767300, "num_eq": 6000, "num_range": 1615348356249013417, "upper_bound": "-1.2685989241282574"}, {"distinct_range": 0, "num_eq": 6864662474295395706, "num_range": 0, "upper_bound": "0.1494279405331097"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 11293551, "row_count": 40000000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16996036, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27808937, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "10:01:12.337088+13:34:00"}, {"distinct_range": 4665510858822665000, "num_eq": 40000, "num_range": 4665510858822664918, "upper_bound": "02:16:17.207016+03:10:00"}, {"distinct_range": 259.9085879294443, "num_eq": 9000, "num_range": 300, "upper_bound": "14:16:46.124547+09:39:00"}, {"distinct_range": 782181871.121202, "num_eq": 8000000000, "num_range": 800000000, "upper_bound": "02:51:59.632632-10:28:00"}, {"distinct_range": 6388500736036298000, "num_eq": 5542186386379032384, "num_range": 6388500736036297360, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36047387, "histo_buckets": [{"distinct_range": 0, "num_eq": 6682553727282554627, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 2243108667830582300, "num_eq": 100000000, "num_range": 5745331530332461613, "upper_bound": "539808443"}, {"distinct_range": 6656910945959627000, "num_eq": 7649128837833341442, "num_range": 7808069925954567946, "upper_bound": "1436046055"}, {"distinct_range": 6744811441184467000, "num_eq": 30000000, "num_range": 6744811441184466582, "upper_bound": "2827142291"}, {"distinct_range": 994702.7141028754, "num_eq": 7336557621454775749, "num_range": 6000000, "upper_bound": "3181214611"}, {"distinct_range": 4986927292393784000, "num_eq": 6000, "num_range": 4986927292393783832, "upper_bound": "3794647651"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11906230, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "249.150.50.40/5"}, {"distinct_range": 35129.496617698605, "num_eq": 100, "num_range": 50000, "upper_bound": "35.76.194.146/12"}, {"distinct_range": 3817924829953736000, "num_eq": 643047454696949505, "num_range": 8956867839524572142, "upper_bound": "400b:6c8e:56e:3b79:335d:6d47:de8c:dc29/41"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 90, "upper_bound": "af2a:45f1:d5d6:727a:59b0:464d:5d19:a2f9/71"}, {"distinct_range": 0, "num_eq": 499980138083078404, "num_range": 4725892527473150240, "upper_bound": "f06a:ab6f:e401:f7d2:7ca4:e1:7fed:642a/76"}, {"distinct_range": 9000, "num_eq": 100000, "num_range": 9000, "upper_bound": "9f66:ebf6:cb80:797f:e800:4919:835f:2dd2/77"}, {"distinct_range": 5358290466397328000, "num_eq": 100, "num_range": 5358290466397328004, "upper_bound": "aeb8:b526:79f1:408c:f204:4c71:407f:46a7/114"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 7880899, "row_count": 40000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23006676, "histo_buckets": [{"distinct_range": 0, "num_eq": 4592620196332385991, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 40000, "upper_bound": "-14449707.10304214258"}, {"distinct_range": 0, "num_eq": 3410075420318681725, "num_range": 50000, "upper_bound": "-0.07857016021736461721"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10704625, "histo_col_type": "", "name": "__auto__", "null_count": 27968630, "row_count": 40000000}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 994, "histo_col_type": "", "name": "__auto__", "null_count": 892, "row_count": 1000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 439, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125, "histo_col_type": "", "name": "__auto__", "null_count": 992, "row_count": 1000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 639, "histo_col_type": "", "name": "__auto__", "null_count": 500, "row_count": 1000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 824, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 514, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "-2.285245362098053"}, {"distinct_range": 1307456056057218800, "num_eq": 0, "num_range": 2344376311546653119, "upper_bound": "-1.162475613876743"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 164436192684685500, "upper_bound": "0.31754093406463624"}, {"distinct_range": 316194686818425540, "num_eq": 5260102719982028570, "num_range": 4371630781232264464, "upper_bound": "0.3720704013357526"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 525, "histo_col_type": "", "name": "__auto__", "null_count": 216, "row_count": 1000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504, "histo_buckets": [{"distinct_range": 0, "num_eq": 7900635045609099772, "num_range": 0, "upper_bound": "3"}, {"distinct_range": 6000000, "num_eq": 800, "num_range": 6000000, "upper_bound": "7"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1974975920546594654, "upper_bound": "@"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7541429787732889626, "upper_bound": "F"}, {"distinct_range": 60, "num_eq": 4089247718195591133, "num_range": 60, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 3433739687864515942, "num_range": 6733174098360986475, "upper_bound": "p"}, {"distinct_range": 1085075066454075500, "num_eq": 562048101362249076, "num_range": 1085075066454075520, "upper_bound": "t"}, {"distinct_range": 100, "num_eq": 10000000, "num_range": 100, "upper_bound": "y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 964, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "-0.41437069729060483"}, {"distinct_range": 3016021042627969.5, "num_eq": 6000000000, "num_range": 5752177716684649, "upper_bound": "1.3054357829992758"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 309, "histo_col_type": "BIT(25)", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 443, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 219, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 152, "histo_col_type": "", "name": "__auto__", "null_count": 436, "row_count": 1000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 992, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-27111"}, {"distinct_range": 4161554214502827000, "num_eq": 10000, "num_range": 4161554214502827197, "upper_bound": "-20334"}, {"distinct_range": 2406.3239651810004, "num_eq": 7167043073062178051, "num_range": 9000, "upper_bound": "-10036"}, {"distinct_range": 3803130117743307300, "num_eq": 100000000000, "num_range": 3803130117743307284, "upper_bound": "31937"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 447, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "25961970"}, {"distinct_range": 0, "num_eq": 4300268200239065875, "num_range": 10, "upper_bound": "595410846"}, {"distinct_range": 700000000, "num_eq": 0, "num_range": 700000000, "upper_bound": "1605297290"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1000}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1526, "histo_buckets": [{"distinct_range": 0, "num_eq": 7309492247331484134, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5005650125147817000, "num_eq": 500000000, "num_range": 6619827248930431290, "upper_bound": "2572215307"}, {"distinct_range": 0, "num_eq": 7667597773298461324, "num_range": 1000, "upper_bound": "3018911860"}, {"distinct_range": 1045837579239698700, "num_eq": 305692421021541686, "num_range": 1045837579239698689, "upper_bound": "4171174058"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34490, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22259, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "10:22:23.716953+13:55:00"}, {"distinct_range": 2206150439390392800, "num_eq": 8450611987927975864, "num_range": 6767787807274397037, "upper_bound": "02:47:19.204597+04:46:00"}, {"distinct_range": 8161908731877899000, "num_eq": 7308694482507539883, "num_range": 8161908731877899204, "upper_bound": "05:48:27.284862+00:18:00"}, {"distinct_range": 21852213.618563358, "num_eq": 20, "num_range": 30000000, "upper_bound": "10:37:30.939366+04:27:00"}, {"distinct_range": 16.996774760004747, "num_eq": 6802155621789259133, "num_range": 90, "upper_bound": "18:19:20.559021+05:44:00"}, {"distinct_range": 50000000000, "num_eq": 9127147795438075464, "num_range": 50000000000, "upper_bound": "21:23:46.266191+04:16:00"}, {"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "06:13:06.16122-13:35:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49381, "histo_col_type": "STRING", "name": "__auto__", "null_count": 48974, "row_count": 60000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7999, "histo_col_type": "", "name": "__auto__", "null_count": 31051, "row_count": 60000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5215, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "\\t=@+2*"}, {"distinct_range": 0, "num_eq": 400, "num_range": 1141635737964921319, "upper_bound": "-\\u0015\'"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 5000000000, "upper_bound": "Q"}, {"distinct_range": 0, "num_eq": 4349225377345759327, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "c"}, {"distinct_range": 17118396.536446523, "num_eq": 4487547643786706177, "num_range": 100000000, "upper_bound": "i:\\u001an\\u000bs\'B"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 3751, "row_count": 60000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13787, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_col_type": "", "name": "__auto__", "null_count": 14, "row_count": 80}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "", "name": "__auto__", "null_count": 12, "row_count": 80}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53, "histo_buckets": [{"distinct_range": 0, "num_eq": 8121177195292396596, "num_range": 0, "upper_bound": "-0.8933577066256579"}, {"distinct_range": 5535667330693692000, "num_eq": 90000000, "num_range": 5535667330693692314, "upper_bound": "-0.7672583530856659"}, {"distinct_range": 1122468127835640300, "num_eq": 1861830131833031524, "num_range": 1957031578699069567, "upper_bound": "-0.6546733920007677"}, {"distinct_range": 1714008093564145.5, "num_eq": 20000, "num_range": 7158900076976422, "upper_bound": "-0.527674729097699"}, {"distinct_range": 0, "num_eq": 5141163176795272146, "num_range": 300, "upper_bound": "0.12401932398947324"}, {"distinct_range": 2466480836832463000, "num_eq": 8171990591761898672, "num_range": 9223180162099435527, "upper_bound": "0.9229857186028299"}, {"distinct_range": 2403556123466654700, "num_eq": 3098088282584228739, "num_range": 2403556123466654499, "upper_bound": "1.3943233712991756"}, {"distinct_range": 1182355520085197800, "num_eq": 100, "num_range": 1182355520085197701, "upper_bound": "1.6153355094710202"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 17, "row_count": 80}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "-7.32312802387362008E+32"}, {"distinct_range": 0, "num_eq": 6873566467098742777, "num_range": 8098378913171020453, "upper_bound": "-7.735981598548655345E+27"}, {"distinct_range": 61162198.252695985, "num_eq": 5000000000, "num_range": 300000000, "upper_bound": "-1"}, {"distinct_range": 6365303416957702000, "num_eq": 700000000, "num_range": 6365303416957702456, "upper_bound": "71.30080206046628718"}, {"distinct_range": 3000000, "num_eq": 50000000, "num_range": 3000000, "upper_bound": "8.134458014046255079E+27"}, {"distinct_range": 300, "num_eq": 100000000000, "num_range": 300, "upper_bound": "3.736163975995191888E+37"}, {"distinct_range": 3569192259758132700, "num_eq": 2699927322923441479, "num_range": 6224401091313588278, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-24934"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 23, "row_count": 80}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 80}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "histo_buckets": [{"distinct_range": 0, "num_eq": 7228030759146726441, "num_range": 0, "upper_bound": "011101011001010110100"}, {"distinct_range": 0, "num_eq": 40, "num_range": 6339311277871119141, "upper_bound": "110101101110110010100"}, {"distinct_range": 4793539.761471434, "num_eq": 40, "num_range": 5000000, "upper_bound": "111000101110111111100"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 71, "row_count": 80}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65, "histo_buckets": [{"distinct_range": 0, "num_eq": 3055495190001046866, "num_range": 0, "upper_bound": "225.141.139.108/8"}, {"distinct_range": 80, "num_eq": 5000000000, "num_range": 80, "upper_bound": "139.53.237.45/22"}, {"distinct_range": 2384380072155726300, "num_eq": 1000000, "num_range": 2384380072155726144, "upper_bound": "114.135.53.238/27"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "8d06:3f5e:99f6:8ccd:50a4:42c0:f9d2:c302/20"}, {"distinct_range": 2210325.111919033, "num_eq": 4511416548246259660, "num_range": 6000000, "upper_bound": "9752:e90a:e757:93f9:9020:76ef:a8a4:28a4/51"}, {"distinct_range": 0, "num_eq": 4036919126472948348, "num_range": 400000, "upper_bound": "98d0:ef43:f340:e643:5dfa:d8a6:bdb4:bdfb/77"}, {"distinct_range": 0, "num_eq": 200, "num_range": 80000000, "upper_bound": "de81:f66a:9553:a87a:fb8a:2322:26f3:8b95/103"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 70, "row_count": 80}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_buckets": [{"distinct_range": 0, "num_eq": 4340034204122046181, "num_range": 0, "upper_bound": "13:27:37.622196+13:24:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_buckets": [{"distinct_range": 0, "num_eq": 8725489217973725166, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 726992815013067800, "num_eq": 1835200876966606861, "num_range": 4611451906585952957, "upper_bound": "461338504"}, {"distinct_range": 249.53843023392773, "num_eq": 100000, "num_range": 300, "upper_bound": "879979367"}, {"distinct_range": 5897423202877609000, "num_eq": 257759658080328419, "num_range": 6832610022209516581, "upper_bound": "1429158470"}, {"distinct_range": 4411772676689562000, "num_eq": 5000000, "num_range": 6236971823441178224, "upper_bound": "1846474023"}, {"distinct_range": 0, "num_eq": 20, "num_range": 10, "upper_bound": "1915266129"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 80, "upper_bound": "2769177057"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 77, "row_count": 80}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_col_type": "", "name": "__auto__", "null_count": 68, "row_count": 80}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_buckets": [{"distinct_range": 0, "num_eq": 4948974675331054047, "num_range": 0, "upper_bound": "\\\\x0365c2ed8ea2e1"}, {"distinct_range": 0, "num_eq": 0, "num_range": 60, "upper_bound": "\\\\x3e9634b74f7e7cad"}, {"distinct_range": 218.15356598497652, "num_eq": 6208255698205803038, "num_range": 300, "upper_bound": "\\\\x58"}, {"distinct_range": 0, "num_eq": 5999919521620019697, "num_range": 3876723172730763585, "upper_bound": "\\\\xff"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_buckets": [{"distinct_range": 0, "num_eq": 21961343674192697, "num_range": 0, "upper_bound": "-1.7338079944931393"}, {"distinct_range": 0, "num_eq": 7744707267965172000, "num_range": 1782122348213212633, "upper_bound": "-1.0427740450939331"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "-0.726522922982085"}, {"distinct_range": 200185546272289020, "num_eq": 30, "num_range": 4130103271457280883, "upper_bound": "-0.3214875462339668"}, {"distinct_range": 3070174786380525000, "num_eq": 4161239773364535688, "num_range": 3070174786380525120, "upper_bound": "-0.01591105930986883"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 25681779254316731, "upper_bound": "1.4449078498619878"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 10, "row_count": 80}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 670933627627577188, "histo_buckets": [{"distinct_range": 0, "num_eq": 7302926235058709402, "num_range": 0, "upper_bound": "E"}, {"distinct_range": 5500555335.655115, "num_eq": 600000, "num_range": 10000000000, "upper_bound": "T"}, {"distinct_range": 20003.190742052393, "num_eq": 7000, "num_range": 100000, "upper_bound": "["}, {"distinct_range": 2945657635880854500, "num_eq": 2719033254605188836, "num_range": 8518453463372637765, "upper_bound": "p"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 722149410048955257}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 423570142137416157, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 722149410048955257}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33667552061579941, "histo_col_type": "", "name": "__auto__", "null_count": 422850986932379573, "row_count": 722149410048955257}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 443636466796278196, "histo_buckets": [{"distinct_range": 0, "num_eq": 6599062337513822501, "num_range": 0, "upper_bound": "-1.6819521965584578"}, {"distinct_range": 60000, "num_eq": 800, "num_range": 60000, "upper_bound": "-1.3369000236617912"}, {"distinct_range": 30000, "num_eq": 700000, "num_range": 30000, "upper_bound": "-0.887362563202269"}, {"distinct_range": 2000000, "num_eq": 40000000000, "num_range": 2000000, "upper_bound": "0.16756355357765373"}, {"distinct_range": 0, "num_eq": 8714652819833579564, "num_range": 1421452652093122726, "upper_bound": "0.25758143173901515"}, {"distinct_range": 10000000000, "num_eq": 747918517713776793, "num_range": 10000000000, "upper_bound": "0.3370145849681968"}, {"distinct_range": 0, "num_eq": 487536355449858154, "num_range": 1085171679473660002, "upper_bound": "0.3821705753331886"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 722149410048955257}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 105522536265194822, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 722149410048955257}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 436668692300206812, "histo_col_type": "", "name": "__auto__", "null_count": 560641680762709045, "row_count": 722149410048955257}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 688258974678853472, "histo_col_type": "", "name": "__auto__", "null_coun
(compose).TestComposeCompare failed on master@4d44ddf24153d8ef8e0a996fdbe75ac5607f9574:
test_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_9 ASC, col3_8 ASC, col3_4, col3_6 DESC, col3_1 ASC, col3_5 DESC);
test_1 | CREATE TABLE table4 (col1_6 INET NOT NULL, col1_8 TIMETZ NOT NULL, col1_4 VARCHAR NOT NULL, col1_3 NAME NOT NULL, col1_2 BIT(15) NOT NULL, col4_5 TIMETZ NULL, col4_6 INET NULL, col4_7 "char", col4_8 CHAR NOT NULL, col4_9 DATE NULL, col4_10 INT8, col4_11 CHAR NOT NULL, col4_12 BIT NOT NULL, col4_13 INET NULL, col4_14 BYTEA, col4_15 BYTEA, col4_16 INTERVAL NOT NULL, col4_17 BIT(3), col4_18 TIMETZ NOT NULL, PRIMARY KEY (col1_6, col1_8, col1_4, col1_3, col1_2, col4_5, col4_18, col4_14, col4_7, col4_11, col4_8, col4_9, col4_6, col4_16, col4_13));
test_1 | CREATE UNIQUE INDEX ON table4 (col1_6 ASC, col4_13 ASC, col4_16, col1_3, col4_17 DESC, col1_2) INCLUDE (col4_12);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_18, col4_13, col4_15 DESC, col4_6, col4_7, col1_3 DESC) INCLUDE (col4_10);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_15 ASC, col4_12 DESC, col4_5 ASC, col4_13 DESC) INCLUDE (col4_17);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_5 ASC);
test_1 | CREATE INDEX ON table4 (col4_18, col4_8 DESC, col1_3, col1_6 DESC, col4_9 ASC, col1_8, col4_11 DESC, col4_15, col4_5, col4_13, col4_7 DESC) INCLUDE (col4_10, col4_17);
test_1 | CREATE INDEX ON table4 (col1_6 ASC, col4_10 ASC, col4_8, col4_12 ASC, col4_9 ASC, col4_7 ASC, col4_17 DESC, col4_14, col4_16 ASC, col4_18);
test_1 | CREATE INDEX ON table4 (col1_2 ASC, col4_18 ASC, col4_7 DESC, col4_16 DESC, col1_3 DESC, col1_4, col4_11, col4_6 ASC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('lkbs', 'kmzvka', 'xvrba');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "AS" (SQLSTATE 42601)
test_1 | --- FAIL: TestCompare/mutators (0.78s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 BYTES NOT NULL, col1_1 REGNAMESPACE NULL, col1_2 INT2, col1_3 DECIMAL NULL, PRIMARY KEY (col1_0), col1_4 DECIMAL NULL AS (col1_3 + 8.765836736107960631:::DECIMAL) STORED, col1_5 STRING AS (lower(CAST(col1_1 AS STRING))) VIRTUAL, col1_6 STRING NULL AS (IF(col1_0 IS NULL, '/[':::STRING, '':::STRING)) STORED, INDEX (col1_5, col1_4 DESC, col1_1 DESC) STORING (col1_2, col1_6) WHERE (table1.col1_4 > 1) AND (table1.col1_2 = -32768), INDEX (col1_6 ASC, col1_5 ASC, col1_4, col1_0 ASC, col1_1 DESC, col1_2 ASC, col1_3 ASC) WHERE (table1.col1_2 = 127) OR (table1.col1_4 <= -1.234E+401), UNIQUE (col1_0 ASC) STORING (col1_1, col1_2) WHERE (((((table1.col1_2 >= (-32768):::INT8) OR (table1.col1_3 < 'NaN':::DECIMAL)) AND (table1.col1_5 < 'X':::STRING)) AND (table1.col1_6 < e'\U00002603':::STRING)) OR (table1.col1_4 >= 1:::DECIMAL)) OR (table1.col1_0 != e'\\x22':::BYTES), UNIQUE (col1_0, col1_2 DESC, col1_3 DESC, col1_4, col1_1 DESC, col1_5 DESC) WHERE table1.col1_5 <= '"', UNIQUE (col1_4) WHERE (((((table1.col1_5 >= '"':::STRING) OR (table1.col1_6 != e'\x00':::STRING)) AND (table1.col1_2 != (-1):::INT8)) AND (table1.col1_4 = 0:::DECIMAL)) OR (table1.col1_3 != (-1):::DECIMAL)) AND (table1.col1_0 < e'\\x':::BYTES), UNIQUE (col1_2, col1_6 ASC, col1_1 ASC, col1_5 DESC, col1_0 ASC, col1_3 DESC, col1_4) WHERE table1.col1_0 = '\xff', INDEX (col1_6 DESC, col1_3, col1_1 ASC, col1_0 DESC) STORING (col1_2) WHERE ((((table1.col1_0 > '\xff') AND (table1.col1_2 != 1)) AND (table1.col1_3 < NaN)) AND (table1.col1_4 < -1.234E+401)) AND (table1.col1_6 < '"'), UNIQUE (col1_1, col1_5 DESC, col1_3 DESC, col1_2 DESC, col1_0 ASC) STORING (col1_4) WHERE ((((table1.col1_2 >= 127:::INT8) OR (table1.col1_3 < (-1.234E+401):::DECIMAL)) AND (table1.col1_6 < 'X':::STRING)) OR (table1.col1_5 > '"':::STRING)) AND (table1.col1_0 >= e'\\x00':::BYTES), INDEX (col1_1 ASC, col1_4 ASC, col1_2 DESC, col1_5, col1_0) STORING (col1_6) WHERE ((table1.col1_4 = '-Infinity':::DECIMAL) AND (table1.col1_3 >= 'NaN':::DECIMAL)) OR (table1.col1_5 != e'\'':::STRING), FAMILY (col1_2), FAMILY (col1_3), FAMILY (col1_1, col1_4), FAMILY (col1_6), FAMILY (col1_0));
test_1 | CREATE TABLE table2 (col2_0 REGTYPE NOT NULL, col2_1 OID NULL, col2_2 DECIMAL, col2_3 INT2 NULL, col2_4 BOX2D NULL, col2_5 BOX2D NOT NULL, col2_6 VARCHAR NULL, col2_7 TIMESTAMPTZ NOT NULL, col2_8 TIMESTAMP NOT NULL, col2_9 BYTES NOT NULL, col2_10 DATE NOT NULL, col2_11 INT4 NOT NULL, col2_12 BOOL NULL, col2_13 INTERVAL, col2_14 OID NULL, col2_15 "char" NULL, col2_16 STRING NULL AS (lower(CAST(col2_8 AS STRING))) VIRTUAL, col2_17 STRING NULL AS (lower(col2_6)) VIRTUAL, INDEX (col2_10, col2_5 ASC, col2_13, col2_14 DESC, col2_1 ASC, col2_7 DESC, col2_6 ASC, col2_9, col2_0 DESC, col2_17, col2_11) STORING (col2_4, col2_15) WHERE (((((((((((table2.col2_15 > e'\U00002603':::STRING) AND (table2.col2_17 >= '"':::STRING)) AND (table2.col2_8 != '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table2.col2_3 < (-1):::INT8)) OR (table2.col2_10 <= '1970-01-01':::DATE)) OR (table2.col2_6 = e'\'':::STRING)) OR (table2.col2_2 = '-Infinity':::DECIMAL)) AND (table2.col2_7 <= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_11 >= (-1):::INT8)) AND table2.col2_12) AND (table2.col2_9 = e'\\x58':::BYTES)) OR (table2.col2_16 <= '"':::STRING), FAMILY (col2_12, col2_7, col2_0, col2_15, col2_6, col2_2, col2_3), FAMILY (col2_9), FAMILY (col2_8), FAMILY (col2_4, col2_1), FAMILY (col2_10), FAMILY (col2_11), FAMILY (col2_13, col2_5, col2_14));
test_1 | CREATE TABLE table3 (col3_0 BIT(27) NULL, col3_1 CHAR NULL, col3_2 INT8 NOT NULL, col3_3 CHAR, col3_4 FLOAT4 NOT NULL, col3_5 TIME NOT NULL, col3_6 FLOAT8 NOT NULL, col3_7 REGTYPE NOT NULL, col3_8 FLOAT4 NOT NULL, col3_9 "char", PRIMARY KEY (col3_7, col3_2 DESC, col3_5 DESC, col3_4 ASC, col3_8 DESC), col3_10 FLOAT8 NOT NULL AS ((col3_6 + col3_4) + col3_8) STORED, col3_11 FLOAT8 NULL AS ((col3_6 + col3_8) + col3_4) STORED, col3_12 STRING AS (lower(col3_3)) STORED, INDEX (col3_8) STORING (col3_3, col3_10, col3_11) WHERE table3.col3_10 <= 3.4028234663852886e+38:::FLOAT8, UNIQUE (col3_4 DESC, col3_7, col3_11, col3_12, col3_8 ASC, col3_10 ASC, col3_0, col3_9, col3_2 ASC, col3_1 DESC, col3_6 DESC, col3_5 DESC), INDEX (col3_0 ASC, col3_10, col3_2 DESC, col3_12 DESC, col3_8 ASC, col3_4 DESC, col3_11 DESC, col3_1 ASC, col3_5 DESC, col3_6 DESC, col3_9 DESC, col3_7 ASC) WHERE ((((((((table3.col3_2 = -1) AND (table3.col3_3 >= e'\'')) OR (table3.col3_12 > '')) OR (table3.col3_4 <= NaN)) OR (table3.col3_9 = 'X')) AND (table3.col3_11 > 3.4028234663852886e+38)) AND (table3.col3_6 > 1.401298464324817e-45)) AND (table3.col3_1 < '')) AND (table3.col3_5 = '24:00:00'), FAMILY (col3_4, col3_2, col3_12, col3_1), FAMILY (col3_5, col3_7), FAMILY (col3_10), FAMILY (col3_6, col3_11, col3_9), FAMILY (col3_0), FAMILY (col3_3, col3_8));
test_1 | CREATE TABLE table4 (col4_0 BYTES NOT NULL, col4_1 "char" NOT NULL, col4_2 REGNAMESPACE NOT NULL, col4_3 INT8 NOT NULL, col4_4 BIT(5) NOT NULL, col4_5 REGPROCEDURE, col4_6 BYTES NULL, col4_7 TIME, col4_8 DATE NOT NULL, col4_9 INET NULL, col4_10 REGPROCEDURE NOT NULL, col4_11 BYTES NOT NULL, col4_12 FLOAT4 NOT NULL, col4_13 BYTES NOT NULL, PRIMARY KEY (col4_11 DESC, col4_3, col4_13 DESC, col4_4, col4_10, col4_1 DESC, col4_12 ASC), col4_14 STRING NULL AS (lower(CAST(col4_9 AS STRING))) VIRTUAL, INDEX (col4_11 ASC, col4_0 DESC, col4_10 DESC, col4_14 DESC, col4_7 ASC) STORING (col4_5, col4_6, col4_8, col4_9) WHERE table4.col4_8 != '5874897-12-31':::DATE, UNIQUE (col4_10 DESC, col4_9 ASC, col4_4, col4_0 DESC, col4_3 ASC, col4_12 ASC, col4_11, col4_8 ASC, col4_2 ASC) STORING (col4_6, col4_7) WHERE table4.col4_3 < -9223372036854775807, INDEX (col4_14 DESC, col4_12, col4_7 ASC, col4_10 ASC, col4_6 ASC, col4_11, col4_3 ASC, col4_4 DESC, col4_8, col4_1 DESC, col4_2 DESC, col4_0, col4_5 DESC, col4_13, col4_9 ASC) WHERE (((((((((table4.col4_6 <= e'\\xe29883':::BYTES) OR (table4.col4_0 != e'\\x00':::BYTES)) OR (table4.col4_12 = 0.0:::FLOAT8)) OR (table4.col4_1 > e'\'':::STRING)) AND (table4.col4_7 > '24:00:00':::TIME)) OR (table4.col4_11 <= e'\\x00':::BYTES)) OR (table4.col4_14 <= 'X':::STRING)) OR (table4.col4_3 > (-32768):::INT8)) OR (table4.col4_13 <= e'\\x':::BYTES)) OR (table4.col4_8 > '1970-01-01':::DATE), INDEX (col4_7, col4_5 DESC, col4_1 ASC, col4_0, col4_2 ASC, col4_9 DESC, col4_14 ASC, col4_3, col4_6, col4_4, col4_12 DESC, col4_11 ASC, col4_8, col4_13 ASC) WHERE ((((table4.col4_12 <= -Inf) OR (table4.col4_1 != 'X')) OR (table4.col4_11 != '\xff')) AND (table4.col4_13 != '\x58')) AND (table4.col4_0 > '\x22'), UNIQUE (col4_9 DESC, col4_4 DESC, col4_11 DESC, col4_10, col4_12 ASC, col4_2 DESC, col4_1 DESC, col4_14, col4_0 DESC, col4_3 ASC, col4_7 ASC, col4_8 DESC, col4_6 DESC, col4_5 DESC) WHERE (((((((((table4.col4_13 >= '\x') OR (table4.col4_8 != '1970-01-01')) AND (table4.col4_7 > '24:00:00')) OR (table4.col4_1 < e'\'')) OR (table4.col4_0 != '\x58')) AND (table4.col4_12 < 0.0)) AND (table4.col4_14 = 'X')) OR (table4.col4_6 >= '\x27')) OR (table4.col4_3 < -128)) AND (table4.col4_11 <= '\x'), FAMILY (col4_13), FAMILY (col4_4, col4_3, col4_9), FAMILY (col4_10, col4_12), FAMILY (col4_11, col4_5, col4_0), FAMILY (col4_2), FAMILY (col4_1, col4_7), FAMILY (col4_8, col4_6));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 0, "num_range": 4000000000, "upper_bound": "\\u0015IS\\u0004\\u000e"}, {"distinct_range": 0, "num_eq": 500, "num_range": 9072909136103459128, "upper_bound": "*CL0K"}, {"distinct_range": 3514968508620549600, "num_eq": 9027938938387213083, "num_range": 7950940319947864923, "upper_bound": "^\\u0019r-\'.C#\\u001f"}, {"distinct_range": 3011199970.4004054, "num_eq": 4555324552357049333, "num_range": 10000000000, "upper_bound": "_`iz"}, {"distinct_range": 21164178.782399885, "num_eq": 100000000, "num_range": 50000000, "upper_bound": "g=\\\\#Dm-|)"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 254, "row_count": 400}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 954.8557667518138, "num_eq": 6000000000, "num_range": 1000, "upper_bound": "\\\\x16421146a0e31e"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 40000000, "upper_bound": "\\\\x1aa58376"}, {"distinct_range": 21623.26756536971, "num_eq": 0, "num_range": 90000, "upper_bound": "\\\\x1b85c29a94e3"}, {"distinct_range": 10000000, "num_eq": 900, "num_range": 10000000, "upper_bound": "\\\\x37d6fedb9c4b672a46"}, {"distinct_range": 0, "num_eq": 7761807948439272282, "num_range": 50, "upper_bound": "\\\\x90"}, {"distinct_range": 0, "num_eq": 900, "num_range": 1506763095846232347, "upper_bound": "\\\\xbfce7d854523"}, {"distinct_range": 4910146613967080000, "num_eq": 80000000, "num_range": 4910146613967080895, "upper_bound": "\\\\xf429216f12a6b7ebff"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 253, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "280708463"}, {"distinct_range": 30000, "num_eq": 5000, "num_range": 30000, "upper_bound": "1994732923"}, {"distinct_range": 0, "num_eq": 200, "num_range": 4000000, "upper_bound": "2775589222"}, {"distinct_range": 4837163684915879000, "num_eq": 90000000000, "num_range": 4837163684915878877, "upper_bound": "3670879920"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 364, "row_count": 400}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 264, "histo_buckets": [{"distinct_range": 0, "num_eq": 4966064896893431787, "num_range": 0, "upper_bound": "-3282"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 4000000000, "upper_bound": "0"}, {"distinct_range": 4469630779811416000, "num_eq": 100000, "num_range": 8790286688145831745, "upper_bound": "2604"}, {"distinct_range": 1181841.117185307, "num_eq": 4000000, "num_range": 4000000, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 371, "row_count": 400}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124, "histo_col_type": "", "name": "__auto__", "null_count": 69, "row_count": 400}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "-4.18217834941671707E+27"}, {"distinct_range": 800, "num_eq": 40000000, "num_range": 800, "upper_bound": "-1.456221974923676964E+22"}, {"distinct_range": 5036940119058742000, "num_eq": 100000000000, "num_range": 5036940119058741841, "upper_bound": "-74951077.3614728"}, {"distinct_range": 2825793788074166000, "num_eq": 8903836688784215307, "num_range": 3484053439824274859, "upper_bound": "2114653.747923316956"}, {"distinct_range": 300, "num_eq": 7272720456309484605, "num_range": 300, "upper_bound": "3600649654.014537572"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "1.316787657281646365E+24"}, {"distinct_range": 190293213.10536513, "num_eq": 9000000, "num_range": 400000000, "upper_bound": "8.214271893981910648E+29"}, {"distinct_range": 20000000, "num_eq": 3156276678841127307, "num_range": 20000000, "upper_bound": "6.49484658115053809E+31"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 6000000, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 114, "row_count": 400}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338, "histo_buckets": [{"distinct_range": 0, "num_eq": 3358722768531249187, "num_range": 0, "upper_bound": "\\u0001F=\\u001eAp\\u001f"}, {"distinct_range": 25424993773.392815, "num_eq": 6000, "num_range": 30000000000, "upper_bound": "\\u0014P(`\\u0013\\u0014\\u000bN"}, {"distinct_range": 774845032.729786, "num_eq": 60000000000, "num_range": 800000000, "upper_bound": "\\u001f[S"}, {"distinct_range": 2000, "num_eq": 80, "num_range": 2000, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 1000000, "upper_bound": "0in"}, {"distinct_range": 70, "num_eq": 3000000000, "num_range": 70, "upper_bound": "S\\u0008$\\\\"}, {"distinct_range": 80000000, "num_eq": 6000000000, "num_range": 80000000, "upper_bound": "Y\\u0019c|\\u000bR"}, {"distinct_range": 0, "num_eq": 7091205388900560530, "num_range": 2108610408399935477, "upper_bound": "\\\\\\u0015Lht=\\u0005"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 366, "row_count": 400}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 794915490319056615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2868656003312221060, "histo_col_type": "", "name": "__auto__", "null_count": 2550841593236037971, "row_count": 4042951563024380815}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 256123865551547035, "histo_col_type": "", "name": "__auto__", "null_count": 2167969348688261492, "row_count": 4042951563024380815}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 987341528007823618, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3224226980538365767, "histo_col_type": "", "name": "__auto__", "null_count": 1492263087826465690, "row_count": 4042951563024380815}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3652180002272427541, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3682573471637317807, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3394227967511416459, "histo_col_type": "", "name": "__auto__", "null_count": 490493325292606170, "row_count": 4042951563024380815}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 767842175559155385, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "1979-08-03"}, {"distinct_range": 30000, "num_eq": 100000000, "num_range": 30000, "upper_bound": "1986-09-10"}, {"distinct_range": 246.91043963631176, "num_eq": 7170438661022260451, "num_range": 400, "upper_bound": "5874897-12-31"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "infinity"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1739215833631582747, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1677582311479021115, "histo_col_type": "", "name": "__auto__", "null_count": 2507400670641532439, "row_count": 4042951563024380815}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1458553944664293037, "histo_col_type": "", "name": "__auto__", "null_count": 242226532499371452, "row_count": 4042951563024380815}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2478810771641225946, "histo_col_type": "", "name": "__auto__", "null_count": 3120411687581371205, "row_count": 4042951563024380815}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2854234906719480764, "histo_col_type": "", "name": "__auto__", "null_count": 2700199900367731368, "row_count": 4042951563024380815}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2471582044915977391, "histo_col_type": "", "name": "__auto__", "null_count": 1698106429229375613, "row_count": 4042951563024380815}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3372632195493123621, "histo_col_type": "", "name": "__auto__", "null_count": 454712183253255949, "row_count": 4042951563024380815}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3518931492990376882, "histo_col_type": "", "name": "__auto__", "null_count": 2630032649209247778, "row_count": 4042951563024380815}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1867445218593266538, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042951563024380815}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46907, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29438, "histo_col_type": "", "name": "__auto__", "null_count": 53976, "row_count": 60000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44579, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58664, "histo_buckets": [{"distinct_range": 0, "num_eq": 3283277197826997961, "num_range": 0, "upper_bound": "-1.8143949508666992"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 700, "upper_bound": "-1.4907270669937134"}, {"distinct_range": 49785543660999470, "num_eq": 2539368669899378267, "num_range": 767497550489121496, "upper_bound": "-0.7333988547325134"}, {"distinct_range": 7158010476031914000, "num_eq": 10000000000, "num_range": 8282526115364059692, "upper_bound": "-0.5368011593818665"}, {"distinct_range": 0, "num_eq": 801332214438487192, "num_range": 300076671455797036, "upper_bound": "0.046539515256881714"}, {"distinct_range": 1038622759910173800, "num_eq": 4853899444885450832, "num_range": 9099735916203225836, "upper_bound": "1.6050975322723389"}, {"distinct_range": 5331508835740809000, "num_eq": 6000000, "num_range": 8236297277008226257, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52822, "histo_col_type": "", "name": "__auto__", "null_count": 40103, "row_count": 60000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40874, "histo_col_type": "", "name": "__auto__", "null_count": 4972, "row_count": 60000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33790, "histo_buckets": [{"distinct_range": 0, "num_eq": 1738705656286251538, "num_range": 0, "upper_bound": "-1.0556952953338623"}, {"distinct_range": 0, "num_eq": 7106420366450326724, "num_range": 90000, "upper_bound": "-0.8278659582138062"}, {"distinct_range": 56536.93173134727, "num_eq": 8469355153751803240, "num_range": 70000, "upper_bound": "-0.8052799701690674"}, {"distinct_range": 1403380557194546400, "num_eq": 9101195429461378601, "num_range": 3991660050054395324, "upper_bound": "-0.49376553297042847"}, {"distinct_range": 8461450.609192502, "num_eq": 80000000000, "num_range": 50000000, "upper_bound": "-0.09130457788705826"}, {"distinct_range": 6248096663271085000, "num_eq": 20000000000, "num_range": 6248096663271084745, "upper_bound": "0.2315259873867035"}, {"distinct_range": 27703261811.89451, "num_eq": 50000000000, "num_range": 30000000000, "upper_bound": "0.3607410490512848"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 1000000, "upper_bound": "0.36699944734573364"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59037, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24564, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49525, "histo_col_type": "", "name": "__auto__", "null_count": 20048, "row_count": 60000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20313, "histo_col_type": "", "name": "__auto__", "null_count": 47388, "row_count": 60000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26016, "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 47990, "row_count": 60000}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5369752233206469067, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3181516788351511964, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2494110863891186651, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 1494062165374449400, "num_eq": 7306009604144422462, "num_range": 2632429597508100565, "upper_bound": "02:43:31.553015"}, {"distinct_range": 172165103094237800, "num_eq": 1247834470861865900, "num_range": 172165103094237797, "upper_bound": "04:43:23.951554"}, {"distinct_range": 357253776352760600, "num_eq": 6022538988827810930, "num_range": 4530516125611950247, "upper_bound": "23:31:09.293972"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 4955208239343916899, "row_count": 5979195382802790307}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2342001771043133457, "histo_buckets": [{"distinct_range": 0, "num_eq": 2213517711242456552, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 10, "upper_bound": "205.194.241.71/5"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 313264784499789509, "upper_bound": "45.107.142.82/8"}, {"distinct_range": 48160712561.34158, "num_eq": 700000000, "num_range": 50000000000, "upper_bound": "21.96.33.248/13"}, {"distinct_range": 0, "num_eq": 105812615184636987, "num_range": 100, "upper_bound": "9bf1:dcca:abd3:ef81:5135:cb82:8624:964c/10"}, {"distinct_range": 1329849454152488000, "num_eq": 100000000, "num_range": 1929850429216242406, "upper_bound": "770f:99d5:4c1b:3bce:a051:1665:d5a1:4df7/19"}, {"distinct_range": 4389576293296488400, "num_eq": 7767702193159807950, "num_range": 4389576293296488649, "upper_bound": "380a:33c5:9867:2396:ed7d:e13f:9562:7007/23"}, {"distinct_range": 0, "num_eq": 3030508046808067393, "num_range": 0, "upper_bound": "48fb:ee3c:866b:88b7:615f:1dfe:f2bc:66c6/49"}, {"distinct_range": 0, "num_eq": 2730566423932506802, "num_range": 6807958446414186775, "upper_bound": "5c12:e33c:b4f8:9179:864d:4316:bb7e:3f22/120"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 4677851778669220167, "row_count": 5979195382802790307}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5509955343461695717, "histo_buckets": [{"distinct_range": 0, "num_eq": 1217206050580605682, "num_range": 0, "upper_bound": "\\"ne\\u0012_<TM;"}, {"distinct_range": 7445507164337020000, "num_eq": 20000000, "num_range": 7445507164337020198, "upper_bound": "%F"}, {"distinct_range": 243557507.3091129, "num_eq": 6000000, "num_range": 400000000, "upper_bound": "2?+hxe\\u001c"}, {"distinct_range": 20000000000, "num_eq": 6346673283975388889, "num_range": 20000000000, "upper_bound": "rt\\n"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 3779685867516148248, "row_count": 5979195382802790307}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 319981390999098832, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3710968307997375996, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4467875461836646144, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 656101208330279068, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402088544058946011, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "251901055"}, {"distinct_range": 431885872542077600, "num_eq": 3383694907303188962, "num_range": 431885872542077549, "upper_bound": "363559773"}, {"distinct_range": 5000, "num_eq": 7015407493414601040, "num_range": 5000, "upper_bound": "842275781"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 8504657408569676670, "upper_bound": "1189095794"}, {"distinct_range": 0, "num_eq": 6936728129341979863, "num_range": 300000, "upper_bound": "1370894500"}, {"distinct_range": 9000000000, "num_eq": 900000, "num_range": 9000000000, "upper_bound": "1858602978"}, {"distinct_range": 70.30948293356622, "num_eq": 50, "num_range": 80, "upper_bound": "3164635516"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1566547651529166591, "histo_buckets": [{"distinct_range": 0, "num_eq": 9071171245919987472, "num_range": 0, "upper_bound": "\\\\x07ed"}, {"distinct_range": 0, "num_eq": 9118826060965796145, "num_range": 20000000, "upper_bound": "\\\\x080688a33696477b"}, {"distinct_range": 233597513.8544522, "num_eq": 4632945579008294952, "num_range": 500000000, "upper_bound": "\\\\x324e11a006e1f984fc"}, {"distinct_range": 3375834834442365000, "num_eq": 3873603698621201618, "num_range": 3375834834442364796, "upper_bound": "\\\\xb83e4423e7da"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 8456365781042672215, "upper_bound": "\\\\xd3a8d3"}, {"distinct_range": 12335956249.837847, "num_eq": 40000000, "num_range": 30000000000, "upper_bound": "\\\\xd9"}, {"distinct_range": 0, "num_eq": 7586873793975762073, "num_range": 50000000000, "upper_bound": "\\\\xf9"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5674276497962191041, "histo_col_type": "", "name": "__auto__", "null_count": 2331211332956567077, "row_count": 5979195382802790307}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2340112217163963088, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2301789640297932566, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5979195382802790307}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4880156274713711732, "histo_col_type": "", "name": "__auto__", "null_count": 2966685894003827245, "row_count": 5979195382802790307}]':::JSONB;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('vxqfq', 'rzcx', 'f', 'ujfsj');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('jfvyq', 'wvhrxe', 'ucab', 'pdnqsg', 'pacun', 'gq');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('dtt', 'bu', 'mv', 'w', 'xprj');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('atf', 'ghret', 'huiux', 'uwzf', 'rvwt');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('fei', 'd', 'hl', 'yiwl', 'zbvoz');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3085289052131490288, "histo_col_type": "STRING", "name": "__auto__", "null_count": 1893391207229065234, "row_count": 5804040007622195843}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5206897446346322120, "histo_buckets": [{"distinct_range": 0, "num_eq": 910487446986572166, "num_range": 0, "upper_bound": "\\\\x2ed06c9def593a8612"}, {"distinct_range": 3243.8612899705668, "num_eq": 0, "num_range": 90000, "upper_bound": "\\\\x7e20be85"}, {"distinct_range": 0, "num_eq": 4325074942396140169, "num_range": 0, "upper_bound": "\\\\xb8a025c1"}, {"distinct_range": 1974879332.406857, "num_eq": 5000000000, "num_range": 6000000000, "upper_bound": "\\\\xe29883"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 5804040007622195843}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977890472848486700, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "88507919"}, {"distinct_range": 2131405172539977200, "num_eq": 10000000, "num_range": 7264006067205047196, "upper_bound": "1029072233"}, {"distinct_range": 20, "num_eq": 20, "num_range": 20, "upper_bound": "1463003236"}, {"distinct_range": 6626008916255964000, "num_eq": 659980867735537824, "num_range": 6626008916255964448, "upper_bound": "1467316977"}, {"distinct_range": 7632111201430413000, "num_eq": 200000000, "num_range": 9133396105712628274, "upper_bound": "1582090974"}, {"distinct_range": 0, "num_eq": 9153480022114497969, "num_range": 50000, "upper_bound": "2070007750"}, {"distinct_range": 0, "num_eq": 8152745209798967399, "num_range": 30000, "upper_bound": "2702822530"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 3372617532667297161, "upper_bound": "2894424186"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 2429592227584301578, "row_count": 5804040007622195843}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1417657063234305728, "histo_buckets": [{"distinct_range": 0, "num_eq": 6541366710694610235, "num_range": 0, "upper_bound": "-19223"}, {"distinct_range": 0, "num_eq": 2222956885031306336, "num_range": 2000000, "upper_bound": "-11803"}, {"distinct_range": 1629604756745663700, "num_eq": 6263029509245498574, "num_range": 5738421079512961813, "upper_bound": "-10669"}, {"distinct_range": 0, "num_eq": 449812654400190110, "num_range": 900000, "upper_bound": "10349"}, {"distinct_range": 0, "num_eq": 100, "num_range": 20000000000, "upper_bound": "22335"}, {"distinct_range": 10000, "num_eq": 200000, "num_range": 10000, "upper_bound": "26509"}, {"distinct_range": 6590892412036755000, "num_eq": 1000000000, "num_range": 6590892412036755765, "upper_bound": "28259"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 2586241042062840113, "row_count": 5804040007622195843}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5355143164945859583, "histo_col_type": "", "name": "__auto__", "null_count": 1708747560456943880, "row_count": 5804040007622195843}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5585280161121808336, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "-4.7707934156830323E+18"}, {"distinct_range": 60000000000, "num_eq": 4592723278964893489, "num_range": 60000000000, "upper_bound": "854128916.407746129"}, {"distinct_range": 190.61392640327625, "num_eq": 1000, "num_range": 800, "upper_bound": "3.84469332021936553E+23"}, {"distinct_range": 75076831073924780, "num_eq": 60, "num_range": 262643376886212116, "upper_bound": "6.952497067407728263E+36"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 2255168534501548619, "row_count": 5804040007622195843}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4062024131468189672, "histo_buckets": [{"distinct_range": 0, "num_eq": 6421885086391983654, "num_range": 0, "upper_bound": ".g\\u001c"}, {"distinct_range": 20, "num_eq": 9000, "num_range": 20, "upper_bound": "~*["}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 3956732639790290742, "row_count": 5804040007622195843}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154438, "histo_col_type": "", "name": "__auto__", "null_count": 13557, "row_count": 500000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 461155, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127853, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 159152, "histo_col_type": "", "name": "__auto__", "null_count": 393627, "row_count": 500000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 235864, "histo_col_type": "", "name": "__auto__", "null_count": 375735, "row_count": 500000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 496213, "histo_col_type": "", "name": "__auto__", "null_count": 399898, "row_count": 500000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49198, "histo_col_type": "", "name": "__auto__", "null_count": 362295, "row_count": 500000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377250, "histo_col_type": "", "name": "__auto__", "null_count": 268632, "row_count": 500000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63262, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 261109, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82191, "histo_col_type": "", "name": "__auto__", "null_count": 621, "row_count": 500000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489721, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 164919, "histo_col_type": "", "name": "__auto__", "null_count": 333319, "row_count": 500000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 247990, "histo_col_type": "", "name": "__auto__", "null_count": 18998, "row_count": 500000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 253544, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 4231430771030511000, "num_eq": 1000000000, "num_range": 4231430771030510966, "upper_bound": "1970-10-13"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8313027022598527053, "upper_bound": "1975-09-11"}, {"distinct_range": 40829523798.192665, "num_eq": 20000, "num_range": 100000000000, "upper_bound": "1984-08-22"}, {"distinct_range": 6892149842150236000, "num_eq": 8834157685906439019, "num_range": 6892149842150235863, "upper_bound": "1986-12-21"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 284347, "histo_col_type": "", "name": "__auto__", "null_count": 134991, "row_count": 500000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 311222, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258450, "histo_col_type": "", "name": "__auto__", "null_count": 201387, "row_count": 500000}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_buckets": [{"distinct_range": 0, "num_eq": 8677895378397952634, "num_range": 0, "upper_bound": "319852780"}, {"distinct_range": 4146054338593024500, "num_eq": 2000, "num_range": 4146054338593024360, "upper_bound": "638464209"}, {"distinct_range": 10000000, "num_eq": 4000000000, "num_range": 10000000, "upper_bound": "1664192070"}, {"distinct_range": 80, "num_eq": 2000, "num_range": 80, "upper_bound": "1986153101"}, {"distinct_range": 50544022.546988264, "num_eq": 70000, "num_range": 70000000, "upper_bound": "3542853986"}, {"distinct_range": 11.890527326250503, "num_eq": 40000000, "num_range": 30, "upper_bound": "3867369556"}, {"distinct_range": 8999.890362512371, "num_eq": 7214894039078263007, "num_range": 9000, "upper_bound": "4069997774"}, {"distinct_range": 0, "num_eq": 7889166045730597393, "num_range": 8000000000, "upper_bound": "4076305833"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43, "histo_col_type": "", "name": "__auto__", "null_count": 48, "row_count": 50}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 48, "row_count": 50}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_buckets": [{"distinct_range": 0, "num_eq": 5160054705769377533, "num_range": 0, "upper_bound": "001101010011111100100011101"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 6292584573468658082, "upper_bound": "010100101111000000011010100"}, {"distinct_range": 0, "num_eq": 4217313534678014502, "num_range": 1557661951061312311, "upper_bound": "100010010101000001101010101"}, {"distinct_range": 450150941.2952478, "num_eq": 8000000, "num_range": 700000000, "upper_bound": "101001000001100100001001011"}, {"distinct_range": 5648157311557624000, "num_eq": 5226847475700099628, "num_range": 5648157311557623307, "upper_bound": "101011110011001010111011111"}, {"distinct_range": 0, "num_eq": 7277653964135363624, "num_range": 920630655700224640, "upper_bound": "101101100110111111000001000"}, {"distinct_range": 50000000, "num_eq": 1000, "num_range": 50000000, "upper_bound": "110011111000111111001111001"}, {"distinct_range": 2095559950523119000, "num_eq": 5452012107292434620, "num_range": 2095559950523119132, "upper_bound": "110111001111000001000001100"}, {"distinct_range": 6063624968643295000, "num_eq": 10000000000, "num_range": 7008935099467676683, "upper_bound": "111001011101110011111000000"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 10, "row_count": 50}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "", "name": "__auto__", "null_count": 46, "row_count": 50}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "0.15343059599399567"}, {"distinct_range": 0, "num_eq": 2458751930201863116, "num_range": 9042508722072016903, "upper_bound": "0.8160967826843262"}, {"distinct_range": 5474684030405661000, "num_eq": 568434833940423451, "num_range": 7006990429919306493, "upper_bound": "1.5654160976409912"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 35, "row_count": 50}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 9, "row_count": 50}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_buckets": [{"distinct_range": 0, "num_eq": 6372883863548960483, "num_range": 0, "upper_bound": "-0.8660390377044678"}, {"distinct_range": 20, "num_eq": 30000000, "num_range": 20, "upper_bound": "-0.6278088688850403"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 3997674346633060749, "upper_bound": "-0.5251173377037048"}, {"distinct_range": 2381147010416133000, "num_eq": 7271797804734188268, "num_range": 2381147010416132969, "upper_bound": "-0.08433402329683304"}, {"distinct_range": 7037883796017120000, "num_eq": 30000, "num_range": 8292500926604643865, "upper_bound": "0.3594124913215637"}, {"distinct_range": 200000000, "num_eq": 2928116485063448935, "num_range": 200000000, "upper_bound": "0.6917569637298584"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "0.8239467144012451"}, {"distinct_range": 200, "num_eq": 900000000, "num_range": 200, "upper_bound": "1.2386975288391113"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 50}]';
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 210791614, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9327583330, "histo_col_type": "", "name": "__auto__", "null_count": 6511440895, "row_count": 10000000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3470281096, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7472784288, "histo_buckets": [{"distinct_range": 0, "num_eq": 3686248608457900624, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 5118010598724919257, "num_range": 10000, "upper_bound": "\\\\x43f80e65c8c3f4"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 1654499247088331120, "upper_bound": "\\\\x44f225d9af9512c4ce"}, {"distinct_range": 66648989.56680272, "num_eq": 2000, "num_range": 100000000, "upper_bound": "\\\\x77cf286b"}, {"distinct_range": 0, "num_eq": 6085034233801468146, "num_range": 300000, "upper_bound": "\\\\xf6240013fd"}, {"distinct_range": 0, "num_eq": 8142640758719644930, "num_range": 1665741418017625086, "upper_bound": "\\\\xfbabedeb80fe0ec0"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2566856831, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2389357434, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2713637025, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7729240247, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "151.83.202.212/31"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 50000000, "upper_bound": "f72f:56cd:80f7:bae7:37ff:c768:1f29:6ea7/68"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 2541429423, "row_count": 10000000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6605884989, "histo_col_type": "", "name": "__auto__", "null_count": 4470442843, "row_count": 10000000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3822044786, "histo_buckets": [{"distinct_range": 0, "num_eq": 5815023669926223913, "num_range": 0, "upper_bound": "1358398815"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 884583581, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5042265718, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8300084201, "histo_buckets": [{"distinct_range": 0, "num_eq": 2120265186173368768, "num_range": 0, "upper_bound": "00:44:14.763017"}, {"distinct_range": 0, "num_eq": 3707876156565227310, "num_range": 1856647901313233225, "upper_bound": "07:05:13.627509"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 10000000, "upper_bound": "14:25:48.450456"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 5887747034, "row_count": 10000000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8446974152, "histo_buckets": [{"distinct_range": 0, "num_eq": 3884293901525927724, "num_range": 0, "upper_bound": ""}, {"distinct_range": 3681814951170706400, "num_eq": 3474198699555294053, "num_range": 5155174509226139949, "upper_bound": "\\u0006O"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 50000, "upper_bound": ".}\\u001e\\u0019Gf\\u000c"}, {"distinct_range": 4000000, "num_eq": 8000000000, "num_range": 4000000, "upper_bound": ":o9~H#\\u0007"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2630296592, "row_count": 10000000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7666778061, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41160366, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "-16338"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 1432992586875038907, "upper_bound": "-10547"}, {"distinct_range": 2678370460888047600, "num_eq": 7922521439196538441, "num_range": 2678370460888047584, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 4778324521383464244, "upper_bound": "21451"}, {"distinct_range": 3752491960967227000, "num_eq": 20, "num_range": 3752491960967227031, "upper_bound": "22087"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 57522742, "row_count": 70000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3218414, "histo_col_type": "", "name": "__auto__", "null_count": 6197217, "row_count": 70000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44400079, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "59229977110.80431516"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 14617631, "row_count": 70000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42801561, "histo_buckets": [{"distinct_range": 0, "num_eq": 5320976146065234128, "num_range": 0, "upper_bound": ""}, {"distinct_range": 10000000, "num_eq": 6361739011715453924, "num_range": 10000000, "upper_bound": "\\u0000"}, {"distinct_range": 4990137459296767000, "num_eq": 0, "num_range": 4990137459296767217, "upper_bound": "\\u0018P$"}, {"distinct_range": 14981.965785858474, "num_eq": 1000, "num_range": 300000, "upper_bound": "6\\u0005ULP-Lt"}, {"distinct_range": 0, "num_eq": 8631678864640124073, "num_range": 1000000000, "upper_bound": "Dg\\u001b\\nJvW\\u000f\\u000c"}, {"distinct_range": 0, "num_eq": 5305100677396834094, "num_range": 0, "upper_bound": "F"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 800, "upper_bound": "L9?"}, {"distinct_range": 0, "num_eq": 4354090426257507307, "num_range": 5000000, "upper_bound": "LQZt\\u00060\\u0001"}, {"distinct_range": 7821361.89019925, "num_eq": 60000, "num_range": 20000000, "upper_bound": "Mie\\u0002"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 52202963, "row_count": 70000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7945998, "histo_buckets": [{"distinct_range": 0, "num_eq": 9015381571037415890, "num_range": 0, "upper_bound": "C"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 48438910, "row_count": 70000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10851397, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "\\\\x1867b0c040ca8686"}, {"distinct_range": 5182804821267704000, "num_eq": 1000000, "num_range": 5182804821267704044, "upper_bound": "\\\\x1c26a5"}, {"distinct_range": 0, "num_eq": 40, "num_range": 3446553944239413190, "upper_bound": "\\\\x1cc2f4"}, {"distinct_range": 0, "num_eq": 3782120284012116178, "num_range": 98319928542016991, "upper_bound": "\\\\x31ab7a16"}, {"distinct_range": 1260056.686870678, "num_eq": 8346532900142316301, "num_range": 3000000, "upper_bound": "\\\\x4ea01bae8fac49fe9e"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x520931ce6087ee"}, {"distinct_range": 4952207248838295000, "num_eq": 0, "num_range": 7394517885036505398, "upper_bound": "\\\\x66b8b6"}, {"distinct_range": 88.03815215723064, "num_eq": 100000, "num_range": 300, "upper_bound": "\\\\x767ad3f0"}, {"distinct_range": 8844790264392564000, "num_eq": 2464111059425645356, "num_range": 8844790264392563992, "upper_bound": "\\\\x9618"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 70000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9654503, "histo_buckets": [{"distinct_range": 0, "num_eq": 7351114102399023757, "num_range": 0, "upper_bound": "1291618118"}, {"distinct_range": 20000000, "num_eq": 7162500728575405643, "num_range": 20000000, "upper_bound": "1841010211"}, {"distinct_range": 1878606437664039200, "num_eq": 3014176348873988174, "num_range": 1878606437664039253, "upper_bound": "3170485391"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 4955195, "row_count": 70000000}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 856991839, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68251097, "histo_col_type": "", "name": "__auto__", "null_count": 518261548, "row_count": 900000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 566352944, "histo_col_type": "", "name": "__auto__", "null_count": 28216284, "row_count": 900000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 572894733, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 376089593, "histo_col_type": "", "name": "__auto__", "null_count": 681019045, "row_count": 900000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13146874, "histo_col_type": "", "name": "__auto__", "null_count": 683108640, "row_count": 900000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 533039517, "histo_col_type": "", "name": "__auto__", "null_count": 536916274, "row_count": 900000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 419736699, "histo_col_type": "", "name": "__auto__", "null_count": 663458917, "row_count": 900000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199119850, "histo_col_type": "", "name": "__auto__", "null_count": 153537167, "row_count": 900000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 175286877, "histo_col_type": "", "name": "__auto__", "null_count": 327921741, "row_count": 900000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140812948, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 98183762, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46189087, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 196538371, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 804614500, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "1978-09-25"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 50000000, "upper_bound": "1983-07-01"}, {"distinct_range": 400000, "num_eq": 172204723616504901, "num_range": 400000, "upper_bound": "1988-10-23"}, {"distinct_range": 200000, "num_eq": 700000000, "num_range": 200000, "upper_bound": "1993-02-10"}, {"distinct_range": 0, "num_eq": 414980875621359361, "num_range": 9000000, "upper_bound": "1994-02-17"}, {"distinct_range": 3433965801094467000, "num_eq": 1000, "num_range": 4077764923646961182, "upper_bound": "1996-10-20"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 10000000, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 900000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 658894282, "histo_col_type": "", "name": "__auto__", "null_count": 522122731, "row_count": 900000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266197876, "histo_col_type": "", "name": "__auto__", "null_count": 257569419, "row_count": 900000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 168950396, "histo_col_type": "", "name": "__auto__", "null_count": 592813795, "row_count": 900000000}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577568481364274775, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5440406436472636000, "num_eq": 50000000, "num_range": 7323104119853265510, "upper_bound": "393250909"}, {"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "763736624"}, {"distinct_range": 590998026807678000, "num_eq": 8898120265330853543, "num_range": 1411573853419080379, "upper_bound": "2086953388"}, {"distinct_range": 84259446.00206532, "num_eq": 3270893930994083520, "num_range": 100000000, "upper_bound": "2536507713"}, {"distinct_range": 5148630206634764000, "num_eq": 50, "num_range": 5148630206634763878, "upper_bound": "2771582357"}, {"distinct_range": 0, "
(compose).TestComposeCompare failed on master@bdff5338ca725bf1cfddf7e3f648bbf02ab42999:
postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1 |
postgres_1 | waiting for server to start....2021-03-14 06:11:23.101 UTC [47] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-14 06:11:23.119 UTC [48] LOG: database system was shut down at 2021-03-14 06:11:22 UTC
postgres_1 | 2021-03-14 06:11:23.124 UTC [47] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | Loading PostGIS extensions into postgres
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 |
postgres_1 | waiting for server to shut down...2021-03-14 06:11:25.996 UTC [47] LOG: received fast shutdown request
postgres_1 | .2021-03-14 06:11:25.998 UTC [47] LOG: aborting any active transactions
postgres_1 | 2021-03-14 06:11:26.000 UTC [47] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
postgres_1 | 2021-03-14 06:11:26.007 UTC [49] LOG: shutting down
postgres_1 | 2021-03-14 06:11:26.118 UTC [47] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-14 06:11:26.209 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-14 06:11:26.209 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-14 06:11:26.213 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-14 06:11:26.229 UTC [84] LOG: database system was shut down at 2021-03-14 06:11:26 UTC
postgres_1 | 2021-03-14 06:11:26.235 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (601.78s)
test_1 | --- FAIL: TestCompare/postgres (0.96s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@e09b93fe62541c3a94f32a723778660b528a0792:
postgres_1 | CREATE UNIQUE INDEX ON table5 (col5_3 ASC) INCLUDE (col5_0, col5_2, col5_4);
postgres_1 | CREATE UNIQUE INDEX ON table5 (col5_0 DESC);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('flqfc');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('vi', 'jywe', 'xlmfdp');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('rials', 'uewkxs', 'qfahwx', 'knqw');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('ds', 's', 'ddt', 'dwjn', 'xmilsy', 'olzi');
postgres_1 | CREATE TYPE rand_typ_4 AS ENUM ('zwht', 'mudw', 'aso', 'aaglq');
postgres_1 |
test_1 | --- FAIL: TestCompare (604.44s)
test_1 | --- FAIL: TestCompare/postgres (3.22s)
test_1 | compare_test.go:129: CREATE TABLE table1 (col1_0 REGPROC NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_2 TIMESTAMPTZ, col1_3 DECIMAL NOT NULL, col1_4 "char" NULL, col1_5 BOX2D NOT NULL, PRIMARY KEY (col1_0), col1_6 TEXT AS (lower(col1_4)) VIRTUAL, col1_7 TEXT AS (lower(CAST(col1_0 AS TEXT))) STORED);
test_1 | CREATE INDEX ON table1 (col1_6 ASC, col1_0 DESC, col1_3 ASC, col1_7 ASC, col1_1 ASC, col1_2, col1_5 DESC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_2, col1_5 ASC, col1_7, col1_1 ASC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_6 DESC, col1_3 ASC, col1_5 DESC, col1_1 DESC, col1_4 DESC, col1_0 DESC, col1_7 DESC, col1_2 DESC);
test_1 | CREATE TABLE table2 (col2_0 TIME NOT NULL, col2_1 TIME NOT NULL, col2_2 FLOAT8 NOT NULL, col2_3 BOOL NULL, col2_4 TIMESTAMPTZ[] NULL, col2_5 CHAR NOT NULL, col2_6 TIMESTAMP NOT NULL, col2_7 BOX2D NOT NULL, col2_8 BIT(16) NOT NULL, col2_9 TIMETZ NOT NULL, col2_10 INT8 NULL, PRIMARY KEY (col2_0, col2_9, col2_7, col2_6, col2_5), col2_11 TEXT NOT NULL AS (lower(col2_5)) STORED, col2_12 TEXT NULL AS (lower(CAST(col2_3 AS TEXT))) STORED, col2_13 TEXT AS (lower(CAST(col2_0 AS TEXT))) VIRTUAL, col2_14 TEXT NULL AS (lower(CAST(col2_6 AS TEXT))) STORED, col2_15 TEXT NULL AS (lower(CAST(col2_6 AS TEXT))) VIRTUAL, col2_16 TEXT AS (lower(CAST(col2_8 AS TEXT))) VIRTUAL, col2_17 FLOAT8 NULL AS (col2_2 + (-0.9547609090805054)::FLOAT8) STORED, col2_18 FLOAT8 AS (col2_2 + 1.286890983581543::FLOAT8) VIRTUAL);
test_1 | CREATE INDEX ON table2 (col2_14, col2_15, col2_0 DESC, col2_5, col2_10 DESC, col2_11 DESC, col2_8 ASC, col2_1 ASC, col2_9 ASC, col2_18 DESC, col2_3 DESC, col2_16 DESC, col2_7 DESC, col2_6 DESC, col2_12);
test_1 | CREATE INDEX ON table2 (col2_8, col2_13 DESC, col2_16 ASC, col2_15, col2_1 ASC, col2_2 DESC, col2_3, col2_14 DESC) INCLUDE (col2_4, col2_10, col2_11, col2_17);
test_1 | CREATE INDEX ON table2 (col2_10, col2_17 ASC, col2_7 ASC, col2_5, col2_2 DESC, col2_15, col2_12 DESC, col2_16 DESC, col2_18 DESC, col2_13 DESC);
test_1 | CREATE INDEX ON table2 (col2_7 ASC, col2_9 DESC, col2_3, col2_6 ASC, col2_8, col2_16 DESC, col2_13 ASC, col2_15 DESC, col2_11 ASC, col2_14 DESC, col2_0, col2_2 ASC, col2_12, col2_1, col2_18, col2_5, col2_17 ASC);
test_1 | CREATE INDEX ON table2 (col2_14 ASC, col2_2 ASC, col2_11, col2_8 DESC, col2_1 ASC, col2_9 DESC, col2_17, col2_7 ASC, col2_6 DESC, col2_10 DESC, col2_5 DESC, col2_0, col2_13 ASC, col2_3, col2_16 DESC, col2_18 DESC, col2_12 DESC, col2_15 DESC);
test_1 | CREATE TABLE table3 (col2_0 TIME NOT NULL, col2_9 TIMETZ NOT NULL, col2_7 BOX2D NOT NULL, col2_6 TIMESTAMP NOT NULL, col2_5 CHAR NOT NULL, col3_5 INT8 NOT NULL, col3_6 REGCLASS, col3_7 OID, col3_8 REGTYPE NOT NULL, col3_9 REGNAMESPACE NULL, PRIMARY KEY (col2_0, col2_9, col2_7, col2_6, col2_5, col3_8, col3_9, col3_5, col3_6));
test_1 | CREATE TABLE table4 (col4_0 REGPROCEDURE NULL, col4_1 INT8 NOT NULL, col4_2 DECIMAL NULL, col4_3 INT8, col4_4 TIMESTAMP NULL, col4_5 UUID, col4_6 TIMESTAMPTZ NULL, col4_7 TEXT NULL, col4_8 BYTEA NOT NULL, PRIMARY KEY (col4_8));
test_1 | CREATE INDEX ON table4 (col4_3) INCLUDE (col4_1, col4_2, col4_4, col4_6, col4_7);
test_1 | CREATE INDEX ON table4 (col4_3, col4_7 ASC, col4_0, col4_2, col4_6) INCLUDE (col4_1);
test_1 | CREATE INDEX ON table4 (col4_0, col4_4) INCLUDE (col4_1, col4_2, col4_5, col4_7);
test_1 | CREATE TABLE table5 (col5_0 NAME, col5_1 INT8 NOT NULL, col5_2 CHAR NOT NULL, col5_3 INT8 NOT NULL, col5_4 "char", PRIMARY KEY (col5_1, col5_3), col5_5 TEXT NULL AS (lower(col5_2)) VIRTUAL, col5_6 TEXT NOT NULL AS (lower(col5_0)) VIRTUAL, col5_7 INT8 NULL AS (col5_3 + col5_1) VIRTUAL);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_6 ASC);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_6 DESC, col5_7 ASC, col5_0, col5_2 DESC);
test_1 | CREATE INDEX ON table5 (col5_4, col5_7, col5_3 DESC, col5_5 DESC, col5_6 DESC, col5_1);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_5, col5_1 DESC, col5_3, col5_0, col5_2 DESC, col5_4 DESC);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_3 ASC) INCLUDE (col5_0, col5_2, col5_4);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_0 DESC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('flqfc');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('vi', 'jywe', 'xlmfdp');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('rials', 'uewkxs', 'qfahwx', 'knqw');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('ds', 's', 'ddt', 'dwjn', 'xmilsy', 'olzi');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('zwht', 'mudw', 'aso', 'aaglq');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "AS" (SQLSTATE 42601)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@e9387a6e5dfdad71c74ccd0a07c907632613fa3e:
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_9 DESC, col1_3 ASC, col1_4 ASC, col1_0 DESC, col1_8) INCLUDE (col1_5, col1_6, col1_10);
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_3);
postgres_1 | CREATE TABLE table2 (col2_0 INTERVAL NOT NULL, PRIMARY KEY (col2_0));
postgres_1 | CREATE TABLE table3 (col3_0 TEXT, col3_1 BOOL NOT NULL, col3_2 BYTEA NOT NULL, col3_3 DATE, col3_4 REGTYPE, col3_5 TIME[] NOT NULL, col3_6 BIT(32) NULL, col3_7 TEXT NOT NULL AS (lower(CAST(col3_1 AS TEXT))) VIRTUAL, col3_8 TEXT NOT NULL AS (lower(CAST(col3_3 AS TEXT))) STORED, col3_9 TEXT AS (lower(CAST(col3_4 AS TEXT))) STORED);
postgres_1 | CREATE INVERTED INDEX ON table3 (col3_0 ASC, col3_2 DESC, col3_9, col3_7 ASC, col3_6 DESC, col3_8 ASC, col3_3 DESC, col3_5 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC, col3_9 DESC, col3_1) INCLUDE (col3_8);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col3_0 ASC, col3_8 DESC, col3_4 DESC, col3_9 ASC);
postgres_1 | CREATE TABLE table4 (col4_0 "char" NOT NULL, col4_1 GEOMETRY NULL, PRIMARY KEY (col4_0));
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_0 DESC);
postgres_1 | CREATE INVERTED INDEX ON table4 (col4_0 DESC, col4_1 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_0 DESC);
postgres_1 | CREATE INVERTED INDEX ON table4 (col4_1);
postgres_1 | CREATE INVERTED INDEX ON table4 (col4_1);
postgres_1 | CREATE INDEX ON table4 (col4_0 DESC) INCLUDE (col4_1);
postgres_1 | ALTER TABLE table4 ADD FOREIGN KEY (col4_0) REFERENCES table1 (col1_3) ON UPDATE CASCADE;
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('xaa', 'sckm', 'fxycic', 'fqcdur');
postgres_1 |
test_1 | --- FAIL: TestCompare (603.25s)
test_1 | --- FAIL: TestCompare/postgres (2.25s)
test_1 | compare_test.go:129: CREATE TABLE table1 (col1_0 UUID NOT NULL, col1_1 TIME NULL, col1_2 BIT(8) NOT NULL, col1_3 CHAR NOT NULL, col1_4 REGTYPE NOT NULL, col1_5 GEOGRAPHY NOT NULL, col1_6 REGCLASS NOT NULL, col1_7 INET NOT NULL, col1_8 TEXT NOT NULL AS (lower(CAST(col1_4 AS TEXT))) STORED, col1_9 TEXT NOT NULL AS (lower(col1_3)) STORED, col1_10 TEXT NULL AS (lower(CAST(col1_0 AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_8, col1_6, col1_7, col1_9 ASC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_9 DESC, col1_3 ASC, col1_4 ASC, col1_0 DESC, col1_8) INCLUDE (col1_5, col1_6, col1_10);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3);
test_1 | CREATE TABLE table2 (col2_0 INTERVAL NOT NULL, PRIMARY KEY (col2_0));
test_1 | CREATE TABLE table3 (col3_0 TEXT, col3_1 BOOL NOT NULL, col3_2 BYTEA NOT NULL, col3_3 DATE, col3_4 REGTYPE, col3_5 TIME[] NOT NULL, col3_6 BIT(32) NULL, col3_7 TEXT NOT NULL AS (lower(CAST(col3_1 AS TEXT))) VIRTUAL, col3_8 TEXT NOT NULL AS (lower(CAST(col3_3 AS TEXT))) STORED, col3_9 TEXT AS (lower(CAST(col3_4 AS TEXT))) STORED);
test_1 | CREATE INVERTED INDEX ON table3 (col3_0 ASC, col3_2 DESC, col3_9, col3_7 ASC, col3_6 DESC, col3_8 ASC, col3_3 DESC, col3_5 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC, col3_9 DESC, col3_1) INCLUDE (col3_8);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col3_0 ASC, col3_8 DESC, col3_4 DESC, col3_9 ASC);
test_1 | CREATE TABLE table4 (col4_0 "char" NOT NULL, col4_1 GEOMETRY NULL, PRIMARY KEY (col4_0));
test_1 | CREATE UNIQUE INDEX ON table4 (col4_0 DESC);
test_1 | CREATE INVERTED INDEX ON table4 (col4_0 DESC, col4_1 ASC);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_0 DESC);
test_1 | CREATE INVERTED INDEX ON table4 (col4_1);
test_1 | CREATE INVERTED INDEX ON table4 (col4_1);
test_1 | CREATE INDEX ON table4 (col4_0 DESC) INCLUDE (col4_1);
test_1 | ALTER TABLE table4 ADD FOREIGN KEY (col4_0) REFERENCES table1 (col1_3) ON UPDATE CASCADE;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('xaa', 'sckm', 'fxycic', 'fqcdur');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "AS" (SQLSTATE 42601)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@597e4a8c487e3c23d64885563d608a692b59055c:
postgres_1 | 2021-03-17 05:13:25.095 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-03-17 05:13:25.099 UTC [50] LOG: shutting down
postgres_1 | 2021-03-17 05:13:25.217 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-17 05:13:25.305 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-17 05:13:25.305 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-17 05:13:25.309 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-17 05:13:25.326 UTC [85] LOG: database system was shut down at 2021-03-17 05:13:25 UTC
postgres_1 | 2021-03-17 05:13:25.333 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (600.99s)
test_1 | --- FAIL: TestCompare/postgres (0.32s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 TIMESTAMPTZ NOT NULL, col1_1 FLOAT8 NOT NULL, col1_2 BYTES NOT NULL, col1_3 INET NOT NULL, col1_4 UUID NOT NULL, col1_5 STRING NOT NULL, col1_6 TIMETZ NOT NULL, col1_7 TIMESTAMP NOT NULL, col1_8 DATE NOT NULL, col1_9 FLOAT8 NOT NULL, PRIMARY KEY (col1_7, col1_2, col1_1, col1_4, col1_0, col1_8, col1_6, col1_3, col1_9), col1_10 STRING NOT NULL AS (IF(col1_0 IS NULL, NULL, e'\x0b*QIJ':::STRING)) STORED, col1_11 FLOAT8 NOT NULL AS (col1_9 + col1_1) VIRTUAL, col1_12 FLOAT8 AS (col1_9 + col1_1) VIRTUAL, col1_13 FLOAT8 AS (col1_9 + col1_1) STORED, col1_14 FLOAT8 AS (col1_1 + col1_9) STORED, col1_15 FLOAT8 AS (col1_9 + (-0.8331368931048742):::FLOAT8) VIRTUAL, col1_16 FLOAT8 NULL AS (col1_9 + col1_1) STORED, col1_17 FLOAT8 AS (col1_9 + (-0.23483122447101767):::FLOAT8) VIRTUAL, col1_18 FLOAT8 NULL AS (col1_9 + col1_1) VIRTUAL, FAMILY (col1_4, col1_9, col1_0), FAMILY (col1_6), FAMILY (col1_2, col1_7), FAMILY (col1_13), FAMILY (col1_3), FAMILY (col1_16), FAMILY (col1_1, col1_8), FAMILY (col1_5, col1_14, col1_10));
test_1 | ALTER TABLE table1 ALTER COLUMN col1_5 SET DATA TYPE STRING;
test_1 | CREATE INVERTED INDEX ON table1 (col1_15 ASC, col1_7, col1_12 DESC, col1_14 ASC, col1_1 DESC, col1_16 DESC, col1_9 ASC, col1_13 ASC, col1_0 ASC, col1_6 ASC, col1_18 DESC, col1_10, col1_3 DESC, col1_17 DESC, col1_5);
test_1 | CREATE INDEX ON table1 (col1_14 ASC, col1_4 DESC, col1_15 ASC, col1_13 ASC, col1_0 DESC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_14 ASC, col1_2, col1_13 ASC, col1_15, col1_3, col1_16);
test_1 | CREATE TABLE table2 (col2_0 "char" NULL, col2_1 REGPROCEDURE NULL, col2_2 BOOL NOT NULL, col2_3 REGPROC NOT NULL, col2_4 TIMESTAMP NULL, col2_5 FLOAT8 NOT NULL, col2_6 TIMETZ NOT NULL, PRIMARY KEY (col2_6), col2_7 FLOAT8 AS (col2_5 + 0.8667200053324464:::FLOAT8) STORED, col2_8 STRING NOT NULL AS (lower(CAST(col2_3 AS STRING))) STORED, col2_9 STRING NULL AS (lower(CAST(col2_4 AS STRING))) STORED, col2_10 STRING NULL AS (lower(CAST(col2_6 AS STRING))) VIRTUAL, col2_11 STRING NULL AS (lower(CAST(col2_4 AS STRING))) VIRTUAL, FAMILY (col2_0, col2_2, col2_1), FAMILY (col2_8, col2_6, col2_7), FAMILY (col2_4), FAMILY (col2_5, col2_3), FAMILY (col2_9));
test_1 | CREATE UNIQUE INDEX ON table2 (col2_11 ASC, col2_10 ASC, col2_0 DESC, col2_1, col2_5 DESC, col2_3 ASC, col2_9 DESC) STORING (col2_2, col2_4, col2_7, col2_8);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_2 DESC, col2_5 DESC, col2_3, col2_10 DESC, col2_7 ASC, col2_1, col2_11 DESC, col2_8, col2_9 DESC, col2_0 ASC);
test_1 | CREATE TABLE table3 (col3_0 INTERVAL NOT NULL, col3_1 INTERVAL NOT NULL, col3_2 INET NOT NULL, col3_3 REGPROC NOT NULL, col3_4 BIT(17) NOT NULL, col3_5 DECIMAL NOT NULL, col3_6 TIMETZ NOT NULL, col3_7 BIT(15) NULL, col3_8 CHAR NOT NULL, col3_9 BYTES NOT NULL, col3_10 NAME NOT NULL, col3_11 BYTES NOT NULL, PRIMARY KEY (col3_4, col3_8, col3_5, col3_0, col3_6, col3_10, col3_11, col3_3, col3_9), col3_12 STRING NULL AS (lower(CAST(col3_0 AS STRING))) STORED, col3_13 STRING NOT NULL AS (lower(col3_10)) STORED, FAMILY (col3_5), FAMILY (col3_12), FAMILY (col3_0), FAMILY (col3_8), FAMILY (col3_1, col3_6, col3_4), FAMILY (col3_13), FAMILY (col3_9, col3_3, col3_11), FAMILY (col3_2), FAMILY (col3_7), FAMILY (col3_10));
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC, col3_10 ASC, col3_2 ASC, col3_12 ASC);
test_1 | CREATE INDEX ON table3 (col3_12 DESC, col3_1 DESC, col3_4);
test_1 | CREATE INDEX ON table3 (col3_6 DESC, col3_3, col3_12 ASC, col3_9, col3_4, col3_13, col3_11 DESC, col3_1, col3_5, col3_8 ASC, col3_7 ASC, col3_10 DESC, col3_0 DESC, col3_2 ASC);
test_1 | CREATE INDEX ON table3 (col3_12 ASC, col3_7 DESC, col3_1);
test_1 | CREATE INDEX ON table3 (col3_12, col3_4 DESC, col3_6 ASC, col3_13 ASC, col3_5 DESC, col3_11, col3_9 ASC, col3_0) STORING (col3_1);
test_1 | ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3626882857286916868, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2554593311891272156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1275873241161957594, "histo_col_type": "", "name": "__auto__", "null_count": 1589605813412008000, "row_count": 3867142633530577182}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 487236262664608244, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 560143325671087205, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3439003722995067534, "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1512597692871317143, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 580449775542332182, "histo_col_type": "", "name": "__auto__", "null_count": 1837906489451731034, "row_count": 3867142633530577182}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1967882600191659270, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2425886152443813937, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3647750538879095509, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2814876644435195555, "histo_col_type": "", "name": "__auto__", "null_count": 609082791380960091, "row_count": 3867142633530577182}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1570071840881923429, "histo_col_type": "", "name": "__auto__", "null_count": 1592228881158950145, "row_count": 3867142633530577182}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3212929181585534042, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1010553774401060475, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1010705117898190563, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3867142633530577182}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 436864498473504888, "histo_buckets": [{"distinct_range": 0, "num_eq": 1358713436508140043, "num_range": 0, "upper_bound": "-1.2528695325301444"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 2000, "upper_bound": "-0.9162843587866182"}, {"distinct_range": 120472515444841330, "num_eq": 747833636893653298, "num_range": 122326910249041907, "upper_bound": "-0.8770105865313984"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "-0.6194571906574261"}, {"distinct_range": 5619580108612856000, "num_eq": 935692091602572105, "num_range": 5619580108612856106, "upper_bound": "1.401298464324817e-45"}, {"distinct_range": 9169563959563322000, "num_eq": 60000000000, "num_range": 9169563959563322145, "upper_bound": "0.5780079106866727"}, {"distinct_range": 5583984408123052, "num_eq": 5529008986010908623, "num_range": 11426778313993257, "upper_bound": "0.6830746924669912"}, {"distinct_range": 7674682411059880000, "num_eq": 30000, "num_range": 7674682411059880371, "upper_bound": "0.7237534003139693"}, {"distinct_range": 900000000, "num_eq": 100, "num_range": 900000000, "upper_bound": "0.8973288272333954"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1979953053030031205, "row_count": 3867142633530577182}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1252710057614954309, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-1.3070111315737623"}, {"distinct_range": 0, "num_eq": 1579860588556861053, "num_range": 7477475251096205374, "upper_bound": "-0.4621356852388848"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1536507744252288725, "row_count": 3867142633530577182}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1855876402687401670, "histo_col_type": "", "name": "__auto__", "null_count": 3158145061417084343, "row_count": 3867142633530577182}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22409014, "histo_col_type": "", "name": "__auto__", "null_count": 95420155, "row_count": 100000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57557316, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17487615, "histo_col_type": "", "name": "__auto__", "null_count": 69147795, "row_count": 100000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50357837, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33758246, "histo_col_type": "", "name": "__auto__", "null_count": 13254360, "row_count": 100000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5516682, "histo_col_type": "", "name": "__auto__", "null_count": 26716872, "row_count": 100000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38337162, "histo_col_type": "", "name": "__auto__", "null_count": 50187746, "row_count": 100000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64950381, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 30000000, "num_eq": 112206248272518005, "num_range": 30000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23140153, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5009037, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "\\u0005\\u0013\x7f"}, {"distinct_range": 0, "num_eq": 2060026361855169867, "num_range": 900000000, "upper_bound": "4&wjv"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 30855739, "row_count": 100000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79988875, "histo_col_type": "", "name": "__auto__", "null_count": 31952065, "row_count": 100000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36912089, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41388840621, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34152026216, "histo_buckets": [{"distinct_range": 0, "num_eq": 2061447953858448505, "num_range": 0, "upper_bound": ""}, {"distinct_range": 442.83181712066647, "num_eq": 280238498561841815, "num_range": 900, "upper_bound": "\\u0002\\u0002\\u0017ipV\\u0012\\u0004"}, {"distinct_range": 5531767220401530000, "num_eq": 900000000, "num_range": 5531767220401530011, "upper_bound": "\\u000b\\u0002)WO"}, {"distinct_range": 20380.942532576042, "num_eq": 8798524511599196212, "num_range": 60000, "upper_bound": "0A89"}, {"distinct_range": 6876607761520758000, "num_eq": 6000000000, "num_range": 8517212218902520505, "upper_bound": "1"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 60564904746, "row_count": 90000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14445401848, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "00101101110110001"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7000, "upper_bound": "01111001100010101"}, {"distinct_range": 0, "num_eq": 5854613774065586871, "num_range": 80000, "upper_bound": "01111100100001000"}, {"distinct_range": 0, "num_eq": 4704847331768170351, "num_range": 4075137710096632927, "upper_bound": "10100101101100000"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 8319778440764356310, "upper_bound": "11000000001000110"}], "histo_col_type": "BIT(17)", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29721855093, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "21 years 4 mons 80 days 15:55:16.568501"}, {"distinct_range": 9000000, "num_eq": 3000000000, "num_range": 9000000, "upper_bound": "24 years 10 mons 746 days 21:24:07.732894"}, {"distinct_range": 73.81662356600928, "num_eq": 500, "num_range": 600, "upper_bound": "290 years"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55972865700, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53442627129, "histo_buckets": [{"distinct_range": 0, "num_eq": 7976168386776267246, "num_range": 0, "upper_bound": "22:33:30.138401+02:28:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65048672730, "histo_col_type": "", "name": "__auto__", "null_count": 20614858180, "row_count": 90000000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69329335633, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48726921555, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45287102666, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40732787535, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64445827881, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5247008145, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61159947126, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}]':::JSONB;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('s', 'aerjtv');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('msieti', 'rxwjla', 'zurgky');
test_1 |
test_1 | compare_test.go:130: cockroach1: exec: ERROR: column col1_5 of type string is not allowed as the last column in an inverted index (SQLSTATE 0A000)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@36dea46f8cedf42df31b57dd70db7e0f1fd7a453:
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-18 05:13:04.966 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-18 05:13:04.966 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-18 05:13:04.971 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-18 05:13:04.989 UTC [85] LOG: database system was shut down at 2021-03-18 05:13:04 UTC
postgres_1 | 2021-03-18 05:13:04.994 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2021-03-18 05:23:04.098 UTC [112] ERROR: syntax error at or near "AS" at character 186
postgres_1 | 2021-03-18 05:23:04.098 UTC [112] STATEMENT: CREATE TABLE table1 (col1_0 REGCLASS NULL, col1_1 TIMETZ, col1_2 REGPROCEDURE NOT NULL, col1_3 BOOL, col1_4 INTERVAL NOT NULL, col1_5 "char" NULL, col1_6 REGPROCEDURE, col1_7 TEXT NULL AS (lower(col1_5)) STORED);
postgres_1 | CREATE TABLE table2 (col2_0 REGTYPE NULL, col2_1 TIME NOT NULL, col2_2 TEXT NOT NULL, col2_3 TEXT, col2_4 FLOAT8, col2_5 VARCHAR NOT NULL, col2_6 NAME NOT NULL, col2_7 NAME NOT NULL, col2_8 INT8, col2_9 DECIMAL NOT NULL, col2_10 REGCLASS NOT NULL, col2_11 NAME NOT NULL, col2_12 TEXT AS (lower(col2_6)) STORED);
postgres_1 | ALTER TABLE table2 ALTER COLUMN col2_2 SET DATA TYPE TEXT;
postgres_1 | CREATE UNIQUE INDEX ON table2 (col2_6 DESC, col2_10 ASC, col2_8, col2_3 DESC, col2_0 DESC);
postgres_1 | CREATE INDEX ON table2 (col2_8, col2_3, col2_9, col2_0 DESC, col2_10, col2_6 DESC, col2_11 DESC);
postgres_1 | CREATE TABLE table3 (col3_0 BYTEA, col3_1 BIT(11), col3_2 TIME NOT NULL, col3_3 TEXT NOT NULL, col3_4 TIMESTAMPTZ NOT NULL, col3_5 INTERVAL NULL, col3_6 "char" NOT NULL, col3_7 OID NOT NULL, PRIMARY KEY (col3_2, col3_3, col3_6, col3_4), col3_8 TEXT NULL AS (IF(col3_0 IS NULL, ''::TEXT, e'+\x14(?'::TEXT)) STORED, col3_9 TEXT NULL AS (lower(CAST(col3_2 AS TEXT))) STORED, col3_10 TEXT AS (lower(CAST(col3_1 AS TEXT))) STORED, col3_11 TEXT NULL AS (lower(CAST(col3_7 AS TEXT))) STORED);
postgres_1 | CREATE INDEX ON table3 (col3_5 ASC, col3_10, col3_3 DESC) INCLUDE (col3_1, col3_8, col3_11);
postgres_1 | CREATE INDEX ON table3 (col3_6 ASC, col3_5 ASC, col3_11) INCLUDE (col3_1, col3_7, col3_8);
postgres_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_9, col3_4 ASC, col3_11 ASC, col3_6 DESC, col3_1 ASC, col3_0, col3_8 ASC, col3_5);
postgres_1 | CREATE INDEX ON table3 (col3_8 DESC, col3_7 ASC, col3_6 ASC, col3_2 ASC, col3_11 DESC, col3_0 ASC, col3_10 ASC);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('kcnq', 'bhrsbj', 'am', 'aczel');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('cy', 'yicp', 'xuojdf', 'giy', 'tf');
postgres_1 |
test_1 | --- FAIL: TestCompare (602.39s)
test_1 | --- FAIL: TestCompare/postgres (1.48s)
test_1 | compare_test.go:129: CREATE TABLE table1 (col1_0 REGCLASS NULL, col1_1 TIMETZ, col1_2 REGPROCEDURE NOT NULL, col1_3 BOOL, col1_4 INTERVAL NOT NULL, col1_5 "char" NULL, col1_6 REGPROCEDURE, col1_7 TEXT NULL AS (lower(col1_5)) STORED);
test_1 | CREATE TABLE table2 (col2_0 REGTYPE NULL, col2_1 TIME NOT NULL, col2_2 TEXT NOT NULL, col2_3 TEXT, col2_4 FLOAT8, col2_5 VARCHAR NOT NULL, col2_6 NAME NOT NULL, col2_7 NAME NOT NULL, col2_8 INT8, col2_9 DECIMAL NOT NULL, col2_10 REGCLASS NOT NULL, col2_11 NAME NOT NULL, col2_12 TEXT AS (lower(col2_6)) STORED);
test_1 | ALTER TABLE table2 ALTER COLUMN col2_2 SET DATA TYPE TEXT;
test_1 | CREATE UNIQUE INDEX ON table2 (col2_6 DESC, col2_10 ASC, col2_8, col2_3 DESC, col2_0 DESC);
test_1 | CREATE INDEX ON table2 (col2_8, col2_3, col2_9, col2_0 DESC, col2_10, col2_6 DESC, col2_11 DESC);
test_1 | CREATE TABLE table3 (col3_0 BYTEA, col3_1 BIT(11), col3_2 TIME NOT NULL, col3_3 TEXT NOT NULL, col3_4 TIMESTAMPTZ NOT NULL, col3_5 INTERVAL NULL, col3_6 "char" NOT NULL, col3_7 OID NOT NULL, PRIMARY KEY (col3_2, col3_3, col3_6, col3_4), col3_8 TEXT NULL AS (IF(col3_0 IS NULL, ''::TEXT, e'+\x14(?'::TEXT)) STORED, col3_9 TEXT NULL AS (lower(CAST(col3_2 AS TEXT))) STORED, col3_10 TEXT AS (lower(CAST(col3_1 AS TEXT))) STORED, col3_11 TEXT NULL AS (lower(CAST(col3_7 AS TEXT))) STORED);
test_1 | CREATE INDEX ON table3 (col3_5 ASC, col3_10, col3_3 DESC) INCLUDE (col3_1, col3_8, col3_11);
test_1 | CREATE INDEX ON table3 (col3_6 ASC, col3_5 ASC, col3_11) INCLUDE (col3_1, col3_7, col3_8);
test_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_9, col3_4 ASC, col3_11 ASC, col3_6 DESC, col3_1 ASC, col3_0, col3_8 ASC, col3_5);
test_1 | CREATE INDEX ON table3 (col3_8 DESC, col3_7 ASC, col3_6 ASC, col3_2 ASC, col3_11 DESC, col3_0 ASC, col3_10 ASC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('kcnq', 'bhrsbj', 'am', 'aczel');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('cy', 'yicp', 'xuojdf', 'giy', 'tf');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "AS" (SQLSTATE 42601)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@ee9f47b9ec9476a693464e2dcd09a01bf9d39ad2:
postgres_1 | WARNING: enabling "trust" authentication for local connections
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-19 05:13:02.813 UTC [49] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-19 05:13:02.832 UTC [50] LOG: database system was shut down at 2021-03-19 05:13:02 UTC
postgres_1 | 2021-03-19 05:13:02.837 UTC [49] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
test_1 | --- FAIL: TestCompare (1.02s)
test_1 | --- FAIL: TestCompare/postgres (0.31s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | --- FAIL: TestCompare/mutators (0.71s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 BOX2D NOT NULL, col1_1 REGCLASS NOT NULL, col1_2 OID NOT NULL, col1_3 REGCLASS NOT NULL, col1_4 FLOAT4 NOT NULL, col1_5 REGPROCEDURE, col1_6 "char", PRIMARY KEY (col1_2, col1_3, col1_4 DESC, col1_0 ASC, col1_1 ASC), col1_7 STRING NOT NULL AS (lower(CAST(col1_5 AS STRING))) VIRTUAL, col1_8 STRING NULL AS (lower(CAST(col1_0 AS STRING))) STORED, col1_9 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) VIRTUAL, col1_10 STRING NOT NULL AS (lower(CAST(col1_1 AS STRING))) STORED, col1_11 STRING NOT NULL AS (lower(CAST(col1_0 AS STRING))) VIRTUAL, UNIQUE (col1_10 DESC, col1_6 DESC, col1_2, col1_11 DESC, col1_1 DESC, col1_4, col1_8 ASC, col1_3 DESC, col1_0 DESC, col1_7 DESC, col1_9 DESC, col1_5 DESC) WHERE ((((((table1.col1_8 < e'\'') OR (table1.col1_4 > +Inf)) OR (table1.col1_6 >= 'X')) AND (table1.col1_9 < e'\U00002603')) OR (table1.col1_11 < '')) OR (table1.col1_7 != '"')) OR (table1.col1_10 <= ''), UNIQUE (col1_11 DESC, col1_10, col1_4 ASC, col1_6 DESC, col1_5 DESC), INDEX (col1_7 ASC, col1_9, col1_3 ASC, col1_0 DESC) STORING (col1_5, col1_8), INDEX (col1_11, col1_2 DESC, col1_8 DESC, col1_6 DESC, col1_3 ASC, col1_10), UNIQUE (col1_11 ASC, col1_1 ASC, col1_10, col1_9, col1_5 DESC, col1_7 ASC, col1_6, col1_8, col1_4, col1_3) WHERE ((((((table1.col1_6 > '') OR (table1.col1_4 > 3.4028234663852886e+38)) OR (table1.col1_9 < e'\U00002603')) OR (table1.col1_7 <= e'\'')) AND (table1.col1_11 = '')) AND (table1.col1_8 >= '"')) OR (table1.col1_10 > e'\U00002603'), INDEX (col1_2 ASC, col1_4 DESC, col1_10 ASC, col1_11, col1_0, col1_1 ASC, col1_8 ASC, col1_5 ASC, col1_6 DESC, col1_7 ASC, col1_9 ASC) WHERE ((((((table1.col1_11 != e'\U00002603') AND (table1.col1_8 = e'\x00')) OR (table1.col1_9 != '"')) AND (table1.col1_6 != '')) AND (table1.col1_4 >= -Inf)) OR (table1.col1_10 = e'\x00')) AND (table1.col1_7 = e'\U00002603'), INDEX (col1_2 DESC, col1_10, col1_4, col1_6, col1_5, col1_3 DESC, col1_7 ASC, col1_11, col1_9 DESC, col1_1 DESC, col1_0) STORING (col1_8), FAMILY (col1_8, col1_10), FAMILY (col1_6, col1_2), FAMILY (col1_4), FAMILY (col1_0, col1_1, col1_3, col1_5));
test_1 | CREATE TABLE table2 (col2_0 CHAR[], col2_1 DATE NOT NULL, col2_2 GEOGRAPHY, col2_3 REGCLASS NOT NULL, col2_4 DATE NULL, col2_5 BOX2D NOT NULL, col2_6 INT4 NULL, col2_7 OID, col2_8 TIME, col2_9 DATE NULL, INVERTED INDEX (col2_2), INVERTED INDEX (col2_8 DESC, col2_3, col2_7 ASC, col2_1 DESC, col2_6 ASC, col2_5 ASC, col2_4, col2_9 ASC, col2_0) WHERE ((((table2.col2_8 = '24:00:00':::TIME) OR (table2.col2_1 <= 'infinity':::DATE)) AND (table2.col2_9 <= '5874897-12-31':::DATE)) OR (table2.col2_6 = 32767:::INT8)) AND (table2.col2_4 > '1970-01-01':::DATE), UNIQUE (col2_3) STORING (col2_1, col2_4, col2_6, col2_7) WHERE ((((table2.col2_9 <= '1970-01-01') AND (table2.col2_6 != -128)) AND (table2.col2_4 >= '4714-11-24 BC')) AND (table2.col2_1 = '1970-01-01')) AND (table2.col2_8 >= '24:00:00'), UNIQUE (col2_3) WHERE ((((table2.col2_4 >= '-infinity') OR (table2.col2_8 <= '24:00:00')) AND (table2.col2_6 >= 2147483647)) OR (table2.col2_9 < 'infinity')) OR (table2.col2_1 >= '1970-01-01'), FAMILY (col2_6), FAMILY (col2_9), FAMILY (col2_7, col2_4, col2_2, col2_5, col2_1), FAMILY (col2_8), FAMILY (col2_0, col2_3));
test_1 | CREATE TABLE table3 (col3_0 VARCHAR NOT NULL, col3_1 TIME NOT NULL, col3_2 UUID[], col3_3 TIME, col3_4 STRING NULL AS (lower(CAST(col3_1 AS STRING))) STORED, col3_5 STRING AS (lower(CAST(col3_3 AS STRING))) STORED, INVERTED INDEX (col3_5 ASC, col3_3 ASC, col3_4, col3_0, col3_1, col3_2 ASC) WHERE (table3.col3_0 <= 'X':::STRING) AND (table3.col3_3 <= '24:00:00':::TIME), INDEX (col3_3) STORING (col3_1), FAMILY (col3_3), FAMILY (col3_2, col3_0), FAMILY (col3_1, col3_5), FAMILY (col3_4));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19078, "histo_col_type": "", "name": "__auto__", "null_count": 149991, "row_count": 600000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 472118, "histo_col_type": "", "name": "__auto__", "null_count": 536391, "row_count": 600000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66861, "histo_col_type": "", "name": "__auto__", "null_count": 465149, "row_count": 600000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 565575, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 562565, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 2265578918805300200, "num_eq": 2984102263896677597, "num_range": 2265578918805300108, "upper_bound": "\\u000en[\\u0018\\u001f@H\\u0005"}, {"distinct_range": 0, "num_eq": 6780185593765722631, "num_range": 6487000931496483476, "upper_bound": ",W\\u0019*\\u0015S"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 207642, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 222040, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 159879, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 556536, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "\\u001b\x7f"}, {"distinct_range": 6263494951067086000, "num_eq": 4694000054427500801, "num_range": 6263494951067086142, "upper_bound": "\'"}, {"distinct_range": 1464160186809431800, "num_eq": 59948309003655099, "num_range": 1520493058531100576, "upper_bound": "/\\u0010zp-` $d"}, {"distinct_range": 10, "num_eq": 7000000000, "num_range": 10, "upper_bound": "<!\\u0013y76"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 506208, "histo_buckets": [{"distinct_range": 0, "num_eq": 4009220576292888675, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 3634296397011008598, "num_range": 1000, "upper_bound": "377987580"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 8000000, "upper_bound": "786645204"}, {"distinct_range": 784.7955094356664, "num_eq": 6527919621397994432, "num_range": 800, "upper_bound": "977084767"}, {"distinct_range": 80000000, "num_eq": 900, "num_range": 80000000, "upper_bound": "1725320838"}, {"distinct_range": 217536322596459230, "num_eq": 39084350417310786, "num_range": 2246184325667565663, "upper_bound": "4201002056"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 546853, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 300928, "histo_buckets": [{"distinct_range": 0, "num_eq": 1304066729870354027, "num_range": 0, "upper_bound": "UQV\\u001em"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 600000}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17281, "histo_col_type": "", "name": "__auto__", "null_count": 28398, "row_count": 30000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10194, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0106000020E610000000000000"}, {"distinct_range": 60, "num_eq": 5336222085421615313, "num_range": 60, "upper_bound": "0102000020E61000000300000080ADF8A780345340D1954CDD638F43C004653FF1D3545A409AC54DDFDD6054400D47AFE04DFC62C01414B6A692F35040"}], "histo_col_type": "GEOGRAPHY", "name": "__auto__", "null_count": 21115, "row_count": 30000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17587, "histo_col_type": "", "name": "__auto__", "null_count": 27358, "row_count": 30000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29391, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4929, "histo_col_type": "", "name": "__auto__", "null_count": 6574, "row_count": 30000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16820, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11031, "histo_col_type": "", "name": "__auto__", "null_count": 6592, "row_count": 30000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25025, "histo_buckets": [{"distinct_range": 0, "num_eq": 1539572177063022560, "num_range": 0, "upper_bound": "08:08:39.182473"}, {"distinct_range": 0, "num_eq": 5392137546883372536, "num_range": 8672932037159110640, "upper_bound": "10:33:10.407106"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 700, "upper_bound": "12:11:32.250632"}, {"distinct_range": 4219820255037962000, "num_eq": 400, "num_range": 4219820255037962486, "upper_bound": "15:22:10.399601"}, {"distinct_range": 1419725080620183800, "num_eq": 0, "num_range": 1656808656563664750, "upper_bound": "15:45:11.563691"}, {"distinct_range": 2202002721756859600, "num_eq": 1000000000, "num_range": 2202002721756859585, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 2133, "row_count": 30000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25691, "histo_col_type": "", "name": "__auto__", "null_count": 25468, "row_count": 30000}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 951559113678302862, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3915711196905719420}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2911444813526790820, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3915711196905719420}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1946489410742031882, "histo_col_type": "", "name": "__auto__", "null_count": 2913563911457014571, "row_count": 3915711196905719420}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51364794160395768, "histo_buckets": [{"distinct_range": 0, "num_eq": 8907097897543845985, "num_range": 0, "upper_bound": "14:04:26.942835"}, {"distinct_range": 49343.29662844447, "num_eq": 80, "num_range": 70000, "upper_bound": "14:45:15.664429"}, {"distinct_range": 9160997093152601000, "num_eq": 50000, "num_range": 9160997093152600992, "upper_bound": "18:50:04.90251"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 2929329798020765780, "row_count": 3915711196905719420}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3511703979436575385, "histo_col_type": "", "name": "__auto__", "null_count": 184862659861439446, "row_count": 3915711196905719420}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1266811980343122914, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 196989248.70962623, "num_eq": 4000000, "num_range": 300000000, "upper_bound": "\\u0013J"}, {"distinct_range": 700, "num_eq": 4000000, "num_range": 700, "upper_bound": "\'"}, {"distinct_range": 8408930187716308000, "num_eq": 1752209279048651297, "num_range": 8408930187716308449, "upper_bound": "g@B\\nOS"}, {"distinct_range": 8000, "num_eq": 1923541240732917621, "num_range": 8000, "upper_bound": "n\\u0018gf"}, {"distinct_range": 30000, "num_eq": 100000, "num_range": 30000, "upper_bound": "qh@K7"}, {"distinct_range": 1661575677097038300, "num_eq": 3000, "num_range": 1706882962821256453, "upper_bound": "|dX+"}, {"distinct_range": 4000, "num_eq": 707613427587963801, "num_range": 4000, "upper_bound": "~+\\u0013"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2273168854170679438, "row_count": 3915711196905719420}]':::JSONB;
test_1 | ALTER TABLE table1 ADD FOREIGN KEY (col1_1) REFERENCES table2 (col2_3);
test_1 | ALTER TABLE table1 ADD FOREIGN KEY (col1_2) REFERENCES table2 (col2_3);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('nsy');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1726258763782129759, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3310551042413427975, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3254857892965190714, "histo_col_type": "", "name": "__auto__", "null_count": 1308126457632719283, "row_count": 4682491088377980539}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3299673644727655053, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "\\u0015PRYz"}, {"distinct_range": 1957.2314340694481, "num_eq": 100000, "num_range": 2000, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6960914786100836641, "upper_bound": "X8\\":"}, {"distinct_range": 0, "num_eq": 90, "num_range": 3260258607307688207, "upper_bound": "]g\\u0003M"}, {"distinct_range": 3708374351486067000, "num_eq": 8781412125021406842, "num_range": 3708374351486067314, "upper_bound": "r,"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2002569403499177305, "histo_col_type": "", "name": "__auto__", "null_count": 3104828746493652668, "row_count": 4682491088377980539}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2875528024120894844, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4534087910536080795, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2772164308196809700, "num_eq": 300, "num_range": 4028566515487184192, "upper_bound": "\\u0000"}, {"distinct_range": 513192660828287400, "num_eq": 100000000000, "num_range": 513192660828287410, "upper_bound": "\\u0012M"}, {"distinct_range": 2743325881633964500, "num_eq": 20000000000, "num_range": 3247724115582127310, "upper_bound": ";&"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191751579218538353, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 500, "num_range": 9000, "upper_bound": "66419571"}, {"distinct_range": 360132406192357600, "num_eq": 1207144362164545511, "num_range": 4452057935012403293, "upper_bound": "391483032"}, {"distinct_range": 596.640951458087, "num_eq": 3000, "num_range": 2000, "upper_bound": "1925472025"}, {"distinct_range": 7327979732329603000, "num_eq": 800, "num_range": 8687805021168424898, "upper_bound": "2285996167"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2233000121664787411, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 685176144309616915, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3821899255228664649, "histo_col_type": "", "name": "__auto__", "null_count": 118633541123577322, "row_count": 4682491088377980539}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 958262474618480596, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "S:\\u0010W"}, {"distinct_range": 455.4690752899315, "num_eq": 5599276252483376050, "num_range": 500, "upper_bound": "f\\u00146"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4682491088377980539}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 118, "histo_col_type": "", "name": "__auto__", "null_count": 111, "row_count": 200}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "00:16:38.874249"}, {"distinct_range": 50000, "num_eq": 8902104844624131785, "num_range": 50000, "upper_bound": "07:26:28.808392"}, {"distinct_range": 398687875.2004357, "num_eq": 3722873035049833180, "num_range": 400000000, "upper_bound": "10:46:27.861789"}, {"distinct_range": 0, "num_eq": 7385441055184039639, "num_range": 8065252759351681329, "upper_bound": "14:25:18.152621"}, {"distinct_range": 5745935.813000884, "num_eq": 0, "num_range": 20000000, "upper_bound": "23:41:20.890079"}, {"distinct_range": 4.625499818401395, "num_eq": 5202431121156734223, "num_range": 60, "upper_bound": "23:44:14.814091"}, {"distinct_range": 50, "num_eq": 9000, "num_range": 50, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 105, "row_count": 200}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 120, "row_count": 200}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 109, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "01010000A0E6100000000000000000F87F000000000000F87F000000000000F87F"}, {"distinct_range": 23920683.389420003, "num_eq": 1233674247756763985, "num_range": 800000000, "upper_bound": "01050000E0E61000000800000001020000C007000000C8494F16F9DC32C0108701D953032AC02BF20C31ACAFFDC19CA04F4558CFF5C1349AB51EEE805F40278430F3980040C02D34A58EF0EAF1C15EB08165FAB3F941EC339F60AC1A57404002896F40E42BC0104AB9E3024EFD41D4241075C575FB4144688A52F0BD5640C0C9816326770F404050A3337F4BB8C1B4252CE6E7D8F84184D269DAF228654000710F145999064002C3A7555D36E0C104CEFF52F7E5FCC1A0AE49F181566140A07DA5EE8E5046402D6CD9867EBCF0C1E45817DD6BF5E04140DCC198375A654030D4201659F75540CE4691BF24EEF1414A77590F0A6CFDC101020000C004000000B61A322F9CD859C0964555662FFA40C0E057A742135BC641CCFDF0206616F3C14CB153B5F7F550C01CEEDCBE3A1F3AC05C249740B8390042807349FEC2C1D041B00F618CB8EE2C40DC7D4F28F38349C0EB9CACEAFE3801C21C059294157E01C24A610EF5A50261402CA191138FE24EC05CCE46851B09E2C154B63BAA545D014201020000C002000000EC8E68BEDF8F40C07E2C5E4DC2A341C0E4470DC6F956E1412055D2679596EF418644ADBBB72160C01F201753367243C04C1279B91B6FE74122DFE15AAFA4004201020000C0090000006B7F6EAAA06B64C090BBFA4F4AA54EC0E0E3462A6F30E6415EDC57B175A1F14140624971172720405B772E70095341C08A27663068BCF241AC0F6FD5E41BDFC1A0E213E8BBB033405864EC1C55E322C050D98A3A578CE64130588071DC36D1C1C822524C996154405CF238FC320A47C02CBBF8B2CE4DE641001611541C51E3C1D8C766C4B839664044CE9C5A503D53408C47019623DFF84176D41EAE54E4F441729D20EE7A51504078DB5152804A434088D29FB85A74FBC112FE728754F5F8C130064B6638555540889EAD09ED9548408C9373252115D8C11BAD1BB6ECB801C220A6A612D85E2F409E4BC3606C50554002D70246CC4B02C2745A7D85880AFF41E360C08D5C1553C0FCE141B8E7844640E018323C95AE004240D236C3835BAAC101020000C0050000004C7C294222C665C0EF62B574C0FE40C080C303DF002B9E4116265D87E4BFFEC160F7413A21134AC0B5D91AC68F5550C0A8B834A334EEF14130AF90F2E5C1C74100272BCDDDA229408FD9A056458A54C0684766D493D9EE4168A8F2C256C8FC418890BEEF9590584017D76CE7157D52C0D8FC29D4394CDF41C85D3F6DEE52D641D0CC61C0064C5C40FAC68964FF7C4EC057B41B5F52EFFCC15C68BF8A9B5AE2C101020000C0030000009C4C3EA59A73654027086D9C34CD41C09AF9C4FC04B7E4C185670EA9DAB9F3C1205AD77AEC005A4000D10833709507C08F8D1C14FCD0F3C1FA8EEFE7E66B004230BD44B5BBCE4EC0D0FF38C1911D504020151B098958BD41F212C95C8DA1F64101020000C00600000004894E39348A50C029F97A4E276E51C0AB75B6B76550F0C1B0D534B06EC1E5C1366091C6F55650403FEBCBE8AC3955C02A647C0452A5E5C18CEC14DE5655E641C497BBF68A1F5A40C45E133A267442C07C3145D2F81EF441A84DAFCC692CD541709996F9BF4F62400EB8D98170FC5540544035A6C4860142D831E4C84938F041928B0F92378354C00A4684284D2E56400840D5686594E1C198FB9DFD84CAEBC1D2471FA927B353C0D0E894B1A02A4C400071B2CE692A9AC1F699ACDD9E64014201020000C0070000005C8AAB12AAFE56409EAAF9B40E1754C0EC3C3ADCADFAFBC10C5F3B61BCFEFA4198BD07BE5A8A56404320057A20894FC00C85269F10F7F64178ED568C78B0F2C12C2A1E67806B5540462E035C30BB4BC03C5D17BFAEE9FC41DC9BA7FE00F3FB411060A42744203340A0F71C77A48814C078A5ACABE6D1FA41246B0FABEC70E7C1243ADBACAC615D40287F7C455E514F40827643A3894DF4C1217C6584936DFDC1970FD41C96BD60C028819E5254DC3240373DBECB84A900C2D8E3A9C1D6C6E5416AAD1A41B2A962C030CAC7CE4B5B2140303F4A4654B7DB4148C6EFB30B24FF41"}], "histo_col_type": "GEOGRAPHY", "name": "__auto__", "null_count": 101, "row_count": 200}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 139, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1813320872"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 51, "row_count": 200}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 181, "histo_col_type": "", "name": "__auto__", "null_count": 15, "row_count": 200}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_col_type": "", "name": "__auto__", "null_count": 40, "row_count": 200}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6505836, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18767573, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9364690, "histo_col_type": "", "name": "__auto__", "null_count": 463291, "row_count": 20000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6318001, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "01:03:58.535121"}, {"distinct_range": 0, "num_eq": 3927091389992983300, "num_range": 3366069947377799684, "upper_bound": "02:05:19.687258"}, {"distinct_range": 4815175301136683000, "num_eq": 2000, "num_range": 7327899603993118690, "upper_bound": "05:11:44.128215"}, {"distinct_range": 1706539187892526300, "num_eq": 300000, "num_range": 1706539187892526277, "upper_bound": "16:06:14.927439"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3673752827275726688, "upper_bound": "16:40:38.24774"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "16:58:53.543343"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 14074473, "row_count": 20000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4921589, "histo_col_type": "", "name": "__auto__", "null_count": 18855150, "row_count": 20000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7272669, "histo_buckets": [{"distinct_range": 0, "num_eq": 8275672614107642973, "num_range": 0, "upper_bound": ","}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 6568256, "row_count": 20000000}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2317584371811571408, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 96201528.63811643, "num_eq": 600000, "num_range": 100000000, "upper_bound": "\\u0001u%.l\\u0010"}, {"distinct_range": 0, "num_eq": 4615623245264725361, "num_range": 300, "upper_bound": "i+/BJ\\u0008"}, {"distinct_range": 4146441920221671000, "num_eq": 6801435453640674558, "num_range": 4146441920221671085, "upper_bound": "}z3\\u001c,*"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 636583786423207783, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 4068008290862576540, "num_range": 3930129047946724995, "upper_bound": "\\u0000"}, {"distinct_range": 1412580300860919600, "num_eq": 6968373722108213921, "num_range": 7809494863393874017, "upper_bound": "\\u000cexV\\u0010Ky"}, {"distinct_range": 6835606918891278000, "num_eq": 200000000, "num_range": 6987101322960165249, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 1000, "num_range": 900000, "upper_bound": ")"}, {"distinct_range": 2122859033965129700, "num_eq": 50000000000, "num_range": 4423527561967186628, "upper_bound": ")&\\neZDQ*"}, {"distinct_range": 2235777365304554200, "num_eq": 4000, "num_range": 2235777365304554287, "upper_bound": "3f!nb\\u000c#"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 200000000, "upper_bound": "BTy"}, {"distinct_range": 3793511.1063024495, "num_eq": 1229838104986701791, "num_range": 40000000, "upper_bound": "]yD\\u0001C"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7352872878285854898, "histo_buckets": [{"distinct_range": 0, "num_eq": 5957511998270676030, "num_range": 0, "upper_bound": "4128603650"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8465158253503160288, "histo_col_type": "", "name": "__auto__", "null_count": 7615899625691171394, "row_count": 8496429277935723006}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1066100521726213370, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3408782760143409838, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5265587628100738638, "histo_col_type": "", "name": "__auto__", "null_count": 6424690194989139307, "row_count": 8496429277935723006}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4153288536535857025, "histo_col_type": "", "name": "__auto__", "null_count": 8081416164607369694, "row_count": 8496429277935723006}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8352562240747954188, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 776213816728419896, "histo_buckets": [{"distinct_range": 0, "num_eq": 4544847657997996812, "num_range": 0, "upper_bound": "\\u0007^Ds*"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5784842270948893810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430639270049319457, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8496429277935723006}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 253883919536897370, "histo_col_type": "", "name": "__auto__", "null_count": 5332194695397496942, "row_count": 5785580152991512990}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3418312630381156748, "histo_col_type": "", "name": "__auto__", "null_count": 3516271696557681583, "row_count": 5785580152991512990}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5295405467358786127, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "0105000060E61000000200000001020000400300000020D0B3FCFF9C3140CC325B3CCF4B4DC09004AE8207F301C28845A5BD0EAF5F40FCA1DFC48D535140B0054E67696CE1411866C7FF2F1B3C40A625D9CB5A755240E0371FEA7C21EA41010200004006000000951292ECF3DD61C07A41A5F54BB74CC0D497770A8B1FE741EC2EC7E52BCD45C0957EE63A668250C0023706C84CDEF341B8A4B1909ED74AC0E1191A0B56B341C0F2C733E1553BFEC108053F48ECF74A40843147C3D1713F407A508B913B4CFDC1C22132D486685DC0BC872B39EBDF54403C22CAED7BF2E1C133C2AC8B44F45DC088CCC32481A953404461D308F7DAE641"}, {"distinct_range": 0, "num_eq": 2472963222080237073, "num_range": 0, "upper_bound": "0105000060E610000007000000010200004008000000EA080D0535EC53C0DE991971A2AA47C09882B75B1982FA41381E938A659C31C017D47EB98D2353C00E83BC3E9B49FAC1787769F979C14140742C05C0EB6E40C0A0A67BB0AA73BBC1C0237792976316C09885E55ECE072DC00DC6E2A70D11FCC198042C7642575F4010EC0510C6E023404EC4AA87D839F741202E5F93792022C090B80AF9CD7C49404EC062980704F841C0047DCDE0382AC074080D476B4F4F4000124ECF943DB841A4E2895640AC5BC054AC7D2983DD3F406CA839F73FE6E54101020000400500000094A4F453341A5940C6F4632E50784BC0F0072B390195F8413C39ED8932A761400ECEADE9BF8942C0849E52B44380E9C198E820FDA0DC5040D84B38C32DCC36C0B05FC5465123DF416C510BAE75A45540B4384CA17941344000BA2BAEEEAF79C13816D98B95D257C00C6FE8B150D05240009165767BC9E241010200004002000000605A3C5FA1AA5C40908CD70271561EC08893184105D6D0411083D2D4BC4325C080D718B063542040188DD0093E02EFC1010200004003000000D0C4BE86927B3BC04DBBD1D25F8048C060F46041678B01426006474ACC8554401154D9A9BC4044C08E67D7E23E590042306A26D549155F40B31F84FA727D4CC0D494857AF227E5C10102000040040000006EC82F24C48F61C076A634B6BEAB47C03A26CA8E7271FAC1F623E4AF26DB52C0647F985B4F814EC050C14551E188C941C0C0DFC8F2331A40802BEA99051D1BC020D2A8085693B34124D9069062E3644080802DC291F21D40A84E9598BE9BD5C1010200004003000000F2F0FEF67B9560C071F91947EF6546C06C8BF89FA733E94110719ABD86AA3FC08117A8B8A1DB4FC0C5BE6483F345F3C168094982FC3D34C03FF012B2155841C00E913D646CB0EFC101020000400200000010E5623ACA5A5840A0239601DD1523C0CCE8FFA32D98FD4174E239C6B7995C40003D63E6B6282D408851306EB2A1D241"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 6352294230222290283, "upper_bound": "0107000060E6100000040000000103000060E6100000010000000D0000000E84E695EEA54EC093761887ACA14DC0AE654B3ED2C4FAC198495CC7707B47C07B22B6445EA749C038D9E034035EF641C00A79F1587A2AC08690D1C8CCF13BC090FA73F2A6E2C141A4E9735B37184C40BF4098D1B59F41C0640E8316D2110242F85C56DD98D165404CF7AB2F522953C020493CF83CF8B5C198A3FD05FA5637402CCF6D91610E36C0CEDDB663C6FBF8C128976A1E5AD55B408C45AAB21C3236C03C70F61CEB2002C2125C046D48156340407C59AAB1FA0C402079BA99F185DF41505A093EFE3240C0C8843E8EF1E94740CC762E370700FEC1F82DC8801DF43CC010484FFF90A41240E46C11040C9D01422E80F101FFD764C01463C87327954640787D90CACFA2DC41155B672C705462C0E8717BFE86B726407C72BC1DB11CF0410E84E695EEA54EC093761887ACA14DC0AE654B3ED2C4FAC10102000060E610000002000000C0926CEA24C632C098B2D52D68EE4040CC1167E863A3EE4185E533B6094462C000107F828D0FD3BF1C0E665BB91000420104000060E61000000300000001010000404293D0E2DA45664049B6C711755456C05CB15D431D73EE41010100004048F40B682D4D31402903583ACEE952C080B8F67AFC77BDC101010000407C73256D7F965440A3412AEFF7024BC048C80AFEA857D2C10101000060E6100000AF72ABF5F71659C0EC00812FA4CC55C0F8F34FE11A1DECC1"}, {"distinct_range": 200, "num_eq": 7000000, "num_range": 200, "upper_bound": "0103000020E61000000100000009000000C5DF2194082D55C07F5656436A1A49C0C35BF3A2E23361C0D6490FFC0DB953C03C3E25442DA75240F88A13CA777850C0A8F574F861F75F40B72C51CA3F4F52C0866BB00A3A5F644020E9101FCB5D37C06CD93B10180144C0A874069260E335C0844A8B7CDA2E42C07BAB072C1BEE42C0661AB2B8DF0465C02261B816C45746C0C5DF2194082D55C07F5656436A1A49C0"}], "histo_col_type": "GEOGRAPHY", "name": "__auto__", "null_count": 1636265025642710799, "row_count": 5785580152991512990}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2758184750412514959, "histo_col_type": "", "name": "__auto__", "null_count": 3283826083482377754, "row_count": 5785580152991512990}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3808756472061080175, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5785580152991512990}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5366720341853615307, "histo_col_type": "", "name": "__auto__", "null_count": 5115255574547522564, "row_count": 5785580152991512990}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5350915047767704992, "histo_col_type": "", "name": "__auto__", "null_count": 371816093877999288, "row_count": 5785580152991512990}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 348260685387457565, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5785580152991512990}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5104080844167323681, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "2278334439"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 5785580152991512990}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3512398390214645354, "histo_col_type": "TIME", "name": "__auto__", "null_count": 3607941697053371862, "row_count": 5785580152991512990}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140629, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "03:16:27.999019"}, {"distinct_range": 1260261423298682000, "num_eq": 600000, "num_range": 7640599258885947513, "upper_bound": "13:32:03.505388"}, {"distinct_range": 889644279044441500, "num_eq": 400, "num_range": 2677299064111968703, "upper_bound": "19:40:11.162014"}, {"distinct_range": 4305961944538381300, "num_eq": 50000000000, "num_range": 8623623481372671658, "upper_bound": "22:08:09.223474"}, {"distinct_range": 0, "num_eq": 700, "num_range": 7000000000, "upper_bound": "23:32:56.55535"}, {"distinct_range": 1622969044394016800, "num_eq": 6362298255417668164, "num_range": 7456121741513172943, "upper_bound": "23:37:13.635829"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 203621, "row_count": 500000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 464238, "histo_col_type": "", "name": "__auto__", "null_count": 48227, "row_count": 500000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 109377, "histo_buckets": [{"distinct_range": 0, "num_eq": 8770514542990396178, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0.5743617851271328, "num_eq": 4148589326467159348, "num_range": 10, "upper_bound": "CSKJ\\u0012"}, {"distinct_range": 7000, "num_eq": 0, "num_range": 7000, "upper_bound": "LR9{=b7"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 4906430322998385199, "upper_bound": "gl"}, {"distinct_range": 1655628255044250000, "num_eq": 1000000, "num_range": 7782808323446800424, "upper_bound": "j6\\u00046r[&"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 225859, "row_count": 500000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272358, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 159876, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7612, "histo_col_type": "", "name": "__auto__", "null_count": 442886, "row_count": 500000}]';
test_1 |
test_1 | compare_test.go:130: cockroach2: exec: ERROR: column "inf" does not exist (SQLSTATE 42703)
test_1 | FAIL
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_postgres_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@3d19b2cf6b290a152b23722fc32e995eed3b437b:
postgres_1 | '::3/0'::INET AS col_67010,
postgres_1 | 6::OID AS col_67011,
postgres_1 | tab_39672.col1_4 AS col_67012,
postgres_1 | tab_39672.col1_2 AS col_67013,
postgres_1 | NULL AS col_67014
postgres_1 | FROM
postgres_1 | postgres.public.table1 AS tab_39672
postgres_1 | WHERE
postgres_1 | (false AND true)
postgres_1 | ORDER BY
postgres_1 | tab_39672.crdb_internal_mvcc_timestamp, tab_39672.col1_2 DESC
postgres_1 | )
postgres_1 | AS tab_39673
postgres_1 | ORDER BY
postgres_1 | col_67009 NULLS FIRST,
postgres_1 | col_67010 NULLS FIRST,
postgres_1 | col_67011 NULLS FIRST,
postgres_1 | col_67012 NULLS FIRST,
postgres_1 | col_67013 NULLS FIRST,
postgres_1 | col_67014 NULLS FIRST
test_1 | --- FAIL: TestCompare (642.79s)
test_1 | --- FAIL: TestCompare/postgres (42.09s)
test_1 | compare_test.go:155: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | nil,
test_1 | - string("G6.0"),
test_1 | + string("G6"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT NULL AS col_67015, ('G'::TEXT::TEXT || 6.0::FLOAT8::FLOAT8)::TEXT AS col_67016) AS tab_39674
test_1 | ORDER BY
test_1 | col_67015 NULLS FIRST, col_67016 NULLS FIRST;
test_1 |
test_1 | postgres: [same as previous]
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@893643b63ea0b1cfa4888c6b73b5c68a9c100c3a:
postgres_1 | 2021-03-21 05:12:19.623 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-03-21 05:12:19.631 UTC [50] LOG: shutting down
postgres_1 | 2021-03-21 05:12:19.733 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-21 05:12:19.831 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-21 05:12:19.831 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-21 05:12:19.834 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-21 05:12:19.849 UTC [85] LOG: database system was shut down at 2021-03-21 05:12:19 UTC
postgres_1 | 2021-03-21 05:12:19.854 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (1.72s)
test_1 | --- FAIL: TestCompare/postgres (0.95s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
test_1 | --- FAIL: TestCompare/mutators (0.78s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 NAME NOT NULL, col1_1 FLOAT4 NOT NULL, col1_2 REGPROCEDURE, col1_3 UUID[] NOT NULL, col1_4 FLOAT8 NOT NULL, col1_5 INT2, col1_6 STRING NOT NULL, col1_7 STRING NOT NULL AS (lower(col1_0)) VIRTUAL, col1_8 FLOAT4 NULL AS (col1_1 + col1_4) STORED, col1_9 STRING NULL AS (IF(col1_3 IS NULL, NULL, ';0':::STRING)) VIRTUAL, INDEX (col1_2 DESC), UNIQUE (col1_6, col1_5 DESC) STORING (col1_0, col1_1, col1_2, col1_8), INVERTED INDEX (col1_4 DESC, col1_6 DESC, col1_9 ASC, col1_8, col1_2 ASC, col1_3) WHERE ((((table1.col1_7 < e'\x00':::STRING) OR (table1.col1_5 != (-32768):::INT8)) OR (table1.col1_9 >= e'\'':::STRING)) OR (table1.col1_6 > 'X':::STRING)) AND (table1.col1_8 < 'NaN':::FLOAT8), FAMILY (col1_8, col1_0), FAMILY (col1_4, col1_6), FAMILY (col1_2, col1_5), FAMILY (col1_3, col1_1));
test_1 | CREATE TABLE table2 (col2_0 BYTES NOT NULL, col2_1 INT2 NOT NULL, col2_2 FLOAT8 NOT NULL, col2_3 INT8 NOT NULL, PRIMARY KEY (col2_0 DESC, col2_1 ASC, col2_3, col2_2 ASC), INDEX (col2_3 ASC) WHERE ((table2.col2_0 >= '\xff') OR (table2.col2_1 = 32767)) AND (table2.col2_2 >= -1.0), INDEX (col2_3 ASC, col2_0 DESC) WHERE ((table2.col2_2 = 1.7976931348623157e+308:::FLOAT8) AND (table2.col2_0 < e'\\x22':::BYTES)) OR (table2.col2_1 < (-1):::INT8), FAMILY (col2_0, col2_2, col2_1), FAMILY (col2_3));
test_1 | CREATE TABLE table3 (col2_0 BYTES NOT NULL, col2_1 INT2 NOT NULL, col2_3 INT8 NOT NULL, col2_2 FLOAT8 NOT NULL, col3_4 INET NULL, col3_5 BIT(49) NOT NULL, col3_6 TIMESTAMPTZ NULL, col3_7 TIMETZ, PRIMARY KEY (col2_0 DESC, col2_1 ASC, col2_3, col2_2 ASC, col3_4 ASC, col3_7 ASC), INDEX (col2_2 ASC, col2_0 DESC), INDEX (col2_0 ASC, col2_3, col2_1, col3_5 ASC, col3_7 ASC) WHERE (((((table3.col2_2 > 1.0:::FLOAT8) AND (table3.col2_0 != e'\\xe29883':::BYTES)) AND (table3.col3_6 >= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col2_1 != (-1):::INT8)) OR (table3.col3_7 < '00:00:00+15:59:00':::TIMETZ)) AND (table3.col2_3 < (-1):::INT8), INDEX (col2_3, col3_7, col2_0 ASC, col2_2, col3_6, col3_5, col3_4 ASC) WHERE (((((table3.col2_0 <= e'\\x':::BYTES) AND (table3.col3_6 >= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col2_3 != 9223372036854775807:::INT8)) OR (table3.col2_2 != 1.0:::FLOAT8)) AND (table3.col2_1 > 127:::INT8)) AND (table3.col3_7 != '00:00:00+15:59:00':::TIMETZ), UNIQUE (col3_4, col3_5 DESC, col3_6 ASC, col3_7 DESC, col2_3 ASC, col2_1 DESC) WHERE table3.col2_3 = 2147483647:::INT8, INDEX (col2_2 DESC, col2_1 DESC, col2_0 ASC, col3_7 DESC) STORING (col3_6) WHERE (((((table3.col2_1 != 1:::INT8) AND (table3.col3_6 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col2_0 <= e'\\x58':::BYTES)) AND (table3.col2_2 >= 1.0:::FLOAT8)) OR (table3.col2_3 > 32767:::INT8)) OR (table3.col3_7 < '00:00:00+15:59:00':::TIMETZ), UNIQUE (col3_4, col2_0, col3_6, col2_3 ASC, col2_1 ASC, col3_7, col3_5, col2_2) WHERE table3.col2_0 != '\x58', UNIQUE (col3_5, col3_7, col3_4, col2_3 ASC) WHERE ((table3.col3_7 >= '24:00:00-15:59:00':::TIMETZ) AND (table3.col2_1 = 1:::INT8)) AND (table3.col3_6 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col3_5 ASC, col3_4 ASC, col3_6, col3_7 ASC, col2_3 ASC) WHERE (((((table3.col2_2 != 1.401298464324817e-45:::FLOAT8) AND (table3.col2_3 < (-9223372036854775807):::INT8)) OR (table3.col3_7 < '24:00:00-15:59:00':::TIMETZ)) AND (table3.col2_1 != 32767:::INT8)) OR (table3.col3_6 >= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col2_0 < e'\\x22':::BYTES), INDEX (col2_1, col2_2 DESC, col3_4 ASC, col2_0, col3_5, col3_7, col3_6 DESC, col2_3 ASC) WHERE table3.col3_7 <= '24:00:00-15:59:00', UNIQUE (col2_2) WHERE (table3.col2_2 = -Inf) OR (table3.col2_1 < -1), FAMILY (col2_1, col3_6, col2_0), FAMILY (col2_3), FAMILY (col3_4, col3_5), FAMILY (col2_2, col3_7)) INTERLEAVE IN PARENT table2 (col2_0, col2_1, col2_3, col2_2);
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1371927413860205467, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1099765467132867481, "histo_buckets": [{"distinct_range": 0, "num_eq": 2860101567391108218, "num_range": 0, "upper_bound": "-3.003465567806245"}, {"distinct_range": 13364794085.387299, "num_eq": 1404422422437835993, "num_range": 30000000000, "upper_bound": "-1.279440230619051"}, {"distinct_range": 1923301342.9730532, "num_eq": 100, "num_range": 7000000000, "upper_bound": "-0.9762593871941412"}, {"distinct_range": 3012582520061794000, "num_eq": 1000, "num_range": 3285700383192136574, "upper_bound": "-0.4794153961318339"}, {"distinct_range": 8738188307788849000, "num_eq": 8063377229653400034, "num_range": 8738188307788848799, "upper_bound": "0.0"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 30000, "upper_bound": "0.6676904809949273"}, {"distinct_range": 0, "num_eq": 665320969157277148, "num_range": 30000000000, "upper_bound": "0.8908938576717882"}, {"distinct_range": 0, "num_eq": 687611603042000106, "num_range": 8494347656524140664, "upper_bound": "1.0"}, {"distinct_range": 0, "num_eq": 3216510594855802926, "num_range": 0, "upper_bound": "1.1747661558377012"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1250086200553121358, "histo_col_type": "", "name": "__auto__", "null_count": 382961210424117180, "row_count": 1649059330686715014}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1150931832786904131, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 100000, "num_eq": 4907772595661410175, "num_range": 100000, "upper_bound": "e\\u0019Wp\\u0015\\te"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 642518985024190098, "histo_col_type": "", "name": "__auto__", "null_count": 1073886717610259194, "row_count": 1649059330686715014}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1331992643546810614, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 777561117827076228, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "1298819519"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 181407236257517208, "row_count": 1649059330686715014}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 472546274241420830, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1152680536024783769, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1649059330686715014}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 299194702077769167, "histo_col_type": "", "name": "__auto__", "null_count": 675941247653784836, "row_count": 1649059330686715014}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1513078535355699126, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "\\\\x208de37d"}, {"distinct_range": 0, "num_eq": 1894333635459233715, "num_range": 1846112663272679228, "upper_bound": "\\\\x56a8d30454cd35ca"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1823464991852991684}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1161676528129480144, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1823464991852991684}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1671809150363862222, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1823464991852991684}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1441008979284468505, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "-3724495250348118417"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1823464991852991684}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11346259, "histo_col_type": "", "name": "__auto__", "null_count": 17070552, "row_count": 20000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14233188, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "\\\\x22"}, {"distinct_range": 271727965781523550, "num_eq": 6308120181374875862, "num_range": 4957054407686655745, "upper_bound": "\\\\x7bce5d982b1450401b"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8099303, "histo_buckets": [{"distinct_range": 0, "num_eq": 7882391782352408236, "num_range": 0, "upper_bound": "-29038"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 800, "upper_bound": "-10176"}, {"distinct_range": 1146118757478645100, "num_eq": 2844853847925122726, "num_range": 1146118757478645096, "upper_bound": "-7583"}, {"distinct_range": 0, "num_eq": 50, "num_range": 1182080877696877159, "upper_bound": "0"}, {"distinct_range": 4456315181204273000, "num_eq": 2423597341482081509, "num_range": 4456315181204272980, "upper_bound": "8650"}, {"distinct_range": 42343196230.7407, "num_eq": 60000000, "num_range": 90000000000, "upper_bound": "15676"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5776496, "histo_buckets": [{"distinct_range": 0, "num_eq": 717216604280214067, "num_range": 0, "upper_bound": "-7081245513125172955"}, {"distinct_range": 900000, "num_eq": 9000000000, "num_range": 900000, "upper_bound": "-3440006974660807525"}, {"distinct_range": 400, "num_eq": 2165003308957960121, "num_range": 400, "upper_bound": "-501837385583230833"}, {"distinct_range": 1200247697668970500, "num_eq": 4136434201836200571, "num_range": 8244902146213579677, "upper_bound": "6691183154338944056"}, {"distinct_range": 0, "num_eq": 1798413406239519981, "num_range": 0, "upper_bound": "7700139545817781771"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6430003, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "-1.8669907910262111"}, {"distinct_range": 3478471.256170492, "num_eq": 4826631813361462506, "num_range": 4000000, "upper_bound": "-1.1698950871736118"}, {"distinct_range": 10000, "num_eq": 900000, "num_range": 10000, "upper_bound": "-0.8139321382924223"}, {"distinct_range": 58935915.79470498, "num_eq": 2889747508627978049, "num_range": 60000000, "upper_bound": "-0.5496425730430364"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "-0.4249283981774096"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 3714308250052305557, "upper_bound": "0.5313513374845835"}, {"distinct_range": 64404498433695550, "num_eq": 50000000, "num_range": 5188172137618478265, "upper_bound": "0.789445098951032"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 3000, "upper_bound": "0.790579628228531"}, {"distinct_range": 51284.05012497127, "num_eq": 0, "num_range": 80000, "upper_bound": "0.9350820209261637"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8991348, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "225.30.144.49/15"}, {"distinct_range": 415641384780588000, "num_eq": 700, "num_range": 3224464614227640258, "upper_bound": "238.110.139.62/31"}, {"distinct_range": 0, "num_eq": 4618366787619969634, "num_range": 800, "upper_bound": "105.237.83.10"}, {"distinct_range": 945825807903557200, "num_eq": 40000000000, "num_range": 2767524254385426607, "upper_bound": "125.217.233.115"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 1509894699743413838, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 16525562, "row_count": 20000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11753008, "histo_buckets": [{"distinct_range": 0, "num_eq": 5552276870469382638, "num_range": 0, "upper_bound": "1100001110101100011010111110100011100110111111110"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15436541, "histo_col_type": "", "name": "__auto__", "null_count": 8198151, "row_count": 20000000}]':::JSONB;
test_1 | ALTER TABLE table2 ADD FOREIGN KEY (col2_2) REFERENCES table3 (col2_2);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('ktok');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('drf', 'nkchsg', 'sebg', 'of');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('psxh');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('ailyrw', 'eq', 'ij', 'tod');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5978425878514380255, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4900797643901182179, "histo_buckets": [{"distinct_range": 0, "num_eq": 1240904493295154991, "num_range": 0, "upper_bound": "-0.6373718398686561"}, {"distinct_range": 900, "num_eq": 1000, "num_range": 900, "upper_bound": "-0.19572188328198034"}, {"distinct_range": 8582523545648923000, "num_eq": 8165762757523820047, "num_range": 8582523545648922504, "upper_bound": "0.3151628771169994"}, {"distinct_range": 0, "num_eq": 1348428583878716636, "num_range": 2442571241790230354, "upper_bound": "0.3914547284661107"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 300, "upper_bound": "1.1927192503022368"}, {"distinct_range": 726095639489484900, "num_eq": 5000, "num_range": 6821827942142237974, "upper_bound": "1.5871597550157612"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7742015564396409554, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1188108773798878492, "histo_col_type": "", "name": "__auto__", "null_count": 3340442220371393997, "row_count": 8533939271536059249}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4216018553080707047, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1319395663674619833, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 3015967736729674677, "num_range": 20000000000, "upper_bound": "306640969"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "2123641504"}, {"distinct_range": 4057890290.7353215, "num_eq": 6000, "num_range": 5000000000, "upper_bound": "2375642943"}, {"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "2475296751"}, {"distinct_range": 0, "num_eq": 5861357831911079936, "num_range": 7844946586160834025, "upper_bound": "2645559597"}, {"distinct_range": 3119472677971241000, "num_eq": 0, "num_range": 3119472677971240717, "upper_bound": "3351881744"}, {"distinct_range": 0, "num_eq": 8417900811793525751, "num_range": 3286161691108086352, "upper_bound": "3707953854"}, {"distinct_range": 6573180557056173000, "num_eq": 7985770899191097370, "num_range": 7274427703005786165, "upper_bound": "3713998083"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 6777533583017681442, "row_count": 8533939271536059249}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4778403097583687789, "histo_col_type": "", "name": "__auto__", "null_count": 3253309431014368967, "row_count": 8533939271536059249}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4077768080780036295, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 7556174728359671000, "num_eq": 9177653208729667783, "num_range": 7556174728359670348, "upper_bound": "\\u001bL\\u0006e-A"}, {"distinct_range": 0, "num_eq": 7282816913003098262, "num_range": 40000000, "upper_bound": ")9zKxa"}, {"distinct_range": 515637033769250900, "num_eq": 2876255689747231026, "num_range": 3412990064272143201, "upper_bound": "q6DLg\\u0019"}, {"distinct_range": 800, "num_eq": 7840461551497595815, "num_range": 800, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6513564388060279443, "histo_col_type": "", "name": "__auto__", "null_count": 789578319172419186, "row_count": 8533939271536059249}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6241867522576801339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8533939271536059249}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 308710142030071051, "histo_buckets": [{"distinct_range": 0, "num_eq": 9186192231181532943, "num_range": 0, "upper_bound": "\\\\x165500a1ac8071"}, {"distinct_range": 10000, "num_eq": 10000000000, "num_range": 10000, "upper_bound": "\\\\x1e98b3"}, {"distinct_range": 166264592632908600, "num_eq": 3408818322293259519, "num_range": 8462700407586053886, "upper_bound": "\\\\x3d2a"}, {"distinct_range": 11381880.493956188, "num_eq": 0, "num_range": 70000000, "upper_bound": "\\\\x5bca25e38fb55eed"}, {"distinct_range": 576.3421022928126, "num_eq": 40000000, "num_range": 800, "upper_bound": "\\\\x8560c18e5acb"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 2000000000, "upper_bound": "\\\\xa78c2c7dc676ec42f6"}, {"distinct_range": 5202306125364120000, "num_eq": 30000000000, "num_range": 7363168868268064243, "upper_bound": "\\\\xf856f85996"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 200000, "upper_bound": "\\\\xfc7ef57d1fc32b33a3"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1178215245476813896}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 830831385481462329, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1178215245476813896}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 507360058328141334, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1178215245476813896}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 301378127812812446, "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1178215245476813896}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 724931, "histo_col_type": "", "name": "__auto__", "null_count": 7695, "row_count": 3000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142934, "histo_col_type": "", "name": "__auto__", "null_count": 605186, "row_count": 3000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1541433, "histo_buckets": [{"distinct_range": 0, "num_eq": 3824405285108754499, "num_range": 0, "upper_bound": "\\\\xdb"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2518750, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "-32768"}, {"distinct_range": 3411097466540650500, "num_eq": 5000000, "num_range": 6249486281054342442, "upper_bound": "-31457"}, {"distinct_range": 2364858527255776000, "num_eq": 708178884154349242, "num_range": 2364858527255776213, "upper_bound": "-25749"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 50000000, "upper_bound": "-25497"}, {"distinct_range": 22950907.34411686, "num_eq": 50000000000, "num_range": 30000000, "upper_bound": "-20499"}, {"distinct_range": 767735.6517315182, "num_eq": 2286845546987070877, "num_range": 1000000, "upper_bound": "-14288"}, {"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "-128"}, {"distinct_range": 3287906865.8981295, "num_eq": 40000, "num_range": 4000000000, "upper_bound": "12622"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1574069, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "-6690218403783549726"}, {"distinct_range": 3443202649176304000, "num_eq": 1882400064629006722, "num_range": 5719008496537740500, "upper_bound": "-6098412379869072407"}, {"distinct_range": 0, "num_eq": 800, "num_range": 5796317175422881360, "upper_bound": "-2298196063319382584"}, {"distinct_range": 90, "num_eq": 1000, "num_range": 90, "upper_bound": "71641939999061640"}, {"distinct_range": 33094139.001240335, "num_eq": 600000, "num_range": 200000000, "upper_bound": "2035146336709592494"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 8000, "upper_bound": "2483477433478315680"}, {"distinct_range": 69677727413.5014, "num_eq": 300, "num_range": 90000000000, "upper_bound": "4720545137883341882"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1667744, "histo_buckets": [{"distinct_range": 0, "num_eq": 703475883672542835, "num_range": 0, "upper_bound": "-2.0355662919705577"}, {"distinct_range": 0, "num_eq": 0, "num_range": 20000000000, "upper_bound": "-1.084585845088454"}, {"distinct_range": 10000000, "num_eq": 70000000000, "num_range": 10000000, "upper_bound": "-1.0794709212085563"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 3000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1475159, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "110.154.221.55/2"}, {"distinct_range": 2700932042517652000, "num_eq": 700, "num_range": 2700932042517652084, "upper_bound": "127.219.189.123/2"}, {"distinct_range": 10000000, "num_eq": 9022172910293783603, "num_range": 10000000, "upper_bound": "e8dd:e2c7:ad2b:3806:2910:6eac:6189:6738/26"}, {"distinct_range": 5883338654643310000, "num_eq": 3650169055372855247, "num_range": 5883338654643309065, "upper_bound": "fbdb:ccfb:fe6d:5691:f4d3:5846:5ab7:7b2f/34"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 2837372, "row_count": 3000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2725186, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "0011111101100100101101000100000111100100100100101"}, {"distinct_range": 5690245822944830000, "num_eq": 30000, "num_range": 8381356810302917273, "upper_bound": "1000000011000011101010111101100010110010000000011"}, {"distinct_range": 80000000, "num_eq": 2927322091661966139, "num_range": 80000000, "upper_bound": "1000100011100010110011011100110001110100010111011"}, {"distinct_range": 6989812935.895555, "num_eq": 300000, "num_range": 9000000000, "upper_bound": "1000111010011001011001111010010010101001110000000"}, {"distinct_range": 2602396804361542700, "num_eq": 6954513228702913284, "num_range": 3737283283660688988, "upper_bound": "1100101010000110100010000111100010000001000111110"}, {"distinct_range": 30000000, "num_eq": 90000000000, "num_range": 30000000, "upper_bound": "1101100000001110111111111101100010111001100111111"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "1101100010010110110010101100011011011001100101010"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 3000000}]';
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 290162090, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 326940360, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 400180924, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5231.509517878152, "num_eq": 1755106960931814906, "num_range": 6000, "upper_bound": "1367529703"}, {"distinct_range": 240101050779655400, "num_eq": 3063693406807900831, "num_range": 240101050779655389, "upper_bound": "1733835554"}, {"distinct_range": 793.950709380087, "num_eq": 10000, "num_range": 1000, "upper_bound": "2581517031"}, {"distinct_range": 7266115699426605000, "num_eq": 20, "num_range": 7266115699426604854, "upper_bound": "3108311667"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 900000, "upper_bound": "3412032583"}, {"distinct_range": 0, "num_eq": 8171341020273358499, "num_range": 0, "upper_bound": "3903415179"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 45204942, "row_count": 500000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 316194220, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "0.13081271057119648"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183351649, "histo_col_type": "", "name": "__auto__", "null_count": 109625027, "row_count": 500000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 162039207, "histo_buckets": [{"distinct_range": 0, "num_eq": 5345842968506065827, "num_range": 0, "upper_bound": "\\"\\u000b\\u001e"}, {"distinct_range": 5761266591720452000, "num_eq": 2666005468240379593, "num_range": 5761266591720451742, "upper_bound": "-/4j\\u0011D"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 70000, "upper_bound": "R$_7#U^_"}, {"distinct_range": 3000000000, "num_eq": 2643313777039180717, "num_range": 3000000000, "upper_bound": "Z\\u00081\\u001d5m[y"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "|r/]"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 408973231, "histo_col_type": "", "name": "__auto__", "null_count": 43445958, "row_count": 500000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271904514, "histo_col_type": "", "name": "__auto__", "null_count": 423069251, "row_count": 500000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 400847302, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 498225790, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}]';
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 216, "histo_buckets": [{"distinct_range": 0, "num_eq": 8429351632870793566, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 60000000, "num_eq": 917862570813749132, "num_range": 60000000, "upper_bound": "\\\\x8c3b1c1e80b2"}, {"distinct_range": 0, "num_eq": 601473866517682858, "num_range": 2091998390818404327, "upper_bound": "\\\\xa383ba42"}, {"distinct_range": 6408320006155480000, "num_eq": 60000000, "num_range": 6698652429942423875, "upper_bound": "\\\\xb11ec0bd70be7ea5"}, {"distinct_range": 1886532487423806200, "num_eq": 7456591442893910838, "num_range": 9113923656236054540, "upper_bound": "\\\\xe9fc"}, {"distinct_range": 2407965905185751600, "num_eq": 9000, "num_range": 4431155361015587465, "upper_bound": "\\\\xfe7b"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34618, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22087, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 95064, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "-4614385875194637122"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 100000}]';
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 554277631452401739, "histo_buckets": [{"distinct_range": 0, "num_eq": 7750399943066773992, "num_range": 0, "upper_bound": "-20808"}, {"distinct_range": 6809657579586055000, "num_eq": 5276146578622780983, "num_range": 7085499144280426453, "upper_bound": "-6082"}, {"distinct_range": 26364.023668931128, "num_eq": 60000000, "num_range": 90000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 300, "num_range": 3444482290618945992, "upper_bound": "7185"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 6316801580309734169}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4286497517170804527, "histo_buckets": [{"distinct_range": 0, "num_eq": 7461588807769650509, "num_range": 0, "upper_bound": "-8868011641740083252"}, {"distinct_range": 286901105363603700, "num_eq": 400000000, "num_range": 286901105363603718, "upper_bound": "-7710830871695987973"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6316801580309734169}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5456802248152192542, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "-1.9001002387812902"}, {"distinct_range": 0, "num_eq": 0, "num_range": 400000000, "upper_bound": "0.9689524830888648"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 6316801580309734169}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5173343430608218771, "histo_buckets": [{"distinct_range": 0, "num_eq": 3022396200400817472, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 14572.755430128722, "num_eq": 3995600957505183831, "num_range": 100000, "upper_bound": "653f:2f70:c636:8b96:aae2:dd69:3043:d328/83"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 300000, "upper_bound": "560:2e09:ee4d:78f5:54:cf17:5c2a:706b/97"}, {"distinct_range": 0, "num_eq": 3550732107070622558, "num_range": 4563862843208331694, "upper_bound": "921f:a6ef:5781:d306:1246:e582:1fbb:78d6/127"}, {"distinct_range": 2820383772037918700, "num_eq": 6000000, "num_range": 2820383772037918597, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 3577134908724848709, "row_count": 6316801580309734169}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1439142000806986835, "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 6316801580309734169}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4588335493545432510, "histo_col_type": "", "name": "__auto__", "null_count": 155733828050096513, "row_count": 6316801580309734169}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4908878500040185963, "histo_col_type": "", "name": "__auto__", "null_count": 6080206996597472004, "row_count": 6316801580309734169}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 887497682131204110, "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6316801580309734169}]';
test_1 |
test_1 | compare_test.go:130: cockroach2: exec: ERROR: column "inf" does not exist (SQLSTATE 42703)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@53bf501e233c337b9863755914d9c00010517329:
postgres_1 | 2021-03-23 05:11:38.279 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-23 05:11:38.279 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-23 05:11:38.284 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
test_1 | --- FAIL: TestCompare (2.08s)
test_1 | --- FAIL: TestCompare/postgres (0.69s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | --- FAIL: TestCompare/mutators (1.39s)
test_1 | compare_test.go:129: SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 BYTES NOT NULL, col1_1 INT4, col1_2 DECIMAL NOT NULL, col1_3 TIMESTAMP NOT NULL, col1_4 TIMETZ, col1_5 BIT(41) NOT NULL, col1_6 REGTYPE NOT NULL, PRIMARY KEY (col1_6 DESC, col1_2, col1_0 ASC), col1_7 STRING NOT NULL AS (IF(col1_0 IS NULL, e'z\x18:@ /':::STRING, '':::STRING)) STORED, col1_8 STRING NULL AS (IF(col1_0 IS NULL, e'C7!\x19O\f':::STRING, ':':::STRING)) STORED, col1_9 STRING NOT NULL AS (IF(col1_0 IS NULL, e'\x01vW/{\n<':::STRING, e'}88\x06g\x05%':::STRING)) STORED, col1_10 DECIMAL NOT NULL AS (col1_2 + (-421124002293.4931155):::DECIMAL) VIRTUAL, INDEX (col1_8, col1_10, col1_2, col1_4 DESC, col1_0 ASC, col1_1 DESC, col1_9 ASC, col1_3, col1_5 ASC, col1_7) WHERE (((((table1.col1_9 < '':::STRING) AND (table1.col1_8 > 'X':::STRING)) AND (table1.col1_4 > '00:00:00+15:59:00':::TIMETZ)) OR (table1.col1_10 < 0:::DECIMAL)) OR (table1.col1_2 != (-1.234E+401):::DECIMAL)) AND (table1.col1_3 = '-4713-11-24 00:00:00':::TIMESTAMP), UNIQUE (col1_2 DESC) STORING (col1_1, col1_7) WHERE (table1.col1_0 = e'\\x27':::BYTES) OR (table1.col1_10 >= 'NaN':::DECIMAL), INDEX (col1_5 DESC, col1_4, col1_6, col1_10, col1_8, col1_7, col1_0 DESC, col1_2, col1_9 DESC, col1_1), UNIQUE (col1_8, col1_9, col1_4 DESC, col1_0 ASC, col1_10 ASC) STORING (col1_1, col1_3, col1_5) WHERE ((((((((table1.col1_8 < 'X':::STRING) AND (table1.col1_10 <= '-Infinity':::DECIMAL)) OR (table1.col1_7 != e'\x00':::STRING)) OR (table1.col1_9 < '':::STRING)) AND (table1.col1_0 > '\xe29883':::BYTES)) AND (table1.col1_4 = '24:00:00-15:59:00':::TIMETZ)) AND (table1.col1_1 <= (-1):::INT8)) OR (table1.col1_2 = 'Infinity':::DECIMAL)) AND (table1.col1_3 <= '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_1 DESC, col1_10 ASC, col1_8 DESC, col1_6 DESC, col1_9 ASC, col1_3 DESC, col1_5 DESC) WHERE (((table1.col1_3 < '-4713-11-24 00:00:00':::TIMESTAMP) OR (table1.col1_1 = 1:::INT8)) OR (table1.col1_7 != '"':::STRING)) OR (table1.col1_8 <= e'\x00':::STRING), UNIQUE (col1_2 DESC, col1_4, col1_6, col1_1, col1_3 ASC) STORING (col1_9), INDEX (col1_0, col1_9 DESC, col1_6, col1_4 ASC, col1_3 DESC, col1_5 DESC, col1_8 DESC) STORING (col1_1, col1_7), FAMILY (col1_0, col1_8), FAMILY (col1_3, col1_2, col1_6, col1_1, col1_4, col1_9), FAMILY (col1_5), FAMILY (col1_7), UNIQUE (col1_7) WHERE (table1.col1_1 < 2147483647:::INT8) OR (table1.col1_3 >= '294276-12-31 23:59:59.999999':::TIMESTAMP));
test_1 | CREATE TABLE table2 (col1_6 REGTYPE NOT NULL, col1_2 DECIMAL NOT NULL, col1_0 BYTES NOT NULL, col2_3 STRING NOT NULL, col2_4 BOOL, PRIMARY KEY (col1_6 DESC, col1_2, col1_0 ASC, col2_4), UNIQUE (col1_0, col1_6, col2_4 DESC) STORING (col2_3), INDEX (col2_4 ASC, col1_0 DESC, col1_6) STORING (col2_3) WHERE ((table2.col1_2 = 0:::DECIMAL) OR (NOT table2.col2_4)) OR (table2.col1_0 = e'\\x58':::BYTES), INDEX (col1_6, col1_2 ASC, col2_4 DESC, col2_3 ASC, col1_0 DESC), UNIQUE (col2_4 ASC, col1_6 DESC, col2_3 DESC) WHERE (NOT table2.col2_4) AND (table2.col2_3 <= '':::STRING), UNIQUE (col1_2, col1_6, col2_3 DESC, col2_4 ASC, col1_0 ASC) WHERE (table2.col2_3 > '"':::STRING) AND (table2.col1_0 != e'\\x00':::BYTES), INDEX (col2_4 ASC, col1_6 DESC, col1_0 DESC) STORING (col2_3) WHERE (((table2.col2_3 != '"':::STRING) OR (table2.col1_0 < '\xff':::BYTES)) AND (table2.col1_2 >= 'NaN':::DECIMAL)) AND table2.col2_4, INDEX (col2_3 ASC, col1_6, col1_2 ASC) WHERE table2.col2_3 = '"':::STRING, INDEX (col1_6, col2_3 ASC, col1_0 ASC, col2_4 DESC, col1_2 DESC) WHERE (table2.col2_3 < e'\x00':::STRING) AND (table2.col1_2 != '-Infinity':::DECIMAL), FAMILY (col1_2), FAMILY (col2_3), FAMILY (col1_6, col2_4), FAMILY (col1_0)) INTERLEAVE IN PARENT table1 (col1_6, col1_2, col1_0);
test_1 | CREATE TABLE table3 (col1_6 REGTYPE NOT NULL, col1_2 DECIMAL NOT NULL, col1_0 BYTES NOT NULL, col3_3 VARCHAR, PRIMARY KEY (col1_6 DESC, col1_2, col1_0 ASC), UNIQUE (col3_3 ASC, col1_6 DESC, col1_0, col1_2 DESC), UNIQUE (col1_6 ASC, col3_3, col1_0 DESC) WHERE ((table3.col3_3 >= e'\x00':::STRING) AND (table3.col1_2 <= '-Infinity':::DECIMAL)) AND (table3.col1_0 < e'\\xe29883':::BYTES), INDEX (col3_3 DESC, col1_2, col1_6 ASC, col1_0) WHERE ((table3.col1_0 < e'\\x00':::BYTES) OR (table3.col3_3 <= '"':::STRING)) OR (table3.col1_2 = 0:::DECIMAL), INDEX (col1_6 DESC, col3_3 DESC, col1_0, col1_2), INDEX (col1_0) WHERE table3.col3_3 != e'\x00':::STRING, INDEX (col1_0 ASC, col3_3 DESC, col1_2 DESC) WHERE table3.col3_3 != e'\U00002603':::STRING, INDEX (col3_3 ASC, col1_2 ASC), FAMILY (col1_0, col1_2, col3_3, col1_6)) INTERLEAVE IN PARENT table1 (col1_6, col1_2, col1_0);
test_1 | CREATE TABLE table4 (col4_0 INT2 NULL, col4_1 STRING, col4_2 STRING NULL, col4_3 DECIMAL NOT NULL, col4_4 REGCLASS, col4_5 STRING NOT NULL, col4_6 FLOAT8 NOT NULL, col4_7 CHAR NOT NULL, PRIMARY KEY (col4_5 ASC, col4_7 DESC), col4_8 DECIMAL AS (col4_3 + (-716878506234.4252335):::DECIMAL) VIRTUAL, col4_9 FLOAT8 NULL AS (col4_6 + (-0.7957448627807059):::FLOAT8) STORED, col4_10 STRING NOT NULL AS (lower(col4_5)) VIRTUAL, col4_11 STRING NOT NULL AS (lower(col4_5)) STORED, col4_12 STRING AS (lower(CAST(col4_4 AS STRING))) VIRTUAL, col4_13 DECIMAL NULL AS (col4_3 + 728.0703121431200208:::DECIMAL) STORED, UNIQUE (col4_8 ASC, col4_13 ASC, col4_2 DESC, col4_11 ASC, col4_5 ASC, col4_12 ASC) WHERE (((((((((((table4.col4_13 < 0:::DECIMAL) OR (table4.col4_9 = 3.4028234663852886e+38:::FLOAT8)) AND (table4.col4_12 = e'\'':::STRING)) OR (table4.col4_1 > '"':::STRING)) AND (table4.col4_5 = e'\'':::STRING)) OR (table4.col4_7 != '':::STRING)) AND (table4.col4_10 = e'\'':::STRING)) OR (table4.col4_2 = e'\x00':::STRING)) AND (table4.col4_11 != 'X':::STRING)) AND (table4.col4_8 < 'NaN':::DECIMAL)) OR (table4.col4_0 >= 127:::INT8)) AND (table4.col4_6 != 1.401298464324817e-45:::FLOAT8), INDEX (col4_8, col4_5, col4_3 ASC, col4_4 ASC, col4_13 ASC, col4_0, col4_9) STORING (col4_1, col4_6), UNIQUE (col4_11 DESC, col4_4 DESC, col4_9 ASC, col4_8 ASC, col4_1 ASC, col4_12 ASC, col4_5 ASC, col4_10 DESC, col4_6) STORING (col4_0, col4_13) WHERE table4.col4_8 < 'NaN':::DECIMAL, INDEX (col4_1, col4_9 ASC, col4_10 DESC, col4_12, col4_5 ASC, col4_8 DESC, col4_11 ASC, col4_2 ASC, col4_0, col4_13, col4_6), FAMILY (col4_4, col4_9, col4_1, col4_5), FAMILY (col4_13, col4_0), FAMILY (col4_7, col4_3, col4_11, col4_2), FAMILY (col4_6));
test_1 | CREATE TABLE table5 (col5_0 DATE NOT NULL, PRIMARY KEY (col5_0));
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 779341759365265118, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 980391586675773646, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 145645790.2085263, "num_eq": 500, "num_range": 400000000, "upper_bound": "161652137"}, {"distinct_range": 372802.43722272577, "num_eq": 8445389699874004654, "num_range": 2000000, "upper_bound": "986491521"}, {"distinct_range": 2505323377913569300, "num_eq": 87059024437829036, "num_range": 2864137525348306715, "upper_bound": "1041071440"}, {"distinct_range": 1000, "num_eq": 2880232175876447430, "num_range": 1000, "upper_bound": "1111104415"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 1394610814978723619, "upper_bound": "2711948087"}, {"distinct_range": 2257272721186095900, "num_eq": 100, "num_range": 2257272721186095906, "upper_bound": "3847294542"}, {"distinct_range": 0, "num_eq": 70, "num_range": 50000000, "upper_bound": "4038937729"}, {"distinct_range": 91160661127.48825, "num_eq": 0, "num_range": 100000000000, "upper_bound": "4274177085"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1205985078961360820, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 542412268248156611, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292180495046533169, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 249004828643400622, "histo_buckets": [{"distinct_range": 0, "num_eq": 4759613940828711515, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 50000000, "num_eq": 80000000000, "num_range": 50000000, "upper_bound": "\\\\x22"}, {"distinct_range": 40000, "num_eq": 7374275842161344899, "num_range": 40000, "upper_bound": "\\\\x2c"}, {"distinct_range": 5363143179290103000, "num_eq": 80, "num_range": 7553743790288963798, "upper_bound": "\\\\x37"}, {"distinct_range": 0, "num_eq": 7318198017690148659, "num_range": 274533006056245076, "upper_bound": "\\\\x67"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 681749539447231978, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "-2147483648"}, {"distinct_range": 0, "num_eq": 5722156117720425545, "num_range": 100, "upper_bound": "-1718354478"}, {"distinct_range": 0, "num_eq": 2072783271708963102, "num_range": 4499850942567335254, "upper_bound": "-1238991256"}, {"distinct_range": 5864491056443193000, "num_eq": 1518777508698428073, "num_range": 8743946821661410935, "upper_bound": "-1105008590"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 20, "upper_bound": "-620731886"}, {"distinct_range": 0, "num_eq": 50, "num_range": 5734630631145458387, "upper_bound": "-51719463"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 9000000000, "upper_bound": "-128"}, {"distinct_range": 2396693726574920700, "num_eq": 60000000, "num_range": 5044492047372138534, "upper_bound": "2114570251"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 1217500760304129135, "row_count": 1409999083362808734}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 670010434590977581, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "-1.234E+401"}, {"distinct_range": 8172040002096062000, "num_eq": 1494408193822028016, "num_range": 8172040002096062726, "upper_bound": "-3.743434283429810537E+20"}, {"distinct_range": 28300992074.994263, "num_eq": 10000000000, "num_range": 50000000000, "upper_bound": "-678057.7232799266078"}, {"distinct_range": 1922645808211344600, "num_eq": 7403554394143220573, "num_range": 2113108038779833093, "upper_bound": "4.833308489183698388E+36"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1060985529067522075, "histo_col_type": "", "name": "__auto__", "null_count": 743627104691973842, "row_count": 1409999083362808734}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1356273888542098702, "histo_buckets": [{"distinct_range": 0, "num_eq": 4644608350943246306, "num_range": 0, "upper_bound": "00111101000111111101001101000000100011011"}, {"distinct_range": 0, "num_eq": 4598517902279085996, "num_range": 5000000000, "upper_bound": "10010110101001100111010111010101101110100"}, {"distinct_range": 9047426321077150000, "num_eq": 6000, "num_range": 9047426321077149448, "upper_bound": "10110101100001010000111111000111001011010"}, {"distinct_range": 6189771382738620000, "num_eq": 7462193085404250126, "num_range": 6281777337495193948, "upper_bound": "11011001100001000001000000001011001100001"}, {"distinct_range": 3000, "num_eq": 8000000000, "num_range": 3000, "upper_bound": "11101010100101111110010000001001000001011"}], "histo_col_type": "BIT(41)", "name": "__auto__", "null_count": 0, "row_count": 1409999083362808734}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 434625593484024756, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "\\u0016Oi\\n["}, {"distinct_range": 884.9969313640822, "num_eq": 10000000000, "num_range": 1000, "upper_bound": "%F\\u0012M\\u000b-b["}, {"distinct_range": 600000, "num_eq": 70000000000, "num_range": 600000, "upper_bound": ",oA]"}, {"distinct_range": 577728.4047516389, "num_eq": 100000, "num_range": 600000, "upper_bound": "7R\\u0006I\\u000fB"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 400000000, "upper_bound": "S#]"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8856032306280832641, "upper_bound": "_\\"8>"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 1132935580772309713, "row_count": 1409999083362808734}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209592518880166295, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 484315.8014510311, "num_eq": 2071727046031368016, "num_range": 500000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 119256340190493119, "row_count": 739610630242558629}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 129842723690099075, "histo_buckets": [{"distinct_range": 0, "num_eq": 857469382596427107, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 2195917352700603263, "num_range": 400000, "upper_bound": "586925094"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 3404460231401028600, "upper_bound": "589904396"}, {"distinct_range": 0, "num_eq": 7928878644191082640, "num_range": 70000, "upper_bound": "1475043786"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 8048004005463204255, "upper_bound": "2288280445"}, {"distinct_range": 3045350983889656300, "num_eq": 90000, "num_range": 7472901010330302853, "upper_bound": "2363209619"}, {"distinct_range": 0, "num_eq": 2358057338121408553, "num_range": 60000000, "upper_bound": "2922394410"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 739610630242558629}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185130948947624258, "histo_buckets": [{"distinct_range": 0, "num_eq": 7359568289417843585, "num_range": 0, "upper_bound": "-6258687180946631874"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 739610630242558629}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 679139604304638553, "histo_buckets": [{"distinct_range": 0, "num_eq": 5615542985495751391, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 800.1803747638969, "num_eq": 200, "num_range": 900, "upper_bound": "\\\\x14d3"}, {"distinct_range": 824223664268894600, "num_eq": 5151740001760798965, "num_range": 5552534502210485509, "upper_bound": "\\\\xb60be3"}, {"distinct_range": 4220047624118884400, "num_eq": 7902640731140746817, "num_range": 4220047624118884600, "upper_bound": "\\\\xd3"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 739610630242558629}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 688683074591840825, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "de\\n\\n{"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 739610630242558629}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 170104, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "\\\\x026f"}, {"distinct_range": 8000, "num_eq": 90000000000, "num_range": 8000, "upper_bound": "\\\\x58"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 9118890954506919694, "upper_bound": "\\\\x5cdd67"}, {"distinct_range": 0, "num_eq": 4660858135318316289, "num_range": 40000000, "upper_bound": "\\\\x5e809aba307111ff1a"}, {"distinct_range": 196518273.16793475, "num_eq": 2000000000, "num_range": 400000000, "upper_bound": "\\\\x74b13a8d4c51"}, {"distinct_range": 7513554559714002000, "num_eq": 50000, "num_range": 7779969205124931278, "upper_bound": "\\\\xa93b28577b"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 89002, "histo_buckets": [{"distinct_range": 0, "num_eq": 1106714854605818912, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 300, "num_range": 8000, "upper_bound": "`"}, {"distinct_range": 0, "num_eq": 3820050879664551013, "num_range": 8664406818268105316, "upper_bound": "b}\\u000e\\u0010z\\u0007-"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 118264, "row_count": 200000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37809, "histo_buckets": [{"distinct_range": 0, "num_eq": 5086270464633450428, "num_range": 0, "upper_bound": "297885721"}, {"distinct_range": 0, "num_eq": 1940985715253961830, "num_range": 1647502638697023898, "upper_bound": "1046089128"}, {"distinct_range": 2514985483604681700, "num_eq": 3128139436885990371, "num_range": 5981080090893512820, "upper_bound": "1269263721"}, {"distinct_range": 3331597703707675000, "num_eq": 7308798165652208456, "num_range": 5007524082008523945, "upper_bound": "1318807325"}, {"distinct_range": 0, "num_eq": 3877667443784020200, "num_range": 700000000, "upper_bound": "2342983607"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 5266523240980789103, "upper_bound": "3617524619"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 123606, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10992, "histo_col_type": "", "name": "__auto__", "null_count": 20475, "row_count": 40000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7294, "histo_col_type": "", "name": "__auto__", "null_count": 30381, "row_count": 40000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35197, "histo_col_type": "", "name": "__auto__", "null_count": 21892, "row_count": 40000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35254, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36385, "histo_col_type": "", "name": "__auto__", "null_count": 8844, "row_count": 40000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32567, "histo_buckets": [{"distinct_range": 0, "num_eq": 2061621040239731109, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2334123435713576000, "num_eq": 4000000000, "num_range": 3022677573332793858, "upper_bound": "OP\\u0001\'\'wv"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 60000, "upper_bound": "[oK\\u0013\\u000f$Suy"}, {"distinct_range": 634579557727469400, "num_eq": 70000000000, "num_range": 5690340125949808402, "upper_bound": "k"}, {"distinct_range": 196281779421584500, "num_eq": 5000000000, "num_range": 676839405212139208, "upper_bound": "o\\u001f>.uz\\u0012"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9301, "histo_buckets": [{"distinct_range": 0, "num_eq": 2666849965165485488, "num_range": 0, "upper_bound": "-8.180875092718093719E+37"}, {"distinct_range": 0, "num_eq": 360190223666144539, "num_range": 5000000000, "upper_bound": "-2.281840029084504597E+35"}, {"distinct_range": 20000000, "num_eq": 100, "num_range": 20000000, "upper_bound": "-68354137769565.68337"}, {"distinct_range": 200000, "num_eq": 1000, "num_range": 200000, "upper_bound": "-400.7829224502864169"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "0.0207222342754315736"}, {"distinct_range": 0, "num_eq": 6248221119053856773, "num_range": 7487167482785038698, "upper_bound": "2937.281507158415795"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 16994, "row_count": 40000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12299, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 1000000000, "upper_bound": "\\u0007\\\\\\u00158o\\u000c}\\u000b\\u001f"}, {"distinct_range": 0, "num_eq": 2219310523133483880, "num_range": 0, "upper_bound": "\'"}, {"distinct_range": 1014118900181196800, "num_eq": 300000, "num_range": 3749752448853966598, "upper_bound": "2\\u0013\\u0007\\n~*\\u0012B"}, {"distinct_range": 261137696.81501117, "num_eq": 20000, "num_range": 700000000, "upper_bound": ";`F"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 5000000000, "upper_bound": "nQP\\u00056H1.*"}, {"distinct_range": 0, "num_eq": 2270403562616972809, "num_range": 40000000000, "upper_bound": "u\\u000b+0\\u0003AM="}, {"distinct_range": 2648300107120143400, "num_eq": 6342987339138732759, "num_range": 2648300107120143223, "upper_bound": "z\\u0010xO\\u001eJ\\u0010\\u0015g"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36428, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 300, "num_eq": 800000000, "num_range": 300, "upper_bound": "2*l\\u001az\\u0016B"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 900000, "upper_bound": "H[y"}, {"distinct_range": 10000000000, "num_eq": 400, "num_range": 10000000000, "upper_bound": "[3A\\u0016~"}, {"distinct_range": 0, "num_eq": 100, "num_range": 3307703810233927131, "upper_bound": "]"}, {"distinct_range": 45.89680985149489, "num_eq": 2753140476647637830, "num_range": 100, "upper_bound": "d0>qX\\u0019|"}, {"distinct_range": 0, "num_eq": 4355737464185786815, "num_range": 6000000, "upper_bound": "hpK _\\u0019\\t\\u000bu"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 5955853508073429988, "upper_bound": "|\\u0016\x7fN"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 14357, "row_count": 40000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4172, "histo_col_type": "", "name": "__auto__", "null_count": 25168, "row_count": 40000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39976, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2090, "histo_col_type": "", "name": "__auto__", "null_count": 16314, "row_count": 40000}]':::JSONB;
test_1 | ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57076, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1970-05-11"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 8146355200605621958, "upper_bound": "1972-10-23"}, {"distinct_range": 0, "num_eq": 4610919229611449883, "num_range": 50000, "upper_bound": "1979-12-14"}, {"distinct_range": 5299222817694684000, "num_eq": 10000, "num_range": 5299222817694684062, "upper_bound": "1988-10-03"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 60000}]':::JSONB;
test_1 | ALTER TABLE table4 ADD FOREIGN KEY (col4_2) REFERENCES table1 (col1_7);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('xwxdw', 'ulxqu', 'yi');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('qtlw', 'itykcl', 'camo', 'vorvbr', 'c');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('pnfoc', 'hc', 't', 'y', 'twav');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('rhgn', 'momnt', 'mu', 'mujy');
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 60, "num_range": 30000000, "upper_bound": "\\\\x422ef6cc"}, {"distinct_range": 6963788515327767000, "num_eq": 2000000, "num_range": 7398475594286487831, "upper_bound": "\\\\x624c8f"}, {"distinct_range": 915227250037148800, "num_eq": 800000, "num_range": 6312165259595701767, "upper_bound": "\\\\xda"}, {"distinct_range": 3180664239128397300, "num_eq": 8844459467876802922, "num_range": 6897213599232990235, "upper_bound": "\\\\xecc2df674b0e"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "6),?CwR#"}, {"distinct_range": 0, "num_eq": 1129077963309756654, "num_range": 10, "upper_bound": "N"}, {"distinct_range": 400, "num_eq": 8208563994175957275, "num_range": 400, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 1454636606061042083, "num_range": 5000, "upper_bound": "pOX_p"}, {"distinct_range": 493680684.47330856, "num_eq": 2627839470954049419, "num_range": 600000000, "upper_bound": "vn5"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_buckets": [{"distinct_range": 0, "num_eq": 4991160823807639506, "num_range": 0, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 3153081281104032999, "num_range": 0, "upper_bound": "c\\u00183P\'P"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 43, "row_count": 80}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "-379678270"}, {"distinct_range": 15613173742.120464, "num_eq": 3632701708318089549, "num_range": 50000000000, "upper_bound": "-54537946"}, {"distinct_range": 0, "num_eq": 3187873324599849427, "num_range": 60000, "upper_bound": "-128"}, {"distinct_range": 136.70409730117856, "num_eq": 100000000, "num_range": 200, "upper_bound": "385603477"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 55, "row_count": 80}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "", "name": "__auto__", "null_count": 11, "row_count": 80}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "BIT(41)", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "235211560"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 683795314978043882, "upper_bound": "1168733087"}, {"distinct_range": 5617086078336019000, "num_eq": 7552076013102831210, "num_range": 5617086078336019276, "upper_bound": "1711768102"}, {"distinct_range": 6537793871163855000, "num_eq": 5000000000, "num_range": 6537793871163854755, "upper_bound": "2878214313"}, {"distinct_range": 2232140598943398700, "num_eq": 200000000, "num_range": 2995929232051241486, "upper_bound": "3540686302"}, {"distinct_range": 0, "num_eq": 1304786902446155145, "num_range": 200, "upper_bound": "3748236380"}, {"distinct_range": 8821.124342808367, "num_eq": 5000, "num_range": 10000, "upper_bound": "4142370222"}, {"distinct_range": 1653941412986068200, "num_eq": 700000000, "num_range": 4291149449753764323, "upper_bound": "4234843578"}, {"distinct_range": 0, "num_eq": 3238247779790664859, "num_range": 1000, "upper_bound": "4267107626"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "-8.443938778824645968E+33"}, {"distinct_range": 5311769539511103000, "num_eq": 6000000000, "num_range": 7803868863615742079, "upper_bound": "-6.123723405643702989E+27"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 10, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 50000000, "upper_bound": "3.751026448740773647E+35"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_buckets": [{"distinct_range": 0, "num_eq": 4989834150223648680, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 1208016616962290000, "num_eq": 100, "num_range": 4069670534903126472, "upper_bound": "\\\\x0a5d5c3326"}, {"distinct_range": 5148379884980219000, "num_eq": 680389541230081070, "num_range": 5148379884980219219, "upper_bound": "\\\\x1db8c3e05451c2"}, {"distinct_range": 70000000, "num_eq": 0, "num_range": 70000000, "upper_bound": "\\\\x35f4"}, {"distinct_range": 200000, "num_eq": 300000000, "num_range": 200000, "upper_bound": "\\\\x4c5facd220b643bc7f"}, {"distinct_range": 4326324944041409000, "num_eq": 3799852017387979745, "num_range": 4326324944041409115, "upper_bound": "\\\\x5320f52ef6"}, {"distinct_range": 3244350613527728000, "num_eq": 60000, "num_range": 6324575971212999762, "upper_bound": "\\\\x5b8afe168ed1e7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_buckets": [{"distinct_range": 0, "num_eq": 4339003749723429657, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 7263068865101934401, "num_range": 300000, "upper_bound": "\\u0017\\u0015\\u0005[BB*`*"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57, "histo_buckets": [{"distinct_range": 0, "num_eq": 6253869502689465968, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 800000, "num_eq": 100000000000, "num_range": 800000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 32, "row_count": 80}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44602, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 3222965589713325416, "upper_bound": "110317825"}, {"distinct_range": 4300405914805141500, "num_eq": 5288439065855558051, "num_range": 7508653711865391401, "upper_bound": "140193054"}, {"distinct_range": 0, "num_eq": 4035492236953940998, "num_range": 90, "upper_bound": "1310729358"}, {"distinct_range": 400000, "num_eq": 0, "num_range": 400000, "upper_bound": "2341100119"}, {"distinct_range": 1038609416374270800, "num_eq": 50, "num_range": 3047823038167891688, "upper_bound": "2592453595"}, {"distinct_range": 1449567.6596684398, "num_eq": 10000000000, "num_range": 4000000, "upper_bound": "3148942111"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27200, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49746, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x139de0"}, {"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "\\\\x2a8601"}, {"distinct_range": 0, "num_eq": 8945877060856131909, "num_range": 4124262286450667790, "upper_bound": "\\\\x6bfd7df1439c"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 600, "upper_bound": "\\\\x796e6e6d"}, {"distinct_range": 4414774577149548000, "num_eq": 4227653815662267247, "num_range": 8098498345169228897, "upper_bound": "\\\\x8fd5"}, {"distinct_range": 8120330060364588000, "num_eq": 4212575290382902980, "num_range": 9073774602586964769, "upper_bound": "\\\\xdd079024b7"}, {"distinct_range": 49485.35214133558, "num_eq": 200, "num_range": 60000, "upper_bound": "\\\\xdd4f"}, {"distinct_range": 10000, "num_eq": 9000000000, "num_range": 10000, "upper_bound": "\\\\xe29883"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46948, "histo_buckets": [{"distinct_range": 0, "num_eq": 6413486272802985788, "num_range": 0, "upper_bound": ""}, {"distinct_range": 500000, "num_eq": 1262698042411522472, "num_range": 500000, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 718486743089507343, "num_range": 10000, "upper_bound": "\\u0005 t8"}, {"distinct_range": 3736001196954237000, "num_eq": 1000000000, "num_range": 3736001196954236870, "upper_bound": "\\u00191l\\u0010"}, {"distinct_range": 0, "num_eq": 5705912971275120641, "num_range": 8000000, "upper_bound": "\\u001d\\\\o"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 900, "upper_bound": "@\\\\I"}, {"distinct_range": 100, "num_eq": 7989842580194316545, "num_range": 100, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 49967, "row_count": 80000}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1956128801505669571, "histo_col_type": "", "name": "__auto__", "null_count": 3618654319011199478, "row_count": 7094810115744551056}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1273258375755459932, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2096114597021473062, "histo_col_type": "", "name": "__auto__", "null_count": 384252982443888101, "row_count": 7094810115744551056}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1303407404809874091, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "-4.943058176305935487E+34"}, {"distinct_range": 2431607119323173000, "num_eq": 7019034798332768244, "num_range": 3801674372424721108, "upper_bound": "73032.81950533030301"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 1358456731495851178, "row_count": 7094810115744551056}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4870139374007076500, "histo_col_type": "", "name": "__auto__", "null_count": 5612354704551398859, "row_count": 7094810115744551056}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 686291831296498250, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "*"}, {"distinct_range": 9055657420014122000, "num_eq": 7529655449021661876, "num_range": 9055657420014122051, "upper_bound": "c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2909425073325186950, "histo_col_type": "", "name": "__auto__", "null_count": 1212233021964848412, "row_count": 7094810115744551056}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3004919144524541116, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5676271742844430710, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20514309559071773, "histo_col_type": "", "name": "__auto__", "null_count": 3363441722358524102, "row_count": 7094810115744551056}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5499530383739234194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4957990722108338746, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "\\u0006i"}, {"distinct_range": 555552782134151300, "num_eq": 8237462184123062632, "num_range": 2400202572250926824, "upper_bound": "\\u0010\\u0012>"}, {"distinct_range": 0, "num_eq": 1065125098352572314, "num_range": 7604111812984966624, "upper_bound": "&Nm\\u0004l\\\\\\u000b4$"}, {"distinct_range": 0, "num_eq": 3715610906094453588, "num_range": 70000, "upper_bound": "BL~D8<n>p"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "_.w(4@|x"}, {"distinct_range": 0, "num_eq": 726819516047797424, "num_range": 4413888249351645786, "upper_bound": "w.f"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2117827813578855991, "row_count": 7094810115744551056}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6001404746414841281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7094810115744551056}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 748995404173566647, "histo_col_type": "", "name": "__auto__", "null_count": 2291176706989109576, "row_count": 7094810115744551056}]':::JSONB;
test_1 | ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602499856, "histo_buckets": [{"distinct_range": 0, "num_eq": 5081862078371951905, "num_range": 0, "upper_bound": "1985-11-11"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 1000000000}]':::JSONB;
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46800343379581664, "histo_buckets": [{"distinct_range": 0, "num_eq": 632914315060790138, "num_range": 0, "upper_bound": "\\u0004/b}\\u0003Y1"}, {"distinct_range": 2587365750982881300, "num_eq": 700000, "num_range": 2587365750982881191, "upper_bound": "\\""}, {"distinct_range": 1156592438275368700, "num_eq": 2000000, "num_range": 5814541564314739569, "upper_bound": "1id\x7f\\u001b6Jg"}, {"distinct_range": 2742384438720800000, "num_eq": 0, "num_range": 2742384438720799651, "upper_bound": "Ye0"}, {"distinct_range": 0, "num_eq": 4370387265350026438, "num_range": 8826268156047547215, "upper_bound": "v0\\"N\\u0003<u"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 123793581170984864, "row_count": 206084174004320133}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 204265791153551180, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91339217709705782, "histo_col_type": "", "name": "__auto__", "null_count": 4818490841738756, "row_count": 206084174004320133}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 90428532892772059, "histo_buckets": [{"distinct_range": 0, "num_eq": 7327988319405077265, "num_range": 0, "upper_bound": "01001101100100001001111000111111010011101"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 6000000, "upper_bound": "01011100101101111111111011001000011001001"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 100000000, "upper_bound": "01111111111111111111111111111111111111111"}, {"distinct_range": 8455517103795200000, "num_eq": 100000, "num_range": 8455517103795200016, "upper_bound": "10000001100011100100100000011111010001001"}, {"distinct_range": 1906166423641179400, "num_eq": 4000000000, "num_range": 1906166423641179440, "upper_bound": "10100010001111011000110011010100101010110"}], "histo_col_type": "BIT(41)", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185337998297552193, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 2431711562730845000, "num_eq": 7073820652803213949, "num_range": 8207164823563999535, "upper_bound": "-1.234E+401"}, {"distinct_range": 3995065441312332300, "num_eq": 1840553980918629873, "num_range": 3995065441312332414, "upper_bound": "-2.23183034222884054E+36"}, {"distinct_range": 400, "num_eq": 2317667602788241684, "num_range": 400, "upper_bound": "-2.6368525433062396E+21"}, {"distinct_range": 400000000, "num_eq": 3737658998235099094, "num_range": 400000000, "upper_bound": "-3009794941537748.338"}, {"distinct_range": 3000000, "num_eq": 6668785980810417771, "num_range": 3000000, "upper_bound": "-3895.98022664188252"}, {"distinct_range": 13795.060719645036, "num_eq": 1000, "num_range": 20000, "upper_bound": "-1500.212514135593051"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 94575892473639446, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 111986741003048083, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 10000, "num_eq": 80000000, "num_range": 10000, "upper_bound": "62969008"}, {"distinct_range": 0, "num_eq": 118537875071834504, "num_range": 50000, "upper_bound": "2217864403"}, {"distinct_range": 0, "num_eq": 0, "num_range": 200000, "upper_bound": "4212506580"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114880461903445775, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "R:K\\u001f+\\u001f"}, {"distinct_range": 2569645030186360300, "num_eq": 400000, "num_range": 2569645030186360571, "upper_bound": "jqP\\u001d"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 139374908703871477, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12635062686388451, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "\\\\xda"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 206084174004320133}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 174131557216991048, "histo_buckets": [{"distinct_range": 0, "num_eq": 8732534017349116963, "num_range": 0, "upper_bound": "-2047889531"}, {"distinct_range": 6081948.153016019, "num_eq": 200000, "num_range": 20000000, "upper_bound": "-1423524514"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 3477759477231793931, "upper_bound": "326898494"}, {"distinct_range": 18.35161616844308, "num_eq": 2147273491010804761, "num_range": 30, "upper_bound": "342169235"}, {"distinct_range": 4469129423451180000, "num_eq": 6597837343549466746, "num_range": 4469129423451179908, "upper_bound": "1149206587"}, {"distinct_range": 0, "num_eq": 800, "num_range": 3000000000, "upper_bound": "1689574083"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 87047057234334408, "row_count": 206084174004320133}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2476510381835691132, "histo_buckets": [{"distinct_range": 0, "num_eq": 2411128997337931669, "num_range": 0, "upper_bound": "-1.540178216586091968E+36"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 1518093582134766627, "upper_bound": "-4.74647389244868542E+27"}, {"distinct_range": 635542.4050378415, "num_eq": 8847078888542220100, "num_range": 40000000, "upper_bound": "1"}, {"distinct_range": 1187927718473232600, "num_eq": 40, "num_range": 1775480243278065551, "upper_bound": "4358.957796940943682"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 9000000, "upper_bound": "1721981820418.491482"}, {"distinct_range": 0, "num_eq": 4606486202883880663, "num_range": 40, "upper_bound": "3929422692562661533"}, {"distinct_range": 1641653236.6875527, "num_eq": 586074534654823086, "num_range": 7000000000, "upper_bound": "2.373725479133311078E+19"}, {"distinct_range": 0, "num_eq": 921205380231531562, "num_range": 7592853224461924775, "upper_bound": "6.104017854230609104E+37"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 3565734306809611351}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2275883592995850645, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "\\\\x32b9bacc2c"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 3565734306809611351}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2579564077650313062, "histo_buckets": [{"distinct_range": 0, "num_eq": 3192902640791950313, "num_range": 0, "upper_bound": "\\"x-y\\u0005/{"}, {"distinct_range": 6992800620587440000, "num_eq": 1170591967652479939, "num_range": 6992800620587440558, "upper_bound": "EHLAr\\u0015"}, {"distinct_range": 889680971509936600, "num_eq": 9000, "num_range": 896420210622595066, "upper_bound": "\\\\"}, {"distinct_range": 2579948415930332000, "num_eq": 6108418520822922973, "num_range": 3492894692328743803, "upper_bound": "t\\u0008-"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 3565734306809611351}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1288956359039924883, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 3285587844079388361, "row_count": 3565734306809611351}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2705849966502180065, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 598380259610731584, "num_range": 0, "upper_bound": "195108421"}, {"distinct_range": 800, "num_eq": 8290357182743977635, "num_range": 800, "upper_bound": "376114739"}, {"distinct_range": 11414367643.4194, "num_eq": 700, "num_range": 30000000000, "upper_bound": "816721882"}, {"distinct_range": 2408628.021309712, "num_eq": 2481233103945145475, "num_range": 7000000, "upper_bound": "2485694544"}, {"distinct_range": 45053.32583407228, "num_eq": 7801480431458689711, "num_range": 80000, "upper_bound": "4128188060"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3565734306809611351}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2748115206749005316, "histo_buckets": [{"distinct_range": 0, "num_eq": 8225670561652671238, "num_range": 0, "upper_bound": "628761282"}, {"distinct_range": 0, "num_eq": 6337573205029848081, "num_range": 0, "upper_bound": "904124577"}, {"distinct_range": 4337841477538937000, "num_eq": 6198581275835850552, "num_range": 4337841477538936582, "upper_bound": "1598103909"}, {"distinct_range": 290775983998738500, "num_eq": 500000000, "num_range": 722385066039427581, "upper_bound": "1656188448"}, {"distinct_range": 86092475803110530, "num_eq": 6000, "num_range": 341602083542031194, "upper_bound": "1944769077"}, {"distinct_range": 40, "num_eq": 5073673139784535023, "num_range": 40, "upper_bound": "2098466610"}, {"distinct_range": 5773668990717368000, "num_eq": 2254158437211466942, "num_range": 6679547571810441447, "upper_bound": "3988546809"}, {"distinct_range": 0, "num_eq": 3606161653822999947, "num_range": 100, "upper_bound": "4077762057"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 6450419061145576383}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1620327590561277016, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6450419061145576383}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6339458860127037333, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "\\\\x192701bfa6c3"}, {"distinct_range": 7256604169657637000, "num_eq": 312837204020687976, "num_range": 7256604169657636700, "upper_bound": "\\\\x4588fd67b7"}, {"distinct_range": 0, "num_eq": 5735478775806039032, "num_range": 0, "upper_bound": "\\\\x58"}, {"distinct_range": 7331270965.740283, "num_eq": 7000, "num_range": 100000000000, "upper_bound": "\\\\x67d7"}, {"distinct_range": 5.6242616985449505, "num_eq": 300, "num_range": 20, "upper_bound": "\\\\x6f70c3a907"}, {"distinct_range": 0, "num_eq": 4604652289795057498, "num_range": 800, "upper_bound": "\\\\x7340af2c37fd06fd73"}, {"distinct_range": 1055155585865518700, "num_eq": 6460523512373995803, "num_range": 1055155585865518681, "upper_bound": "\\\\xa63c31"}, {"distinct_range": 0, "num_eq": 5311751572576006921, "num_range": 5631846349491816900, "upper_bound": "\\\\xddeefccf"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6450419061145576383}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4244564396661516436, "histo_buckets": [{"distinct_range": 0, "num_eq": 3720322189652175546, "num_range": 0, "upper_bound": ""}, {"distinct_range": 4053149504248591000, "num_eq": 1000000, "num_range": 4053149504248590771, "upper_bound": "rE.5Skak"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 3467913848254061068, "row_count": 6450419061145576383}]':::JSONB;
test_1 | ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1179679882436923761, "histo_buckets": [{"distinct_range": 0, "num_eq": 751619261562019957, "num_range": 0, "upper_bound": "\\u001bc%_"}, {"distinct_range": 0, "num_eq": 5436283273850806521, "num_range": 100000, "upper_bound": "("}, {"distinct_range": 4389480019391916000, "num_eq": 40000000000, "num_range": 4389480019391916149, "upper_bound": "Ds\\u0006\\u0013\\u000eOK!j"}, {"distinct_range": 2079062654180926000, "num_eq": 5460135719235028177, "num_range": 2079062654180925837, "upper_bound": "oY_Nf"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 914262474863460063, "histo_col_type": "", "name": "__auto__", "null_count": 246490370715599316, "row_count": 1372828787278813890}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 392778459400860268, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 557062178156981900, "num_eq": 1000000000, "num_range": 557062178156981909, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 4974495770579833777, "upper_bound": "9\\u0015\\u0001"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 65391957016691266, "row_count": 1372828787278813890}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 501368130974200809, "histo_col_type": "", "name": "__auto__", "null_count": 916158738453022556, "row_count": 1372828787278813890}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 533070420523749928, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66641581480858552, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 939928241980449584, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 12194815189.305115, "num_eq": 0, "num_range": 30000000000, "upper_bound": "7\\u0001)A\\u0011=n90"}, {"distinct_range": 6136813677985244000, "num_eq": 400000, "num_range": 6426860579860204689, "upper_bound": "C"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 4686442447129870962, "upper_bound": "a4\\u0001nR\\u000bB\\u001c"}, {"distinct_range": 740971996600175600, "num_eq": 100000, "num_range": 4858406065687465012, "upper_bound": "z\\u0008o\\u0015K\\u0004\\u0007c"}, {"distinct_range": 6231698268239826000, "num_eq": 300000000, "num_range": 6231698268239826263, "upper_bound": "|.\\u00105~\\u0017"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1201617226366959741, "histo_col_type": "", "name": "__auto__", "null_count": 520507447402007537, "row_count": 1372828787278813890}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1065792994515063346, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 784642903962837112, "histo_col_type": "", "name": "__auto__", "null_count": 1268538104019008437, "row_count": 1372828787278813890}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 624306669034287787, "histo_col_type": "", "name": "__auto__", "null_count": 359614931714187026, "row_count": 1372828787278813890}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26685093685780711, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1372828787278813890}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1357101002251046705, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-86393.60008341344512"}, {"distinct_range": 0, "num_eq": 1701356523297893570, "num_range": 1584689772871091620, "upper_bound": "4559.24597242337213"}, {"distinct_range": 500, "num_eq": 10000, "num_range": 500, "upper_bound": "4292142.047113299783"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 6261375532396745956, "upper_bound": "74922414604663.51132"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 996583186537356682, "row_count": 1372828787278813890}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1041917188758413858, "histo_col_type": "", "name": "__auto__", "null_count": 1345058368251322651, "row_count": 1372828787278813890}]':::JSONB;
test_1 | ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21952569643878281, "histo_buckets": [{"distinct_range": 0, "num_eq": 2269862748521664587, "num_range": 0, "upper_bound": "1975-11-22"}, {"distinct_range": 0, "num_eq": 7707498981893055956, "num_range": 4546486472610191030, "upper_bound": "1977-03-19"}, {"distinct_range": 207430062795815360, "num_eq": 6475260529743481568, "num_range": 207430062795815346, "upper_bound": "1977-05-24"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 24924674112592355}]':::JSONB;
test_1 |
test_1 | compare_test.go:130: cockroach2: exec: ERROR: there is no unique constraint matching given keys for referenced table table1 (SQLSTATE 23503)
test_1 | FAIL
postgres_1 | 2021-03-23 05:11:38.299 UTC [85] LO
(compose).TestComposeCompare failed on master@9fa4b125bfb07552b43ba4fd52c9301afd7a937b:
test_1 | AS tab_149423 (col_240508)
test_1 | )
test_1 | SELECT
test_1 | 2705575057::OID AS col_240509,
test_1 | 'e'::TEXT AS col_240510,
test_1 | e'K\t3\x1b '::TEXT AS col_240511,
test_1 | '01010000802E491D66A04AF041DC1DCB0F72E500C2C0471A86936BEDC1'::GEOMETRY AS col_240512
test_1 | FROM
test_1 | postgres.public.table1 AS tab_149424,
test_1 | postgres.public.table1 AS tab_149425
test_1 | JOIN postgres.public.table1 AS tab_149426
test_1 | JOIN postgres.public.table1 AS tab_149427
test_1 | JOIN postgres.public.table1 AS tab_149428 ON (tab_149427.col1_5) = (tab_149428.col1_6)
test_1 | JOIN postgres.public.table1 AS tab_149429
test_1 | JOIN postgres.public.table1 AS tab_149430 ON
test_1 | (tab_149429.col1_6) = (tab_149430.col1_5)
test_1 | AND (tab_149429.tableoid) = (tab_149430.tableoid) ON
test_1 | (tab_149427.col1_5) = (tab_149429.col1_6)
test_1 | AND (tab_149428.col1_0) = (tab_149430.col1_0)
test_1 | AND (tab_149427.col1_2) = (tab_149429.col1_2)
test_1 | AND (tab_149428.col1_5) = (tab_149429.col1_3)
test_1 | AND (tab_149427.col1_0) = (tab_149430.col1_0) ON
test_1 | (tab_149426.tableoid) = (tab_149429.col1_2)
test_1 | AND (tab_149426.col1_6) = (tab_149427.col1_6)
test_1 | AND (tab_149426.col1_2) = (tab_149427.col1_2)
test_1 | AND (tab_149426.tableoid) = (tab_149428.tableoid)
test_1 | AND (tab_149426.col1_4) = (tab_149428.col1_4)
test_1 | AND (tab_149426.col1_5) = (tab_149428.col1_5)
test_1 | JOIN postgres.public.table1 AS tab_149431 ON
test_1 | (tab_149430.col1_3) = (tab_149431.col1_5) AND (tab_149427.col1_0) = (tab_149431.col1_4) ON
test_1 | (tab_149425.col1_6) = (tab_149429.col1_5),
test_1 | with_41633 AS cte_ref_11996
test_1 | WHERE
test_1 | true
test_1 | )
test_1 | AS tab_149432
test_1 | ORDER BY
test_1 | col_240509 NULLS FIRST, col_240510 NULLS FIRST, col_240511 NULLS FIRST, col_240512 NULLS FIRST
test_1 | compare_test.go:162: cockroach2: ping: context deadline exceeded
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@cbebc6e05491c6951216993ed5e12e22504624f2:
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-25 05:13:13.340 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-25 05:13:13.356 UTC [49] LOG: database system was shut down at 2021-03-25 05:13:13 UTC
postgres_1 | 2021-03-25 05:13:13.361 UTC [48] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | Loading PostGIS extensions into postgres
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 |
postgres_1 | waiting for server to shut down...2021-03-25 05:13:16.263 UTC [48] LOG: received fast shutdown request
postgres_1 | .2021-03-25 05:13:16.265 UTC [48] LOG: aborting any active transactions
postgres_1 | 2021-03-25 05:13:16.267 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-03-25 05:13:16.273 UTC [50] LOG: shutting down
postgres_1 | 2021-03-25 05:13:16.399 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-25 05:13:16.477 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-25 05:13:16.477 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-25 05:13:16.480 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-25 05:13:16.496 UTC [85] LOG: database system was shut down at 2021-03-25 05:13:16 UTC
postgres_1 | 2021-03-25 05:13:16.502 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (602.07s)
test_1 | --- FAIL: TestCompare/postgres (0.95s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #61683 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@8b137b4f068a0d590a3e86ae91fd60eb84f2750a:
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_1 DESC);
postgres_1 | CREATE INDEX ON table3 (col3_3 DESC, col3_0, col3_5 ASC, col3_2 ASC, col3_1, col3_4 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_0, col3_4, col3_1 ASC, col3_2 DESC, col3_5 DESC, col3_3 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_5 ASC, col3_1, col3_0, col3_2 ASC);
postgres_1 | CREATE INDEX ON table3 (col3_4 DESC, col3_3 ASC, col3_1 ASC, col3_5, col3_0 ASC, col3_2);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_3 ASC, col3_4 DESC);
postgres_1 | CREATE TABLE table4 (col4_0 REGCLASS NULL, col4_1 BYTEA, col4_2 TEXT NOT NULL, col4_3 INET NOT NULL, col4_4 INT8[], col4_5 "char" NOT NULL, col4_6 INET NULL, col4_7 NAME NOT NULL, col4_8 TEXT NULL GENERATED ALWAYS AS (IF(col4_4 IS NULL, e'\x15l'::TEXT, ''::TEXT)) STORED);
postgres_1 | CREATE INDEX ON table4 (col4_3 DESC, col4_6 DESC);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('zivmw');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('ylpye', 'tmstgh', 'vvk');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('ru', 'iopf', 'mtnzpp');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('q');
postgres_1 |
test_1 | --- FAIL: TestCompare (603.89s)
test_1 | --- FAIL: TestCompare/postgres (2.42s)
test_1 | compare_test.go:129: CREATE TABLE table1 (col1_0 REGNAMESPACE NOT NULL, col1_1 JSONB NOT NULL);
test_1 | CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 BIT(37) NOT NULL, PRIMARY KEY (col2_1, col2_0));
test_1 | CREATE INDEX ON table2 (col2_0 DESC, col2_1 ASC);
test_1 | CREATE INDEX ON table2 (col2_1 ASC);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_1);
test_1 | CREATE INDEX ON table2 (col2_1 DESC);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_0, col2_1 ASC);
test_1 | CREATE TABLE table3 (col3_0 DATE, col3_1 TIME NOT NULL, col3_2 NAME NULL, col3_3 OID NULL, col3_4 OID NULL, col3_5 INT8 NOT NULL, PRIMARY KEY (col3_5));
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 ASC, col3_4 ASC, col3_1 DESC) INCLUDE (col3_3);
test_1 | CREATE INDEX ON table3 (col3_5, col3_0 DESC, col3_3 ASC, col3_4 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_1 DESC);
test_1 | CREATE INDEX ON table3 (col3_3 DESC, col3_0, col3_5 ASC, col3_2 ASC, col3_1, col3_4 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0, col3_4, col3_1 ASC, col3_2 DESC, col3_5 DESC, col3_3 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_5 ASC, col3_1, col3_0, col3_2 ASC);
test_1 | CREATE INDEX ON table3 (col3_4 DESC, col3_3 ASC, col3_1 ASC, col3_5, col3_0 ASC, col3_2);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3 ASC, col3_4 DESC);
test_1 | CREATE TABLE table4 (col4_0 REGCLASS NULL, col4_1 BYTEA, col4_2 TEXT NOT NULL, col4_3 INET NOT NULL, col4_4 INT8[], col4_5 "char" NOT NULL, col4_6 INET NULL, col4_7 NAME NOT NULL, col4_8 TEXT NULL GENERATED ALWAYS AS (IF(col4_4 IS NULL, e'\x15l'::TEXT, ''::TEXT)) STORED);
test_1 | CREATE INDEX ON table4 (col4_3 DESC, col4_6 DESC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('zivmw');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('ylpye', 'tmstgh', 'vvk');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('ru', 'iopf', 'mtnzpp');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('q');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "(" (SQLSTATE 42601)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@3cfe2a38044b9e0d47b09815658e8634e4f4bfda:
postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1 | --auth-local and --auth-host, the next time you run initdb.
postgres_1 | waiting for server to start....2021-03-27 05:11:46.928 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-27 05:11:46.944 UTC [49] LOG: database system was shut down at 2021-03-27 05:11:46 UTC
postgres_1 | 2021-03-27 05:11:46.950 UTC [48] LOG: database system is ready to accept connections
postgres_1 | done
postgres_1 | server started
postgres_1 |
postgres_1 | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
postgres_1 | CREATE DATABASE
postgres_1 | Loading PostGIS extensions into template_postgis
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | Loading PostGIS extensions into postgres
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 | CREATE EXTENSION
postgres_1 |
postgres_1 | waiting for server to shut down...2021-03-27 05:11:49.872 UTC [48] LOG: received fast shutdown request
postgres_1 | .2021-03-27 05:11:49.874 UTC [48] LOG: aborting any active transactions
postgres_1 | 2021-03-27 05:11:49.876 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-03-27 05:11:49.885 UTC [50] LOG: shutting down
postgres_1 | 2021-03-27 05:11:49.996 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-03-27 05:11:50.085 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-03-27 05:11:50.085 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-03-27 05:11:50.089 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-03-27 05:11:50.105 UTC [85] LOG: database system was shut down at 2021-03-27 05:11:49 UTC
postgres_1 | 2021-03-27 05:11:50.111 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (601.53s)
test_1 | --- FAIL: TestCompare/postgres (0.44s)
test_1 | compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@4f0629742ff665f8f6a60be60a5ecc5e4c248085:
postgres_1 | CREATE UNIQUE INDEX ON table3 (col2_8 ASC, col3_25 ASC, col2_17, col3_19 DESC, col3_26 DESC, col2_5, col3_18 DESC, col2_12 DESC, col3_21 DESC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col2_12 DESC);
postgres_1 | CREATE INDEX ON table3 (col3_25, col2_17, col3_23 DESC, col3_24 DESC, col3_20 ASC, col2_9 DESC, col2_11 DESC, col3_21 DESC, col2_12 ASC, col2_7 ASC, col2_8 DESC, col3_19 ASC, col1_2 DESC, col2_3 DESC, col2_14, col2_13 ASC, col3_26, col3_18 DESC, col2_15, col2_5, col2_2 DESC, col2_16 DESC, col2_6, col3_22 DESC, col2_18 ASC, col1_3 ASC, col2_10 ASC);
postgres_1 | CREATE INDEX ON table3 (col2_8 DESC, col2_2, col2_13 ASC, col3_23 DESC, col2_15 ASC, col2_3 DESC, col2_14 ASC, col2_16 DESC, col2_5 ASC, col1_2, col3_25, col2_11 ASC);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('vvgndk', 'ra', 'bpl');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('ow');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('qkg', 'o', 'jfl', 'ms', 'rgqzzm');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('hu', 'n', 'bu', 'pmoxvs', 'fs');
postgres_1 |
test_1 | --- FAIL: TestCompare (603.58s)
test_1 | --- FAIL: TestCompare/postgres (2.62s)
test_1 | compare_test.go:129: CREATE TABLE table1 (col1_0 TIME, col1_1 FLOAT8[] NOT NULL, col1_2 INT8 NOT NULL, col1_3 INT8 NOT NULL, col1_4 VARCHAR NULL, col1_5 TIMESTAMP, col1_6 DECIMAL NULL, col1_7 TEXT, col1_8 DATE, PRIMARY KEY (col1_2, col1_3), col1_9 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_7 AS TEXT))) STORED, col1_10 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_5 AS TEXT))) STORED, col1_11 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_5 AS TEXT))) STORED, col1_12 TEXT GENERATED ALWAYS AS (lower(CAST(col1_5 AS TEXT))) STORED, col1_13 INT8 GENERATED ALWAYS AS (col1_3 + col1_2) STORED, col1_14 INT8 NOT NULL GENERATED ALWAYS AS (col1_3 + 307757417::INT8) STORED);
test_1 | ALTER TABLE table1 ALTER COLUMN col1_7 SET DATA TYPE TEXT;
test_1 | CREATE UNIQUE INDEX ON table1 (col1_8, col1_12 ASC, col1_6 DESC);
test_1 | CREATE TABLE table2 (col1_2 INT8 NOT NULL, col1_3 INT8 NOT NULL, col2_2 INT8, col2_3 INT8 NOT NULL, col2_4 BYTEA NULL, col2_5 REGTYPE, col2_6 TIMETZ NOT NULL, col2_7 TEXT NOT NULL, col2_8 BIT(49), col2_9 FLOAT8 NULL, col2_10 REGTYPE NULL, col2_11 REGPROC NOT NULL, col2_12 INET NULL, col2_13 REGTYPE NOT NULL, col2_14 DECIMAL NULL, col2_15 NAME, col2_16 INT8, col2_17 TEXT, col2_18 BOOL NOT NULL, col2_19 FLOAT8, col2_20 TIMETZ NOT NULL, PRIMARY KEY (col1_2, col1_3, col2_17, col2_18, col2_13, col2_8, col2_10, col2_7, col2_9, col2_3, col2_15, col2_2, col2_16, col2_6, col2_12, col2_14, col2_5, col2_11));
test_1 | ALTER TABLE table2 ALTER COLUMN col2_7 SET DATA TYPE TEXT;
test_1 | ALTER TABLE table2 ALTER COLUMN col2_17 SET DATA TYPE TEXT;
test_1 | CREATE UNIQUE INDEX ON table2 (col1_3 ASC, col2_15, col2_20 DESC, col2_19 DESC, col1_2 DESC);
test_1 | CREATE INDEX ON table2 (col2_2 DESC, col1_3 DESC, col2_6, col2_14 ASC, col2_9 ASC, col2_16, col2_12 DESC, col2_5 DESC);
test_1 | CREATE UNIQUE INDEX ON table2 (col1_3 DESC, col2_20, col2_17 DESC, col2_15 ASC, col2_13 DESC, col2_16 ASC, col2_7, col2_3, col2_11 DESC, col2_18 ASC, col2_9 ASC, col2_8 ASC, col2_19, col2_14 DESC, col2_10 ASC, col2_5 ASC, col2_12, col2_4, col2_2, col2_6, col1_2 DESC);
test_1 | CREATE INDEX ON table2 (col2_5 DESC, col2_6, col2_17 DESC, col2_16 ASC, col1_2, col2_3, col2_14 DESC, col2_10 ASC, col2_4 ASC, col2_20, col2_2 DESC, col2_9 DESC, col2_11, col2_7 DESC, col2_13 ASC, col2_12 ASC, col2_18 ASC, col1_3 ASC);
test_1 | CREATE INDEX ON table2 (col2_10, col1_3 ASC, col2_6 ASC, col2_18 DESC, col2_12, col2_3 DESC, col2_20, col2_4, col2_9 DESC, col2_11, col2_2 DESC, col2_15 ASC, col2_5 DESC, col2_17 ASC, col2_16 DESC);
test_1 | CREATE TABLE table3 (col1_2 INT8 NOT NULL, col1_3 INT8 NOT NULL, col2_17 TEXT, col2_18 BOOL NOT NULL, col2_13 REGTYPE NOT NULL, col2_8 BIT(49), col2_10 REGTYPE NULL, col2_7 TEXT NOT NULL, col2_9 FLOAT8 NULL, col2_3 INT8 NOT NULL, col2_15 NAME, col2_2 INT8, col2_16 INT8, col2_6 TIMETZ NOT NULL, col2_12 INET NULL, col2_14 DECIMAL NULL, col2_5 REGTYPE, col2_11 REGPROC NOT NULL, col3_18 DECIMAL, col3_19 BIT(30) NOT NULL, col3_20 UUID NULL, col3_21 TIMESTAMP NULL, col3_22 VARCHAR NOT NULL, col3_23 REGCLASS, col3_24 REGTYPE NULL, col3_25 BOOL, col3_26 VARCHAR NULL, PRIMARY KEY (col1_2, col1_3, col2_17, col2_18, col2_13, col2_8, col2_10, col2_7, col2_9, col2_3, col2_15, col2_2, col2_16, col2_6, col2_12, col2_14, col2_5, col2_11, col3_20, col3_19, col3_22, col3_21, col3_24, col3_25, col3_18));
test_1 | ALTER TABLE table3 ALTER COLUMN col2_17 SET DATA TYPE TEXT;
test_1 | ALTER TABLE table3 ALTER COLUMN col2_7 SET DATA TYPE TEXT;
test_1 | CREATE UNIQUE INDEX ON table3 (col2_6 DESC, col2_2, col2_18 DESC, col2_14, col2_10 ASC, col3_19 ASC, col2_13 ASC, col3_26 ASC, col2_8 DESC, col3_18 DESC, col3_23 ASC, col3_20 ASC, col1_2, col2_15 ASC, col3_21 ASC, col2_7 DESC, col2_5 ASC, col3_24 ASC, col3_25 ASC, col2_11, col2_3 ASC);
test_1 | CREATE INDEX ON table3 (col3_18 ASC, col2_17 DESC, col2_8, col2_16, col2_7 ASC, col3_25 ASC, col1_3, col3_26 DESC, col3_20 DESC, col3_24 DESC, col2_9 DESC, col2_6 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col2_14 DESC, col2_18 DESC, col3_24 DESC, col3_19 DESC, col2_11 ASC, col2_12, col3_22 ASC, col2_17 DESC, col1_2 ASC, col3_21 DESC, col2_5 DESC, col2_3 ASC, col2_15, col2_8 DESC, col2_7, col3_23, col2_9 ASC, col3_26 ASC, col2_2 ASC, col3_20 DESC, col1_3 ASC, col3_25, col2_16 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col2_9, col3_26, col2_12, col3_21 DESC, col2_7, col2_8 DESC, col2_10 DESC, col3_24 DESC, col2_16 DESC, col2_14 ASC, col3_20, col2_17 DESC, col2_5, col2_2 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col2_8 ASC, col3_25 ASC, col2_17, col3_19 DESC, col3_26 DESC, col2_5, col3_18 DESC, col2_12 DESC, col3_21 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col2_12 DESC);
test_1 | CREATE INDEX ON table3 (col3_25, col2_17, col3_23 DESC, col3_24 DESC, col3_20 ASC, col2_9 DESC, col2_11 DESC, col3_21 DESC, col2_12 ASC, col2_7 ASC, col2_8 DESC, col3_19 ASC, col1_2 DESC, col2_3 DESC, col2_14, col2_13 ASC, col3_26, col3_18 DESC, col2_15, col2_5, col2_2 DESC, col2_16 DESC, col2_6, col3_22 DESC, col2_18 ASC, col1_3 ASC, col2_10 ASC);
test_1 | CREATE INDEX ON table3 (col2_8 DESC, col2_2, col2_13 ASC, col3_23 DESC, col2_15 ASC, col2_3 DESC, col2_14 ASC, col2_16 DESC, col2_5 ASC, col1_2, col3_25, col2_11 ASC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('vvgndk', 'ra', 'bpl');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('ow');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('qkg', 'o', 'jfl', 'ms', 'rgqzzm');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('hu', 'n', 'bu', 'pmoxvs', 'fs');
test_1 |
test_1 | compare_test.go:130: postgres: exec: ERROR: syntax error at or near "(" (SQLSTATE 42601)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@9891b8db5ea2e9339a04fd2731a16658103e969f:
postgres_1 | AND (tab_50170.col1_0) = (tab_50171.col1_0)
postgres_1 | AND (tab_50170.col1_8) = (tab_50171.col1_8)
postgres_1 | WHERE
postgres_1 | NULL
postgres_1 | )
postgres_1 | AS tab_50172
postgres_1 | ORDER BY
postgres_1 | col_93257 NULLS FIRST,
postgres_1 | col_93258 NULLS FIRST,
postgres_1 | col_93259 NULLS FIRST,
postgres_1 | col_93260 NULLS FIRST,
postgres_1 | col_93261 NULLS FIRST,
postgres_1 | col_93262 NULLS FIRST,
postgres_1 | col_93263 NULLS FIRST,
postgres_1 | col_93264 NULLS FIRST,
postgres_1 | col_93265 NULLS FIRST,
postgres_1 | col_93266 NULLS FIRST,
postgres_1 | col_93267 NULLS FIRST,
postgres_1 | col_93268 NULLS FIRST
test_1 | --- FAIL: TestCompare (666.87s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (63.75s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("0.5.0 (Internal)"),
test_1 | + string("0.4.3 (Internal)"),
test_1 | }))
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_wagyu_version()::TEXT AS col_93482) AS tab_50285 ORDER BY col_93482 NULLS FIRST;
test_1 |
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_wagyu_version()::STRING AS col_93482) AS tab_50285 ORDER BY col_93482 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@df07592e26735be7362ef2b815ee163ead00739e:
postgres_1 | CREATE INDEX ON table2 (col2_13, col2_0 ASC, col2_17 ASC, col2_4, col2_3 ASC, col2_1 DESC, col2_16, col2_8 ASC, col2_6, col2_2 DESC, col2_7 DESC, col2_12 DESC) INCLUDE (col2_9, col2_11, col2_15);
postgres_1 | CREATE INDEX ON table2 (col2_0 ASC) INCLUDE (col2_1, col2_2, col2_3, col2_5, col2_6, col2_9, col2_10, col2_11, col2_12, col2_15);
postgres_1 | CREATE INDEX ON table2 (col2_13 ASC, col2_11 ASC, col2_12 DESC, col2_3, col2_17 DESC, col2_6, col2_1 DESC, col2_7 DESC) INCLUDE (col2_2, col2_4, col2_9, col2_16);
postgres_1 | CREATE TABLE table3 (col1_1 BOOL NOT NULL, col3_1 TIMETZ NOT NULL, col3_2 TEXT NOT NULL, col3_3 TIMESTAMPTZ, col3_4 BIT(44) NOT NULL, col3_5 DECIMAL, col3_6 BIT(42), col3_7 OID NULL, col3_8 INT8 NULL, col3_9 TIME, col3_10 REGPROC, col3_11 INT8 NULL, col3_12 VARCHAR, col3_13 "char" NOT NULL, col3_14 INT8, col3_15 REGPROCEDURE NOT NULL, col3_16 REGPROCEDURE NULL, col3_17 CHAR, col3_18 TIMETZ NULL, PRIMARY KEY (col1_1, col3_1));
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_6 ASC, col3_15 DESC, col3_3, col3_16 DESC, col3_14 DESC, col1_1 DESC, col3_17 DESC, col3_13 ASC, col3_8, col3_10 DESC, col3_9 ASC, col3_2, col3_11 DESC, col3_12 ASC) INCLUDE (col3_4, col3_7, col3_18);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_3, col3_13, col3_11, col3_8 DESC, col3_7, col3_16 DESC, col1_1, col3_10 ASC, col3_17, col3_5 DESC, col3_15 DESC, col3_2 DESC, col3_4, col3_6, col3_18 ASC, col3_14, col3_1, col3_12);
postgres_1 | CREATE INDEX ON table3 (col3_4 DESC, col3_5 ASC, col3_10 ASC, col3_1, col3_14 DESC, col3_12 ASC);
postgres_1 | CREATE TABLE table4 (col4_0 OID NOT NULL, col4_1 BIT(13) NOT NULL, col4_2 DATE NOT NULL, col4_3 BIT(42) NOT NULL, col4_4 GEOMETRY NULL, PRIMARY KEY (col4_0, col4_3, col4_2), col4_5 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_6 TEXT GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col4_2 AS TEXT))) STORED, col4_8 TEXT GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED);
postgres_1 | CREATE INDEX ON table4 (col4_0, col4_3 ASC, col4_6 ASC, col4_5, col4_2, col4_8);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_5 ASC, col4_2 DESC, col4_1 ASC, col4_6, col4_8 ASC);
postgres_1 | CREATE INDEX ON table4 (col4_7 ASC, col4_1, col4_2, col4_8) INCLUDE (col4_6);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_7 ASC) INCLUDE (col4_1, col4_4, col4_6);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('umb', 'td', 'wvxbpk', 'cgnv');
postgres_1 |
test_1 | --- FAIL: TestCompare (606.30s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (2.38s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:150: CREATE TABLE table1 (col1_0 INT8, col1_1 BOOL NOT NULL, PRIMARY KEY (col1_1), col1_2 INT8 NOT NULL GENERATED ALWAYS AS (col1_0 + (-1834074160)::INT8) STORED);
test_1 | CREATE TABLE table2 (col2_0 NAME NULL, col2_1 BOOL NOT NULL, col2_2 DATE NULL, col2_3 INT8 NOT NULL, col2_4 REGPROC, col2_5 BOX2D NOT NULL, col2_6 REGPROCEDURE, col2_7 FLOAT8 NOT NULL, col2_8 BYTEA, col2_9 GEOGRAPHY NOT NULL, col2_10 INT8, col2_11 INT8 NOT NULL GENERATED ALWAYS AS (col2_10 + col2_3) STORED, col2_12 INT8 GENERATED ALWAYS AS (col2_10 + col2_3) STORED, col2_13 TEXT GENERATED ALWAYS AS (lower(CAST(col2_1 AS TEXT))) STORED, col2_14 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col2_5 AS TEXT))) STORED, col2_15 INT8 GENERATED ALWAYS AS (col2_3 + col2_10) STORED, col2_16 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_4 IS NULL THEN NULL ELSE NULL END) STORED, col2_17 INT8 GENERATED ALWAYS AS (col2_10 + (-1247273749)::INT8) STORED);
test_1 | CREATE INDEX ON table2 (col2_13, col2_0 ASC, col2_17 ASC, col2_4, col2_3 ASC, col2_1 DESC, col2_16, col2_8 ASC, col2_6, col2_2 DESC, col2_7 DESC, col2_12 DESC) INCLUDE (col2_9, col2_11, col2_15);
test_1 | CREATE INDEX ON table2 (col2_0 ASC) INCLUDE (col2_1, col2_2, col2_3, col2_5, col2_6, col2_9, col2_10, col2_11, col2_12, col2_15);
test_1 | CREATE INDEX ON table2 (col2_13 ASC, col2_11 ASC, col2_12 DESC, col2_3, col2_17 DESC, col2_6, col2_1 DESC, col2_7 DESC) INCLUDE (col2_2, col2_4, col2_9, col2_16);
test_1 | CREATE TABLE table3 (col1_1 BOOL NOT NULL, col3_1 TIMETZ NOT NULL, col3_2 TEXT NOT NULL, col3_3 TIMESTAMPTZ, col3_4 BIT(44) NOT NULL, col3_5 DECIMAL, col3_6 BIT(42), col3_7 OID NULL, col3_8 INT8 NULL, col3_9 TIME, col3_10 REGPROC, col3_11 INT8 NULL, col3_12 VARCHAR, col3_13 "char" NOT NULL, col3_14 INT8, col3_15 REGPROCEDURE NOT NULL, col3_16 REGPROCEDURE NULL, col3_17 CHAR, col3_18 TIMETZ NULL, PRIMARY KEY (col1_1, col3_1));
test_1 | CREATE UNIQUE INDEX ON table3 (col3_6 ASC, col3_15 DESC, col3_3, col3_16 DESC, col3_14 DESC, col1_1 DESC, col3_17 DESC, col3_13 ASC, col3_8, col3_10 DESC, col3_9 ASC, col3_2, col3_11 DESC, col3_12 ASC) INCLUDE (col3_4, col3_7, col3_18);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3, col3_13, col3_11, col3_8 DESC, col3_7, col3_16 DESC, col1_1, col3_10 ASC, col3_17, col3_5 DESC, col3_15 DESC, col3_2 DESC, col3_4, col3_6, col3_18 ASC, col3_14, col3_1, col3_12);
test_1 | CREATE INDEX ON table3 (col3_4 DESC, col3_5 ASC, col3_10 ASC, col3_1, col3_14 DESC, col3_12 ASC);
test_1 | CREATE TABLE table4 (col4_0 OID NOT NULL, col4_1 BIT(13) NOT NULL, col4_2 DATE NOT NULL, col4_3 BIT(42) NOT NULL, col4_4 GEOMETRY NULL, PRIMARY KEY (col4_0, col4_3, col4_2), col4_5 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_6 TEXT GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col4_2 AS TEXT))) STORED, col4_8 TEXT GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED);
test_1 | CREATE INDEX ON table4 (col4_0, col4_3 ASC, col4_6 ASC, col4_5, col4_2, col4_8);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_5 ASC, col4_2 DESC, col4_1 ASC, col4_6, col4_8 ASC);
test_1 | CREATE INDEX ON table4 (col4_7 ASC, col4_1, col4_2, col4_8) INCLUDE (col4_6);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_7 ASC) INCLUDE (col4_1, col4_4, col4_6);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('umb', 'td', 'wvxbpk', 'cgnv');
test_1 |
test_1 | compare_test.go:151: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@6e5dfc46eab59f7fd6e77ee5dbab5bac715330de:
postgres_1 | 2021-04-04 05:26:16.766 UTC [125] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (
postgres_1 | SELECT
postgres_1 | extract('E'::TEXT::TEXT, '2000-01-01 04:00:00'::TIMESTAMP::TIMESTAMP)::FLOAT8 AS col_28443,
postgres_1 | tab_17540.col3_3 AS col_28444
postgres_1 | FROM
postgres_1 | postgres.public.table2 AS tab_17539
postgres_1 | JOIN postgres.public.table3 AS tab_17540 ON
postgres_1 | (tab_17539.col2_0) = (tab_17540.col3_5),
postgres_1 | postgres.public.table3 AS tab_17541
postgres_1 | JOIN postgres.public.table3 AS tab_17542 ON (tab_17541.col3_5) = (tab_17542.col3_2)
postgres_1 | WHERE
postgres_1 | true
postgres_1 | )
postgres_1 | AS tab_17543
postgres_1 | ORDER BY
postgres_1 | col_28443 NULLS FIRST, col_28444 NULLS FIRST
test_1 | --- FAIL: TestCompare (622.89s)
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | --- FAIL: TestCompare/postgres (19.33s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string(`POSTGIS="3.1.1 aaf4c79" [EXTENSION] PGSQL="130" GEOS="3.7.1-CAPI-1.11.1 27a5e771" PROJ="Rel. 5.2.0, September 15th, 2018" LIBXML="2.9.4" LIBJSON="0.12.1" LIBPROTOBUF="1.3.1" WAGYU="0.5.0 (Internal)" TOPOLOGY`),
test_1 | + string(`POSTGIS="3.0.1 ec2a9aa" [EXTENSION] PGSQL="120" GEOS="3.8.1-CAPI-1.13.3" PROJ="4.9.3" LIBXML="2.9.10" LIBJSON="0.13.1" LIBPROTOBUF="1.4.2" WAGYU="0.4.3 (Internal)"`),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_full_version()::STRING AS col_28490) AS tab_17562 ORDER BY col_28490 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_full_version()::TEXT AS col_28490) AS tab_17562 ORDER BY col_28490 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@f676f07152b8d0ca203831bb9e75d9b7d3ed5b79:
postgres_1 | tab_91634.col2_8 ASC, tab_91634.tableoid DESC, tab_91634.col2_6
postgres_1 | )
postgres_1 | AS tab_91635
postgres_1 | ORDER BY
postgres_1 | col_163757 NULLS FIRST,
postgres_1 | col_163758 NULLS FIRST,
postgres_1 | col_163759 NULLS FIRST,
postgres_1 | col_163760 NULLS FIRST,
postgres_1 | col_163761 NULLS FIRST
test_1 | --- FAIL: TestCompare (696.61s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (93.46s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("G8"),
test_1 | + string("G8.0"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('G':::STRING::STRING || 8.0:::FLOAT8::FLOAT8)::STRING AS col_163937) AS tab_91720
test_1 | ORDER BY
test_1 | col_163937 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('G'::TEXT::TEXT || 8.0::FLOAT8::FLOAT8)::TEXT AS col_163937) AS tab_91720
test_1 | ORDER BY
test_1 | col_163937 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
(compose).TestComposeCompare failed on master@651184b3cfbd7c6d336bb49e7152e3d48ea06416:
postgres_1 | CREATE TABLE table2 (col2_0 BOX2D, col2_1 FLOAT8, col2_2 FLOAT8 NOT NULL, col2_3 GEOMETRY NULL, col2_4 BYTEA NOT NULL, col2_5 GEOMETRY NOT NULL, col2_6 CHAR NULL, col2_7 INTERVAL NULL, col2_8 BIT(18) NOT NULL, col2_9 INET, PRIMARY KEY (col2_2, col2_8, col2_4), col2_10 FLOAT8 GENERATED ALWAYS AS (col2_2 + col2_1) STORED);
postgres_1 | CREATE INDEX ON table2 (col2_6, col2_10 ASC) INCLUDE (col2_0, col2_1, col2_3, col2_5, col2_7);
postgres_1 | CREATE TABLE table3 (col3_0 GEOMETRY NULL, col3_1 DECIMAL, col3_2 FLOAT8 NOT NULL, col3_3 TEXT[], col3_4 TIMESTAMP NULL, col3_5 "char", col3_6 "char" NOT NULL, col3_7 OID[] NOT NULL, PRIMARY KEY (col3_6), col3_8 DECIMAL NOT NULL GENERATED ALWAYS AS (col3_1 + 'NaN'::DECIMAL) STORED, col3_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_3 IS NULL THEN ''::TEXT ELSE 'X'::TEXT END) STORED, col3_10 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_7 IS NULL THEN NULL ELSE e'i[\x14h9\b`\x12'::TEXT END) STORED, col3_11 TEXT NULL GENERATED ALWAYS AS (lower(col3_6)) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_2 DESC, col3_11, col3_6, col3_1 DESC);
postgres_1 | CREATE INDEX ON table3 (col3_6 ASC, col3_9 DESC);
postgres_1 | CREATE TABLE table4 (col4_0 GEOMETRY NOT NULL, col4_1 OID, col4_2 FLOAT8 NOT NULL, col4_3 REGCLASS NULL, col4_4 FLOAT8 NOT NULL, col4_5 NAME NOT NULL, col4_6 REGTYPE NOT NULL, col4_7 INT8 NOT NULL, col4_8 INTERVAL, PRIMARY KEY (col4_4, col4_6, col4_7), col4_9 FLOAT8 GENERATED ALWAYS AS (col4_4 + col4_2) STORED, col4_10 INT8 GENERATED ALWAYS AS (col4_7 + 2052586798::INT8) STORED, col4_11 FLOAT8 GENERATED ALWAYS AS (col4_4 + (-0.7612022757530212)::FLOAT8) STORED, col4_12 INT8 NULL GENERATED ALWAYS AS (col4_7 + 843980844::INT8) STORED, col4_13 FLOAT8 NOT NULL GENERATED ALWAYS AS (col4_4 + col4_2) STORED, col4_14 INT8 NOT NULL GENERATED ALWAYS AS (col4_7 + (-414366783)::INT8) STORED, col4_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col4_3 IS NULL THEN e'\t\x043('::TEXT ELSE e'S\x1dbk'::TEXT END) STORED, col4_16 TEXT GENERATED ALWAYS AS (lower(CAST(col4_8 AS TEXT))) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_10 ASC, col4_2 DESC, col4_1 DESC, col4_7, col4_6 DESC, col4_14, col4_4 DESC, col4_5, col4_11 DESC, col4_3, col4_15 DESC, col4_12);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_12);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_11, col4_12 ASC, col4_9, col4_5, col4_15 DESC, col4_6 DESC, col4_16 ASC, col4_10, col4_4 ASC) INCLUDE (col4_1, col4_2, col4_8, col4_13);
postgres_1 | CREATE TABLE table5 (col5_0 INTERVAL, col5_1 GEOGRAPHY NULL, col5_2 VARCHAR NULL, col5_3 FLOAT8 NULL, col5_4 BOOL, col5_5 REGTYPE NULL, col5_6 TIMESTAMP NOT NULL, col5_7 REGNAMESPACE NULL, col5_8 GEOGRAPHY, col5_9 REGNAMESPACE NULL, col5_10 DECIMAL, col5_11 REGNAMESPACE, col5_12 TEXT GENERATED ALWAYS AS (CASE WHEN col5_9 IS NULL THEN e'\U00002603'::TEXT ELSE NULL END) STORED, col5_13 TEXT GENERATED ALWAYS AS (lower(col5_2)) STORED, col5_14 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_9 IS NULL THEN e'$XC\t:*A'::TEXT ELSE NULL END) STORED, col5_15 FLOAT8 GENERATED ALWAYS AS (col5_3 + (-1.2443554896369446)::FLOAT8) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table5 (col5_6 DESC, col5_12);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('exnll', 'r', 'snx');
postgres_1 |
test_1 | --- FAIL: TestCompare (605.62s)
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | --- FAIL: TestCompare/postgres (2.20s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:150: CREATE TABLE table1 (col1_0 "char" NOT NULL, col1_1 GEOGRAPHY NOT NULL, col1_2 NAME, col1_3 TIMETZ, col1_4 BYTEA NULL, col1_5 FLOAT8 NOT NULL, col1_6 BOX2D, col1_7 INET NOT NULL, col1_8 "char" NOT NULL, col1_9 GEOMETRY NULL, col1_10 REGCLASS NULL, col1_11 REGNAMESPACE NULL, col1_12 TEXT NOT NULL GENERATED ALWAYS AS (lower(col1_0)) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3 DESC);
test_1 | CREATE INDEX ON table1 (col1_4 DESC, col1_11, col1_2 ASC, col1_5 DESC, col1_7 ASC, col1_8) INCLUDE (col1_0, col1_3, col1_9, col1_10);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_5, col1_10, col1_11 ASC, col1_3 DESC, col1_2 ASC, col1_7 ASC) INCLUDE (col1_0, col1_4, col1_8, col1_12);
test_1 | CREATE TABLE table2 (col2_0 BOX2D, col2_1 FLOAT8, col2_2 FLOAT8 NOT NULL, col2_3 GEOMETRY NULL, col2_4 BYTEA NOT NULL, col2_5 GEOMETRY NOT NULL, col2_6 CHAR NULL, col2_7 INTERVAL NULL, col2_8 BIT(18) NOT NULL, col2_9 INET, PRIMARY KEY (col2_2, col2_8, col2_4), col2_10 FLOAT8 GENERATED ALWAYS AS (col2_2 + col2_1) STORED);
test_1 | CREATE INDEX ON table2 (col2_6, col2_10 ASC) INCLUDE (col2_0, col2_1, col2_3, col2_5, col2_7);
test_1 | CREATE TABLE table3 (col3_0 GEOMETRY NULL, col3_1 DECIMAL, col3_2 FLOAT8 NOT NULL, col3_3 TEXT[], col3_4 TIMESTAMP NULL, col3_5 "char", col3_6 "char" NOT NULL, col3_7 OID[] NOT NULL, PRIMARY KEY (col3_6), col3_8 DECIMAL NOT NULL GENERATED ALWAYS AS (col3_1 + 'NaN'::DECIMAL) STORED, col3_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_3 IS NULL THEN ''::TEXT ELSE 'X'::TEXT END) STORED, col3_10 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col3_7 IS NULL THEN NULL ELSE e'i[\x14h9\b`\x12'::TEXT END) STORED, col3_11 TEXT NULL GENERATED ALWAYS AS (lower(col3_6)) STORED);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_2 DESC, col3_11, col3_6, col3_1 DESC);
test_1 | CREATE INDEX ON table3 (col3_6 ASC, col3_9 DESC);
test_1 | CREATE TABLE table4 (col4_0 GEOMETRY NOT NULL, col4_1 OID, col4_2 FLOAT8 NOT NULL, col4_3 REGCLASS NULL, col4_4 FLOAT8 NOT NULL, col4_5 NAME NOT NULL, col4_6 REGTYPE NOT NULL, col4_7 INT8 NOT NULL, col4_8 INTERVAL, PRIMARY KEY (col4_4, col4_6, col4_7), col4_9 FLOAT8 GENERATED ALWAYS AS (col4_4 + col4_2) STORED, col4_10 INT8 GENERATED ALWAYS AS (col4_7 + 2052586798::INT8) STORED, col4_11 FLOAT8 GENERATED ALWAYS AS (col4_4 + (-0.7612022757530212)::FLOAT8) STORED, col4_12 INT8 NULL GENERATED ALWAYS AS (col4_7 + 843980844::INT8) STORED, col4_13 FLOAT8 NOT NULL GENERATED ALWAYS AS (col4_4 + col4_2) STORED, col4_14 INT8 NOT NULL GENERATED ALWAYS AS (col4_7 + (-414366783)::INT8) STORED, col4_15 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col4_3 IS NULL THEN e'\t\x043('::TEXT ELSE e'S\x1dbk'::TEXT END) STORED, col4_16 TEXT GENERATED ALWAYS AS (lower(CAST(col4_8 AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_10 ASC, col4_2 DESC, col4_1 DESC, col4_7, col4_6 DESC, col4_14, col4_4 DESC, col4_5, col4_11 DESC, col4_3, col4_15 DESC, col4_12);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_12);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_11, col4_12 ASC, col4_9, col4_5, col4_15 DESC, col4_6 DESC, col4_16 ASC, col4_10, col4_4 ASC) INCLUDE (col4_1, col4_2, col4_8, col4_13);
test_1 | CREATE TABLE table5 (col5_0 INTERVAL, col5_1 GEOGRAPHY NULL, col5_2 VARCHAR NULL, col5_3 FLOAT8 NULL, col5_4 BOOL, col5_5 REGTYPE NULL, col5_6 TIMESTAMP NOT NULL, col5_7 REGNAMESPACE NULL, col5_8 GEOGRAPHY, col5_9 REGNAMESPACE NULL, col5_10 DECIMAL, col5_11 REGNAMESPACE, col5_12 TEXT GENERATED ALWAYS AS (CASE WHEN col5_9 IS NULL THEN e'\U00002603'::TEXT ELSE NULL END) STORED, col5_13 TEXT GENERATED ALWAYS AS (lower(col5_2)) STORED, col5_14 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_9 IS NULL THEN e'$XC\t:*A'::TEXT ELSE NULL END) STORED, col5_15 FLOAT8 GENERATED ALWAYS AS (col5_3 + (-1.2443554896369446)::FLOAT8) STORED);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_6 DESC, col5_12);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('exnll', 'r', 'snx');
test_1 |
test_1 | compare_test.go:151: postgres: exec: ERROR: conversion between UTF8 and SQL_ASCII is not supported (SQLSTATE 0A000)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` Related: - #62602 compose: TestComposeCompare failed [C-test-failure](https://api.github.com/repos/cockroachdb/cockroach/labels/C-test-failure) [O-robot](https://api.github.com/repos/cockroachdb/cockroach/labels/O-robot) [branch-release-21.1](https://api.github.com/repos/cockroachdb/cockroach/labels/branch-release-21.1) [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)
compose.TestComposeCompare failed with artifacts on master @ 704a9fa4ffd144a2bc977bc1a6853a853b17e70e:
postgres_1 | CREATE TYPE rand_typ_4 AS ENUM ('bvvdp', 'gpoo', 'c', 'fbs');
postgres_1 |
test_1 | --- FAIL: TestCompare (605.88s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (3.50s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:150: CREATE TABLE table1 (col1_0 REGNAMESPACE NOT NULL, col1_1 REGPROC, col1_2 BIT(6), col1_3 VARCHAR NOT NULL, col1_4 TIME NOT NULL, col1_5 VARCHAR NOT NULL, col1_6 OID NULL, col1_7 TIMETZ, col1_8 INET NULL, PRIMARY KEY (col1_0, col1_5, col1_4, col1_3), col1_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_0 IS NULL THEN 'q$f``'::TEXT ELSE e'Pc\x1f'::TEXT END) STORED, col1_10 TEXT GENERATED ALWAYS AS (lower(col1_3)) STORED, col1_11 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_7 AS TEXT))) STORED, col1_12 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col1_1 IS NULL THEN '!80x'::TEXT ELSE e'R\x04\x04:\x12'::TEXT END) STORED, col1_13 TEXT GENERATED ALWAYS AS (lower(col1_5)) STORED, col1_14 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_8 AS TEXT))) STORED, col1_15 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_1 IS NULL THEN 'w'::TEXT ELSE e'Cr\x12\n\x13\b'::TEXT END) STORED, col1_16 TEXT GENERATED ALWAYS AS (lower(CAST(col1_7 AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_7);
test_1 | CREATE INDEX ON table1 (col1_13, col1_3 DESC, col1_1, col1_2 DESC, col1_8 DESC, col1_6 DESC, col1_5 ASC, col1_12);
test_1 | CREATE INDEX ON table1 (col1_12, col1_16 ASC, col1_11 DESC);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3);
test_1 | CREATE TABLE table2 (col2_0 INT8[], col2_1 BOOL, col2_2 OID NOT NULL, col2_3 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_0 IS NULL THEN 'hAg oV$k'::TEXT ELSE ''::TEXT END) STORED, col2_4 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_0 IS NULL THEN '|:5'::TEXT ELSE 'Z'::TEXT END) STORED);
test_1 | CREATE TABLE table3 (col3_0 NAME NOT NULL);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0);
test_1 | CREATE INDEX ON table3 (col3_0 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 ASC);
test_1 | CREATE TABLE table4 (col4_0 NAME, col4_1 OID NULL, col4_2 TEXT NULL GENERATED ALWAYS AS (lower(col4_0)) STORED);
test_1 | CREATE INDEX ON table4 (col4_0, col4_2 DESC);
test_1 | CREATE INDEX ON table4 (col4_0 ASC, col4_2 ASC);
test_1 | CREATE INDEX ON table4 (col4_0);
test_1 | CREATE TABLE table5 (col5_0 TEXT, col5_1 INT8[] NOT NULL, col5_2 REGCLASS NOT NULL, col5_3 DATE NOT NULL, col5_4 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_2 IS NULL THEN e'\''::TEXT ELSE e'.t\x06vOKeR'::TEXT END) STORED, col5_5 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col5_3 AS TEXT))) STORED, col5_6 TEXT GENERATED ALWAYS AS (CASE WHEN col5_1 IS NULL THEN e';\x05'::TEXT ELSE '~}eCbNBQ'::TEXT END) STORED);
test_1 | CREATE INDEX ON table5 (col5_3 ASC, col5_4 ASC, col5_2 ASC, col5_5 DESC) INCLUDE (col5_0);
test_1 | ALTER TABLE table3 ADD FOREIGN KEY (col3_0) REFERENCES table1 (col1_3);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('zs');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('lk');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('xxhaf', 'kw', 'lsba', 'c', 'pbyu', 'qzsqtp');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('suzxp');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('bvvdp', 'gpoo', 'c', 'fbs');
test_1 |
test_1 | compare_test.go:151: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
compose.TestComposeCompare failed with artifacts on master @ 9a335c3b2eaac8a5b36ed4e4299be0bbb3d9f548:
test_1 | tab_378416.col2_16 AS col_634782,
test_1 | '':::STRING AS col_634783,
test_1 | '2025-09-24 01:45:40.000946':::TIMESTAMP AS col_634784,
test_1 | tab_378416.col2_5 AS col_634785,
test_1 | tab_378413.col1_7 AS col_634786
test_1 | FROM
test_1 | postgres.public.table2 AS tab_378408
test_1 | JOIN postgres.public.table2 AS tab_378409 ON (tab_378408.col2_0) = (tab_378409.col2_0)
test_1 | JOIN postgres.public.table1@[0] AS tab_378410 ON (tab_378408.col2_15) = (tab_378410.col1_7)
test_1 | JOIN postgres.public.table1 AS tab_378411
test_1 | JOIN postgres.public.table1 AS tab_378412 ON
test_1 | (tab_378411.col1_1) = (tab_378412.col1_1) AND (tab_378411.col1_5) = (tab_378412.col1_5)
test_1 | JOIN postgres.public.table1 AS tab_378413
test_1 | JOIN postgres.public.table1 AS tab_378414 ON (tab_378413.col1_1) = (tab_378414.col1_1) ON
test_1 | (tab_378411.col1_7) = (tab_378414.col1_7)
test_1 | AND (tab_378412.col1_7) = (tab_378413.col1_7)
test_1 | AND (tab_378412.col1_7) = (tab_378413.col1_7) ON
test_1 | (tab_378408.col2_15) = (tab_378411.col1_7)
test_1 | AND (tab_378410.col1_9) = (tab_378412.col1_7)
test_1 | AND (tab_378408.col2_15) = (tab_378412.col1_7)
test_1 | AND (tab_378410.col1_8) = (tab_378411.col1_7)
test_1 | AND (tab_378409.col2_15) = (tab_378411.col1_7)
test_1 | JOIN postgres.public.table2@[0] AS tab_378415 ON
test_1 | (tab_378411.col1_7) = (tab_378415.col2_10)
test_1 | AND (tab_378409.col2_15) = (tab_378415.col2_15)
test_1 | AND (tab_378408.col2_15) = (tab_378415.col2_12)
test_1 | JOIN postgres.public.table2@table2_col2_0_col2_15_col2_2_col2_18_col2_1_key AS tab_378416 ON
test_1 | (tab_378411.col1_7) = (tab_378416.col2_10)
test_1 | ORDER BY
test_1 | tab_378416.col2_6
test_1 | )
test_1 | AS tab_378417
test_1 | ORDER BY
test_1 | col_634782 NULLS FIRST,
test_1 | col_634783 NULLS FIRST,
test_1 | col_634784 NULLS FIRST,
test_1 | col_634785 NULLS FIRST,
test_1 | col_634786 NULLS FIRST
test_1 | compare_test.go:183: cockroach1: ping: context deadline exceeded
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
compose.TestComposeCompare failed with artifacts on master @ 909fce463817b0a165d380de6451bd6d4a43b4a5:
postgres_1 | WHERE
postgres_1 | (NULL OR (NULL::GEOGRAPHY IN (SELECT NULL::GEOGRAPHY AS col_27015 FROM postgres.public.table2 AS tab_17346 WHERE st_expand(NULL::BOX2D, 6.0::FLOAT8::FLOAT8, tab_17346.col2_4::FLOAT8)::BOX2D::BOX2D IN (st_box2dfromgeohash('I'::TEXT::TEXT)::BOX2D, NULL, NULL, NULL))))
postgres_1 | ORDER BY
postgres_1 | tab_17343.col1_7
postgres_1 | )
postgres_1 | AS tab_17347
postgres_1 | ORDER BY
postgres_1 | col_27016 NULLS FIRST, col_27017 NULLS FIRST, col_27018 NULLS FIRST
test_1 | --- FAIL: TestCompare (626.62s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (23.54s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("tJ"),
test_1 | + string("trueJ"),
test_1 | &net.IPNet{IP: s"::", Mask: {0x00, 0x00, 0x00, 0x00, ...}},
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT (true::BOOL || 'J':::STRING::STRING)::STRING AS col_27289, '::7/0':::INET AS col_27290) AS tab_17497
test_1 | ORDER BY
test_1 | col_27289 NULLS FIRST, col_27290 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT (true::BOOL || 'J'::TEXT::TEXT)::TEXT AS col_27289, '::7/0'::INET AS col_27290) AS tab_17497
test_1 | ORDER BY
test_1 | col_27289 NULLS FIRST, col_27290 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
compose.TestComposeCompare failed with artifacts on master @ 71a023f9212cf1285a4475ed85d5ab6eefa9bdf7:
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (26.01s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string(``D{"A": {"A": {"D": "I"}, "B": [{"G": true}], "H": null}}``),
test_1 | + string(``D'{"A": {"A": {"D": "I"}, "B": [{"G": true}], "H": null}}'``),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | ('D':::STRING::STRING || '{"A": {"A": {"D": "I"}, "B": [{"G": true}], "H": null}}':::JSONB::JSONB)::STRING
test_1 | AS col_34862
test_1 | )
test_1 | AS tab_17300
test_1 | ORDER BY
test_1 | col_34862 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | ('D'::TEXT::TEXT || '{"A": {"A": {"D": "I"}, "B": [{"G": true}], "H": null}}'::JSONB::JSONB)::TEXT
test_1 | AS col_34862
test_1 | )
test_1 | AS tab_17300
test_1 | ORDER BY
test_1 | col_34862 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
compose.TestComposeCompare failed with artifacts on master @ c40ed790b3a19f20de30375788b0359f25dace97:
postgres_1 | tab_38902.col1_4 AS col_70476,
postgres_1 | tab_38902.col1_0 AS col_70477
postgres_1 | FROM
postgres_1 | postgres.public.table1 AS tab_38902
postgres_1 | ORDER BY
postgres_1 | tab_38902.col1_3 DESC, tab_38902.col1_2 ASC, tab_38902.col1_6 DESC, tab_38902.col1_3 DESC, tab_38902.col1_3
postgres_1 | )
postgres_1 | AS tab_38903
postgres_1 | ORDER BY
postgres_1 | col_70468 NULLS FIRST,
postgres_1 | col_70469 NULLS FIRST,
postgres_1 | col_70470 NULLS FIRST,
postgres_1 | col_70471 NULLS FIRST,
postgres_1 | col_70472 NULLS FIRST,
postgres_1 | col_70473 NULLS FIRST,
postgres_1 | col_70474 NULLS FIRST,
postgres_1 | col_70475 NULLS FIRST,
postgres_1 | col_70476 NULLS FIRST,
postgres_1 | col_70477 NULLS FIRST
test_1 | --- FAIL: TestCompare (644.62s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (42.93s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:133: initializing connection: postgres
test_1 | compare_test.go:176: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("3.0.1 ec2a9aa"),
test_1 | + string("3.1.1 aaf4c79"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_scripts_released()::STRING AS col_70539) AS tab_38938 ORDER BY col_70539 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_scripts_released()::TEXT AS col_70539) AS tab_38938 ORDER BY col_70539 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 7495d19e50d8fd14140220f3ba5c7ad951abafa6:
postgres_1 | 2021-04-13 18:14:14.477 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-04-13 18:14:14.483 UTC [95] LOG: database system was shut down at 2021-04-13 18:14:14 UTC
postgres_1 | 2021-04-13 18:14:14.489 UTC [1] LOG: database system is ready to accept connections
test_1 | --- FAIL: TestCompare (604.12s)
test_1 | compare_test.go:117: Checking connection to: postgres
test_1 | compare_test.go:117: Checking connection to: cockroach1
test_1 | compare_test.go:117: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (2.06s)
test_1 | compare_test.go:126: starting test: postgres
test_1 | compare_test.go:133: initializing connection: cockroach1
test_1 | compare_test.go:150: SET CLUSTER SETTING "sql.defaults.drop_enum_value.enabled" = true;
test_1 | SET enable_drop_enum_value = true;
test_1 | SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
test_1 | SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
test_1 | CREATE TABLE table1 (col1_0 TIMESTAMP[], col1_1 "char" NOT NULL, col1_2 TIMESTAMPTZ NOT NULL, col1_3 FLOAT8, col1_4 REGPROCEDURE NULL, col1_5 UUID NOT NULL, col1_6 BOX2D, col1_7 STRING NOT NULL AS (CASE WHEN col1_2 IS NULL THEN 'a@':::STRING ELSE e'a@ZQ_d\x7fs':::STRING END) STORED, col1_8 STRING AS (CASE WHEN col1_0 IS NULL THEN e'(\x19':::STRING ELSE '':::STRING END) STORED, col1_9 STRING NOT NULL AS (CASE WHEN col1_2 IS NULL THEN e'!Q\x16':::STRING ELSE e']"\x07eeR,]b':::STRING END) STORED, col1_10 STRING NOT NULL AS (lower(CAST(col1_5 AS STRING))) STORED, col1_11 STRING AS (lower(CAST(col1_6 AS STRING))) VIRTUAL);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_11 ASC, col1_5 ASC, col1_3);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_3);
test_1 | CREATE TABLE table2 (col2_0 CHAR NULL, col2_1 INTERVAL NOT NULL, col2_2 INT2 NULL, col2_3 GEOMETRY NULL, col2_4 BIT(47) NULL, col2_5 BYTES NOT NULL, col2_6 INT2 NULL AS (col2_2 + (-19871):::INT8) VIRTUAL);
test_1 | CREATE INDEX ON table2 (col2_4 ASC, col2_0 DESC, col2_5 ASC, col2_1 DESC);
test_1 | CREATE INDEX ON table2 (col2_6 ASC) STORING (col2_1, col2_3, col2_4, col2_5);
test_1 | CREATE INDEX ON table2 (col2_0, col2_6 DESC) STORING (col2_5);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_0, col2_5, col2_2);
test_1 | CREATE INDEX ON table2 (col2_0 ASC, col2_2 DESC) STORING (col2_4);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_5 ASC, col2_0, col2_6 ASC, col2_2 ASC);
test_1 | CREATE TABLE table3 (col3_0 REGTYPE, col3_1 OID NULL, col3_2 VARCHAR NOT NULL, col3_3 FLOAT4 NOT NULL, col3_4 BOX2D, col3_5 BOX2D NOT NULL, col3_6 BIT(43), col3_7 INT8, col3_8 FLOAT8 NULL, col3_9 TIMESTAMP NOT NULL, col3_10 BIT(38)[], col3_11 GEOMETRY, col3_12 UUID, col3_13 JSONB NULL, col3_14 INT4, FAMILY (col3_9, col3_2), FAMILY (col3_14, col3_0, col3_10), FAMILY (col3_13, col3_11), FAMILY (col3_1), FAMILY (col3_4, col3_8, col3_12), FAMILY (col3_3), FAMILY (col3_5), FAMILY (col3_6, col3_7));
test_1 | CREATE INDEX ON table3 (col3_14, col3_12 ASC, col3_9, col3_1 ASC, col3_8, col3_7 DESC) STORING (col3_2, col3_5, col3_6, col3_13);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3, col3_0 DESC);
test_1 | ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2198506171, "histo_col_type": "", "name": "__auto__", "null_count": 450230451, "row_count": 4000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 567714865, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3396055614, "histo_col_type": "", "name": "__auto__", "null_count": 21181829, "row_count": 4000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1681789669, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2459372738, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1529145237, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 744810863, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "\\u0003L\\u0018{fw."}, {"distinct_range": 0, "num_eq": 200, "num_range": 8611470841008874446, "upper_bound": "\\n\\t\\u0004>"}, {"distinct_range": 4000000, "num_eq": 519632737399276121, "num_range": 4000000, "upper_bound": "\\u0016\\u00178w^\\u001f]"}, {"distinct_range": 1180851031183228700, "num_eq": 900000, "num_range": 1180851031183228567, "upper_bound": "#BZP-"}, {"distinct_range": 2000000000, "num_eq": 9041926978672199579, "num_range": 2000000000, "upper_bound": "+S&xH\\\\"}, {"distinct_range": 872675460730590100, "num_eq": 126306803699886236, "num_range": 872675460730590129, "upper_bound": "1.r\\u0001k)B\'T"}, {"distinct_range": 100, "num_eq": 6124296982913906190, "num_range": 100, "upper_bound": "b\\u0016;"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 1301966452, "row_count": 4000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509398161, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3018561229, "histo_col_type": "", "name": "__auto__", "null_count": 3724512085, "row_count": 4000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2658289426, "histo_col_type": "", "name": "__auto__", "null_count": 844987938, "row_count": 4000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2347347195, "histo_col_type": "", "name": "__auto__", "null_count": 1268066062, "row_count": 4000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 494695801, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000000}]':::JSONB;
test_1 | ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 419522792796002617, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2038479740173653464}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 407120466294491956, "histo_col_type": "", "name": "__auto__", "null_count": 1878020636572358982, "row_count": 2038479740173653464}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1280359833139815341, "histo_col_type": "", "name": "__auto__", "null_count": 207699152202515341, "row_count": 2038479740173653464}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97130871891470004, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "01100001011010101110101111001111011010110000000"}], "histo_col_type": "BIT(47)", "name": "__auto__", "null_count": 2019674256912211486, "row_count": 2038479740173653464}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1841156365893854678, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "\\\\x1063def49bc4b52b04"}, {"distinct_range": 0, "num_eq": 3648056963366833227, "num_range": 300000000, "upper_bound": "\\\\x21e3e2596423"}, {"distinct_range": 10000000, "num_eq": 7320643071813314315, "num_range": 10000000, "upper_bound": "\\\\x2be5bd4155"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 536775500669844312, "upper_bound": "\\\\x4f8da30556"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 2038479740173653464}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124877746336551034, "histo_buckets": [{"distinct_range": 0, "num_eq": 5557592370853999765, "num_range": 0, "upper_bound": "-32364"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 80000000000, "upper_bound": "-21889"}, {"distinct_range": 631515167492077300, "num_eq": 80, "num_range": 631515167492077269, "upper_bound": "-6981"}, {"distinct_range": 8621932650218097000, "num_eq": 949455508354205527, "num_range": 8988237454553159333, "upper_bound": "127"}, {"distinct_range": 50000, "num_eq": 2799709490906484370, "num_range": 50000, "upper_bound": "19222"}, {"distinct_range": 464.37585678995606, "num_eq": 70, "num_range": 600, "upper_bound": "19784"}, {"distinct_range": 8607872435802817000, "num_eq": 4321681928246554967, "num_range": 8607872435802816664, "upper_bound": "25096"}, {"distinct_range": 6467708934430932000, "num_eq": 40000000, "num_range": 6467708934430932075, "upper_bound": "29332"}, {"distinct_range": 5500087136448697000, "num_eq": 5397988536294491614, "num_range": 5500087136448697653, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 1964938194616027033, "row_count": 2038479740173653464}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 707460587808248952, "histo_buckets": [{"distinct_range": 0, "num_eq": 300, "num_range": 0, "upper_bound": "\\n"}, {"distinct_range": 3667690761979738000, "num_eq": 600, "num_range": 5344231781427045678, "upper_bound": "\\u001b"}, {"distinct_range": 8.99366268394994, "num_eq": 7292533098821615211, "num_range": 100, "upper_bound": "\\u001e"}, {"distinct_range": 7270604933373399000, "num_eq": 300, "num_range": 7270604933373399193, "upper_bound": "C"}, {"distinct_range": 3210127555.670375, "num_eq": 5407171580812713900, "num_range": 30000000000, "upper_bound": "^"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1708494434656115845, "upper_bound": "q"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 1092160961150520400, "row_count": 2038479740173653464}]':::JSONB;
test_1 | ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 588188245495015538, "histo_col_type": "", "name": "__auto__", "null_count": 358442278829080101, "row_count": 4815516927734463696}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2295442078121341112, "histo_col_type": "", "name": "__auto__", "null_count": 3695975651260174768, "row_count": 4815516927734463696}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2399271982465998092, "histo_col_type": "", "name": "__auto__", "null_count": 4133531667764285925, "row_count": 4815516927734463696}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4505432504555558962, "histo_col_type": "", "name": "__auto__", "null_count": 1816476009216881420, "row_count": 4815516927734463696}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4733613389791488643, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4815516927734463696}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 954219443453043778, "histo_col_type": "", "name": "__auto__", "null_count": 3096758395471239715, "row_count": 4815516927734463696}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2733574787494735448, "histo_col_type": "INT4", "name": "__auto__", "null_count": 1522417216452657966, "row_count": 4815516927734463696}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3000481833455172497, "histo_col_type": "", "name": "__auto__", "null_count": 560669254313665724, "row_count": 4815516927734463696}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3405678883427037897, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4815516927734463696}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1988310047193304208, "histo_buckets": [{"distinct_range": 0, "num_eq": 860249982021336835, "num_range": 0, "upper_bound": "0000000000000000000000000000000000000000000"}, {"distinct_range": 1657623808142550500, "num_eq": 0, "num_range": 1657623808142550440, "upper_bound": "1100011111010100000101101011011110101111100"}, {"distinct_range": 0, "num_eq": 3525687318057086739, "num_range": 0, "upper_bound": "1111110001001111111001111010101100001101101"}], "histo_col_type": "BIT(43)", "name": "__auto__", "null_count": 90666835491583387, "row_count": 4815516927734463696}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4110487456047238367, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "-1.0071858167648315"}, {"distinct_range": 0, "num_eq": 3432484669696573208, "num_range": 70000000, "upper_bound": "-1.0063306093215942"}, {"distinct_range": 4000000, "num_eq": 4442544126996075816, "num_range": 4000000, "upper_bound": "0.17988602817058563"}, {"distinct_range": 100000000000, "num_eq": 0, "num_range": 100000000000, "upper_bound": "0.4088081121444702"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 1040025834091568899, "upper_bound": "0.5401249527931213"}, {"distinct_range": 0, "num_eq": 33337617801367867, "num_range": 1688859400986303294, "upper_bound": "1.3012795448303223"}, {"distinct_range": 80000000, "num_eq": 7953193794151741154, "num_range": 80000000, "upper_bound": "1.5677287578582764"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 4815516927734463696}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3569397533570977016, "histo_col_type": "", "name": "__auto__", "null_count": 3454137017203836617, "row_count": 4815516927734463696}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4578883195732562352, "histo_col_type": "", "name": "__auto__", "null_count": 2639735263004161186, "row_count": 4815516927734463696}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4701067823744297141, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4815516927734463696}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3832133737956935155, "histo_col_type": "", "name": "__auto__", "null_count": 514980874635768483, "row_count": 4815516927734463696}]':::JSONB;
test_1 | ALTER TABLE table3 ADD FOREIGN KEY (col3_8, col3_5) REFERENCES table1 (col1_3, col1_6) ON DELETE RESTRICT;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('whif', 'owiqoh', 'rixnl', 'uliqu');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('il', 'sbrfuv', 'ern', 'qe', 'gnmoq', 'bwjki');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('qcene');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('qiwsq', 'bldb');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('fiqnl');
test_1 |
test_1 | compare_test.go:151: cockroach1: exec: ERROR: there is no unique constraint matching given keys for referenced table table1 (SQLSTATE 23503)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ f60daea1297e4ab84be428e045a4d985fbe29718:
test_1 | (
test_1 | SELECT
test_1 | tab_58439.col1_5 AS col_101925,
test_1 | tab_58437.col2_6 AS col_101926,
test_1 | tab_58441.tableoid AS col_101927,
test_1 | tab_58436.col2_4 AS col_101928,
test_1 | (-2.56551137138480232):::DECIMAL AS col_101929
test_1 | FROM
test_1 | postgres.public.table2@[0] AS tab_58436
test_1 | JOIN postgres.public.table2@[0] AS tab_58437
test_1 | JOIN postgres.public.table1@[0] AS tab_58438 ON
test_1 | (tab_58437.col2_1) = (tab_58438.col1_5) AND (tab_58437.col2_7) = (tab_58438.col1_5)
test_1 | JOIN postgres.public.table1@[0] AS tab_58439 ON (tab_58438.tableoid) = (tab_58439.tableoid)
test_1 | JOIN postgres.public.table2@[0] AS tab_58440 ON
test_1 | (tab_58437.col2_10) = (tab_58440.col2_10) AND (tab_58437.tableoid) = (tab_58440.col2_1)
test_1 | JOIN postgres.public.table2@[0] AS tab_58441 ON
test_1 | (tab_58440.col2_7) = (tab_58441.col2_1)
test_1 | AND (tab_58437.col2_1) = (tab_58441.col2_7)
test_1 | AND (tab_58437.col2_1) = (tab_58441.col2_1)
test_1 | AND (tab_58439.col1_5) = (tab_58441.col2_5)
test_1 | AND (tab_58440.tableoid) = (tab_58441.col2_5)
test_1 | JOIN postgres.public.table1@[0] AS tab_58442
test_1 | JOIN postgres.public.table2@[0] AS tab_58443 ON
test_1 | (tab_58442.col1_12) = (tab_58443.col2_10)
test_1 | AND (tab_58442.tableoid) = (tab_58443.tableoid)
test_1 | AND (tab_58442.col1_5) = (tab_58443.col2_7) ON (tab_58441.col2_1) = (tab_58443.tableoid) ON
test_1 | (tab_58436.col2_4) = (tab_58438.crdb_internal_mvcc_timestamp)
test_1 | AND (tab_58436.col2_10) = (tab_58443.col2_10)
test_1 | ORDER BY
test_1 | tab_58438.col1_12 DESC
test_1 | )
test_1 | AS tab_58444
test_1 | ORDER BY
test_1 | col_101925 NULLS FIRST,
test_1 | col_101926 NULLS FIRST,
test_1 | col_101927 NULLS FIRST,
test_1 | col_101928 NULLS FIRST,
test_1 | col_101929 NULLS FIRST
test_1 | compare_test.go:183: cockroach1: ping: context deadline exceeded
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ b2253451fb2d38462c842996c6e6cfddece02802:
postgres_1 | true
postgres_1 | GROUP BY
postgres_1 | tab_94408.col1_2, tab_94408.col1_1
postgres_1 | )
postgres_1 | AS tab_94409
postgres_1 | ORDER BY
postgres_1 | col_134886 NULLS FIRST, col_134887 NULLS FIRST
test_1 | --- FAIL: TestCompare (704.36s)
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | --- FAIL: TestCompare/postgres (101.20s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("G2000-01-01 00:00:00"),
test_1 | + string("G2000-01-01 00:00:00+00"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('G':::STRING::STRING || '2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)::STRING AS col_134946)
test_1 | AS tab_94458
test_1 | ORDER BY
test_1 | col_134946 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('G'::TEXT::TEXT || '2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT AS col_134946)
test_1 | AS tab_94458
test_1 | ORDER BY
test_1 | col_134946 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ e29d694755e4800f07df139137c71cf741829dd0:
postgres_1 | ALTER TABLE table2 ADD FOREIGN KEY (col1_5, col2_3, col2_1, col2_2) REFERENCES table3 (col1_5, col2_3, col3_2, col3_3) ON DELETE CASCADE;
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('duafen', 'ltqpq', 'trq', 'jfzq');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('wnuwx');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('wvi', 'o', 'rj', 'emu', 'lxmhc');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('gfzw', 'kx', 'jb', 'wtoxv');
postgres_1 | CREATE TYPE rand_typ_4 AS ENUM ('mzv', 'av', 'pjny', 'eze');
postgres_1 |
test_1 | --- FAIL: TestCompare (605.83s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (2.75s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 CHAR NULL, col1_1 INET NOT NULL, col1_2 REGNAMESPACE, col1_3 INT8 NOT NULL, col1_4 JSONB NULL, col1_5 INT8 NOT NULL, col1_6 REGNAMESPACE NULL, col1_7 NAME NULL, PRIMARY KEY (col1_5), col1_8 INT8 NOT NULL GENERATED ALWAYS AS (col1_3 + col1_5) STORED, col1_9 TEXT GENERATED ALWAYS AS (CASE WHEN col1_2 IS NULL THEN ''::TEXT ELSE e'hiV\x14Y(G'::TEXT END) STORED, col1_10 INT8 GENERATED ALWAYS AS (col1_3 + col1_5) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_7 DESC, col1_9, col1_6 DESC, col1_8, col1_2 DESC, col1_1 DESC, col1_10 DESC, col1_5 ASC, col1_3);
test_1 | CREATE INDEX ON table1 (col1_6 DESC, col1_0 DESC);
test_1 | CREATE TABLE table2 (col1_5 INT8 NOT NULL, col2_1 INT8, col2_2 NAME, col2_3 INTERVAL NOT NULL, PRIMARY KEY (col1_5, col2_3));
test_1 | CREATE UNIQUE INDEX ON table2 (col2_1, col2_3 ASC);
test_1 | CREATE TABLE table3 (col1_5 INT8 NOT NULL, col2_3 INTERVAL NOT NULL, col3_2 INT8 NOT NULL, col3_3 "char", PRIMARY KEY (col1_5, col2_3, col3_2));
test_1 | CREATE UNIQUE INDEX ON table3 (col1_5, col2_3, col3_2, col3_3);
test_1 | CREATE TABLE table4 (col1_5 INT8 NOT NULL, col2_3 INTERVAL NOT NULL, col3_2 INT8 NOT NULL, col4_3 TIMESTAMPTZ NULL, col4_4 DECIMAL NOT NULL, col4_5 REGPROCEDURE NOT NULL, col4_6 BIT(45), col4_7 BIT(49) NULL, col4_8 OID NOT NULL, col4_9 TIMETZ NOT NULL, col4_10 BYTEA NOT NULL, col4_11 INTERVAL NOT NULL, col4_12 INTERVAL NOT NULL, col4_13 BYTEA NULL, col4_14 TIMETZ NOT NULL, col4_15 INET NOT NULL, col4_16 TIMESTAMP, col4_17 INT8 NULL, col4_18 DATE NOT NULL, col4_19 INT8, PRIMARY KEY (col1_5, col2_3, col3_2, col4_14, col4_12, col4_18, col4_19, col4_4, col4_9, col4_6, col4_7, col4_15, col4_8, col4_13, col4_10, col4_11, col4_16, col4_3));
test_1 | CREATE TABLE table5 (col1_5 INT8 NOT NULL, col2_3 INTERVAL NOT NULL, col5_2 INT8 NULL, col5_3 OID NULL, col5_4 VARCHAR, col5_5 TIMESTAMPTZ NULL, col5_6 REGCLASS, col5_7 INTERVAL NULL, col5_8 FLOAT8 NOT NULL, col5_9 REGCLASS NOT NULL, col5_10 VARCHAR NULL, col5_11 VARCHAR NOT NULL, col5_12 INT8 NOT NULL, col5_13 BIT(20), col5_14 VARCHAR, PRIMARY KEY (col1_5, col2_3, col5_13));
test_1 | CREATE UNIQUE INDEX ON table5 (col5_4 DESC, col5_10, col5_7 ASC, col5_2, col1_5, col5_9, col5_13 ASC, col5_5 ASC, col2_3) INCLUDE (col5_8, col5_11);
test_1 | CREATE INDEX ON table5 (col2_3 ASC, col5_4, col5_13 DESC, col5_5 ASC, col5_8 ASC, col5_7 DESC, col5_11);
test_1 | CREATE INDEX ON table5 (col5_2, col5_4, col5_5 DESC, col5_9 DESC, col5_12 ASC, col2_3 DESC, col5_13, col5_11 DESC, col5_8 DESC, col5_7 ASC, col5_6 ASC, col5_3 DESC, col5_14, col5_10 ASC, col1_5 ASC);
test_1 | CREATE INDEX ON table5 (col5_9, col5_10 ASC, col5_11 ASC, col5_2, col5_13 DESC) INCLUDE (col5_4, col5_12, col5_14);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_14 DESC, col5_2 DESC, col5_6 ASC, col5_3, col5_4 DESC, col5_5 DESC, col1_5 ASC);
test_1 | CREATE UNIQUE INDEX ON table5 (col5_12, col5_9 ASC, col5_14 ASC, col2_3 ASC, col1_5 ASC, col5_6 DESC);
test_1 | CREATE INDEX ON table5 (col5_7 DESC, col5_8 DESC, col5_13 ASC) INCLUDE (col5_4, col5_5, col5_6, col5_11, col5_12, col5_14);
test_1 | ALTER TABLE table2 ADD FOREIGN KEY (col1_5, col2_3, col2_1, col2_2) REFERENCES table3 (col1_5, col2_3, col3_2, col3_3) ON DELETE CASCADE;
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('duafen', 'ltqpq', 'trq', 'jfzq');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('wnuwx');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('wvi', 'o', 'rj', 'emu', 'lxmhc');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('gfzw', 'kx', 'jb', 'wtoxv');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('mzv', 'av', 'pjny', 'eze');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: foreign key constraint "table2_col1_5_col2_3_col2_1_col2_2_fkey" cannot be implemented (SQLSTATE 42804)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 3aad3f8a372090ddaedad0ad58a945fb399ddbc6:
postgres_1 | CREATE UNIQUE INDEX ON table2 (col2_0, col2_5);
postgres_1 | CREATE INDEX ON table2 (col2_10 DESC, col2_14 DESC, col2_12 DESC, col2_1, col2_11 DESC, col2_9 DESC) INCLUDE (col2_0, col2_4, col2_5, col2_8);
postgres_1 | CREATE TABLE table3 (col3_0 FLOAT8 NOT NULL, col3_1 BOOL NULL, col3_2 REGNAMESPACE, col3_3 CHAR, col3_4 TEXT NULL, col3_5 REGPROC NOT NULL, PRIMARY KEY (col3_5));
postgres_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_0 DESC, col3_4 DESC, col3_5 ASC, col3_1 DESC) INCLUDE (col3_3);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_3 ASC, col3_0, col3_1 DESC, col3_4 DESC) INCLUDE (col3_2);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_4, col3_2 ASC, col3_1 DESC, col3_0 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_0 DESC, col3_4 ASC, col3_2);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_5 ASC) INCLUDE (col3_0, col3_1, col3_4);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('jglfx');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('rumdea', 'pes', 'el', 'rkt', 'hne', 'kluelt');
postgres_1 |
test_1 | --- FAIL: TestCompare (605.10s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (2.42s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 DATE NULL, col1_1 REGNAMESPACE, col1_2 TEXT NULL, col1_3 INET, col1_4 BOX2D, col1_5 GEOMETRY NOT NULL, col1_6 OID NOT NULL, col1_7 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_0 AS TEXT))) STORED, col1_8 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_5 AS TEXT))) STORED, col1_9 TEXT GENERATED ALWAYS AS (lower(CAST(col1_3 AS TEXT))) STORED, col1_10 TEXT GENERATED ALWAYS AS (lower(CAST(col1_4 AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_0 ASC, col1_7 ASC, col1_9 DESC, col1_10 ASC, col1_3 DESC, col1_2 DESC, col1_8 ASC, col1_6 DESC);
test_1 | CREATE INDEX ON table1 (col1_9 DESC, col1_6, col1_0) INCLUDE (col1_2, col1_5);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_2 ASC, col1_3, col1_6 DESC, col1_10 DESC, col1_8 ASC, col1_7 ASC) INCLUDE (col1_1, col1_4);
test_1 | CREATE TABLE table2 (col2_0 TIME NULL, col2_1 REGNAMESPACE NOT NULL, col2_2 FLOAT8[], col2_3 BYTEA, col2_4 JSONB, col2_5 DECIMAL NOT NULL, col2_6 REGPROC NOT NULL, col2_7 BOOL, col2_8 REGPROCEDURE NULL, col2_9 "char", col2_10 DATE NULL, col2_11 BOOL NULL, PRIMARY KEY (col2_6, col2_1), col2_12 TEXT GENERATED ALWAYS AS (CASE WHEN col2_2 IS NULL THEN 'R8~2Z'::TEXT ELSE ''::TEXT END) STORED, col2_13 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col2_8 IS NULL THEN e'&\x1cB2w\x0580'::TEXT ELSE e'\x1d'::TEXT END) STORED, col2_14 TEXT GENERATED ALWAYS AS (lower(col2_9)) STORED);
test_1 | CREATE INDEX ON table2 (col2_12 ASC, col2_0, col2_1, col2_3 DESC) INCLUDE (col2_2, col2_9);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_3 DESC, col2_13 DESC, col2_7 ASC);
test_1 | CREATE INDEX ON table2 (col2_1 DESC, col2_9 ASC, col2_0 DESC, col2_13 DESC, col2_5 ASC);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_0, col2_5);
test_1 | CREATE INDEX ON table2 (col2_10 DESC, col2_14 DESC, col2_12 DESC, col2_1, col2_11 DESC, col2_9 DESC) INCLUDE (col2_0, col2_4, col2_5, col2_8);
test_1 | CREATE TABLE table3 (col3_0 FLOAT8 NOT NULL, col3_1 BOOL NULL, col3_2 REGNAMESPACE, col3_3 CHAR, col3_4 TEXT NULL, col3_5 REGPROC NOT NULL, PRIMARY KEY (col3_5));
test_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_0 DESC, col3_4 DESC, col3_5 ASC, col3_1 DESC) INCLUDE (col3_3);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3 ASC, col3_0, col3_1 DESC, col3_4 DESC) INCLUDE (col3_2);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_4, col3_2 ASC, col3_1 DESC, col3_0 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_0 DESC, col3_4 ASC, col3_2);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_5 ASC) INCLUDE (col3_0, col3_1, col3_4);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('jglfx');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('rumdea', 'pes', 'el', 'rkt', 'hne', 'kluelt');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 4dc05cceea254854317a9374a4b88df06c0946a6:
postgres_1 | 2::OID AS col_6442
postgres_1 | FROM
postgres_1 | postgres.public.table1 AS tab_3314
postgres_1 | GROUP BY
postgres_1 | tab_3314.col1_2, tab_3314.col1_6, tab_3314.col1_4
postgres_1 | HAVING
postgres_1 | bool_and(false::BOOL)::BOOL
postgres_1 | )
postgres_1 | AS tab_3315
postgres_1 | ORDER BY
postgres_1 | col_6440 NULLS FIRST, col_6441 NULLS FIRST, col_6442 NULLS FIRST
postgres_1 | 2021-04-19 18:13:35.782 UTC [104] ERROR: operator does not exist: date - bigint at character 38
postgres_1 | 2021-04-19 18:13:35.782 UTC [104] HINT: No operator matches the given name and argument types. You might need to add explicit type casts.
postgres_1 | 2021-04-19 18:13:35.782 UTC [104] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (SELECT ((NULL::DATE - 8::INT8::INT8)::DATE::DATE + NULL::INT8)::DATE AS col_6750) AS tab_3462
postgres_1 | ORDER BY
postgres_1 | col_6750 NULLS FIRST
test_1 | --- FAIL: TestCompare (607.64s)
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | --- FAIL: TestCompare/postgres (6.20s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("2.9.10"),
test_1 | + string("2.9.4"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::STRING AS col_6898) AS tab_3555 ORDER BY col_6898 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::TEXT AS col_6898) AS tab_3555 ORDER BY col_6898 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 09be4f72a054cf66ef603b1e4525844c9ef547fc:
postgres_1 | col_3287 NULLS FIRST, col_3288 NULLS FIRST, col_3289 NULLS FIRST
postgres_1 | 2021-04-20 18:15:04.797 UTC [105] ERROR: interval units "object" not recognized
postgres_1 | 2021-04-20 18:15:04.797 UTC [105] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (
postgres_1 | SELECT
postgres_1 | date_trunc(jsonb_typeof('{"A": [true], "H": {"B": "G", "I": {"D": "I", "E": "J", "J": true}}}'::JSONB::JSONB)::TEXT::TEXT, '00:04:00'::TIME::TIME)::INTERVAL
postgres_1 | AS col_3350,
postgres_1 | tab_1942.col2_1 AS col_3351,
postgres_1 | tab_1942.tableoid AS col_3352
postgres_1 | FROM
postgres_1 | postgres.public.table2 AS tab_1942
postgres_1 | WHERE
postgres_1 | false
postgres_1 | )
postgres_1 | AS tab_1943
postgres_1 | ORDER BY
postgres_1 | col_3350 NULLS FIRST, col_3351 NULLS FIRST, col_3352 NULLS FIRST
test_1 | --- FAIL: TestCompare (611.04s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (4.51s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("3.8.1-CAPI-1.13.3"),
test_1 | + string("3.7.1-CAPI-1.11.1 27a5e771"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_geos_version()::STRING AS col_3433) AS tab_1993 ORDER BY col_3433 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_geos_version()::TEXT AS col_3433) AS tab_1993 ORDER BY col_3433 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 66a1657247f8e1cd84ce22a32321fda6352d789f:
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('diu', 'sdgwnc', 'lbaol', 'ftnxx', 'c', 'x');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('hifgop', 'glkwln', 'm', 'sqe');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('zs', 'kqm', 'krdo');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('a', 'mr', 'lt', 'nl');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | --- FAIL: TestCompare/mutators (0.72s)
test_1 | compare_test.go:125: starting test: mutators
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: cockroach2
test_1 | panic: geos: no locations to init GEOS [recovered]
test_1 | panic: geos: no locations to init GEOS
test_1 |
test_1 | goroutine 13 [running]:
test_1 | testing.tRunner.func1.1(0x1ff3100, 0xc000d42320)
test_1 | /usr/local/go/src/testing/testing.go:1072 +0x30d
test_1 | testing.tRunner.func1(0xc000001c80)
test_1 | /usr/local/go/src/testing/testing.go:1075 +0x41a
test_1 | panic(0x1ff3100, 0xc000d42320)
test_1 | /usr/local/go/src/runtime/panic.go:969 +0x1b9
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.encodeInvertedIndexHistogramUpperBounds(0x399daa0, 0x2ae8cc0, 0xc000d443c0, 0x2ae8cc0, 0xc000d443c0, 0x7f78bda1cbf8)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:368 +0x5d3
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.randHistogram(0xc000c083f0, 0x399daa0, 0x399daa0, 0x9675ce6eb5002e01, 0x6, 0x960000c000d36ff0)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:301 +0x10c
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator.func1(0xc000bff7a0)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:220 +0x9d
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.statisticsMutator(0xc000c083f0, 0xc000bffb00, 0x11, 0x11, 0x0, 0x1f47b58, 0xc000c9d960, 0x434f5f)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:251 +0xbe6
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.MultiStatementMutation.Mutate(0x27414d8, 0xc000c083f0, 0xc000bffb00, 0x11, 0x11, 0x7f78bda27be0, 0xc000c9d990, 0x43636a, 0x1f37c40)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:97 +0x4e
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.Apply(0xc000c083f0, 0xc000bffb00, 0x11, 0x11, 0xc0006b8880, 0x6, 0x8, 0x8, 0x0, 0x0, ...)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:108 +0xa7
test_1 | github.com/cockroachdb/cockroach/pkg/sql/randgen.ApplyString(0xc000c083f0, 0xc000ba2000, 0x2af9, 0xc0003dc0c0, 0x6, 0x6, 0x0, 0x0, 0x0)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/sql/randgen/mutator.go:159 +0x332
test_1 | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000001c80)
test_1 | /go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:147 +0x2c5
test_1 | testing.tRunner(0xc000001c80, 0xc000c083c0)
test_1 | /usr/local/go/src/testing/testing.go:1123 +0xef
test_1 | created by testing.(*T).Run
test_1 | /usr/local/go/src/testing/testing.go:1168 +0x2b3
compare_test_1 exited with code 2
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 2
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 5f40d691ef9caf910f97fbad53802000c0ca72eb:
postgres_1 | CREATE INDEX ON table3 (col3_10 ASC, col3_5 DESC, col3_7 ASC, col3_13, col3_9 ASC, col3_3, col3_12 ASC);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_9, col3_15 ASC) INCLUDE (col3_8, col3_14);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_15 ASC, col3_12);
postgres_1 | CREATE TABLE table4 (col4_0 REGPROC NOT NULL, col4_1 DATE NOT NULL, col4_2 REGCLASS NOT NULL, col4_3 BOOL NOT NULL, PRIMARY KEY (col4_0, col4_2), col4_4 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_5 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_1 AS TEXT))) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table4 (col4_3 DESC, col4_2 ASC, col4_5 ASC, col4_4 ASC, col4_1);
postgres_1 | CREATE TABLE table5 (col4_0 REGPROC NOT NULL, col4_2 REGCLASS NOT NULL, col5_2 CHAR NOT NULL, col5_3 FLOAT8 NULL, col5_4 REGCLASS NOT NULL, col5_5 REGPROC NULL, col5_6 DECIMAL, col5_7 INET NULL, col5_8 "char" NULL, col5_9 INT8 NOT NULL, col5_10 REGCLASS, col5_11 BIT(6) NOT NULL, col5_12 REGPROC, col5_13 INT8 NOT NULL, col5_14 TIMETZ NULL, col5_15 VARCHAR NULL, col5_16 INTERVAL, col5_17 UUID NOT NULL, col5_18 INET NULL, PRIMARY KEY (col4_0, col4_2, col5_4, col5_16, col5_3, col5_14, col5_11, col5_13));
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('km', 'yipodi', 'qcnhn');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('euhb');
postgres_1 |
test_1 | --- FAIL: TestCompare (604.83s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (3.02s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 BIT(12) NULL, col1_1 CHAR NULL, col1_2 BIT(40) NULL, col1_3 INTERVAL[] NULL, col1_4 GEOMETRY NOT NULL, col1_5 UUID NULL, col1_6 CHAR NOT NULL, col1_7 BIT(26), col1_8 GEOGRAPHY NOT NULL, col1_9 INT8 NOT NULL, col1_10 REGCLASS NOT NULL, col1_11 OID NULL, col1_12 BIT(15) NOT NULL, col1_13 TIMESTAMP NOT NULL, col1_14 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_2 AS TEXT))) STORED);
test_1 | CREATE TABLE table2 (col2_0 FLOAT8 NOT NULL, col2_1 NAME NOT NULL, col2_2 INTERVAL NOT NULL, col2_3 "char" NOT NULL, col2_4 BIT(25) NOT NULL, col2_5 GEOMETRY NULL, col2_6 REGNAMESPACE NOT NULL, PRIMARY KEY (col2_1, col2_3, col2_4, col2_0, col2_6));
test_1 | CREATE INDEX ON table2 (col2_2 ASC, col2_4 DESC, col2_0 DESC, col2_6 ASC, col2_3);
test_1 | CREATE INDEX ON table2 (col2_6 ASC, col2_4, col2_3 ASC, col2_0 DESC);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_6);
test_1 | CREATE TABLE table3 (col3_0 BIT(25) NOT NULL, col3_1 BOOL, col3_2 FLOAT8 NOT NULL, col3_3 "char" NOT NULL, col3_4 FLOAT8 NOT NULL, col3_5 REGNAMESPACE NOT NULL, col3_6 DATE NOT NULL, col3_7 "char" NOT NULL, col3_8 TIMETZ NULL, PRIMARY KEY (col3_5, col3_0, col3_2, col3_7, col3_4, col3_6, col3_3), col3_9 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_0 AS TEXT))) STORED, col3_10 FLOAT8 GENERATED ALWAYS AS (col3_2 + col3_4) STORED, col3_11 FLOAT8 NOT NULL GENERATED ALWAYS AS (col3_2 + col3_4) STORED, col3_12 FLOAT8 NULL GENERATED ALWAYS AS (col3_4 + col3_2) STORED, col3_13 FLOAT8 NOT NULL GENERATED ALWAYS AS (col3_2 + col3_4) STORED, col3_14 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col3_0 AS TEXT))) STORED, col3_15 FLOAT8 NULL GENERATED ALWAYS AS (col3_4 + col3_2) STORED);
test_1 | CREATE INDEX ON table3 (col3_5, col3_12, col3_14 DESC, col3_15, col3_10, col3_0 DESC, col3_6, col3_8 ASC, col3_11 DESC, col3_7 ASC, col3_4 ASC);
test_1 | CREATE INDEX ON table3 (col3_9 DESC, col3_14, col3_8) INCLUDE (col3_10);
test_1 | CREATE INDEX ON table3 (col3_7 DESC, col3_10 DESC, col3_0 ASC, col3_6, col3_3, col3_9 ASC, col3_5 DESC, col3_8 ASC, col3_1 ASC, col3_12 ASC, col3_4, col3_11 ASC);
test_1 | CREATE INDEX ON table3 (col3_6 ASC, col3_2 ASC) INCLUDE (col3_12, col3_14);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_6 ASC, col3_3 ASC, col3_11 DESC, col3_12 DESC, col3_13 DESC, col3_2, col3_5 DESC) INCLUDE (col3_14);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_11, col3_13 ASC, col3_2 DESC, col3_9 DESC, col3_1, col3_0 ASC, col3_5, col3_3 ASC, col3_12, col3_15 ASC, col3_7, col3_10, col3_14 ASC) INCLUDE (col3_8);
test_1 | CREATE INDEX ON table3 (col3_10 ASC, col3_5 DESC, col3_7 ASC, col3_13, col3_9 ASC, col3_3, col3_12 ASC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_9, col3_15 ASC) INCLUDE (col3_8, col3_14);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_15 ASC, col3_12);
test_1 | CREATE TABLE table4 (col4_0 REGPROC NOT NULL, col4_1 DATE NOT NULL, col4_2 REGCLASS NOT NULL, col4_3 BOOL NOT NULL, PRIMARY KEY (col4_0, col4_2), col4_4 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_3 AS TEXT))) STORED, col4_5 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col4_1 AS TEXT))) STORED);
test_1 | CREATE UNIQUE INDEX ON table4 (col4_3 DESC, col4_2 ASC, col4_5 ASC, col4_4 ASC, col4_1);
test_1 | CREATE TABLE table5 (col4_0 REGPROC NOT NULL, col4_2 REGCLASS NOT NULL, col5_2 CHAR NOT NULL, col5_3 FLOAT8 NULL, col5_4 REGCLASS NOT NULL, col5_5 REGPROC NULL, col5_6 DECIMAL, col5_7 INET NULL, col5_8 "char" NULL, col5_9 INT8 NOT NULL, col5_10 REGCLASS, col5_11 BIT(6) NOT NULL, col5_12 REGPROC, col5_13 INT8 NOT NULL, col5_14 TIMETZ NULL, col5_15 VARCHAR NULL, col5_16 INTERVAL, col5_17 UUID NOT NULL, col5_18 INET NULL, PRIMARY KEY (col4_0, col4_2, col5_4, col5_16, col5_3, col5_14, col5_11, col5_13));
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('km', 'yipodi', 'qcnhn');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('euhb');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 9e821aa456bfbe8b5ec3a8ef79ae3954d52cb675:
postgres_1 | ORDER BY
postgres_1 | col_10120 NULLS FIRST, col_10121 NULLS FIRST, col_10122 NULLS FIRST
postgres_1 | 2021-04-23 18:14:56.620 UTC [110] ERROR: function st_setsrid(geometry, bigint) does not exist at character 42
postgres_1 | 2021-04-23 18:14:56.620 UTC [110] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
postgres_1 | 2021-04-23 18:14:56.620 UTC [110] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (
postgres_1 | SELECT
postgres_1 | st_geohash(st_setsrid(NULL::GEOMETRY, 8::INT8::INT8)::GEOMETRY::GEOMETRY)::TEXT AS col_10267,
postgres_1 | B'1000' AS col_10268
postgres_1 | FROM
postgres_1 | postgres.public.table1 AS tab_5539
postgres_1 | WHERE
postgres_1 | tab_5539.col1_4
postgres_1 | )
postgres_1 | AS tab_5540
postgres_1 | ORDER BY
postgres_1 | col_10267 NULLS FIRST, col_10268 NULLS FIRST
test_1 | --- FAIL: TestCompare (610.33s)
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | --- FAIL: TestCompare/postgres (8.67s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("2.9.10"),
test_1 | + string("2.9.4"),
test_1 | }))
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::TEXT AS col_10443) AS tab_5630 ORDER BY col_10443 NULLS FIRST;
test_1 |
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::STRING AS col_10443) AS tab_5630 ORDER BY col_10443 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 3cd29547884feb24b150b67ca2a88073798a35fd:
postgres_1 |
postgres_1 | waiting for server to shut down....2021-04-24 18:15:54.560 UTC [48] LOG: received fast shutdown request
postgres_1 | 2021-04-24 18:15:54.562 UTC [48] LOG: aborting any active transactions
postgres_1 | 2021-04-24 18:15:54.564 UTC [48] LOG: background worker "logical replication launcher" (PID 55) exited with exit code 1
postgres_1 | 2021-04-24 18:15:54.565 UTC [50] LOG: shutting down
postgres_1 | 2021-04-24 18:15:54.673 UTC [48] LOG: database system is shut down
postgres_1 | done
postgres_1 | server stopped
postgres_1 |
postgres_1 | PostgreSQL init process complete; ready for start up.
postgres_1 |
postgres_1 | 2021-04-24 18:15:54.782 UTC [1] LOG: starting PostgreSQL 13.2 (Debian 13.2-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
postgres_1 | 2021-04-24 18:15:54.782 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-04-24 18:15:54.782 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-04-24 18:15:54.786 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-04-24 18:15:54.792 UTC [95] LOG: database system was shut down at 2021-04-24 18:15:54 UTC
postgres_1 | 2021-04-24 18:15:54.797 UTC [1] LOG: database system is ready to accept connections
postgres_1 | 2021-04-24 18:15:56.661 UTC [105] ERROR: conversion between UTF8 and SQL_ASCII is not supported at character 753
postgres_1 | 2021-04-24 18:15:56.661 UTC [105] STATEMENT: CREATE TABLE table1 (col1_0 BOX2D, col1_1 TIME NOT NULL, col1_2 DATE NOT NULL, col1_3 INTERVAL, col1_4 DATE, col1_5 "char" NOT NULL, col1_6 REGTYPE NULL, col1_7 REGNAMESPACE NOT NULL, col1_8 BYTEA, col1_9 REGNAMESPACE NOT NULL, col1_10 BOOL NOT NULL, PRIMARY KEY (col1_5, col1_7), col1_11 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_10 AS TEXT))) STORED, col1_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_9 IS NULL THEN e'k\'+n'::TEXT ELSE '('::TEXT END) STORED, col1_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_1 AS TEXT))) STORED, col1_14 TEXT GENERATED ALWAYS AS (CASE WHEN col1_8 IS NULL THEN '[T'::TEXT ELSE ''::TEXT END) STORED, col1_15 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_9 IS NULL THEN '.o&'::TEXT ELSE e'\U00002603'::TEXT END) STORED);
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_7, col1_8 DESC, col1_5 ASC, col1_6, col1_13 ASC, col1_14 ASC, col1_1 DESC, col1_4, col1_3 DESC, col1_11 ASC, col1_2 ASC, col1_10 DESC) INCLUDE (col1_9);
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_5 ASC, col1_3 DESC, col1_4 DESC, col1_8 ASC, col1_6, col1_11 DESC, col1_7 DESC, col1_1 ASC, col1_12 DESC, col1_9, col1_10 ASC, col1_15 DESC, col1_13 ASC, col1_14, col1_2);
postgres_1 | CREATE UNIQUE INDEX ON table1 (col1_14 DESC, col1_12) INCLUDE (col1_0, col1_2, col1_4, col1_6, col1_8, col1_9, col1_10);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('pbduas', 'fjxsf', 'uk');
postgres_1 |
test_1 | --- FAIL: TestCompare (603.97s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (1.24s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 BOX2D, col1_1 TIME NOT NULL, col1_2 DATE NOT NULL, col1_3 INTERVAL, col1_4 DATE, col1_5 "char" NOT NULL, col1_6 REGTYPE NULL, col1_7 REGNAMESPACE NOT NULL, col1_8 BYTEA, col1_9 REGNAMESPACE NOT NULL, col1_10 BOOL NOT NULL, PRIMARY KEY (col1_5, col1_7), col1_11 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_10 AS TEXT))) STORED, col1_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_9 IS NULL THEN e'k\'+n'::TEXT ELSE '('::TEXT END) STORED, col1_13 TEXT NOT NULL GENERATED ALWAYS AS (lower(CAST(col1_1 AS TEXT))) STORED, col1_14 TEXT GENERATED ALWAYS AS (CASE WHEN col1_8 IS NULL THEN '[T'::TEXT ELSE ''::TEXT END) STORED, col1_15 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_9 IS NULL THEN '.o&'::TEXT ELSE e'\U00002603'::TEXT END) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_7, col1_8 DESC, col1_5 ASC, col1_6, col1_13 ASC, col1_14 ASC, col1_1 DESC, col1_4, col1_3 DESC, col1_11 ASC, col1_2 ASC, col1_10 DESC) INCLUDE (col1_9);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_5 ASC, col1_3 DESC, col1_4 DESC, col1_8 ASC, col1_6, col1_11 DESC, col1_7 DESC, col1_1 ASC, col1_12 DESC, col1_9, col1_10 ASC, col1_15 DESC, col1_13 ASC, col1_14, col1_2);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_14 DESC, col1_12) INCLUDE (col1_0, col1_2, col1_4, col1_6, col1_8, col1_9, col1_10);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('pbduas', 'fjxsf', 'uk');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: conversion between UTF8 and SQL_ASCII is not supported (SQLSTATE 0A000)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 2d7f9a08bac49040a6d77c5465e2b4fd8fdac1f4:
postgres_1 | AS tab_165
postgres_1 | ORDER BY
postgres_1 | col_281 NULLS FIRST,
postgres_1 | col_282 NULLS FIRST,
postgres_1 | col_283 NULLS FIRST,
postgres_1 | col_284 NULLS FIRST,
postgres_1 | col_285 NULLS FIRST,
postgres_1 | col_286 NULLS FIRST,
postgres_1 | col_287 NULLS FIRST
test_1 | --- FAIL: TestCompare (606.97s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (3.24s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("fE"),
test_1 | + string("falseE"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT (('E':::STRING ~ 'B':::STRING)::BOOL || 'E':::STRING::STRING)::STRING AS col_357) AS tab_217
test_1 | ORDER BY
test_1 | col_357 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT (('E'::TEXT ~ 'B'::TEXT)::BOOL || 'E'::TEXT::TEXT)::TEXT AS col_357) AS tab_217
test_1 | ORDER BY
test_1 | col_357 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 2dbd33ce319439bc424a52896a03e0a7ccff07f1:
postgres_1 | col_92122 NULLS FIRST,
postgres_1 | col_92123 NULLS FIRST,
postgres_1 | col_92124 NULLS FIRST,
postgres_1 | col_92125 NULLS FIRST,
postgres_1 | col_92126 NULLS FIRST,
postgres_1 | col_92127 NULLS FIRST,
postgres_1 | col_92128 NULLS FIRST
test_1 | --- FAIL: TestCompare (664.08s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (62.58s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("2000-01-01 08:00:00H"),
test_1 | + string("2000-01-01 08:00:00+00H"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('2000-01-01 08:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ || 'H':::STRING::STRING)::STRING AS col_92160)
test_1 | AS tab_60944
test_1 | ORDER BY
test_1 | col_92160 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('2000-01-01 08:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ || 'H'::TEXT::TEXT)::TEXT AS col_92160)
test_1 | AS tab_60944
test_1 | ORDER BY
test_1 | col_92160 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 9f198e190812bf301e8a2126cf43cd78e1cfb163:
postgres_1 | tab_40729.col1_1 AS col_61717,
postgres_1 | 4::OID AS col_61718,
postgres_1 | tab_40729.col1_3 AS col_61719,
postgres_1 | tab_40729.col1_1 AS col_61720,
postgres_1 | tab_40728.col_61715 AS col_61721,
postgres_1 | rpad(tab_40729.col1_4::TEXT, tab_40729.col1_2::INT8, 'D'::TEXT::TEXT)::TEXT AS col_61722
postgres_1 | FROM
postgres_1 | (SELECT '2000-01-01 00:00:00'::TIMESTAMP AS col_61714) AS tab_40728 (col_61715),
postgres_1 | postgres.public.table1 AS tab_40729
postgres_1 | )
postgres_1 | AS tab_40730
postgres_1 | ORDER BY
postgres_1 | CAST(col_61716 AS TEXT) NULLS FIRST,
postgres_1 | col_61717 NULLS FIRST,
postgres_1 | col_61718 NULLS FIRST,
postgres_1 | col_61719 NULLS FIRST,
postgres_1 | col_61720 NULLS FIRST,
postgres_1 | col_61721 NULLS FIRST,
postgres_1 | col_61722 NULLS FIRST
test_1 | --- FAIL: TestCompare (646.69s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (45.11s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("3.1.1 aaf4c79"),
test_1 | + string("3.0.1 ec2a9aa"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_scripts_released()::STRING AS col_61723) AS tab_40731 ORDER BY col_61723 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_scripts_released()::TEXT AS col_61723) AS tab_40731 ORDER BY col_61723 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 852e22a2ad78b1a19bd4f504f7079274c0c95fe5:
postgres_1 | 2021-04-28 18:18:21.808 UTC [105] ERROR: function set_masklen(inet, bigint) does not exist at character 126
postgres_1 | 2021-04-28 18:18:21.808 UTC [105] HINT: No function matches the given name and argument types. You might need to add explicit type casts.
postgres_1 | 2021-04-28 18:18:21.808 UTC [105] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (
postgres_1 | SELECT
postgres_1 | tab_187329.col4_5 AS col_358862,
postgres_1 | NULL AS col_358863,
postgres_1 | tab_187329.col4_7 AS col_358864,
postgres_1 | set_masklen('::6/0'::INET::INET, tab_187329.col4_14::INT8)::INET AS col_358865
postgres_1 | FROM
postgres_1 | postgres.public.table4 AS tab_187329
postgres_1 | ORDER BY
postgres_1 | tab_187329.col4_0 DESC
postgres_1 | )
postgres_1 | AS tab_187330
postgres_1 | ORDER BY
postgres_1 | col_358862 NULLS FIRST, CAST(col_358863 AS TEXT) NULLS FIRST, col_358864 NULLS FIRST, col_358865 NULLS FIRST
test_1 | --- FAIL: TestCompare (834.44s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (230.05s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("2.9.10"),
test_1 | + string("2.9.4"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::STRING AS col_358970) AS tab_187391 ORDER BY col_358970 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_libxml_version()::TEXT AS col_358970) AS tab_187391 ORDER BY col_358970 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @rafiss
compose.TestComposeCompare failed with artifacts on master @ 445175daed0848429219755703febfb3b50a73e9:
postgres_1 | false
postgres_1 | ORDER BY
postgres_1 | tab_37124.col1_9 ASC, tab_37124.col1_13 DESC
postgres_1 | )
postgres_1 | AS tab_37125
postgres_1 | ORDER BY
postgres_1 | col_72052 NULLS FIRST, col_72053 NULLS FIRST, col_72054 NULLS FIRST, col_72055 NULLS FIRST, col_72056 NULLS FIRST
test_1 | --- FAIL: TestCompare (650.25s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (49.10s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("E2000-01-01 08:00:00"),
test_1 | + string("E2000-01-01 08:00:00+00"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('E':::STRING::STRING || '2000-01-01 08:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)::STRING AS col_72340)
test_1 | AS tab_37296
test_1 | ORDER BY
test_1 | col_72340 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (SELECT ('E'::TEXT::TEXT || '2000-01-01 08:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT AS col_72340)
test_1 | AS tab_37296
test_1 | ORDER BY
test_1 | col_72340 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @cockroachdb/sql-experience @rafiss
compose.TestComposeCompare failed with artifacts on master @ 42e2e4265087751695afc05fc5ad8ec534fe0121:
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC);
postgres_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_1);
postgres_1 | CREATE UNIQUE INDEX ON table3 (col3_0, col3_1 DESC, col3_2 ASC);
postgres_1 | CREATE TYPE rand_typ_0 AS ENUM ('awy', 'tgeo', 'j');
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('h', 'zi', 'pksvat', 'qbouf', 'txhd');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('tb');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('oa', 'n', 'ivmn');
postgres_1 | CREATE TYPE rand_typ_4 AS ENUM ('s', 'mpkrbs', 'jspc');
postgres_1 |
test_1 | --- FAIL: TestCompare (605.52s)
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | --- FAIL: TestCompare/postgres (2.56s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 DATE NOT NULL, col1_1 INT8 NOT NULL, col1_2 DATE NULL, col1_3 VARCHAR NULL, col1_4 REGPROC, col1_5 INT8 NULL, col1_6 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_2 AS TEXT))) STORED, col1_7 INT8 NULL GENERATED ALWAYS AS (col1_5 + (-1246576657)::INT8) STORED);
test_1 | CREATE INDEX ON table1 (col1_5 ASC, col1_3, col1_6 DESC, col1_2 DESC, col1_1, col1_0);
test_1 | CREATE INDEX ON table1 (col1_3, col1_4 DESC, col1_5, col1_0 ASC, col1_7 DESC, col1_6 DESC, col1_1 DESC);
test_1 | CREATE INDEX ON table1 (col1_5 DESC, col1_3, col1_7, col1_6 DESC, col1_2, col1_4 ASC, col1_0);
test_1 | CREATE INDEX ON table1 (col1_7, col1_1 ASC);
test_1 | CREATE INDEX ON table1 (col1_3 DESC, col1_0, col1_1 DESC);
test_1 | CREATE INDEX ON table1 (col1_7, col1_5, col1_0 ASC) INCLUDE (col1_6);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_1 DESC, col1_5, col1_2, col1_0, col1_4 ASC) INCLUDE (col1_3, col1_6, col1_7);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_5, col1_1 DESC, col1_6 DESC, col1_7, col1_2);
test_1 | CREATE TABLE table2 (col2_0 OID NOT NULL, col2_1 FLOAT8, col2_2 VARCHAR NOT NULL, col2_3 FLOAT8 NOT NULL, col2_4 INT8, col2_5 BOX2D NOT NULL, col2_6 DECIMAL, col2_7 BIT(35), col2_8 DECIMAL, col2_9 BOOL NOT NULL, col2_10 DATE NOT NULL, col2_11 INET NULL, PRIMARY KEY (col2_10, col2_0, col2_9));
test_1 | CREATE UNIQUE INDEX ON table2 (col2_3, col2_9, col2_7, col2_4 ASC, col2_11 ASC, col2_2 DESC, col2_1 DESC, col2_0 ASC, col2_6 DESC, col2_8, col2_10 DESC);
test_1 | CREATE TABLE table3 (col3_0 OID, col3_1 TIMETZ NOT NULL, col3_2 FLOAT8 NOT NULL, PRIMARY KEY (col3_2));
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0 DESC);
test_1 | CREATE INDEX ON table3 (col3_2 ASC, col3_1);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_0, col3_1 DESC, col3_2 ASC);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('awy', 'tgeo', 'j');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('h', 'zi', 'pksvat', 'qbouf', 'txhd');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('tb');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('oa', 'n', 'ivmn');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('s', 'mpkrbs', 'jspc');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: generation expression is not immutable (SQLSTATE 42P17)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @cockroachdb/sql-experience @rafiss
compose.TestComposeCompare failed with artifacts on master @ 684e753c15f3fc58df79b6ea70e7b6715eae4835:
postgres_1 | CREATE TYPE rand_typ_1 AS ENUM ('i', 'gyl', 'o', 'e', 'yvlh', 'l');
postgres_1 | CREATE TYPE rand_typ_2 AS ENUM ('haju');
postgres_1 | CREATE TYPE rand_typ_3 AS ENUM ('hgigz', 'waoe', 'xryqy');
postgres_1 | CREATE TYPE rand_typ_4 AS ENUM ('kxazrp');
postgres_1 |
test_1 | --- FAIL: TestCompare (606.65s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (3.00s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:149: CREATE TABLE table1 (col1_0 TIMETZ NOT NULL, col1_1 TIME, col1_2 GEOGRAPHY[] NOT NULL, col1_3 BYTEA, col1_4 TIMETZ, col1_5 INT8 NOT NULL, col1_6 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col1_2 IS NULL THEN ''::TEXT ELSE e'\nv3'::TEXT END) STORED);
test_1 | CREATE UNIQUE INDEX ON table1 (col1_6 ASC, col1_4, col1_3 DESC) INCLUDE (col1_1, col1_2, col1_5);
test_1 | CREATE INDEX ON table1 (col1_5 ASC, col1_1 DESC) INCLUDE (col1_0, col1_2, col1_3, col1_4);
test_1 | CREATE TABLE table2 (col2_0 "char" NOT NULL, col2_1 REGCLASS NOT NULL, col2_2 BOX2D NULL, col2_3 REGTYPE NOT NULL, col2_4 REGPROCEDURE NOT NULL, PRIMARY KEY (col2_1, col2_0), col2_5 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col2_3 IS NULL THEN e'|\x01s'::TEXT ELSE '^ '::TEXT END) STORED);
test_1 | CREATE UNIQUE INDEX ON table2 (col2_3) INCLUDE (col2_4, col2_5);
test_1 | CREATE INDEX ON table2 (col2_0 ASC, col2_4 DESC) INCLUDE (col2_3);
test_1 | CREATE INDEX ON table2 (col2_0 DESC, col2_5 DESC, col2_4, col2_3 DESC, col2_1 DESC);
test_1 | CREATE TABLE table3 (col2_1 REGCLASS NOT NULL, col2_0 "char" NOT NULL, col3_2 CHAR NULL, PRIMARY KEY (col2_1, col2_0));
test_1 | CREATE INDEX ON table3 (col2_1, col2_0 ASC, col3_2 DESC);
test_1 | CREATE INDEX ON table3 (col2_1, col3_2 ASC);
test_1 | CREATE INDEX ON table3 (col3_2 ASC, col2_1, col2_0 DESC);
test_1 | CREATE INDEX ON table3 (col3_2 ASC);
test_1 | CREATE INDEX ON table3 (col2_1 DESC, col2_0 DESC);
test_1 | CREATE INDEX ON table3 (col2_0, col3_2 ASC, col2_1 DESC);
test_1 | CREATE INDEX ON table3 (col2_1 DESC) INCLUDE (col3_2);
test_1 | CREATE INDEX ON table3 (col3_2, col2_1 DESC, col2_0 DESC);
test_1 | CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col2_0, col2_1 DESC);
test_1 | CREATE TABLE table4 (col4_0 FLOAT8 NULL, col4_1 OID, col4_2 BOOL[] NOT NULL, col4_3 REGTYPE NOT NULL, col4_4 JSONB NOT NULL, col4_5 CHAR NULL, col4_6 REGCLASS NOT NULL);
test_1 | CREATE TABLE table5 (col5_0 INTERVAL[] NOT NULL, col5_1 UUID, col5_2 BIT(17)[], col5_3 REGPROC NULL, col5_4 DATE, col5_5 INT8, col5_6 BYTEA, col5_7 NAME NOT NULL, PRIMARY KEY (col5_7), col5_8 INT8 GENERATED ALWAYS AS (col5_5 + (-1806224584)::INT8) STORED, col5_9 TEXT NULL GENERATED ALWAYS AS (CASE WHEN col5_3 IS NULL THEN e'\x00'::TEXT ELSE e'\'-8\x0f$ZG'::TEXT END) STORED, col5_10 TEXT GENERATED ALWAYS AS (lower(CAST(col5_4 AS TEXT))) STORED, col5_11 TEXT GENERATED ALWAYS AS (lower(CAST(col5_4 AS TEXT))) STORED, col5_12 TEXT NOT NULL GENERATED ALWAYS AS (CASE WHEN col5_0 IS NULL THEN e';.\\fO'::TEXT ELSE e'n\ru\x13\f'::TEXT END) STORED);
test_1 | CREATE TYPE rand_typ_0 AS ENUM ('bzil', 'd', 'lva', 'hmfrob', 'rfzrn', 'aekyoh');
test_1 | CREATE TYPE rand_typ_1 AS ENUM ('i', 'gyl', 'o', 'e', 'yvlh', 'l');
test_1 | CREATE TYPE rand_typ_2 AS ENUM ('haju');
test_1 | CREATE TYPE rand_typ_3 AS ENUM ('hgigz', 'waoe', 'xryqy');
test_1 | CREATE TYPE rand_typ_4 AS ENUM ('kxazrp');
test_1 |
test_1 | compare_test.go:150: postgres: exec: ERROR: invalid byte sequence for encoding "SQL_ASCII": 0x00 (SQLSTATE 22021)
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @cockroachdb/sql-experience @rafiss
compose.TestComposeCompare failed with artifacts on master @ dbf711a83969210bcf706d65f53f888856da6ad0:
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | --- FAIL: TestCompare/postgres (39.09s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare cockroach1 to postgres:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("f2000-01-01 00:00:00D"),
test_1 | + string("false2000-01-01 00:00:00+00D"),
test_1 | }))
test_1 | postgres:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | (false::BOOL || ('2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ || 'D'::TEXT::TEXT)::TEXT::TEXT)::TEXT
test_1 | AS col_49158
test_1 | )
test_1 | AS tab_26983
test_1 | ORDER BY
test_1 | col_49158 NULLS FIRST;
test_1 |
test_1 | cockroach1:
test_1 | SELECT
test_1 | *
test_1 | FROM
test_1 | (
test_1 | SELECT
test_1 | (false::BOOL || ('2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ || 'D':::STRING::STRING)::STRING::STRING)::STRING
test_1 | AS col_49158
test_1 | )
test_1 | AS tab_26983
test_1 | ORDER BY
test_1 | col_49158 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach2_1 ... done
Stopping compare_cockroach1_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @cockroachdb/sql-experience @rafiss
compose.TestComposeCompare failed with artifacts on master @ f9dca40d3afb0a605eeee76bec4a07ff65d6fec0:
postgres_1 | col_197554 NULLS FIRST,
postgres_1 | col_197555 NULLS FIRST,
postgres_1 | col_197556 NULLS FIRST,
postgres_1 | col_197557 NULLS FIRST,
postgres_1 | col_197558 NULLS FIRST,
postgres_1 | col_197559 NULLS FIRST,
postgres_1 | col_197560 NULLS FIRST
postgres_1 | 2021-05-04 18:17:20.934 UTC [105] ERROR: time zone "D" not recognized
postgres_1 | 2021-05-04 18:17:20.934 UTC [105] STATEMENT: SELECT
postgres_1 | *
postgres_1 | FROM
postgres_1 | (
postgres_1 | SELECT
postgres_1 | timezone('D'::TEXT::TEXT, '2000-01-01 06:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TIMESTAMP
postgres_1 | AS col_197593
postgres_1 | )
postgres_1 | AS tab_125450
postgres_1 | ORDER BY
postgres_1 | col_197593 NULLS FIRST
test_1 | --- FAIL: TestCompare (750.66s)
test_1 | compare_test.go:116: Checking connection to: postgres
test_1 | compare_test.go:116: Checking connection to: cockroach1
test_1 | compare_test.go:116: Checking connection to: cockroach2
test_1 | --- FAIL: TestCompare/postgres (146.38s)
test_1 | compare_test.go:125: starting test: postgres
test_1 | compare_test.go:132: initializing connection: cockroach1
test_1 | compare_test.go:132: initializing connection: postgres
test_1 | compare_test.go:175: compare postgres to cockroach1:
test_1 | unexpected diff:
test_1 | []interface{}(Inverse(func1, []interface{}{
test_1 | - string("3.1.1"),
test_1 | + string("3.0.1"),
test_1 | }))
test_1 | cockroach1:
test_1 | SELECT * FROM (SELECT postgis_lib_version()::STRING AS col_197597) AS tab_125454 ORDER BY col_197597 NULLS FIRST;
test_1 |
test_1 | postgres:
test_1 | SELECT * FROM (SELECT postgis_lib_version()::TEXT AS col_197597) AS tab_125454 ORDER BY col_197597 NULLS FIRST;
test_1 |
test_1 | FAIL
compare_test_1 exited with code 1
Stopping compare_cockroach1_1 ...
Stopping compare_postgres_1 ...
Stopping compare_cockroach2_1 ...
Stopping compare_postgres_1 ... done
Stopping compare_cockroach1_1 ... done
Stopping compare_cockroach2_1 ... done
Aborting on container exit...
compose_test.go:49: exit status 1
To reproduce, try: ```bash make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ```
- #62602 compose: TestComposeCompare failed [C-test-failure O-robot branch-release-21.1]
``` mjibson marked as alumn{us/a}; resolving to rafiss instead ```
/cc @cockroachdb/sql-experience @rafiss
(compose).TestComposeCompare failed on master@06944cb1996ed9ccfa036118b810e46673fe0ff4:
More
``` make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1 ``` [See this test on roachdash](https://roachdash.crdb.dev/?filter=status%3Aopen+t%3A.%2ATestComposeCompare.%2A&sort=title&restgroup=false&display=lastcommented+project) powered by [pkg/cmd/internal/issues](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/internal/issues)