cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
29.88k stars 3.77k forks source link

compose: TestComposeCompare failed #56845

Closed cockroach-teamcity closed 3 years ago

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@06944cb1996ed9ccfa036118b810e46673fe0ff4:

        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_4, col2_5 ASC, col2_0 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_7 DESC, col2_2 DESC, col2_6 ASC, col2_1, col2_5 DESC, col2_0, col2_3 ASC, col2_4 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_7, col2_5 ASC, col2_1, col2_6 ASC, col2_4, col2_3 ASC, col2_2, col2_0 DESC);
        test_1        |             CREATE INDEX ON table2 (col2_4, col2_2 DESC) INCLUDE (col2_0);
        test_1        |             CREATE INDEX ON table2 (col2_1 ASC, col2_4 DESC, col2_7 DESC, col2_6 DESC);
        test_1        |             CREATE TABLE table3 (col3_0 INT8 NOT NULL, col3_1 CHAR NOT NULL, col3_2 BYTEA NOT NULL, col3_3 BOOL NOT NULL, col3_4 REGCLASS NOT NULL, col3_5 FLOAT8, col3_6 INT8[] NULL, col3_7 TIMETZ NULL, col3_8 DATE NOT NULL, col3_9 FLOAT8 NOT NULL, col3_10 BYTEA NOT NULL, col3_11 UUID NULL, col3_12 DECIMAL, col3_13 FLOAT8 NOT NULL, col3_14 REGPROCEDURE NOT NULL, col3_15 REGNAMESPACE NOT NULL, PRIMARY KEY (col3_14, col3_13, col3_8, col3_2, col3_10, col3_4, col3_15, col3_1, col3_9));
        test_1        |             CREATE TABLE table4 (col3_14 REGPROCEDURE NOT NULL, col3_13 FLOAT8 NOT NULL, col3_8 DATE NOT NULL, col3_2 BYTEA NOT NULL, col3_10 BYTEA NOT NULL, col3_4 REGCLASS NOT NULL, col3_15 REGNAMESPACE NOT NULL, col3_1 CHAR NOT NULL, col3_9 FLOAT8 NOT NULL, col4_9 INTERVAL NULL, PRIMARY KEY (col3_14, col3_13, col3_8, col3_2, col3_10, col3_4, col3_15, col3_1, col3_9));
        test_1        |             CREATE UNIQUE INDEX ON table4 (col3_2 ASC);
        test_1        |             CREATE INDEX ON table4 (col3_1, col4_9 ASC, col3_9);
        test_1        |             CREATE INDEX ON table4 (col3_9 ASC, col3_1 DESC, col3_2, col3_10, col3_8 DESC, col3_14 DESC, col3_15 DESC, col4_9 DESC, col3_13);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col3_15, col3_2, col4_9 ASC, col3_10 ASC, col3_1 DESC, col3_9 DESC, col3_14, col3_8, col3_13 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_9);
        test_1        |             CREATE INDEX ON table4 (col3_13 ASC, col3_14 ASC, col3_15 DESC, col3_2) INCLUDE (col4_9);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col3_1, col3_2 ASC, col3_13 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col3_2, col3_13 DESC, col3_9 ASC, col3_10 DESC, col3_8, col3_14 ASC, col3_4 ASC, col3_1 DESC, col3_15 ASC, col4_9);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col3_4, col3_2 DESC, col3_8 ASC, col3_9, col3_13 DESC, col3_10, col3_14, col3_15 ASC, col3_1);
        test_1        |             CREATE TABLE table5 (col5_0 TEXT[] NULL, col5_1 BOOL NULL, col5_2 REGCLASS NULL, col5_3 TIMESTAMP, col5_4 INT8, col5_5 INT8, col5_6 VARCHAR, col5_7 TEXT NULL, col5_8 BIT(21), col5_9 OID, col5_10 BIT(49), col5_11 BOOL, col5_12 "char" NULL, col5_13 INTERVAL NULL, col5_14 INTERVAL NOT NULL, col5_15 TEXT, col5_16 BOOL, col5_17 BOX2D);
        test_1        |             CREATE INDEX ON table5 (col5_8, col5_14, col5_5 ASC, col5_10 ASC, col5_1 ASC, col5_11, col5_9 ASC, col5_4 DESC, col5_15, col5_13 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_2, col5_10 DESC, col5_7 DESC, col5_13 DESC, col5_15 ASC, col5_1 DESC, col5_5 DESC, col5_6 DESC, col5_4, col5_3 ASC, col5_12 ASC, col5_16 ASC, col5_9 ASC) INCLUDE (col5_0, col5_8, col5_11, col5_14, col5_17);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_1 ASC, col5_16 DESC, col5_17 ASC, col5_4, col5_2 DESC, col5_15 DESC, col5_11 ASC, col5_12 ASC, col5_5 DESC, col5_6) INCLUDE (col5_0, col5_8, col5_9, col5_10);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_10 ASC, col5_7, col5_17 DESC, col5_1);
        test_1        |             CREATE INDEX ON table5 (col5_13 DESC, col5_16 ASC, col5_12 ASC, col5_14 DESC, col5_7, col5_8 DESC, col5_4 ASC, col5_1 DESC, col5_5 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('vurvfm', 'st', 'zwxky');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        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        |             CREATE TABLE table1 (col1_0 INTERVAL NOT NULL, col1_1 FLOAT4 NULL, col1_2 BYTES NOT NULL, col1_3 DATE NOT NULL, col1_4 REGNAMESPACE NOT NULL, col1_5 STRING NOT NULL, PRIMARY KEY (col1_0 DESC, col1_4 DESC, col1_2 DESC), INDEX (col1_1, col1_5 ASC, col1_4 DESC, col1_0) WHERE table1.col1_2 > e'\\x27':::BYTES, INDEX (col1_4, col1_2 ASC, col1_0 DESC) WHERE (((table1.col1_1 >= 0.0:::FLOAT8) OR (table1.col1_2 > e'\\x27':::BYTES)) OR (table1.col1_3 <= '4714-11-24 BC':::DATE)) AND (table1.col1_5 = e'\U00002603':::STRING), UNIQUE (col1_5 DESC, col1_2 ASC, col1_1 ASC, col1_4, col1_0 DESC) STORING (col1_3) WHERE (table1.col1_3 >= '1970-01-01':::DATE) OR (table1.col1_1 >= 0.0:::FLOAT8), INDEX (col1_3 ASC, col1_2, col1_4 DESC, col1_5, col1_1) WHERE (table1.col1_3 != '1970-01-01':::DATE) OR (table1.col1_1 > 1.401298464324817e-45:::FLOAT8), INDEX (col1_1 ASC) WHERE (table1.col1_1 >= 0.0) AND (table1.col1_2 <= '\x27'), INDEX (col1_4 ASC, col1_5 DESC) STORING (col1_3) WHERE (((table1.col1_1 < -Inf) AND (table1.col1_3 = '4714-11-24 BC')) AND (table1.col1_5 < e'\x00')) OR (table1.col1_2 = '\x00'), INDEX (col1_5 DESC, col1_3 ASC, col1_1) WHERE (((table1.col1_2 < '\xe29883') OR (table1.col1_1 <= 1.0)) OR (table1.col1_3 != '-infinity')) OR (table1.col1_5 < e'\U00002603'), UNIQUE (col1_5) STORING (col1_3) WHERE ((table1.col1_1 > '-Inf':::FLOAT8) AND (table1.col1_2 < e'\\x00':::BYTES)) AND (table1.col1_3 >= '4714-11-24 BC':::DATE), INDEX (col1_1 DESC, col1_0, col1_5 DESC, col1_2 ASC, col1_3, col1_4 DESC), FAMILY (col1_3), FAMILY (col1_0), FAMILY (col1_2, col1_1), FAMILY (col1_4, col1_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 297, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "-0.8077356219291687"}, {"distinct_range": 4884620.975677108, "num_eq": 100000000, "num_range": 6000000, "upper_bound": "-0.04603995382785797"}, {"distinct_range": 1610565044583911200, "num_eq": 4658770328225459898, "num_range": 6783238225420596526, "upper_bound": "0.0"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 664, "row_count": 800}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220, "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": 784, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 700, "num_eq": 8705294959235858768, "num_range": 700, "upper_bound": "1972-09-27"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 7558013972544563136, "upper_bound": "1974-08-27"}, {"distinct_range": 700, "num_eq": 2807331542370169869, "num_range": 700, "upper_bound": "1989-06-28"}, {"distinct_range": 2486909850895121400, "num_eq": 3276077972441879336, "num_range": 5864369844849934535, "upper_bound": "1994-04-02"}, {"distinct_range": 1041633211.3044033, "num_eq": 7510958036383694846, "num_range": 4000000000, "upper_bound": "1994-05-29"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 305, "histo_buckets": [{"distinct_range": 0, "num_eq": 4362656743032084859, "num_range": 0, "upper_bound": "51513504"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "76099314"}, {"distinct_range": 3882606063.593031, "num_eq": 7668195071049074503, "num_range": 6000000000, "upper_bound": "1672935595"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 745, "histo_buckets": [{"distinct_range": 0, "num_eq": 8505440873109504670, "num_range": 0, "upper_bound": "\\u000eR~:\\u0019dq"}, {"distinct_range": 10000000000, "num_eq": 900000, "num_range": 10000000000, "upper_bound": "\\u001eZ\\u0016YZ7)w!"}, {"distinct_range": 10, "num_eq": 1242421543958886454, "num_range": 10, "upper_bound": "#b"}, {"distinct_range": 2026442198714444800, "num_eq": 40000, "num_range": 2555940793393464550, "upper_bound": "?bKN\'"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285, "histo_buckets": [{"distinct_range": 0, "num_eq": 2119523058634866312, "num_range": 0, "upper_bound": "-61 years -117 days -03:04:32.961583"}, {"distinct_range": 3000, "num_eq": 0, "num_range": 3000, "upper_bound": "-11 years -481 days -13:47:22.017953"}, {"distinct_range": 6831891354833113000, "num_eq": 300000000, "num_range": 6831891354833113566, "upper_bound": "65 years 7 mons 444 days 03:35:58.003542"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 800}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('chbbwb', 'skobcv', 'uspu', 'khx', 'polqw', 'f');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('b', 'fcews', 'snzz', 'mzxsoz', 'ryxiq', 't');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('ymj', 'c', 'hpvo');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('f', 'oanm', 'nwwkz', 'qqwz', 'xccst');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('h');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1838333920963923692, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 8710796370276273160, "num_range": 772474106717724496, "upper_bound": "\\u0000"}, {"distinct_range": 50000, "num_eq": 5000000, "num_range": 50000, "upper_bound": "\'\\r"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 300, "upper_bound": "I[xQ<W\\u0006\\u0007X"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 5805222229389395114}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2830039195221570006, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "-50 years -2 mons -535 days -18:26:49.488444"}, {"distinct_range": 5562626094198901000, "num_eq": 60000000, "num_range": 8654107938860693580, "upper_bound": "-22 years -4 mons -664 days -00:35:50.30695"}, {"distinct_range": 2676856898960741400, "num_eq": 1609683175858932668, "num_range": 2676856898960741200, "upper_bound": "-22 years -11 mons -441 days -05:16:42.467298"}, {"distinct_range": 237.54749490406928, "num_eq": 40000000, "num_range": 1000, "upper_bound": "-18 years -5 mons -129 days -21:56:00.705187"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 8000, "upper_bound": "8 years 8 mons 142 days 16:11:20.469481"}, {"distinct_range": 7243118906100415000, "num_eq": 800000000, "num_range": 8542866341923151972, "upper_bound": "12 years 651 days 20:43:33.94171"}, {"distinct_range": 19.761520728232075, "num_eq": 900000000, "num_range": 80, "upper_bound": "46 years 7 mons 501 days 05:17:39.388726"}, {"distinct_range": 4143343947830002700, "num_eq": 900, "num_range": 7789910068949277606, "upper_bound": "70 years 2 mons 676 days 07:40:06.269296"}, {"distinct_range": 70850974.0693859, "num_eq": 80000000, "num_range": 100000000, "upper_bound": "75 years 3 mons 605 days 23:17:36.137675"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5805222229389395114}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3344941051893330634, "histo_buckets": [{"distinct_range": 0, "num_eq": 6527010983162974654, "num_range": 0, "upper_bound": "-0.2042299509048462"}, {"distinct_range": 0, "num_eq": 5051212583938548709, "num_range": 8591114541933225755, "upper_bound": "0.2463379055261612"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3060858986414540261, "upper_bound": "0.7044917941093445"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 3105631888214498083, "row_count": 5805222229389395114}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2138003543833275446, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5805222229389395114}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2705653004774982736, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 5805222229389395114}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2341020466715409802, "histo_buckets": [{"distinct_range": 0, "num_eq": 1343988266138674422, "num_range": 0, "upper_bound": "117598067"}, {"distinct_range": 187.8855961455652, "num_eq": 7079972733172286630, "num_range": 400, "upper_bound": "1325195945"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 5805222229389395114}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2370684656036170201, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "501373729"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 6010714191886569819}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1314185067688028832, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6010714191886569819}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1043215994213195324, "histo_buckets": [{"distinct_range": 0, "num_eq": 7921821122121141582, "num_range": 0, "upper_bound": "-34 years -3 mons -849 days -06:50:29.240699"}, {"distinct_range": 0, "num_eq": 30, "num_range": 10000, "upper_bound": "74 years 8 mons 643 days 19:04:46.373705"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 6010714191886569819}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2544902280184549321, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-0.4242779314517975"}, {"distinct_range": 664614790337116400, "num_eq": 3000000, "num_range": 2697376229200832815, "upper_bound": "0.4465687870979309"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1723940467247944265, "row_count": 6010714191886569819}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5166093138798763660, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6010714191886569819}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1618784862613990158, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "1976-11-10"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 6010714191886569819}]';
        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_postgres_1   ... 
        Stopping compare_cockroach2_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@422560bfa1d125b50ca820c82b313c340cd51bec:


        postgres_1    | server stopped
        postgres_1    | 
        postgres_1    | PostgreSQL init process complete; ready for start up.
        postgres_1    | 
        postgres_1    | 2021-01-16 06:13:59.559 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-16 06:13:59.559 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-16 06:13:59.563 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-16 06:13:59.578 UTC [86] LOG:  database system was shut down at 2021-01-16 06:13:59 UTC
        test_1        | --- FAIL: TestCompare (2.40s)
        test_1        |     --- FAIL: TestCompare/postgres (1.53s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.87s)
        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        |             CREATE TABLE table1 (col1_0 DATE NOT NULL, col1_1 BYTES NOT NULL, col1_2 REGCLASS NOT NULL, col1_3 NAME NOT NULL, col1_4 FLOAT4 NOT NULL, col1_5 STRING NOT NULL, col1_6 "char" NOT NULL, col1_7 TIMESTAMPTZ NOT NULL, col1_8 TIMESTAMP[] NULL, col1_9 INET NOT NULL, col1_10 FLOAT4 NOT NULL, col1_11 BIT(10) NOT NULL, col1_12 BIT(17) NOT NULL, col1_13 BIT(3) NOT NULL, col1_14 TIMESTAMPTZ NOT NULL, col1_15 INT4 NOT NULL, PRIMARY KEY (col1_3 ASC, col1_14 ASC, col1_15 DESC, col1_9 DESC, col1_6, col1_4, col1_5, col1_11 ASC, col1_13, col1_0, col1_10 DESC, col1_2 ASC, col1_12), FAMILY (col1_2, col1_15, col1_10, col1_13, col1_8, col1_3), FAMILY (col1_9, col1_4, col1_6), FAMILY (col1_5), FAMILY (col1_14, col1_11, col1_1), FAMILY (col1_7, col1_0), FAMILY (col1_12), UNIQUE (col1_3, col1_2) STORING (col1_7, col1_8) WHERE (((((((((table1.col1_0 >= '4714-11-24 BC') AND (table1.col1_15 <= -1)) OR (table1.col1_7 < '-2000-01-01 00:00:00+00:00')) AND (table1.col1_3 <= e'\U00002603')) OR (table1.col1_4 != 1.401298464324817e-45)) AND (table1.col1_5 >= e'\'')) OR (table1.col1_1 = '\xff')) OR (table1.col1_6 = '')) AND (table1.col1_14 = '0001-01-01 00:00:00+00:00')) AND (table1.col1_10 < -Inf));
        test_1        |             CREATE TABLE table2 (col1_3 NAME NOT NULL, col1_14 TIMESTAMPTZ NOT NULL, col1_15 INT4 NOT NULL, col1_9 INET NOT NULL, col1_6 "char" NOT NULL, col1_4 FLOAT4 NOT NULL, col1_5 STRING NOT NULL, col1_11 BIT(10) NOT NULL, col1_13 BIT(3) NOT NULL, col1_0 DATE NOT NULL, col1_10 FLOAT4 NOT NULL, col1_2 REGCLASS NOT NULL, col1_12 BIT(17) NOT NULL, col2_13 UUID NULL, col2_14 STRING NOT NULL, col2_15 BIT(30) NOT NULL, col2_16 BIT(20), col2_17 INET NULL, col2_18 INT2, col2_19 CHAR NULL, col2_20 REGPROCEDURE NULL, col2_21 CHAR NOT NULL, col2_22 VARCHAR NULL, col2_23 INT8 NOT NULL, col2_24 OID, col2_25 UUID NOT NULL, col2_26 BIT(9) NULL, col2_27 OID NULL, col2_28 REGNAMESPACE, col2_29 OID, PRIMARY KEY (col1_3 ASC, col1_14 ASC, col1_15 DESC, col1_9 DESC, col1_6, col1_4, col1_5, col1_11 ASC, col1_13, col1_0, col1_10 DESC, col1_2 ASC, col1_12, col2_18 ASC, col2_17, col2_13 DESC, col2_14 DESC, col2_21, col2_15 DESC, col2_22, col2_16 DESC, col2_27 DESC, col2_20 DESC, col2_25 DESC, col2_26 DESC, col2_23, col2_29), INDEX (col2_24 ASC, col1_9, col2_14 DESC, col1_14 DESC, col2_19 ASC, col1_3 ASC, col2_23 DESC, col2_17, col1_12 ASC, col1_11 DESC, col2_13 DESC, col1_0 ASC, col1_13 ASC, col2_27 DESC, col2_16 DESC, col1_10 ASC, col2_20 DESC, col2_29 ASC, col1_15, col2_26, col2_15 DESC, col2_22 ASC, col1_5 ASC, col2_28 DESC, col1_4 ASC, col2_25, col2_18 DESC, col1_2 ASC, col2_21 ASC), INDEX (col1_6 DESC, col1_13 ASC, col1_3, col1_2, col1_4, col2_13, col2_25 ASC, col2_23, col1_11 ASC, col2_18, col1_12 DESC, col2_28 DESC, col2_16) STORING (col2_24), UNIQUE (col2_24, col1_12 ASC, col2_23 DESC, col2_18 ASC, col1_15 ASC, col2_20 DESC, col2_14, col1_13 DESC, col1_0 DESC, col2_25, col2_21, col2_29, col2_28, col2_17, col2_27 DESC, col1_2 ASC, col2_15 DESC, col2_22 DESC, col2_13 DESC, col1_4 DESC, col2_16 ASC, col2_19 DESC, col1_11 DESC, col1_3 ASC, col1_5), INDEX (col2_20 DESC, col2_27, col1_4 DESC, col2_18, col2_24 ASC, col1_3 DESC, col2_14, col1_6, col1_0, col1_12 ASC, col2_26 ASC, col2_16 DESC, col2_25 DESC, col2_13, col1_13, col2_17, col1_10 DESC, col1_9 DESC, col2_21 ASC, col2_15 DESC, col1_15 DESC, col1_11 ASC, col2_22 ASC, col2_29 ASC, col1_2 ASC, col1_14, col2_23 ASC, col2_28 ASC, col1_5 ASC) WHERE (((((table2.col1_3 >= '':::STRING) OR (table2.col2_18 <= (-1):::INT8)) AND (table2.col1_5 = '':::STRING)) OR (table2.col2_22 != '"':::STRING)) OR (table2.col1_0 >= '4714-11-24 BC':::DATE)) AND (table2.col1_4 <= 1.0:::FLOAT8), INDEX (col2_16 DESC, col2_27, col1_12 ASC, col2_21 DESC, col2_29 ASC, col1_13 DESC, col2_17 ASC, col2_23 ASC, col2_13 DESC, col2_15 ASC, col1_14 DESC, col1_9, col1_0 ASC, col1_3, col1_5 ASC, col1_10 ASC, col2_14, col1_4, col2_26 ASC, col2_22 DESC, col2_28, col2_19 ASC, col2_18, col2_24 ASC, col1_2 DESC, col1_15), FAMILY (col2_25), FAMILY (col1_15, col1_11), FAMILY (col2_28), FAMILY (col1_9, col2_13, col2_24, col1_14), FAMILY (col2_20, col2_15), FAMILY (col2_17), FAMILY (col2_27), FAMILY (col2_14, col2_23, col1_5, col1_12, col2_19), FAMILY (col1_0, col1_10), FAMILY (col1_4, col2_21), FAMILY (col1_3, col2_16), FAMILY (col2_22), FAMILY (col2_18), FAMILY (col2_26, col1_13, col1_2, col1_6), FAMILY (col2_29), UNIQUE (col1_14)) INTERLEAVE IN PARENT table1 (col1_3, col1_14, col1_15, col1_9, col1_6, col1_4, col1_5, col1_11, col1_13, col1_0, col1_10, col1_2, col1_12);
        test_1        |             CREATE TABLE table3 (col3_0 REGPROC NULL, col3_1 "char" NULL, col3_2 BIT(40) NULL, col3_3 STRING, col3_4 TIMESTAMP[] NOT NULL, col3_5 VARCHAR[], col3_6 BOOL NOT NULL, col3_7 BIT(34) NULL, col3_8 VARCHAR, UNIQUE (col3_8 ASC, col3_3 DESC) STORING (col3_0, col3_1, col3_2, col3_6, col3_7) WHERE (((table3.col3_1 > '"':::STRING) OR (table3.col3_3 <= e'\x00':::STRING)) AND (table3.col3_8 > e'\U00002603':::STRING)) AND (NOT table3.col3_6), UNIQUE (col3_7, col3_6 ASC, col3_8) STORING (col3_0, col3_1, col3_2, col3_4), INDEX (col3_1 DESC, col3_2 ASC, col3_6 DESC, col3_3) STORING (col3_0, col3_5, col3_8) WHERE ((table3.col3_1 >= '':::STRING) AND (NOT table3.col3_6)) OR (table3.col3_8 >= e'\'':::STRING), UNIQUE (col3_8 DESC, col3_3 ASC) STORING (col3_1, col3_4, col3_7), INDEX (col3_8, col3_1, col3_0, col3_7 DESC, col3_3 DESC) STORING (col3_2, col3_4, col3_5, col3_6) WHERE (((table3.col3_3 > 'X':::STRING) AND (table3.col3_8 = e'\U00002603':::STRING)) AND (NOT table3.col3_6)) OR (table3.col3_1 != e'\x00':::STRING), INDEX (col3_2 DESC, col3_1 ASC) STORING (col3_3, col3_5, col3_7, col3_8), FAMILY (col3_2), FAMILY (col3_8), FAMILY (col3_1, col3_4, col3_5), FAMILY (col3_3), FAMILY (col3_0, col3_6, col3_7));
        test_1        |             CREATE TABLE table4 (col4_0 REGTYPE, col4_1 FLOAT4 NOT NULL, col4_2 BOOL NULL, col4_3 TIMETZ NULL, col4_4 INT4, col4_5 DATE NULL, col4_6 INT2, col4_7 BOX2D, col4_8 VARCHAR NULL, col4_9 "char", col4_10 INTERVAL NOT NULL, col4_11 NAME, col4_12 REGCLASS NULL, col4_13 INT4 NOT NULL, col4_14 TIMETZ, col4_15 REGCLASS NOT NULL, col4_16 FLOAT8, col4_17 STRING NOT NULL, PRIMARY KEY (col4_17 DESC, col4_15), UNIQUE (col4_6 ASC, col4_9 DESC, col4_7, col4_5, col4_17, col4_11, col4_1 DESC, col4_0 DESC, col4_12 ASC, col4_10 ASC, col4_13 ASC) STORING (col4_3, col4_8, col4_14, col4_16), UNIQUE (col4_14 DESC, col4_9, col4_6 ASC, col4_11 DESC, col4_13, col4_8 DESC, col4_3 ASC, col4_2 ASC, col4_1 DESC, col4_5 DESC, col4_7 DESC, col4_15 DESC, col4_10 ASC, col4_16, col4_12 DESC) WHERE ((((((((((((table4.col4_8 < e'\'':::STRING) AND (table4.col4_1 > 1.0:::FLOAT8)) AND (table4.col4_16 >= 3.4028234663852886e+38:::FLOAT8)) AND (table4.col4_11 < '"':::STRING)) AND (table4.col4_4 <= (-128):::INT8)) AND (table4.col4_17 = e'\'':::STRING)) OR (table4.col4_3 >= '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_6 <= 0:::INT8)) AND table4.col4_2) AND (table4.col4_9 < '':::STRING)) AND (table4.col4_13 >= (-2147483648):::INT8)) AND (table4.col4_14 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col4_5 = 'infinity':::DATE), INDEX (col4_1 DESC, col4_12 ASC, col4_15, col4_9 ASC) STORING (col4_0, col4_4, col4_7, col4_8, col4_10, col4_14, col4_16) WHERE (((((((table4.col4_9 >= 'X':::STRING) OR (table4.col4_6 = 1:::INT8)) AND (table4.col4_13 = 1:::INT8)) OR (table4.col4_3 < '00:00:00+15:59:00':::TIMETZ)) OR (table4.col4_1 > 'NaN':::FLOAT8)) AND (table4.col4_17 <= e'\U00002603':::STRING)) AND (table4.col4_16 > 1.0:::FLOAT8)) AND (table4.col4_5 = '5874897-12-31':::DATE), UNIQUE (col4_10, col4_6, col4_15, col4_16 DESC, col4_7 ASC, col4_9 DESC, col4_17 DESC, col4_5 ASC, col4_14, col4_4, col4_0 ASC) STORING (col4_8, col4_12, col4_13), INDEX (col4_9 DESC, col4_11, col4_14 ASC, col4_10 DESC, col4_1 ASC, col4_7 DESC, col4_6 DESC, col4_12 DESC, col4_15 DESC, col4_17 DESC, col4_4, col4_5 DESC, col4_8 ASC, col4_2, col4_3 DESC), INDEX (col4_17 DESC, col4_7 ASC, col4_11, col4_12 DESC, col4_16, col4_9, col4_0 DESC, col4_1, col4_10 ASC, col4_3 DESC, col4_6 DESC, col4_13 ASC) STORING (col4_4, col4_14) WHERE table4.col4_8 > 'X', INDEX (col4_10 DESC, col4_0, col4_3, col4_5 ASC, col4_6 DESC, col4_11, col4_1 ASC) STORING (col4_7, col4_8, col4_12, col4_13) WHERE ((((((NOT table4.col4_2) OR (table4.col4_14 <= '00:00:00+15:59:00')) OR (table4.col4_4 >= 1)) AND (table4.col4_13 < -2147483648)) OR (table4.col4_3 >= '00:00:00+15:59:00')) AND (table4.col4_9 > e'\U00002603')) AND (table4.col4_16 > +Inf), UNIQUE (col4_1 ASC, col4_4, col4_3 DESC, col4_0 DESC, col4_12 ASC, col4_15, col4_9, col4_11, col4_2, col4_7 DESC, col4_5 ASC, col4_17) WHERE ((((((((((((table4.col4_14 < '00:00:00+15:59:00':::TIMETZ) AND (table4.col4_13 > 1:::INT8)) OR (table4.col4_9 != e'\'':::STRING)) OR (table4.col4_17 > e'\U00002603':::STRING)) AND table4.col4_2) AND (table4.col4_1 != 'NaN':::FLOAT8)) OR (table4.col4_16 < '-Inf':::FLOAT8)) OR (table4.col4_5 > '1970-01-01':::DATE)) OR (table4.col4_3 != '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_11 = '"':::STRING)) OR (table4.col4_8 = e'\x00':::STRING)) OR (table4.col4_4 = (-128):::INT8)) AND (table4.col4_6 < 32767:::INT8), UNIQUE (col4_2, col4_6 DESC, col4_10 DESC, col4_15 ASC, col4_4 DESC, col4_17 ASC, col4_11, col4_13) STORING (col4_3, col4_8, col4_12, col4_14) WHERE (((((((((((table4.col4_9 <= e'\x00':::STRING) AND (table4.col4_13 > (-2147483648):::INT8)) OR (table4.col4_5 >= '-infinity':::DATE)) OR (table4.col4_6 = 0:::INT8)) AND (table4.col4_16 != '-Inf':::FLOAT8)) OR table4.col4_2) AND (table4.col4_3 < '00:00:00+15:59:00':::TIMETZ)) OR (table4.col4_4 <= (-2147483648):::INT8)) AND (table4.col4_17 > e'\'':::STRING)) AND (table4.col4_14 <= '24:00:00-15:59:00':::TIMETZ)) OR (table4.col4_11 < e'\'':::STRING)) AND (table4.col4_8 <= 'X':::STRING), FAMILY (col4_7), FAMILY (col4_9, col4_1), FAMILY (col4_13), FAMILY (col4_16, col4_6, col4_3), FAMILY (col4_10), FAMILY (col4_12), FAMILY (col4_17, col4_8, col4_14, col4_4), FAMILY (col4_5, col4_0, col4_2), FAMILY (col4_11, col4_15));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 165789646120859888, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2685918057876230825, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3084283862046118580, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3597888320904306839, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4129843744108228191, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3069876388256281425, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1700970633267392905, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1738686331995108345, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4372400454787032287, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2473005545013479774, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1598749245522852771, "histo_col_type": "", "name": "__auto__", "null_count": 3300134006498667954, "row_count": 4518424148999533267}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1287789431946952505, "histo_buckets": [{"distinct_range": 0, "num_eq": 8039109476941714453, "num_range": 0, "upper_bound": "\\u0013j\\u001d\\u0016$\\u0007]\\u001b&"}, {"distinct_range": 13948015.282837875, "num_eq": 2000000, "num_range": 20000000, "upper_bound": "\\u001a*\\u0019c"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 9064492187465082908, "upper_bound": "\\""}, {"distinct_range": 42375354728.152306, "num_eq": 0, "num_range": 100000000000, "upper_bound": ")z)"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 100000, "upper_bound": "I\\u0004l\\n<4M"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 5664411944665850469, "upper_bound": "aK\\u0002"}, {"distinct_range": 400000000, "num_eq": 7000000000, "num_range": 400000000, "upper_bound": "ac\\u0014\\u001d\\\\y"}, {"distinct_range": 0, "num_eq": 5626570758365283408, "num_range": 80000, "upper_bound": "p;"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 888977622904915728, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2988794518677765429, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2745758581415025260, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3060896472223202727, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4518424148999533267}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 164756, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147900, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 226287, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 134402, "histo_col_type": "", "name": "__auto__", "null_count": 224410, "row_count": 300000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8876, "histo_col_type": "", "name": "__auto__", "null_count": 287209, "row_count": 300000}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 225534, "histo_col_type": "", "name": "__auto__", "null_count": 251142, "row_count": 300000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 270416, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47794, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 293340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53218, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 203827, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114057, "histo_buckets": [{"distinct_range": 0, "num_eq": 374700380745146929, "num_range": 0, "upper_bound": "\\u0013\\u001b\\u0015"}, {"distinct_range": 5.045727320567305, "num_eq": 5699527669237608520, "num_range": 40, "upper_bound": "\'"}, {"distinct_range": 36939.04248117149, "num_eq": 300000, "num_range": 80000, "upper_bound": "4!Bf@"}, {"distinct_range": 0, "num_eq": 6618583488621495305, "num_range": 2160661688651112109, "upper_bound": "7-\\u0010H\\\\/1\\u001e"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 3883515977893644723, "upper_bound": "JIj$,"}, {"distinct_range": 5703992161616165000, "num_eq": 7205591786753380716, "num_range": 5703992161616164736, "upper_bound": "b!\\u0006!y\\u001f\\t"}, {"distinct_range": 1048212933644634900, "num_eq": 30000000, "num_range": 1048212933644634886, "upper_bound": "n"}, {"distinct_range": 1468488099053148700, "num_eq": 1155313851963545498, "num_range": 1590013993365594913, "upper_bound": "p?Ui9e"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 150321, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88414, "histo_col_type": "", "name": "__auto__", "null_count": 202738, "row_count": 300000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 294368, "histo_buckets": [{"distinct_range": 0, "num_eq": 937140540604877772, "num_range": 0, "upper_bound": "\\u0011"}, {"distinct_range": 0, "num_eq": 2495688958807631890, "num_range": 900000000, "upper_bound": "\\u001c"}, {"distinct_range": 0, "num_eq": 2612742108201072673, "num_range": 600000, "upper_bound": "&"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 100000, "upper_bound": "5"}, {"distinct_range": 5000, "num_eq": 3399904332428507807, "num_range": 5000, "upper_bound": "M"}, {"distinct_range": 0, "num_eq": 1206001194443363880, "num_range": 5562133009811792929, "upper_bound": "`"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 60000000, "upper_bound": "l"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 106329, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75017, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 177693, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6187905101058923325, "upper_bound": "1076849470"}, {"distinct_range": 200, "num_eq": 2843665709632181331, "num_range": 200, "upper_bound": "2653742282"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 100000000, "upper_bound": "3091930915"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 79663, "row_count": 300000}, {"columns": ["col2_29"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 256129, "histo_col_type": "", "name": "__auto__", "null_count": 277925, "row_count": 300000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 227685, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 198344, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 224468, "histo_col_type": "", "name": "__auto__", "null_count": 203883, "row_count": 300000}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250953, "histo_col_type": "OID", "name": "__auto__", "null_count": 25550, "row_count": 300000}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239380, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145278, "histo_col_type": "", "name": "__auto__", "null_count": 72173, "row_count": 300000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241447, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68264, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "00010000011001100001"}, {"distinct_range": 1919.9030169232592, "num_eq": 70000, "num_range": 3000, "upper_bound": "00011101111101000011"}, {"distinct_range": 274583197851755680, "num_eq": 2537694492782097747, "num_range": 1950134577321722873, "upper_bound": "01010010001010000100"}, {"distinct_range": 0, "num_eq": 1180208329788888374, "num_range": 0, "upper_bound": "10000011010110100001"}, {"distinct_range": 0, "num_eq": 4720933159536173806, "num_range": 9000000000, "upper_bound": "10111111000100011010"}], "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 21919, "row_count": 300000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50364, "histo_col_type": "", "name": "__auto__", "null_count": 199893, "row_count": 300000}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 126153, "histo_col_type": "", "name": "__auto__", "null_count": 46868, "row_count": 300000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_1"], "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": "."}, {"distinct_range": 20000000000, "num_eq": 10000000, "num_range": 20000000000, "upper_bound": "4"}, {"distinct_range": 1943591646456984300, "num_eq": 1834966377864661542, "num_range": 1943591646456984321, "upper_bound": "6"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 1606455133962881621, "upper_bound": "L"}, {"distinct_range": 531942.8575283359, "num_eq": 3766135615592216244, "num_range": 700000, "upper_bound": "d"}, {"distinct_range": 8973456647737912000, "num_eq": 5000000000, "num_range": 8973456647737912034, "upper_bound": "\U00002603"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_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": ["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_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8211363710327096693, "num_range": 0, "upper_bound": "0001101110101010100000110101100110"}, {"distinct_range": 2226690996958794800, "num_eq": 1359532869024845270, "num_range": 2226690996958794877, "upper_bound": "0001111111000101000010000111111111"}, {"distinct_range": 7492720929168604000, "num_eq": 7953884806523863283, "num_range": 7492720929168604389, "upper_bound": "0101101011000111100101100010111011"}, {"distinct_range": 205.9697182668953, "num_eq": 6000000000, "num_range": 400, "upper_bound": "1001010010010010011011101110001010"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6885737464297430983, "upper_bound": "1011010100101000000010001001000111"}, {"distinct_range": 4702560.846138577, "num_eq": 6835871413958607661, "num_range": 50000000, "upper_bound": "1100111001011100001110100111100110"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1110000100010111001100010000100010"}, {"distinct_range": 237.6344584475076, "num_eq": 1135146368722740920, "num_range": 900, "upper_bound": "1110100011101010110010101111110000"}, {"distinct_range": 1540978371798732800, "num_eq": 5016822225859614108, "num_range": 2179970385678995652, "upper_bound": "1111100111111001110000100100110110"}], "histo_col_type": "BIT(34)", "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_col_type": "", "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": 300000, "num_range": 0, "upper_bound": "0111111111111111111111111111111111111111"}], "histo_col_type": "BIT(40)", "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": "", "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_buckets": [{"distinct_range": 0, "num_eq": 7390487801176638073, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "\\u0007"}, {"distinct_range": 42044.14923936516, "num_eq": 800000, "num_range": 90000, "upper_bound": "\\nE"}, {"distinct_range": 0, "num_eq": 40, "num_range": 10000000, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 2629637747660779988, "num_range": 5000, "upper_bound": "D\\u0016\\n\\u0006\\u0008P"}, {"distinct_range": 7978116357646340000, "num_eq": 400000000, "num_range": 7978116357646340575, "upper_bound": "K<\\u001afaW\\u0001*"}, {"distinct_range": 3657596.319215924, "num_eq": 1015636059696824602, "num_range": 4000000, "upper_bound": "w\\u001f5\\u0004"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 746, "histo_col_type": "", "name": "__auto__", "null_count": 355, "row_count": 900}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 730, "histo_buckets": [{"distinct_range": 0, "num_eq": 4127746410988250084, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 3263131227808896000, "num_eq": 700, "num_range": 3263131227808896209, "upper_bound": "01:14:47.151132+13:27:00"}, {"distinct_range": 29.081862029467082, "num_eq": 1539761169038756708, "num_range": 100, "upper_bound": "15:38:52.539584-09:33:00"}, {"distinct_range": 191210313.84186476, "num_eq": 100000000000, "num_range": 600000000, "upper_bound": "15:21:07.391699-13:02:00"}, {"distinct_range": 6543644575704882000, "num_eq": 3197185750403139127, "num_range": 6543644575704882528, "upper_bound": "18:53:14.966656-12:01:00"}, {"distinct_range": 6482426782294282000, "num_eq": 300000, "num_range": 6482426782294282744, "upper_bound": "18:49:45.375608-12:10:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1520900061679449652, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 357, "row_count": 900}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 291, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 2620294482024267745, "num_range": 3170238419189502022, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 12, "row_count": 900}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798, "histo_col_type": "INT2", "name": "__auto__", "null_count": 274, "row_count": 900}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266, "histo_col_type": "", "name": "__auto__", "null_count": 7, "row_count": 900}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 786, "histo_col_type": "", "name": "__auto__", "null_count": 92, "row_count": 900}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 533, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "%"}, {"distinct_range": 100000, "num_eq": 0, "num_range": 100000, "upper_bound": "6"}, {"distinct_range": 2934969959514415600, "num_eq": 90000, "num_range": 2934969959514415731, "upper_bound": "r"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 276, "row_count": 900}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 890, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 607, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 578, "histo_col_type": "", "name": "__auto__", "null_count": 89, "row_count": 900}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103, "histo_buckets": [{"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2729980901705647600, "num_eq": 800000, "num_range": 2729980901705647744, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 3131052097073983661, "upper_bound": "+"}, {"distinct_range": 9884658.614902265, "num_eq": 70000, "num_range": 10000000, "upper_bound": "<ia\\u001eSsGM"}, {"distinct_range": 28972399.740428694, "num_eq": 90000, "num_range": 40000000, "upper_bound": "[SsHd "}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 8000000, "upper_bound": "j\\u000f_ "}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 166, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "-0.008807048201560974"}, {"distinct_range": 2.8127019591324407, "num_eq": 3899193360053689383, "num_range": 30, "upper_bound": "0.039569973945617676"}, {"distinct_range": 1737345311517275000, "num_eq": 20000, "num_range": 3971083042767529390, "upper_bound": "0.32344433665275574"}, {"distinct_range": 5131612166056552000, "num_eq": 2000000, "num_range": 5131612166056552578, "upper_bound": "1.666284441947937"}, {"distinct_range": 100, "num_eq": 6916028015518049817, "num_range": 100, "upper_bound": "2.101722240447998"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 215, "histo_col_type": "", "name": "__auto__", "null_count": 30, "row_count": 900}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 280, "histo_col_type": "", "name": "__auto__", "null_count": 53, "row_count": 900}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 407, "histo_col_type": "", "name": "__auto__", "null_count": 874, "row_count": 900}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 287, "histo_buckets": [{"distinct_range": 0, "num_eq": 8743025789767407045, "num_range": 0, "upper_bound": "-8 years -3 mons -173 days -11:34:42.252923"}, {"distinct_range": 1308.8098388931323, "num_eq": 5988167791553266473, "num_range": 2000, "upper_bound": "-1 years -3 mons -467 days -22:19:36.848945"}, {"distinct_range": 6634126597844151000, "num_eq": 400000000, "num_range": 6634126597844151646, "upper_bound": "42 years 5 mons 980 days 13:58:03.325457"}, {"distinct_range": 9312391.004600905, "num_eq": 9138648373864819194, "num_range": 10000000, "upper_bound": "65 years 323 days 13:48:25.972374"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 501, "histo_col_type": "", "name": "__auto__", "null_count": 235, "row_count": 900}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 872, "histo_col_type": "", "name": "__auto__", "null_count": 83, "row_count": 900}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_22, col2_24) REFERENCES table1 (col1_3, col1_2);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('yrke', 'gv', 'wuonvq', 'a', 'q', 'i');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('uxrbhg', 'mqtn', 'eqfyds', 'fdbiz', 'loq', 'yyc');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('ypoc');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('tkp', 'ibhsu');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5514618781826168116, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2482256694789608408, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2841489515992033202, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 874911657583048162, "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4882389706357324303, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4322189730033489045, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3471616798912765093, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4568754190853703544, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4586223970367496006, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6816354595665128071, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3633592640724981264, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6570134597838934458, "histo_col_type": "", "name": "__auto__", "null_count": 3020377444732870245, "row_count": 7968504722793522435}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 719922441078118269, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1647107586388161054, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3005704593748098872, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4251434184031407916, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7968504722793522435}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6248756209103152230, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1600910460167090637, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3779670394716372244, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3760831243476283905, "histo_buckets": [{"distinct_range": 0, "num_eq": 8380526251066247878, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 663970571050822700, "num_eq": 8000000000, "num_range": 1262864741917310083, "upper_bound": "1727207244"}, {"distinct_range": 74.49312775832288, "num_eq": 100000000000, "num_range": 100, "upper_bound": "1973403896"}, {"distinct_range": 549523.907058668, "num_eq": 8000, "num_range": 2000000, "upper_bound": "2186270375"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 6496930366262872084, "row_count": 6790683112721254132}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4352242629700243048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3855350614887239879, "histo_buckets": [{"distinct_range": 0, "num_eq": 8414270802995555439, "num_range": 0, "upper_bound": "3179012490"}, {"distinct_range": 1603873093210648000, "num_eq": 0, "num_range": 4061251642149568439, "upper_bound": "3359526341"}, {"distinct_range": 5324.422751895326, "num_eq": 4000000, "num_range": 8000, "upper_bound": "4159557755"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 2082296251820916041, "row_count": 6790683112721254132}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 697866241351086681, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5710776445767054384, "histo_col_type": "", "name": "__auto__", "null_count": 1432998427894815986, "row_count": 6790683112721254132}, {"columns": ["col2_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5249813432224368706, "histo_col_type": "", "name": "__auto__", "null_count": 6604503068789046596, "row_count": 6790683112721254132}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2638370416802346906, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5374663262708618381, "histo_buckets": [{"distinct_range": 0, "num_eq": 2392862194603258274, "num_range": 0, "upper_bound": "\\u0010"}, {"distinct_range": 0, "num_eq": 1157777190798733640, "num_range": 4484092844433642398, "upper_bound": "\\u001a"}, {"distinct_range": 1504067460127584300, "num_eq": 70000, "num_range": 3313036078909817190, "upper_bound": "B"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 8384760515705017492, "upper_bound": "v"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4733961978472121451, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 736054487161895842, "histo_col_type": "", "name": "__auto__", "null_count": 5351774053025277808, "row_count": 6790683112721254132}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 295896493131901975, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5944184697845546285, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2728386594498852637, "histo_col_type": "", "name": "__auto__", "null_count": 5550526493725047750, "row_count": 6790683112721254132}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2352493265274592460, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6724997956339594837, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_29"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 774136815199216965, "histo_col_type": "", "name": "__auto__", "null_count": 1139342521983213056, "row_count": 6790683112721254132}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1075276354390127335, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6744957163793248162, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1945722336230468711, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "00000000000000000000"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 70, "upper_bound": "00111010000110110011"}, {"distinct_range": 35552294.01691393, "num_eq": 9114629907967447414, "num_range": 50000000, "upper_bound": "01011100111011111011"}, {"distinct_range": 15.714573151849947, "num_eq": 5526248426990921138, "num_range": 80, "upper_bound": "10101100101110010111"}], "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 5599445949907909430, "row_count": 6790683112721254132}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4954640047566724634, "histo_col_type": "", "name": "__auto__", "null_count": 1764258431178175045, "row_count": 6790683112721254132}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3544161634665830058, "histo_buckets": [{"distinct_range": 0, "num_eq": 2332856445888892961, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2879618798617612000, "num_eq": 10000000000, "num_range": 2879618798617611998, "upper_bound": "\\u00166TC\\u001b(owS"}, {"distinct_range": 4483905118692047400, "num_eq": 1000, "num_range": 5374303927137633306, "upper_bound": "+"}, {"distinct_range": 0, "num_eq": 5464675398549611605, "num_range": 6232810542609275099, "upper_bound": "CG?R\\u0002"}, {"distinct_range": 600, "num_eq": 2927373930931001711, "num_range": 600, "upper_bound": "LWD"}, {"distinct_range": 3000, "num_eq": 500000, "num_range": 3000, "upper_bound": "l"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 2109744046842575741, "upper_bound": "pDGz"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2559900595052459961, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 869292363881395196, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4569606601908917684, "histo_col_type": "", "name": "__auto__", "null_count": 997647086976911651, "row_count": 6790683112721254132}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3852652872805236124, "histo_col_type": "", "name": "__auto__", "null_count": 6003198619072184074, "row_count": 6790683112721254132}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5552228725045299272, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6790683112721254132}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 710731381119779363, "histo_col_type": "", "name": "__auto__", "null_count": 4920380554330957564, "row_count": 6790683112721254132}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_buckets": [{"distinct_range": 0, "num_eq": 5600284941876055581, "num_range": 0, "upper_bound": "\\u0001"}, {"distinct_range": 7750786705733612000, "num_eq": 8858439320171619199, "num_range": 7750786705733611185, "upper_bound": "\\u0010"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 100000000, "upper_bound": "\'"}, {"distinct_range": 4100904.104569697, "num_eq": 8358358152090945368, "num_range": 50000000, "upper_bound": "3"}, {"distinct_range": 3163745739459554300, "num_eq": 80000, "num_range": 3163745739459554419, "upper_bound": "A"}, {"distinct_range": 600, "num_eq": 100000, "num_range": 600, "upper_bound": "R"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 3, "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": 6799494867581555477, "num_range": 0, "upper_bound": "1111000011001001010110111111100011001010"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 1, "row_count": 10}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 5, "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_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 3, "row_count": 10}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6, "histo_buckets": [{"distinct_range": 0, "num_eq": 3557892187893024786, "num_range": 0, "upper_bound": "0000000000000000000000000000000000"}], "histo_col_type": "BIT(34)", "name": "__auto__", "null_count": 2, "row_count": 10}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 1019115068550221300, "num_eq": 2000000, "num_range": 5176531335393645314, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 8987605972969873370, "num_range": 1000000000, "upper_bound": "\\u0001\\u0018U"}, {"distinct_range": 7119920961932846000, "num_eq": 4000000000, "num_range": 7119920961932846409, "upper_bound": "\\u0016V|}"}, {"distinct_range": 4000000000, "num_eq": 7126023217252084812, "num_range": 4000000000, "upper_bound": "L\\u0007G\\u001d&"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 1, "row_count": 10}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208443040, "histo_buckets": [{"distinct_range": 0, "num_eq": 629706364401573691, "num_range": 0, "upper_bound": "\\u0005"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 700, "upper_bound": ")"}, {"distinct_range": 42358.03270986398, "num_eq": 3458614019750735780, "num_range": 50000, "upper_bound": "2"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 90, "upper_bound": "H"}, {"distinct_range": 64985647400.88878, "num_eq": 100000000, "num_range": 90000000000, "upper_bound": "P"}, {"distinct_range": 8000000000, "num_eq": 60, "num_range": 8000000000, "upper_bound": "["}, {"distinct_range": 100000, "num_eq": 3452888459051637326, "num_range": 100000, "upper_bound": "n"}, {"distinct_range": 4000000000, "num_eq": 500000000, "num_range": 4000000000, "upper_bound": "\x7f"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 182109960, "row_count": 400000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239842157, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "-55 years -1 mons -237 days -09:13:36.086217"}, {"distinct_range": 2612990502254552000, "num_eq": 80000, "num_range": 2612990502254552137, "upper_bound": "-33 years -10 mons -956 days -21:15:59.765582"}, {"distinct_range": 56682705784.996895, "num_eq": 8000000000, "num_range": 60000000000, "upper_bound": "-33 years -733 days -14:08:08.88057"}, {"distinct_range": 0, "num_eq": 4954510799690555350, "num_range": 6360522371036268640, "upper_bound": "-24 years -3 mons -760 days -04:21:30.608816"}, {"distinct_range": 0, "num_eq": 6762624812281161651, "num_range": 3863481346208844237, "upper_bound": "-17 years -9 mons -912 days -07:51:25.817858"}, {"distinct_range": 4000000000, "num_eq": 1972284840299262375, "num_range": 4000000000, "upper_bound": "-18 years -4 mons -240 days -13:28:48.401923"}, {"distinct_range": 600000, "num_eq": 900000000, "num_range": 600000, "upper_bound": "21 years 7 mons 158 days 09:08:35.2841"}, {"distinct_range": 800000000, "num_eq": 6979726095671386606, "num_range": 800000000, "upper_bound": "24 years 366 days 02:09:50.58997"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6476312, "histo_col_type": "", "name": "__auto__", "null_count": 74631660, "row_count": 400000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25799686, "histo_col_type": "", "name": "__auto__", "null_count": 219695471, "row_count": 400000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 143856097, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 111944569, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 178003642, "histo_buckets": [{"distinct_range": 0, "num_eq": 9185423194300531933, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 1166448961266964700, "num_eq": 5000, "num_range": 2489072744312483543, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 143422462, "row_count": 400000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 159773587, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-12043"}, {"distinct_range": 151.9456265216097, "num_eq": 553606787936338812, "num_range": 200, "upper_bound": "-4860"}, {"distinct_range": 0, "num_eq": 8208691937587947806, "num_range": 4330401870009751869, "upper_bound": "-128"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 295996316, "row_count": 400000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114521792, "histo_col_type": "", "name": "__auto__", "null_count": 2056930, "row_count": 400000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 243028170, "histo_col_type": "", "name": "__auto__", "null_count": 190683232, "row_count": 400000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 161623890, "histo_col_type": "", "name": "__auto__", "null_count": 75429983, "row_count": 400000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 364728527, "histo_col_type": "", "name": "__auto__", "null_count": 139527515, "row_count": 400000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147495436, "histo_col_type": "", "name": "__auto__", "null_count": 286169810, "row_count": 400000000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 291707493, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 394209848, "histo_col_type": "", "name": "__auto__", "null_count": 244294386, "row_count": 400000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 368852023, "histo_col_type": "", "name": "__auto__", "null_count": 34052942, "row_count": 400000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 230395139, "histo_buckets": [{"distinct_range": 0, "num_eq": 6458783496022736283, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "0.07233698666095734"}, {"distinct_range": 4458.415908669609, "num_eq": 4607860815862991708, "num_range": 10000, "upper_bound": "0.34142014384269714"}, {"distinct_range": 400, "num_eq": 100000, "num_range": 400, "upper_bound": "0.3738296926021576"}, {"distinct_range": 3643479831054584300, "num_eq": 7000, "num_range": 3643479831054584235, "upper_bound": "0.9345732927322388"}, {"distinct_range": 3853764110584848000, "num_eq": 5733599330464953876, "num_range": 7005559652329021974, "upper_bound": "1.037770390510559"}, {"distinct_range": 2855566583373389300, "num_eq": 3118394102199266864, "num_range": 2855566583373389441, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 368253285, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "03:08:14.484942+11:55:00"}, {"distinct_range": 7155410431998847000, "num_eq": 400000, "num_range": 7155410431998847077, "upper_bound": "18:06:50.156141+13:42:00"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 4328416166875243182, "upper_bound": "17:34:00.118171+10:49:00"}, {"distinct_range": 4439669400954799600, "num_eq": 800000, "num_range": 8615792269009610251, "upper_bound": "04:39:47.626736-03:57:00"}, {"distinct_range": 10, "num_eq": 60000000, "num_range": 10, "upper_bound": "08:54:06.888499-00:21:00"}, {"distinct_range": 5000000000, "num_eq": 6000000000, "num_range": 5000000000, "upper_bound": "23:15:25.679845-12:46:00"}, {"distinct_range": 10000000000, "num_eq": 600000, "num_range": 10000000000, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 86386738, "row_count": 400000000}]';
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_7) REFERENCES table2 (col1_14) ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3497697547035257073, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2504702973912306994, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 468238904085668971, "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 838985873250464256, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3435334019242142299, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3130728735778945515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3150608999392593521, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3881685743994288081, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3622720996187946463, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3992650356484698946}, {"columns": ["col1_6"], "created_at": "2000
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@7b0ccdda99b81613e70f421c9374483c3feddff3:


        test_1        |             CREATE TABLE table4 (col4_0 TIMESTAMPTZ NOT NULL, col4_1 BIT(13) NOT NULL, col4_2 INT8 NOT NULL, col4_3 REGPROCEDURE, col4_4 BOOL, col4_5 OID NULL, col4_6 REGNAMESPACE NOT NULL, col4_7 NAME NOT NULL, col4_8 REGPROCEDURE NOT NULL, col4_9 REGPROC NOT NULL, PRIMARY KEY (col4_0, col4_2, col4_8), INDEX (col4_5 ASC, col4_6 DESC, col4_0 ASC, col4_8 DESC, col4_3 ASC, col4_1 DESC) STORING (col4_4), UNIQUE (col4_9 DESC, col4_0 ASC, col4_5 ASC, col4_2 ASC, col4_3 DESC, col4_4, col4_8 ASC, col4_1 ASC, col4_6 DESC, col4_7) WHERE (((table4.col4_7 > e'\'') AND (table4.col4_0 = '-2000-01-01 00:00:00+00:00')) OR (table4.col4_2 <= -32768)) OR (NOT table4.col4_4), INDEX (col4_0 DESC, col4_6 ASC, col4_4 DESC, col4_2 ASC, col4_1 DESC, col4_5, col4_7 DESC, col4_8 DESC, col4_9 DESC, col4_3 ASC), INDEX (col4_8) STORING (col4_7, col4_9) WHERE (table4.col4_7 > '':::STRING) OR (NOT table4.col4_4), INDEX (col4_8 ASC, col4_0, col4_5, col4_6 DESC, col4_9 ASC, col4_3, col4_1) STORING (col4_4, col4_7) WHERE (table4.col4_0 <= '0001-01-01 00:00:00+00:00') OR (table4.col4_7 <= e'\x00'), INDEX (col4_5, col4_0, col4_9 DESC, col4_4 ASC, col4_7 ASC, col4_1 DESC, col4_8 DESC, col4_3 DESC, col4_6, col4_2) WHERE (((table4.col4_2 < 127:::INT8) OR (table4.col4_7 > 'X':::STRING)) OR table4.col4_4) OR (table4.col4_0 > '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col4_6, col4_3 DESC, col4_2, col4_7 DESC, col4_9 DESC, col4_5) STORING (col4_1) WHERE ((table4.col4_7 = '') OR (NOT table4.col4_4)) AND (table4.col4_0 < '-4713-11-24 00:00:00+00:00'), UNIQUE (col4_0 DESC, col4_6 DESC, col4_7 DESC, col4_4, col4_9, col4_3 ASC, col4_2, col4_1 DESC, col4_5 ASC, col4_8 DESC), UNIQUE (col4_8 DESC, col4_6 DESC, col4_9 DESC, col4_0 DESC, col4_7, col4_5, col4_1 ASC, col4_3 ASC, col4_2 DESC, col4_4 DESC), FAMILY (col4_0, col4_4, col4_8, col4_9), FAMILY (col4_1), FAMILY (col4_3), FAMILY (col4_2), FAMILY (col4_6), FAMILY (col4_7, col4_5), UNIQUE (col4_7));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 260631144248836265, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 212462619410622156, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 397960154177055077, "row_count": 407475400295098899}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22617421980786837, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 341767156059092403, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63869849492599127, "histo_buckets": [{"distinct_range": 0, "num_eq": 3428561892237536837, "num_range": 0, "upper_bound": "-69 years -10 mons -855 days -24:58:51.956263"}, {"distinct_range": 576532915421671300, "num_eq": 4364717829243318763, "num_range": 909645631340776696, "upper_bound": "-51 years -6 mons -306 days -05:05:12.683333"}, {"distinct_range": 4260021446213626000, "num_eq": 1447976714496739247, "num_range": 4260021446213625620, "upper_bound": "-31 years -11 mons -852 days -11:39:44.203109"}, {"distinct_range": 3270998900361648600, "num_eq": 5663008783811007000, "num_range": 3547967745965319389, "upper_bound": "-20 years -8 mons -795 days -16:48:32.586059"}, {"distinct_range": 30000, "num_eq": 8544528941945052200, "num_range": 30000, "upper_bound": "20 years 2 mons 716 days 07:56:57.203514"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "68 years 5 mons 656 days 18:57:22.376578"}, {"distinct_range": 5691172123698711000, "num_eq": 5112165552641898029, "num_range": 5691172123698710600, "upper_bound": "80 years 1 mon 434 days 15:27:02.92925"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 200000000, "upper_bound": "290 years"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41549771966131632, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59030197077905927, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 733587810363510602, "num_range": 8000, "upper_bound": "1973-08-30 20:57:29.000199+00:00"}, {"distinct_range": 90000, "num_eq": 0, "num_range": 90000, "upper_bound": "1996-12-11 10:25:02.000828+00:00"}, {"distinct_range": 3857652047961007000, "num_eq": 997287848356582078, "num_range": 3857652047961006988, "upper_bound": "2032-01-27 15:07:24.000636+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 284090740123990481, "row_count": 407475400295098899}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 351955979364670710, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "475284826"}, {"distinct_range": 0, "num_eq": 0, "num_range": 100000, "upper_bound": "3649000712"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 7247142229200762448, "upper_bound": "3978302078"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 7000000, "upper_bound": "4186172454"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 74939691209531075, "row_count": 407475400295098899}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209008577629127359, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "137.121.205.36/10"}, {"distinct_range": 0, "num_eq": 8004945326595927164, "num_range": 80000000, "upper_bound": "111.51.121.56/28"}, {"distinct_range": 6362851262052552000, "num_eq": 4645890519239796660, "num_range": 6566440228245268262, "upper_bound": "138.164.30.19/31"}, {"distinct_range": 0, "num_eq": 8009071486451535966, "num_range": 0, "upper_bound": "183.186.238.219"}, {"distinct_range": 133.9301021553599, "num_eq": 90000000, "num_range": 400, "upper_bound": "ceea:42a1:e622:4deb:effd:b6ca:f494:fea4/54"}, {"distinct_range": 7377808241263605000, "num_eq": 90000, "num_range": 7377808241263604867, "upper_bound": "2ca:9a55:1f04:6a8:7f20:7424:ad67:df04/67"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 262869751376108008, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 251662786364838359, "histo_buckets": [{"distinct_range": 0, "num_eq": 992787186781647939, "num_range": 0, "upper_bound": "295502224"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 4700123168830933808, "upper_bound": "811991331"}, {"distinct_range": 4898301927817609000, "num_eq": 7220216545766108601, "num_range": 4898301927817608705, "upper_bound": "3023365881"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 8045387933786160771, "upper_bound": "3361671672"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99762862107907810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 131604200958278615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 398130302893379527, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 8805133522578383980, "upper_bound": "\\u0007"}, {"distinct_range": 6000000000, "num_eq": 3667550029000133459, "num_range": 6000000000, "upper_bound": "!"}, {"distinct_range": 8699941085238176000, "num_eq": 1832348839887416598, "num_range": 8699941085238175561, "upper_bound": "&"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "~"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 407475400295098899}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15078, "histo_buckets": [{"distinct_range": 0, "num_eq": 343560399248141759, "num_range": 0, "upper_bound": ""}, {"distinct_range": 10000000000, "num_eq": 600000, "num_range": 10000000000, "upper_bound": "\\u0012zS~\\u0003"}, {"distinct_range": 0, "num_eq": 900, "num_range": 6049571299663284725, "upper_bound": "\'j"}, {"distinct_range": 8996057257556836000, "num_eq": 618414422126936603, "num_range": 8996057257556836548, "upper_bound": "0d\\u0004"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 6929977407196946693, "upper_bound": "l-`\\u000eN6u"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268707, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 539901, "histo_buckets": [{"distinct_range": 0, "num_eq": 1285515957572187444, "num_range": 0, "upper_bound": "425682708"}, {"distinct_range": 6309731.839293381, "num_eq": 20000, "num_range": 300000000, "upper_bound": "587699819"}, {"distinct_range": 0, "num_eq": 7765670951791634687, "num_range": 100000000000, "upper_bound": "1502342029"}, {"distinct_range": 0, "num_eq": 0, "num_range": 50, "upper_bound": "1555689214"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "1976872611"}, {"distinct_range": 67831037.88487272, "num_eq": 5240329786636182615, "num_range": 90000000, "upper_bound": "2234991270"}, {"distinct_range": 2231876096066698000, "num_eq": 2000000, "num_range": 2315512497397313346, "upper_bound": "2537228377"}, {"distinct_range": 5507650143330401000, "num_eq": 6607380169656236505, "num_range": 5507650143330401475, "upper_bound": "4101854845"}, {"distinct_range": 452693553835453400, "num_eq": 4678857352743902029, "num_range": 452693553835453390, "upper_bound": "4105003203"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4430, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4114252978548673500, "num_eq": 7243001687468169694, "num_range": 4413273685347662122, "upper_bound": "2080525711"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350687, "histo_buckets": [{"distinct_range": 0, "num_eq": 4981974607436297224, "num_range": 0, "upper_bound": "\\u0008"}, {"distinct_range": 345509978553370100, "num_eq": 9000, "num_range": 345509978553370095, "upper_bound": "]"}, {"distinct_range": 0, "num_eq": 5694557169683579510, "num_range": 0, "upper_bound": "|"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208062, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "188320cf-2403-47d5-9012-0b4c001dbf7e"}, {"distinct_range": 0, "num_eq": 5893024117923212358, "num_range": 0, "upper_bound": "a6f5dffb-1b20-4286-8eb4-fd219ef5f2a2"}, {"distinct_range": 300, "num_eq": 109048622684410001, "num_range": 300, "upper_bound": "d2e0b5b5-c5a2-451e-961d-7cb5551287b1"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36025, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 678034, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148421, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "-613614200"}, {"distinct_range": 0, "num_eq": 6846383557546306724, "num_range": 9044664464001960408, "upper_bound": "1042174615"}, {"distinct_range": 0, "num_eq": 8201502962375410315, "num_range": 900, "upper_bound": "1258882197"}, {"distinct_range": 14755016800.105116, "num_eq": 4000, "num_range": 20000000000, "upper_bound": "1315381287"}, {"distinct_range": 212.28643846919837, "num_eq": 2711617547140430882, "num_range": 10000, "upper_bound": "1421304589"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 863227, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3709772871, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3410265944, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3879073079, "histo_col_type": "", "name": "__auto__", "null_count": 4275829479, "row_count": 5000000000}, {"columns": ["col3_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3183770441, "histo_col_type": "", "name": "__auto__", "null_count": 1567649485, "row_count": 5000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3717375930, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2312662110, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 885534997, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1627438244, "histo_col_type": "", "name": "__auto__", "null_count": 2525227603, "row_count": 5000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 849810377, "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": 1934567416, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1385767490, "histo_col_type": "", "name": "__auto__", "null_count": 521194963, "row_count": 5000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4578021236, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "1975508489705499546"}, {"distinct_range": 3662503239500829000, "num_eq": 700, "num_range": 3662503239500829102, "upper_bound": "4753223557906403011"}, {"distinct_range": 0, "num_eq": 6190302022065264471, "num_range": 5126840437409396059, "upper_bound": "7003956933698320992"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2907875785, "histo_col_type": "", "name": "__auto__", "null_count": 796957630, "row_count": 5000000000}, {"columns": ["col3_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 390041159, "histo_col_type": "", "name": "__auto__", "null_count": 80870609, "row_count": 5000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4802499702, "histo_buckets": [{"distinct_range": 0, "num_eq": 1435419431320679306, "num_range": 0, "upper_bound": "817179515"}, {"distinct_range": 7051364422098447000, "num_eq": 1000, "num_range": 7051364422098446920, "upper_bound": "3422783835"}, {"distinct_range": 45.42284689097104, "num_eq": 8865900894537018884, "num_range": 70, "upper_bound": "3459684772"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1800758393, "histo_col_type": "", "name": "__auto__", "null_count": 3735448939, "row_count": 5000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3510619739, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "-78 years -4 mons -791 days -03:32:12.358423"}, {"distinct_range": 6260719121743256000, "num_eq": 1929499903492432833, "num_range": 6260719121743255484, "upper_bound": "-51 years -9 mons -352 days -15:01:38.031205"}, {"distinct_range": 1366125.2078275988, "num_eq": 2025456660807237178, "num_range": 4000000, "upper_bound": "00:00:00"}, {"distinct_range": 94633912.4878771, "num_eq": 9142499393695976269, "num_range": 300000000, "upper_bound": "1 mon 1 day"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 1000000000, "upper_bound": "29 years 10 mons 709 days 04:16:38.207476"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "48 years 11 mons 494 days 15:02:14.542196"}, {"distinct_range": 4468524426219333000, "num_eq": 60000000000, "num_range": 4468524426219333050, "upper_bound": "48 years 7 mons 877 days 10:25:26.268205"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2057096034, "histo_col_type": "", "name": "__auto__", "null_count": 592865905, "row_count": 5000000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2410734390, "histo_buckets": [{"distinct_range": 0, "num_eq": 1421611354392528416, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 474230678021667900, "num_eq": 1000000000, "num_range": 7054890556909831503, "upper_bound": "1992-01-05"}, {"distinct_range": 0, "num_eq": 4356133753889132329, "num_range": 3909167165339504152, "upper_bound": "1994-04-29"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 3488440494, "row_count": 5000000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4991102277, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 219844.45734437084, "num_eq": 5759761111062915519, "num_range": 7000000, "upper_bound": "2532365742"}, {"distinct_range": 0, "num_eq": 2592415303101813524, "num_range": 400, "upper_bound": "2747267818"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3835141648, "histo_col_type": "", "name": "__auto__", "null_count": 3237011730, "row_count": 5000000000}, {"columns": ["col3_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1128812071, "histo_col_type": "", "name": "__auto__", "null_count": 4910441598, "row_count": 5000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2349283712, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2676160537, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": ":"}, {"distinct_range": 700000000, "num_eq": 1000000000, "num_range": 700000000, "upper_bound": "C"}, {"distinct_range": 8427983224.912863, "num_eq": 6332965868295244225, "num_range": 20000000000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4143119029, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5000000000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3539865230, "histo_col_type": "", "name": "__auto__", "null_count": 1848974780, "row_count": 5000000000}, {"columns": ["col3_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3339498708, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000000000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232499009902434, "histo_col_type": "OID", "name": "__auto__", "null_count": 264108454417485, "row_count": 274329618529169}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 219527992598377, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "387078965"}, {"distinct_range": 6818123713017625000, "num_eq": 6715211720262674613, "num_range": 6818123713017624531, "upper_bound": "1585547902"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 6016122186924528466, "upper_bound": "1626837034"}, {"distinct_range": 6000000000, "num_eq": 30000000000, "num_range": 6000000000, "upper_bound": "4035874531"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 265383301377992, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239875950907354, "histo_buckets": [{"distinct_range": 0, "num_eq": 2718813288921468192, "num_range": 0, "upper_bound": "35075591"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 1000, "upper_bound": "153666785"}, {"distinct_range": 0, "num_eq": 8850653203529508305, "num_range": 80000000000, "upper_bound": "317885288"}, {"distinct_range": 0, "num_eq": 566257683530055263, "num_range": 0, "upper_bound": "530142311"}, {"distinct_range": 300, "num_eq": 700, "num_range": 300, "upper_bound": "1574482924"}, {"distinct_range": 0, "num_eq": 8076443864449737592, "num_range": 2394323753381931611, "upper_bound": "2000353586"}, {"distinct_range": 8725861378073362000, "num_eq": 4570143282493590857, "num_range": 8725861378073362898, "upper_bound": "2304933735"}, {"distinct_range": 3364384621155008000, "num_eq": 6000, "num_range": 3366907924171864458, "upper_bound": "3470283827"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 252633788750672, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69521102849151, "histo_col_type": "", "name": "__auto__", "null_count": 219081571934511, "row_count": 274329618529169}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 150069561179954, "histo_col_type": "", "name": "__auto__", "null_count": 176378702271523, "row_count": 274329618529169}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62705875922290, "histo_buckets": [{"distinct_range": 0, "num_eq": 1098412623325728849, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 534025814.8618797, "num_eq": 10000000, "num_range": 700000000, "upper_bound": "1632112162"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "2222822820"}, {"distinct_range": 0, "num_eq": 2846571751846053118, "num_range": 0, "upper_bound": "4133158298"}, {"distinct_range": 900, "num_eq": 6839547056656437390, "num_range": 900, "upper_bound": "4226417907"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13309881789693, "histo_buckets": [{"distinct_range": 0, "num_eq": 8533691184362725485, "num_range": 0, "upper_bound": "1974-04-23 16:45:36.000044+00:00"}, {"distinct_range": 547729755.6803576, "num_eq": 2000000000, "num_range": 600000000, "upper_bound": "1991-01-21 11:01:56.000737+00:00"}, {"distinct_range": 3543505670162577400, "num_eq": 6000, "num_range": 3543505670162577376, "upper_bound": "1998-02-07 21:55:02.000555+00:00"}, {"distinct_range": 285796987348233470, "num_eq": 7411812854440780209, "num_range": 285796987348233471, "upper_bound": "2009-04-07 05:10:19.000484+00:00"}, {"distinct_range": 6450120509731379000, "num_eq": 3000, "num_range": 6450120509731378879, "upper_bound": "2015-06-10 21:52:27.000088+00:00"}, {"distinct_range": 2805361463623199000, "num_eq": 7508308496066344629, "num_range": 3325521463360695846, "upper_bound": "2020-08-21 05:56:36.000464+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142438517634048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 274329618529169}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_9) REFERENCES table2 (col2_0);
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_14) REFERENCES table4 (col4_7) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('ubmm', 'rr', 'oajnu');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('bbw', 'zecto', 'v', 'lgxrp');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('msmh', 'o', 'gqq');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('sbpyai', 'iaqt', 'zjiunz', 'nseii', 'csl');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4724330523206824968, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2099782663055703780, "histo_buckets": [{"distinct_range": 0, "num_eq": 2317656312531801987, "num_range": 0, "upper_bound": "-75 years -2 mons -791 days -02:12:04.762992"}, {"distinct_range": 3756152214102682600, "num_eq": 300000, "num_range": 4603902061701488062, "upper_bound": "-68 years -9 mons -924 days -17:22:25.953589"}, {"distinct_range": 784554442961515400, "num_eq": 0, "num_range": 859582906591411926, "upper_bound": "-61 years -163 days -14:53:44.491992"}, {"distinct_range": 0, "num_eq": 9181683806525591922, "num_range": 0, "upper_bound": "47 years 4 mons 991 days 02:39:44.8937"}, {"distinct_range": 7264072532269563000, "num_eq": 8109902525902919542, "num_range": 7264072532269562696, "upper_bound": "75 years 10 mons 441 days 21:57:08.256486"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2445462682352629007, "histo_buckets": [{"distinct_range": 0, "num_eq": 1776408461837644398, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00+00:00"}, {"distinct_range": 2725707827197412400, "num_eq": 7000000, "num_range": 7895917550510399751, "upper_bound": "1981-11-21 07:26:35.000902+00:00"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 60000000000, "upper_bound": "1984-09-22 15:46:08.000021+00:00"}, {"distinct_range": 36176776672162024, "num_eq": 20000000000, "num_range": 37299882647538183, "upper_bound": "2006-01-06 23:33:30.000988+00:00"}, {"distinct_range": 3319.312659254963, "num_eq": 775099962389396658, "num_range": 9000, "upper_bound": "2015-08-24 16:54:30.000234+00:00"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 100, "upper_bound": "2022-09-19 21:15:48.000788+00:00"}, {"distinct_range": 7504450603825647000, "num_eq": 3637888516681797736, "num_range": 7504450603825646571, "upper_bound": "2028-01-14 19:37:20.000616+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 3633639621255572018, "row_count": 5793024033849988544}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4093703968615918072, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3251196436904135746, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 7281732152803824512, "num_range": 90000000, "upper_bound": "138.78.9.27/8"}, {"distinct_range": 5800575995018741000, "num_eq": 1000000000, "num_range": 7799606257700757620, "upper_bound": "136.95.253.165/9"}, {"distinct_range": 9000000000, "num_eq": 1995132272764432369, "num_range": 9000000000, "upper_bound": "231.177.201.187/20"}, {"distinct_range": 10000000000, "num_eq": 300, "num_range": 10000000000, "upper_bound": "216.148.243.241/22"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5203853245196745605, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2647790729697411494, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2918857513635114646, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3199502637316708721, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "1629515773"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 4570141410538922790, "row_count": 5793024033849988544}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5119596780822539907, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2343504564525376406, "histo_buckets": [{"distinct_range": 0, "num_eq": 4059155236316157734, "num_range": 0, "upper_bound": "433996004"}, {"distinct_range": 1000000, "num_eq": 4328025831462695255, "num_range": 1000000, "upper_bound": "643332609"}, {"distinct_range": 7784909505936196000, "num_eq": 339664883338283105, "num_range": 7784909505936195152, "upper_bound": "1823544044"}, {"distinct_range": 50000000000, "num_eq": 10000, "num_range": 50000000000, "upper_bound": "2278049152"}, {"distinct_range": 5253646929197359000, "num_eq": 1000, "num_range": 5253646929197359420, "upper_bound": "2283688574"}, {"distinct_range": 9000000000, "num_eq": 2372658470647080558, "num_range": 9000000000, "upper_bound": "2584295389"}, {"distinct_range": 4013601516200384000, "num_eq": 80, "num_range": 4013601516200384157, "upper_bound": "2981668883"}, {"distinct_range": 70, "num_eq": 8141689578185668191, "num_range": 70, "upper_bound": "3020499034"}, {"distinct_range": 0, "num_eq": 4900610315834417340, "num_range": 1459229800832763701, "upper_bound": "3497037260"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2254708719332168210, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4618314925046743000, "histo_buckets": [{"distinct_range": 0, "num_eq": 6750561334716403108, "num_range": 0, "upper_bound": "340685861"}, {"distinct_range": 1920157262.593472, "num_eq": 6484940287470305051, "num_range": 10000000000, "upper_bound": "484778256"}, {"distinct_range": 0, "num_eq": 4768746639513086721, "num_range": 700000, "upper_bound": "754301179"}, {"distinct_range": 3203016115189353000, "num_eq": 80000, "num_range": 3203016115189352840, "upper_bound": "976065537"}, {"distinct_range": 9095019345638325000, "num_eq": 3803651723246062691, "num_range": 9095019345638325048, "upper_bound": "1293918889"}, {"distinct_range": 9869196.318847854, "num_eq": 5017867738880937557, "num_range": 10000000, "upper_bound": "1576133418"}, {"distinct_range": 32.54259691172708, "num_eq": 80, "num_range": 50, "upper_bound": "2210570702"}, {"distinct_range": 4032066764955977700, "num_eq": 2663410609277116938, "num_range": 5803674544649328614, "upper_bound": "2610803898"}, {"distinct_range": 7578449887801465000, "num_eq": 7071920048770728987, "num_range": 7578449887801465196, "upper_bound": "2750481870"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 4680410594066121205, "row_count": 5793024033849988544}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1574822035220396383, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "3"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 2980716373710789327, "upper_bound": ":"}, {"distinct_range": 26011496.207577776, "num_eq": 1000000000, "num_range": 50000000, "upper_bound": "G"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 5793024033849988544}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 4011774398833906728, "num_range": 0, "upper_bound": "\\u000fSX\\u000b\\u001f"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 8634462155954863960, "upper_bound": "!-"}, {"distinct_range": 162648757.9710856, "num_eq": 2000, "num_range": 400000000, "upper_bound": "(</"}, {"distinct_range": 6366523786605998000, "num_eq": 7038280145411384454, "num_range": 6366523786605998320, "upper_bound": "(sE\\u001cnU.\\""}, {"distinct_range": 0, "num_eq": 298583333189052380, "num_range": 300000, "upper_bound": "@b;lob\\u0001+S"}, {"distinct_range": 6316816800070692000, "num_eq": 8429680735222154887, "num_range": 6316816800070691922, "upper_bound": "b\\u00056\\u001d:\\u001a"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 800000000, "upper_bound": "j-e>\\n3*"}], "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_buckets": [{"distinct_range": 0, "num_eq": 1880768509529655845, "num_range": 0, "upper_bound": "_v\\u0012+^~"}, {"distinct_range": 4730653790442775000, "num_eq": 5000, "num_range": 5860644752618738968, "upper_bound": "f-s\\t6"}], "histo_col_type": "NAME", "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": "INT4", "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_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": 515062905066409344, "num_range": 0, "upper_bound": "1505256935"}, {"distinct_range": 41559392.02056258, "num_eq": 4422532298461198664, "num_range": 90000000, "upper_bound": "2401491551"}, {"distinct_range": 0, "num_eq": 1954417912815924985, "num_range": 3154115476347421168, "upper_bound": "2808681309"}], "histo_col_type": "REGPROC", "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_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "563441180"}, {"distinct_range": 8740562682.46406, "num_eq": 5791236583205124949, "num_range": 100000000000, "upper_bound": "1987996823"}, {"distinct_range": 0, "num_eq": 500, "num_range": 2388000639674773785, "upper_bound": "2037436536"}, {"distinct_range": 1941297586084963800, "num_eq": 502353037059317604, "num_range": 1941297586084963759, "upper_bound": "2351714242"}], "histo_col_type": "REGNAMESPACE", "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": 7000, "num_range": 0, "upper_bound": "\\u0006"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 5842539536434035303, "upper_bound": "\\u001d"}, {"distinct_range": 0, "num_eq": 6787256428807378806, "num_range": 9000000000, "upper_bound": "\'"}, {"distinct_range": 7000, "num_eq": 956921212101854728, "num_range": 7000, "upper_bound": "0"}, {"distinct_range": 169960646135375580, "num_eq": 2295634463288328038, "num_range": 1022330594839941126, "upper_bound": "Y"}, {"distinct_range": 774617442761138200, "num_eq": 7793524080383959043, "num_range": 970564675800979786, "upper_bound": "g"}, {"distinct_range": 52.5412114208146, "num_eq": 3000000000, "num_range": 90, "upper_bound": "u"}, {"distinct_range": 2191166.6321968934, "num_eq": 7767664879612022227, "num_range": 4000000, "upper_bound": "x"}], "histo_col_type": "CHAR", "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_buckets": [{"distinct_range": 0, "num_eq": 8392611585413369462, "num_range": 0, "upper_bound": "678667d7-1f0f-49fe-8a57-874017db1543"}], "histo_col_type": "UUID", "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}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3756413633535129382, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3136006241761763712, "histo_col_type": "", "name": "__auto__", "null_count": 2513467996119422784, "row_count": 5846448888722135444}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2059925129433442693, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4807255790482998438, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5828505910747429208, "histo_col_type": "", "name": "__auto__", "null_count": 3710158453482327274, "row_count": 5846448888722135444}, {"columns": ["col3_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3726625496627399400, "histo_col_type": "", "name": "__auto__", "null_count": 991431914984242334, "row_count": 5846448888722135444}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3880145196199039742, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4555734067240029454, "histo_col_type": "", "name": "__auto__", "null_count": 1861048293858259026, "row_count": 5846448888722135444}, {"columns": ["col3_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191140617221055793, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4793321357769122565, "histo_col_type": "", "name": "__auto__", "null_count": 788017179673715439, "row_count": 5846448888722135444}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4998768627189545696, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 30000000000, "upper_bound": "717236433"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 705073984942061035, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4872828238425502605, "histo_buckets": [{"distinct_range": 0, "num_eq": 2436541605239150115, "num_range": 0, "upper_bound": "\\u0000"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3469919742254409929, "histo_buckets": [{"distinct_range": 0, "num_eq": 3552446672542941976, "num_range": 0, "upper_bound": "-56 years -11 mons -298 days -20:24:43.437343"}, {"distinct_range": 0, "num_eq": 6312511389954237980, "num_range": 1000, "upper_bound": "-44 years -4 mons -576 days -09:29:13.625073"}, {"distinct_range": 90000000, "num_eq": 600000000, "num_range": 90000000, "upper_bound": "-20 years -10 mons -740 days -06:50:04.037239"}, {"distinct_range": 0, "num_eq": 423452610489769148, "num_range": 6705917154413676909, "upper_bound": "28 years 5 mons 840 days 23:51:03.403787"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5250200257419245817, "histo_buckets": [{"distinct_range": 0, "num_eq": 5031624398735624453, "num_range": 0, "upper_bound": "-8263092464473828404"}, {"distinct_range": 827492184692803100, "num_eq": 40000000000, "num_range": 827492184692803110, "upper_bound": "-4621470212357938013"}, {"distinct_range": 1878039083622409200, "num_eq": 7209445058422849703, "num_range": 1878039083622409151, "upper_bound": "-1933131176288877521"}, {"distinct_range": 1309925.5144564728, "num_eq": 80, "num_range": 8000000, "upper_bound": "2147483647"}, {"distinct_range": 6294017022514135000, "num_eq": 3690458737203538927, "num_range": 8016208476394195941, "upper_bound": "5370424642046509255"}, {"distinct_range": 2621237407790435300, "num_eq": 200, "num_range": 3055440296506854509, "upper_bound": "8354955535817516139"}, {"distinct_range": 0, "num_eq": 1936498888322029191, "num_range": 1114190198853350922, "upper_bound": "8595172647832219153"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209813035160147402, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5674303961745493653, "histo_col_type": "", "name": "__auto__", "null_count": 1373257451213791642, "row_count": 5846448888722135444}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2193323591382691637, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1998266187530845867, "histo_col_type": "", "name": "__auto__", "null_count": 3411172825189677116, "row_count": 5846448888722135444}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4416083994458613716, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 0, "num_eq": 1988382456842604910, "num_range": 3532680376888030999, "upper_bound": "1970-12-04"}, {"distinct_range": 47324.42754167811, "num_eq": 10, "num_range": 100000, "upper_bound": "1979-12-14"}, {"distinct_range": 3917488741738878500, "num_eq": 80, "num_range": 4661080552862769372, "upper_bound": "1996-11-17"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 4401584271132765937, "row_count": 5846448888722135444}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2987901061188131507, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "190876997"}, {"distinct_range": 18172971410550400, "num_eq": 396378332331848205, "num_range": 18172971410550399, "upper_bound": "259694552"}, {"distinct_range": 0, "num_eq": 7036304894099269404, "num_range": 1000000, "upper_bound": "829012652"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 900000, "upper_bound": "2138902931"}, {"distinct_range": 1631966313908262700, "num_eq": 40000000, "num_range": 5873660561101773410, "upper_bound": "3878219007"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2785449383344344408, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 100000, "num_eq": 949099842642128210, "num_range": 100000, "upper_bound": "\\t"}, {"distinct_range": 400000, "num_eq": 100000000, "num_range": 400000, "upper_bound": "G"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 8111040682882015608, "upper_bound": "O"}, {"distinct_range": 800000000, "num_eq": 431269578603669683, "num_range": 800000000, "upper_bound": "W"}, {"distinct_range": 0, "num_eq": 7982761797383188844, "num_range": 1000000000, "upper_bound": "X"}, {"distinct_range": 19008208.29316155, "num_eq": 3000, "num_range": 60000000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379032205900874369, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5846448888722135444}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4712399325531054456, "histo_col_type": "", "name": "__auto__", "null_count": 5660915264443704382, "row_count": 5846448888722135444}, {"columns": ["col3_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5141630097631902236, "histo_col_type": "", "name": "__auto__", "null_count": 5523175246555304697, "row_count": 5846448888722135444}, {"columns": ["col3_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 81733137749318007, "histo_col_type": "", "name": "__auto__", "null_count": 1480509703608765872, "row_count": 5846448888722135444}, {"columns": ["col3_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2321084794628772227, "histo_col_type": "", "name": "__auto__", "null_count": 5475803971157853108, "row_count": 5846448888722135444}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22963, "histo_buckets": [{"distinct_range": 0, "num_eq": 2999656300803222213, "num_range": 0, "upper_bound": "\\u0003T!"}, {"distinct_range": 5982384927020704000, "num_eq": 200, "num_range": 8971394911761359117, "upper_bound": "\\"ncv"}, {"distinct_range": 600, "num_eq": 7473071027199158024, "num_range": 600, "upper_bound": "9"}, {"distinct_range": 99.09379819050714, "num_eq": 4000, "num_range": 500, "upper_bound": ">\\u0003:\\u0004"}, {"distinct_range": 7542583800475071000, "num_eq": 8129492762894462672, "num_range": 7542583800475071794, "upper_bound": "[dBE"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8448, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "426719365"}, {"distinct_range": 1716288.8335074172, "num_eq": 0, "num_range": 6000000, "upper_bound": "2036543335"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6753, "histo_buckets": [{"distinct_range": 0, "num_eq": 3651443528054073364, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 700000, "num_eq": 5871424240438859397, "num_range": 700000, "upper_bound": "395673235"}, {"distinct_range": 2456276246837504000, "num_eq": 1155074860462581263, "num_range": 4729500161054726180, "upper_bound": "835858681"}, {"distinct_range": 0, "num_eq": 831821752428039659, "num_range": 0, "upper_bound": "1773392175"}, {"distinct_range": 822364880136804600, "num_eq": 800, "num_range": 2502043572150848392, "upper_bound": "2188087513"}, {"distinct_range": 600, "num_eq": 1000000000, "num_range": 600, "upper_bound": "3431081017"}, {"distinct_range": 3121498349145652700, "num_eq": 4000000000, "num_range": 8135357066753001041, "upper_bound": "3464478047"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 20728, "row_count": 30000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7066, "histo_buckets": [{"distinct_range": 0, "num_eq": 1551715936382274671, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 1672991958360794921, "upper_bound": "58892003"}, {"distinct_range": 100, "num_eq": 723246956352611434, "num_range": 100, "upper_bound": "419058856"}, {"distinct_range": 722519484326136600, "num_eq": 10000000000, "num_range": 770769770649094774, "upper_bound": "1606375519"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1688817689"}, {"distinct_range": 3352011504694244400, "num_eq": 7926029885280514225, "num_range": 3352011504694244524, "upper_bound": "1730975357"}, {"distinct_range": 900000, "num_eq": 500000, "num_range": 900000, "upper_bound": "2521713315"}, {"distinct_range": 314411.7559739377, "num_eq": 3266035223097821600, "num_range": 500000, "upper_bound": "2785538264"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29502, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11476, "histo_col_type": "", "name": "__auto__", "null_count": 29024, "row_count": 30000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21798, "histo_col_type": "", "name": "__auto__", "null_count": 5782, "row_count": 30000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2520, "histo_buckets": [{"distinct_range": 0, "num_eq": 443481527486134100, "num_range": 0, "upper_bound": "3000157907"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18561, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 7450.9902184682305, "num_eq": 60000000, "num_range": 9000, "upper_bound": "1981-11-26 06:45:45.000589+00:00"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 2601612617667498320, "upper_bound": "1986-08-09 01:16:00.000949+00:00"}, {"distinct_range": 0, "num_eq": 600, "num_range": 6065850175813289416, "upper_bound": "1995-02-28 19:51:55.000104+00:00"}, {"distinct_range": 422845536003718000, "num_eq": 3000000000, "num_range": 1440652505649237489, "upper_bound": "2018-06-24 00:20:13.000886+00:00"}, {"distinct_range": 76.77455180518895, "num_eq": 400, "num_range": 80, "upper_bound": "2024-02-08 07:02:02.000381+00:00"}, {"distinct_range": 521570156298634.06, "num_eq": 3658658094928923752, "num_range": 555865727128912, "upper_bound": "294276-12-31 23:59:59.999999+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26475, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}]';
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col4_9) REFERENCES table1 (col1_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 133, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 399, "row_count": 700}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 411, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 415, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 20256.698523204373, "num_eq": 10000000, "num_range": 50000, "upper_bound": "228164717"}, {"distinct_range": 3965525223.3877892, "num_eq": 10000000, "num_range": 7000000000, "upper_bound": "551114948"}, {"distinct_range": 200000000, "num_eq": 3220850691953821174, "num_range": 200000000, "upper_bound": "3511376414"}, {"distinct_range": 27130724762915996, "num_eq": 0, "num_range": 2133993968327403178, "upper_bound": "3956147149"}, {"distinct_range": 429771097961490240, "num_eq": 5735471638173636558, "num_range": 1943562831652066352, "upper_bound": "3999356706"}, {"distinct_range": 0, "num_eq": 90, "num_range": 5000000000, "upper_bound": "4148402519"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 356, "row_count": 700}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 682, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 262, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "\\u001f"}, {"distinct_range": 5944718604883445000, "num_eq": 1000000, "num_range": 6042894804137865137, "upper_bound": "X"}, {"distinct_range": 449872464.7893227, "num_eq": 8404852788258134759, "num_range": 600000000, "upper_bound": "`"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 423, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 599, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 7777571280989159000, "num_eq": 8997252264448184498, "num_range": 7777571280989159885, "upper_bound": "2711731820"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 223, "histo_buckets": [{"distinct_range": 0, "num_eq": 8323844876283077203, "num_range": 0, "upper_bound": "-78 years -1 mons -147 days -01:08:14.007156"}, {"distinct_range": 0, "num_eq": 100, "num_range": 70000000000, "upper_bound": "-76 years -2 mons -232 days -07:33:26.688864"}, {"distinct_range": 6620109917734988000, "num_eq": 5058906840384296375, "num_range": 8154266768454731940, "upper_bound": "-66 years -10 mons -209 days -10:57:08.202575"}, {"distinct_range": 308946619175921340, "num_eq": 7041018724337507125, "num_range": 308946619175921354, "upper_bound": "-39 years -5 mons -732 days -16:23:33.589132"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 7000000000, "upper_bound": "41 years 5 mons 582 days 13:48:36.502174"}, {"distinct_range": 150128749509053820, "num_eq": 400000, "num_range": 213542985343135598, "upper_bound": "64 years 9 mons 931 days 15:15:43.262545"}, {"distinct_range": 80, "num_eq": 60000000, "num_range": 80, "upper_bound": "83 years 1 mon 779 days 05:28:23.774341"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 230, "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 245, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1982-11-02 07:18:53.000616+00:00"}, {"distinct_range": 97548848138451710, "num_eq": 1081256275192910305, "num_range": 1603484583795753875, "upper_bound": "1998-07-02 00:04:46.000226+00:00"}, {"distinct_range": 0, "num_eq": 4535890547960608234, "num_range": 10000000, "upper_bound": "2011-10-29 02:43:10.000387+00:00"}, {"distinct_range": 10000000, "num_eq": 0, "num_range": 10000000, "upper_bound": "2013-05-24 00:13:49.000218+00:00"}, {"distinct_range": 526048713523483500, "num_eq": 640031709437385557, "num_range": 1082399275670265475, "upper_bound": "2024-04-03 19:09:38.000708+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 500, "row_count": 700}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@a51f2e212a71ee356a01f14510238baac65e76e7:


        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_14, col2_13 DESC, col2_15, col2_18, col2_20, col2_11, col2_10, col2_19 DESC, col2_16 DESC, col2_8, col1_5 ASC, col1_0 DESC, col1_6 DESC, col2_9 ASC, col1_4 ASC, col2_12, col2_17, col2_6);
        test_1        |             CREATE TABLE table3 (col1_0 BOOL NOT NULL, col1_4 FLOAT8 NOT NULL, col1_6 BIT(48) NOT NULL, col1_5 BOX2D NOT NULL, col1_2 INT8 NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col3_6 INT8, col3_7 REGNAMESPACE NOT NULL, col3_8 REGTYPE, col3_9 BIT(16) NULL, col3_10 DATE NOT NULL, col3_11 BOOL NULL, col3_12 TIMESTAMPTZ NULL, col3_13 BOX2D NULL, col3_14 TEXT, col3_15 REGCLASS NOT NULL, col3_16 INTERVAL NULL, col3_17 OID NOT NULL, col3_18 REGNAMESPACE NULL, col3_19 INT8 NULL, PRIMARY KEY (col1_0, col1_4, col1_6, col1_5, col1_2, col1_1, col3_8, col3_18, col3_10, col3_14));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_12, col3_7, col1_6 DESC, col3_19 ASC, col3_18 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_6 DESC, col3_7 DESC, col3_14 DESC, col3_15 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('pzfmby', 'u');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('wwa');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('jnq', 'p', 'eqb', 'ydrlfp', 'ixd', 'ifvg');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('quhz', 'iwhp');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('kt', 'r', 'rnybi', 'vt', 'ufx');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.90s)
        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        |             CREATE TABLE table1 (col1_0 FLOAT8 NOT NULL, col1_1 BIT(6) NOT NULL, col1_2 REGPROC, col1_3 NAME, col1_4 TIMETZ NOT NULL, col1_5 BOOL NOT NULL, col1_6 FLOAT8 NOT NULL, col1_7 FLOAT4 NOT NULL, col1_8 DATE NULL, PRIMARY KEY (col1_0 DESC, col1_7 DESC, col1_5, col1_4 ASC), INDEX (col1_8, col1_3 DESC, col1_7) STORING (col1_1) WHERE (((((NOT table1.col1_5) OR (table1.col1_8 != '1970-01-01':::DATE)) AND (table1.col1_3 > e'\x00':::STRING)) AND (table1.col1_6 != 1.0:::FLOAT8)) AND (table1.col1_7 != '+Inf':::FLOAT8)) OR (table1.col1_0 <= '+Inf':::FLOAT8), FAMILY (col1_4, col1_5, col1_3, col1_2), FAMILY (col1_6, col1_0), FAMILY (col1_8, col1_1, col1_7));
        test_1        |             CREATE TABLE table2 (col2_0 REGTYPE NOT NULL, col2_1 BOX2D NOT NULL, PRIMARY KEY (col2_1, col2_0 ASC), INDEX (col2_0 ASC, col2_1 ASC), UNIQUE (col2_1 ASC, col2_0), FAMILY (col2_0), FAMILY (col2_1));
        test_1        |             CREATE TABLE table3 (col2_1 BOX2D NOT NULL, col2_0 REGTYPE NOT NULL, col3_2 NAME NULL, col3_3 REGPROC NULL, PRIMARY KEY (col2_1, col2_0 ASC), FAMILY (col2_0, col3_3), FAMILY (col2_1), FAMILY (col3_2)) INTERLEAVE IN PARENT table2 (col2_1, col2_0);
        test_1        |             CREATE TABLE table4 (col2_1 BOX2D NOT NULL, col2_0 REGTYPE NOT NULL, col4_2 "char" NOT NULL, col4_3 UUID NOT NULL, col4_4 UUID, col4_5 UUID NULL, col4_6 NAME NOT NULL, col4_7 NAME, col4_8 REGPROC NULL, col4_9 UUID NULL, col4_10 FLOAT8, col4_11 INT8 NOT NULL, col4_12 BIT(49) NULL, col4_13 TIMESTAMP NULL, col4_14 FLOAT4 NULL, col4_15 INT2, col4_16 DATE NULL, col4_17 BIT NOT NULL, col4_18 INET NOT NULL, PRIMARY KEY (col2_1, col2_0 ASC, col4_17 ASC, col4_9 ASC, col4_4 ASC, col4_3 DESC, col4_8, col4_14, col4_18), INDEX (col4_5, col4_18 DESC, col4_8 ASC, col4_6 DESC, col2_0, col2_1 ASC, col4_16 ASC, col4_10, col4_17 DESC, col4_11 ASC, col4_2) STORING (col4_7, col4_12, col4_13) WHERE ((((((((table4.col4_10 < 'NaN':::FLOAT8) OR (table4.col4_6 >= e'\U00002603':::STRING)) AND (table4.col4_16 > '5874897-12-31':::DATE)) AND (table4.col4_15 < (-1):::INT8)) AND (table4.col4_7 = '"':::STRING)) AND (table4.col4_14 = 0.0:::FLOAT8)) AND (table4.col4_13 >= '0001-01-01 00:00:00':::TIMESTAMP)) AND (table4.col4_11 = (-32768):::INT8)) OR (table4.col4_2 < 'X':::STRING), UNIQUE (col4_10 ASC, col4_17 DESC, col4_5, col4_14, col4_8, col4_3, col4_9, col4_18 DESC, col4_4, col4_13 DESC, col4_2 ASC, col4_15) STORING (col4_7, col4_12) WHERE ((((((((table4.col4_11 = (-2147483648):::INT8) AND (table4.col4_14 >= 0.0:::FLOAT8)) OR (table4.col4_7 != 'X':::STRING)) OR (table4.col4_13 != '0001-01-01 00:00:00':::TIMESTAMP)) OR (table4.col4_16 >= 'infinity':::DATE)) OR (table4.col4_6 < '':::STRING)) AND (table4.col4_10 > 0.0:::FLOAT8)) OR (table4.col4_2 != e'\x00':::STRING)) OR (table4.col4_15 <= 0:::INT8), UNIQUE (col4_2 ASC, col4_18 DESC, col4_7 ASC, col4_14, col4_4 ASC) STORING (col4_5, col4_11, col4_13), INDEX (col4_4 ASC, col4_14, col4_18 DESC, col4_13 ASC, col4_7 ASC, col4_15 DESC, col4_6 DESC, col4_3 DESC, col4_8 ASC, col4_11 ASC, col2_1 DESC, col4_9 ASC, col2_0 DESC, col4_17, col4_10 DESC, col4_2 ASC, col4_5 DESC, col4_16 ASC) STORING (col4_12) WHERE ((((((((table4.col4_14 != -Inf) OR (table4.col4_13 >= '3000-01-01 00:00:00')) AND (table4.col4_16 > 'infinity')) OR (table4.col4_11 >= -128)) AND (table4.col4_6 >= e'\'')) AND (table4.col4_2 > '')) AND (table4.col4_10 > 1.7976931348623157e+308)) OR (table4.col4_7 >= e'\U00002603')) AND (table4.col4_15 < 127), UNIQUE (col4_10, col4_7, col4_15 DESC, col4_11 DESC) STORING (col4_2, col4_12, col4_13, col4_16) WHERE ((table4.col4_7 <= e'\U00002603':::STRING) OR (table4.col4_13 < '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table4.col4_16 < '1970-01-01':::DATE), UNIQUE (col4_12, col2_0 DESC, col4_9 DESC, col4_11 ASC, col4_7 ASC, col4_4 DESC, col4_14, col4_3), INDEX (col4_14 DESC, col2_1, col4_13 ASC, col4_16 ASC, col4_4 ASC, col4_5 ASC, col4_7 ASC, col4_9 DESC, col2_0, col4_10 ASC, col4_18 ASC, col4_12, col4_3 DESC, col4_2, col4_6 ASC, col4_11 DESC, col4_17, col4_8 ASC, col4_15 ASC), UNIQUE (col4_18 ASC, col4_11 ASC, col4_10, col4_3 ASC, col4_13 ASC, col2_0 DESC, col2_1, col4_7, col4_14 DESC, col4_6 DESC, col4_12, col4_4, col4_9 ASC) STORING (col4_2, col4_15, col4_16) WHERE (((((table4.col4_6 > e'\U00002603':::STRING) AND (table4.col4_7 <= '"':::STRING)) AND (table4.col4_13 >= '294276-12-31 23:59:59.999999':::TIMESTAMP)) OR (table4.col4_15 > 0:::INT8)) OR (table4.col4_2 > e'\'':::STRING)) AND (table4.col4_11 <= (-32768):::INT8), UNIQUE (col4_12) STORING (col4_5, col4_6, col4_7, col4_13, col4_15) WHERE (((((((table4.col4_2 <= e'\'') AND (table4.col4_13 != '3000-01-01 00:00:00')) AND (table4.col4_14 < 0.0)) AND (table4.col4_7 <= '')) AND (table4.col4_11 > 2147483647)) OR (table4.col4_15 = 127)) AND (table4.col4_16 = 'infinity')) OR (table4.col4_6 < e'\''), FAMILY (col4_12), FAMILY (col4_14, col4_16, col4_5), FAMILY (col4_18, col4_8), FAMILY (col4_3, col4_2), FAMILY (col4_9, col2_1), FAMILY (col2_0, col4_17), FAMILY (col4_4, col4_11), FAMILY (col4_15), FAMILY (col4_6), FAMILY (col4_10, col4_13, col4_7)) INTERLEAVE IN PARENT table2 (col2_1, col2_0);
        test_1        |             CREATE TABLE table5 (col2_1 BOX2D NOT NULL, col2_0 REGTYPE NOT NULL, col5_2 FLOAT4 NOT NULL, col5_3 BYTES, PRIMARY KEY (col2_1, col2_0 ASC, col5_2 ASC), INDEX (col5_2 DESC, col2_0), INDEX (col2_0 DESC, col2_1 DESC, col5_2) STORING (col5_3) WHERE (table5.col5_3 >= e'\\xe29883':::BYTES) AND (table5.col5_2 != 'NaN':::FLOAT8), UNIQUE (col2_0 DESC) WHERE (table5.col5_2 = 0.0) AND (table5.col5_3 != '\x00'), INDEX (col5_2 ASC, col2_1, col5_3 ASC, col2_0) WHERE (table5.col5_2 != -1.0) AND (table5.col5_3 <= '\x58'), INDEX (col2_0 DESC, col2_1 DESC, col5_2) WHERE table5.col5_3 <= e'\\xe29883':::BYTES, UNIQUE (col5_2, col2_0 ASC, col2_1, col5_3 ASC), UNIQUE (col2_1 ASC, col5_3 ASC, col5_2 ASC, col2_0 DESC) WHERE (table5.col5_3 != e'\\xe29883':::BYTES) AND (table5.col5_2 != 1.401298464324817e-45:::FLOAT8), INDEX (col2_1, col5_2 DESC) STORING (col5_3) WHERE (table5.col5_3 < '\x27') AND (table5.col5_2 < 0.0), FAMILY (col2_0, col5_3), FAMILY (col2_1), FAMILY (col5_2)) INTERLEAVE IN PARENT table3 (col2_1, col2_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4175, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1501, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2718, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3830, "histo_col_type": "", "name": "__auto__", "null_count": 2412, "row_count": 5000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2756, "histo_col_type": "", "name": "__auto__", "null_count": 2428, "row_count": 5000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4299, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4657, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4460, "histo_buckets": [{"distinct_range": 0, "num_eq": 8821976589689568661, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 3407332018834007000, "num_eq": 100000, "num_range": 3407332018834007030, "upper_bound": "1972-10-16"}, {"distinct_range": 0, "num_eq": 7157830291699776676, "num_range": 0, "upper_bound": "1987-09-01"}, {"distinct_range": 0, "num_eq": 40, "num_range": 60000, "upper_bound": "1990-11-26"}, {"distinct_range": 90, "num_eq": 5987203557305460606, "num_range": 90, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 4297, "row_count": 5000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1509, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 5000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 133, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 68.15369509205163, "num_eq": 200, "num_range": 5000, "upper_bound": "108773864"}, {"distinct_range": 7317906304036677000, "num_eq": 3000000, "num_range": 7317906304036676721, "upper_bound": "256383065"}, {"distinct_range": 3833787822167838700, "num_eq": 2456994094187856417, "num_range": 3833787822167838466, "upper_bound": "1355778960"}, {"distinct_range": 4453415710942587400, "num_eq": 0, "num_range": 4453415710942587171, "upper_bound": "1448769711"}, {"distinct_range": 0, "num_eq": 40, "num_range": 30, "upper_bound": "1473741524"}, {"distinct_range": 20, "num_eq": 0, "num_range": 20, "upper_bound": "1802569211"}, {"distinct_range": 2172906268856067600, "num_eq": 7042717355338530302, "num_range": 3028786773545748247, "upper_bound": "2180118459"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 270, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "BOX(-1.0008566580037686 -1.3754334337963272,1.0337192078825779 0.4697950983885777)"}, {"distinct_range": 0, "num_eq": 261137660642319439, "num_range": 60, "upper_bound": "BOX(-0.41020265799955935 0.3856541877972174,0.34463558912712067 1.086591168690044)"}, {"distinct_range": 0, "num_eq": 5488527300528113013, "num_range": 8799126008626844145, "upper_bound": "BOX(-0.04156736892492774 0.036808685026088916,0.5396416617750682 0.36500813946741584)"}, {"distinct_range": 19580455131.52203, "num_eq": 9111480981807544974, "num_range": 20000000000, "upper_bound": "BOX(0.16331098433225222 -1.4479726344575727,1.6109838572900337 -0.801019210816527)"}, {"distinct_range": 2802073006657854000, "num_eq": 8045136854640261079, "num_range": 3532728307247609949, "upper_bound": "BOX(0.42999570021133415 0.1044004444242066,0.8221419036502821 0.4479580182806826)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 300}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1645725899163169434, "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 6221132675810272472}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5798554175697363764, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6221132675810272472}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4490661737348972055, "histo_col_type": "", "name": "__auto__", "null_count": 5281047253333435293, "row_count": 6221132675810272472}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 633516673161728863, "histo_col_type": "", "name": "__auto__", "null_count": 4537137590367349000, "row_count": 6221132675810272472}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_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": ["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": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "22bb4bf2-13f1-4c93-9be5-ab89712dbeef"}, {"distinct_range": 552555943.7068787, "num_eq": 40, "num_range": 600000000, "upper_bound": "4d35119e-e741-4030-b090-5724bf458b63"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 8749988251892537754, "upper_bound": "6a63118f-a7f4-41d2-9f67-cc524b788801"}, {"distinct_range": 4206017609821407000, "num_eq": 736279325500049879, "num_range": 4206017609821407029, "upper_bound": "aa6533b9-7435-407c-8a9b-1e60f748a42f"}, {"distinct_range": 6303816268.063104, "num_eq": 50000000000, "num_range": 80000000000, "upper_bound": "b6e089d8-e73c-4850-8057-06463e607def"}, {"distinct_range": 0, "num_eq": 984414634779791191, "num_range": 30000000000, "upper_bound": "c203e0b7-ed2c-4750-9dd9-bdc7777e0c97"}, {"distinct_range": 0, "num_eq": 6301371713145393912, "num_range": 0, "upper_bound": "da356076-bc9b-4ecd-a695-d87c90ce9ae7"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6080626733076919159, "num_range": 0, "upper_bound": "12.90.168.215/4"}, {"distinct_range": 4666394539.9120035, "num_eq": 40000000000, "num_range": 9000000000, "upper_bound": "36.19.233.245/5"}, {"distinct_range": 169597813338257900, "num_eq": 3078701301019045501, "num_range": 8820903868583149527, "upper_bound": "158.133.168.131/8"}, {"distinct_range": 2455816.998867056, "num_eq": 5475785864355124394, "num_range": 4000000, "upper_bound": "101.175.88.226/19"}, {"distinct_range": 7.516390549033355, "num_eq": 7379455487227155410, "num_range": 20, "upper_bound": "169.122.38.144/20"}, {"distinct_range": 4620835500615733000, "num_eq": 500000, "num_range": 4620835500615733649, "upper_bound": "31.50.152.233/23"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2569952451346245126, "num_range": 0, "upper_bound": "0000101010100100111011100111001011011100010000101"}, {"distinct_range": 1419.0941285775555, "num_eq": 8467038187788089051, "num_range": 3000, "upper_bound": "0110010100001010110100111100110000101111111010001"}, {"distinct_range": 0, "num_eq": 2078342831263209552, "num_range": 4145468361622567980, "upper_bound": "0110100111000011000110001110100010000001011111000"}, {"distinct_range": 5000000, "num_eq": 7903346014250120604, "num_range": 5000000, "upper_bound": "0110110101101101111110110011110101011100000010000"}, {"distinct_range": 6163790189.819227, "num_eq": 10000000, "num_range": 7000000000, "upper_bound": "0111111111111111111111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 120476210994566121, "num_range": 7000000, "upper_bound": "1100100110000111101010000111001100001010010110111"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 648050386324459534, "num_range": 8000, "upper_bound": "1.8051471710205078"}, {"distinct_range": 1000000000, "num_eq": 20000, "num_range": 1000000000, "upper_bound": "1.9368258714675903"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 1000000, "num_eq": 80000000, "num_range": 1000000, "upper_bound": "\\u0007"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 9000000000, "upper_bound": "6"}, {"distinct_range": 0, "num_eq": 8831311286499250847, "num_range": 5130895053758967875, "upper_bound": "B"}, {"distinct_range": 0, "num_eq": 1703616793172438568, "num_range": 100, "upper_bound": "N"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 3387183572979844595, "num_range": 0, "upper_bound": "1f318de8-2ea2-492d-9426-64dda0c1824c"}, {"distinct_range": 100, "num_eq": 4916869225752101954, "num_range": 100, "upper_bound": "20c6e73e-6dae-49ae-b156-5dad901f1e05"}, {"distinct_range": 327.0612875798721, "num_eq": 40, "num_range": 800, "upper_bound": "2116b7c8-6429-42da-ab5e-0113da2a4b0c"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_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": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "BOX(-0.9734670646782002 -2.3076368300646095,-0.06208752232064896 0.08838101653698055)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "-1.1280698299836658"}, {"distinct_range": 536198931465465150, "num_eq": 7713295718537724702, "num_range": 930250612616917402, "upper_bound": "-1.023351289566171"}, {"distinct_range": 40000, "num_eq": 10000, "num_range": 40000, "upper_bound": "-0.8428273958941535"}, {"distinct_range": 4000000000, "num_eq": 8000, "num_range": 4000000000, "upper_bound": "-0.7727745037127112"}, {"distinct_range": 191018.37578931777, "num_eq": 0, "num_range": 500000, "upper_bound": "-0.05244823334068105"}, {"distinct_range": 8872776.530752227, "num_eq": 242426554315233212, "num_range": 9000000, "upper_bound": "0.060688644521669555"}, {"distinct_range": 1511261017008234800, "num_eq": 8693103029628704260, "num_range": 1511261017008234860, "upper_bound": "0.45595570453389456"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4427241, "histo_buckets": [{"distinct_range": 0, "num_eq": 6996404230895338627, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 10.77845264697006, "num_eq": 7555739875405273384, "num_range": 20, "upper_bound": "BOX(-2.604273462344936 -0.1775115316486392,-0.4335642693131836 0.42630886962563486)"}, {"distinct_range": 1000000, "num_eq": 90000000000, "num_range": 1000000, "upper_bound": "BOX(-1.8799467415338142 -1.3496228746313976,-0.31822469998540304 -0.15374795845761657)"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 6897958809441266146, "upper_bound": "BOX(0.22451100047021527 -0.5908304993305056,0.46292424095964424 -0.01629424370745175)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271453, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "43357417"}, {"distinct_range": 400000000, "num_eq": 6369254769423115253, "num_range": 400000000, "upper_bound": "1615250261"}, {"distinct_range": 7279750705540210000, "num_eq": 40, "num_range": 7279750705540209896, "upper_bound": "1836254938"}, {"distinct_range": 1701868435966125000, "num_eq": 5000000000, "num_range": 1701868435966124947, "upper_bound": "2287632511"}, {"distinct_range": 12000880.778449705, "num_eq": 100000000000, "num_range": 60000000, "upper_bound": "2405784154"}, {"distinct_range": 0, "num_eq": 5341267809711283067, "num_range": 8000000, "upper_bound": "2819032093"}, {"distinct_range": 8039373572307110000, "num_eq": 8999114099940695312, "num_range": 8039373572307110306, "upper_bound": "3309532544"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3619804, "histo_buckets": [{"distinct_range": 0, "num_eq": 1167279909721084709, "num_range": 0, "upper_bound": "-0.4927206337451935"}, {"distinct_range": 2844.454044152961, "num_eq": 700, "num_range": 3000, "upper_bound": "-0.4901171624660492"}, {"distinct_range": 0, "num_eq": 1163412537165091275, "num_range": 70000000, "upper_bound": "-0.46848931908607483"}, {"distinct_range": 3841079394131800600, "num_eq": 2000000, "num_range": 8473948723869140717, "upper_bound": "-0.20924879610538483"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5081530395217220920, "upper_bound": "-0.018112333491444588"}, {"distinct_range": 2206928380.585315, "num_eq": 30, "num_range": 30000000000, "upper_bound": "0.6284602284431458"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 8593154970806755956, "upper_bound": "1.0"}, {"distinct_range": 80, "num_eq": 5000000, "num_range": 80, "upper_bound": "1.2306197881698608"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6757724, "histo_col_type": "", "name": "__auto__", "null_count": 5567487, "row_count": 7000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('r', 'pdqcja');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('coar', 'qn', 'lxdlt');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 407231277357841176, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 360224621265675001, "histo_col_type": "", "name": "__auto__", "null_count": 2103132648411947629, "row_count": 2639323189364161076}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1617852378336933946, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1931696373348642053, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1944280330041262959, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2563207267127201467, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2398330149928526987, "histo_buckets": [{"distinct_range": 0, "num_eq": 2445908345321369208, "num_range": 0, "upper_bound": "-1.3930869858953603"}, {"distinct_range": 3604215141680022500, "num_eq": 2508515324969128990, "num_range": 3604215141680022643, "upper_bound": "-0.7311270760030488"}, {"distinct_range": 5702499279808614000, "num_eq": 1000, "num_range": 5702499279808614667, "upper_bound": "-0.4775004372342555"}, {"distinct_range": 20000000000, "num_eq": 0, "num_range": 20000000000, "upper_bound": "-0.16550849510237686"}, {"distinct_range": 1789952633198720300, "num_eq": 3872487982035571056, "num_range": 4039359570476941811, "upper_bound": "0.0"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "0.5185471687944125"}, {"distinct_range": 0, "num_eq": 7963594961941083173, "num_range": 3597173015875833027, "upper_bound": "0.7226020720466939"}, {"distinct_range": 0, "num_eq": 700, "num_range": 4936672491270768201, "upper_bound": "1.1801418210450787"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 2639323189364161076}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1056444305127631224, "histo_col_type": "", "name": "__auto__", "null_count": 1472295098460839967, "row_count": 2639323189364161076}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46888882451835293, "histo_col_type": "DATE", "name": "__auto__", "null_count": 2221036911797969245, "row_count": 2639323189364161076}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124882522410966251, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 7737690150660950000, "num_eq": 4000000000, "num_range": 7737690150660949717, "upper_bound": "BOX(-1.7281023744313437 0.6586349701016379,0.03209386622209487 2.4050964546945615)"}, {"distinct_range": 3728650345990616000, "num_eq": 8262908633716668637, "num_range": 3728650345990616102, "upper_bound": "BOX(-1.582450774504525 0.07077589078284774,-0.05488330435448016 0.8974945514448024)"}, {"distinct_range": 90000, "num_eq": 1405523588899524023, "num_range": 90000, "upper_bound": "BOX(-1.1715950011589944 -0.11083079637840554,0.662235227886167 0.6460694246951775)"}, {"distinct_range": 806511388613750500, "num_eq": 1000000, "num_range": 806511388613750514, "upper_bound": "BOX(-1.1414971283371023 -0.7345062608021034,-0.8648787085949547 -0.14686398245711607)"}, {"distinct_range": 0, "num_eq": 5662973463242405604, "num_range": 1000000, "upper_bound": "BOX(-0.6980184412804594 0.6333807932850225,1.1416794434330186 1.2291685284829905)"}, {"distinct_range": 2709185173.5022626, "num_eq": 8000, "num_range": 20000000000, "upper_bound": "BOX(-0.6831970598303715 -0.19941682492590235,0.527404935747095 1.528794010253828)"}, {"distinct_range": 1000, "num_eq": 60000, "num_range": 1000, "upper_bound": "BOX(-0.14458007669611614 -0.5814100873243863,1.182908828616717 0.016534034858808888)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 3057875987972949097}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1241952740558241428, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "1267678649"}, {"distinct_range": 433468042799584830, "num_eq": 400, "num_range": 1341938441845589263, "upper_bound": "1662695359"}, {"distinct_range": 0, "num_eq": 8369907246236474677, "num_range": 5427579088110724440, "upper_bound": "1881701385"}, {"distinct_range": 385848.641524001, "num_eq": 5000000000, "num_range": 6000000, "upper_bound": "1953121492"}, {"distinct_range": 5845244705929194000, "num_eq": 800000000, "num_range": 5902493807744820598, "upper_bound": "2211228911"}, {"distinct_range": 60000000000, "num_eq": 3244809097521558747, "num_range": 60000000000, "upper_bound": "2406733421"}, {"distinct_range": 1915.9258988142465, "num_eq": 7581540493555939180, "num_range": 3000, "upper_bound": "3151867945"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3057875987972949097}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1363415505596762561, "histo_buckets": [{"distinct_range": 0, "num_eq": 3723898301275924724, "num_range": 0, "upper_bound": "BOX(-0.9693946169560512 -1.9940202053632863,0.1286161697083914 -1.5983307606397046)"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 30000000, "upper_bound": "BOX(-0.8316218237594118 0.47902456891035616,-0.30122016123791395 1.1783275576515546)"}, {"distinct_range": 6000000, "num_eq": 0, "num_range": 6000000, "upper_bound": "BOX(-0.7049242106050313 1.5378461897234594,-0.660157027002612 1.587824275254159)"}, {"distinct_range": 2145291974910881000, "num_eq": 70, "num_range": 2145291974910881139, "upper_bound": "BOX(-0.5223988929774508 -1.0824923544296876,-0.0297133456395271 -0.3758874134800253)"}, {"distinct_range": 4265611306680319500, "num_eq": 1645818838704266300, "num_range": 4265611306680319741, "upper_bound": "BOX(0.2828122151574017 0.3748167643658548,1.448393404645203 0.40083539677763097)"}, {"distinct_range": 400, "num_eq": 90000, "num_range": 400, "upper_bound": "BOX(1.363761862550693 1.29318343992814,2.1211037014507066 1.487102125407696)"}, {"distinct_range": 1952074818582368800, "num_eq": 6567611703356489281, "num_range": 1952074818582368764, "upper_bound": "BOX(1.66736113014686 0.21033882144876936,1.9891089542968206 0.5382117990240589)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 2614935963296664914}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2203466110179001371, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2614935963296664914}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271624332442494015, "histo_col_type": "", "name": "__auto__", "null_count": 1315579976912113375, "row_count": 2614935963296664914}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1607532508978251220, "histo_col_type": "", "name": "__auto__", "null_count": 1360716518242415618, "row_count": 2614935963296664914}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 535456880499700915, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1811613610276685877, "histo_col_type": "", "name": "__auto__", "null_count": 1626049754218777110, "row_count": 2039974029532820363}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 768538100262967855, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 548206754268596734, "histo_buckets": [{"distinct_range": 0, "num_eq": 6239072449086716409, "num_range": 0, "upper_bound": "-2.1569268703460693"}, {"distinct_range": 2489024.2941448777, "num_eq": 9000000, "num_range": 3000000, "upper_bound": "-0.35410454869270325"}, {"distinct_range": 1000000, "num_eq": 4457132681460639469, "num_range": 1000000, "upper_bound": "-0.009522602893412113"}, {"distinct_range": 0, "num_eq": 6622557931683394728, "num_range": 7000, "upper_bound": "0.35860326886177063"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 900000, "upper_bound": "0.6903412342071533"}, {"distinct_range": 0, "num_eq": 70, "num_range": 1816647775167575987, "upper_bound": "1.1246575117111206"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 808691781529150207, "row_count": 2039974029532820363}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1179453220924841473, "histo_col_type": "", "name": "__auto__", "null_count": 128905616354962167, "row_count": 2039974029532820363}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 96199038260205835, "histo_buckets": [{"distinct_range": 0, "num_eq": 2131736785973464852, "num_range": 0, "upper_bound": "158.126.163.61/5"}, {"distinct_range": 2517926887711014000, "num_eq": 4779513866443132528, "num_range": 3220002663888028832, "upper_bound": "124.78.225.137/19"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 40000000, "upper_bound": "93.60.191.59/21"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 197988326572875674, "upper_bound": "115.244.251.1/30"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 10000, "upper_bound": "e8f9:2b32:b715:728c:5ff0:eca9:3233:1957/59"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1095412556864065718, "histo_col_type": "", "name": "__auto__", "null_count": 159903883021010403, "row_count": 2039974029532820363}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 413500276141214977, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-0.9278207812727923"}, {"distinct_range": 100000, "num_eq": 6174503933891952441, "num_range": 100000, "upper_bound": "-0.5860959172334199"}, {"distinct_range": 7856681946623927000, "num_eq": 400, "num_range": 7856681946623927559, "upper_bound": "1.6157860982865528"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1931082847004662331, "row_count": 2039974029532820363}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 206087923839013143, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "1000111000001011100001011110000001001111011101111"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 750063298730425285, "row_count": 2039974029532820363}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1457855396837490339, "histo_buckets": [{"distinct_range": 0, "num_eq": 8878871434039994020, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 154263.74041726536, "num_eq": 1355916861690120371, "num_range": 200000, "upper_bound": "BOX(-3.162267058703351 -2.23505706782393,-0.22345788322848126 -1.006066120617431)"}, {"distinct_range": 3231472209860029400, "num_eq": 10, "num_range": 3231472209860029362, "upper_bound": "BOX(-3.0490562917866804 0.8578977436275581,-1.4254284852499381 2.07938893952935)"}, {"distinct_range": 4404277507027957000, "num_eq": 0, "num_range": 7273075997576834248, "upper_bound": "BOX(-1.5866729877606711 -0.09631486012159213,0.8965999125396777 0.9467821812158022)"}, {"distinct_range": 6510430302826357000, "num_eq": 7168749968939522253, "num_range": 6972580348561335162, "upper_bound": "BOX(-1.3971997002971648 -0.26918071829173784,0.8748521596518184 0.29424801031243975)"}, {"distinct_range": 0, "num_eq": 523567956916659482, "num_range": 70, "upper_bound": "BOX(-0.5784211503805498 -0.7077292397744963,0.5532349106699069 -0.3593147864842767)"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 3000000, "upper_bound": "BOX(0.7255142355593681 -0.5554837192295876,0.8511300967932962 0.1314765193864758)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1948586190181080915, "histo_buckets": [{"distinct_range": 0, "num_eq": 4721177216114126809, "num_range": 0, "upper_bound": "\\u001d"}, {"distinct_range": 0, "num_eq": 2623106802600350818, "num_range": 8661517387163629192, "upper_bound": "-"}, {"distinct_range": 600000, "num_eq": 9000000000, "num_range": 600000, "upper_bound": "4"}, {"distinct_range": 90000000, "num_eq": 1219771449991222340, "num_range": 90000000, "upper_bound": "7"}, {"distinct_range": 22443036777349100, "num_eq": 487958709607907462, "num_range": 258184263752794816, "upper_bound": ";"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 2858536982246882058, "upper_bound": "P"}, {"distinct_range": 2554941431819697000, "num_eq": 1000000, "num_range": 4104474562704658766, "upper_bound": "t"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 444342644207416408, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 120684133297651080, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 7023227735578820424, "num_range": 600000, "upper_bound": "6eb82de6-eb95-40de-b030-4e08e44f8ba6"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 20000, "upper_bound": "741e6810-5405-4acd-92e3-e98cd763ed60"}, {"distinct_range": 3959063350034360000, "num_eq": 0, "num_range": 3959063350034359879, "upper_bound": "94857a93-f7a4-4d9a-891b-ae558095bd27"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 700, "upper_bound": "a33d65bd-5023-4729-8214-7100b260d7fb"}, {"distinct_range": 50969854.791209154, "num_eq": 5332137134982719190, "num_range": 70000000, "upper_bound": "fc3cee34-0fe4-4135-b871-2b6fc522c70b"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 600546505095245651, "row_count": 2039974029532820363}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1667204381232768937, "histo_col_type": "", "name": "__auto__", "null_count": 47397086324236074, "row_count": 2039974029532820363}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1719343525806013721, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1711304637745547149, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 1320452141644714500, "num_eq": 500, "num_range": 1519658420262026923, "upper_bound": "0aaef4d0-c1b6-44ba-9f5e-dbfac294478b"}, {"distinct_range": 6000, "num_eq": 9119399579962267569, "num_range": 6000, "upper_bound": "2d47abe8-39c1-4435-9ca5-9c864a5a8d80"}, {"distinct_range": 6811727985560813000, "num_eq": 3437848636442549758, "num_range": 6811727985560812141, "upper_bound": "9cf4ac6a-81fe-4943-96b0-6c8275cc8af7"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1499242922216854133, "row_count": 2039974029532820363}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1179785923921258856, "histo_col_type": "", "name": "__auto__", "null_count": 562161321281817228, "row_count": 2039974029532820363}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 146988883039491929, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2039974029532820363}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1644789229087682964, "histo_col_type": "", "name": "__auto__", "null_count": 1188613903826224363, "row_count": 2039974029532820363}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75204, "histo_buckets": [{"distinct_range": 0, "num_eq": 1558304648119176687, "num_range": 0, "upper_bound": "BOX(-1.3589677514204812 1.2615864904618976,0.519768446716075 1.6794144628308778)"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 100000, "upper_bound": "BOX(-1.1754944008134598 -0.2534147722065013,0.6642416387184691 -0.24252790854272047)"}, {"distinct_range": 7485008526335794000, "num_eq": 929089701715868237, "num_range": 7485008526335793683, "upper_bound": "BOX(-1.1055854886085568 -1.9271750174594047,1.0741005882933126 1.986264526119536)"}, {"distinct_range": 7434720944727165000, "num_eq": 10000000000, "num_range": 7434720944727164605, "upper_bound": "BOX(-1.0704368755987606 -1.1326583423692282,0.7253839226773573 -0.287523705219735)"}, {"distinct_range": 5000, "num_eq": 2802913875216526474, "num_range": 5000, "upper_bound": "BOX(-0.7083334321647032 0.2897314317765771,0.5977379468045572 0.9484250426386935)"}, {"distinct_range": 2000000000, "num_eq": 1434677780471355527, "num_range": 2000000000, "upper_bound": "BOX(-0.6025877862251374 -1.505364680674453,0.30584956872474944 -0.13444280334819925)"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 50000, "upper_bound": "BOX(-0.38817726051349144 -0.5968457628564056,0.3503633737163734 -0.47877099916733723)"}, {"distinct_range": 1176059988019740000, "num_eq": 2089596873002089151, "num_range": 6418238139256023364, "upper_bound": "BOX(0.18313440610766518 -0.4557604620526778,0.9984854351630228 0.591552774065246)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49714, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79858, "histo_buckets": [{"distinct_range": 0, "num_eq": 1069132424981421059, "num_range": 0, "upper_bound": "-1.1854578256607056"}, {"distinct_range": 2952187908157694500, "num_eq": 7789125913728948701, "num_range": 8915067826653560121, "upper_bound": "-0.5888204574584961"}, {"distinct_range": 123706182.1117255, "num_eq": 200000000, "num_range": 500000000, "upper_bound": "-0.2262318730354309"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 400000, "upper_bound": "0.48372673988342285"}, {"distinct_range": 524446665852727300, "num_eq": 9000, "num_range": 3101203815320501760, "upper_bound": "1.0"}, {"distinct_range": 32668175488.921886, "num_eq": 600, "num_range": 90000000000, "upper_bound": "1.045576572418213"}, {"distinct_range": 0, "num_eq": 1536975236715459813, "num_range": 20000000000, "upper_bound": "1.9573956727981567"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55077, "histo_col_type": "", "name": "__auto__", "null_count": 52531, "row_count": 80000}]';
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_1) REFERENCES table4 (col4_12) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 64, "row_count": 100}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 100}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "-0.6775101451899801"}, {"distinct_range": 5489000737487515000, "num_eq": 3053330491387922245, "num_range": 5489000737487514408, "upper_bound": "0.7449655309191243"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_buckets": [{"distinct_range": 0, "num_eq": 581888794842272541, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 6000, "upper_bound": "1971-04-22"}, {"distinct_range": 0, "num_eq": 1384211227234086251, "num_range": 1000000000, "upper_bound": "1973-11-05"}, {"distinct_range": 0, "num_eq": 1029314545487245023, "num_range": 8683590769131320413, "upper_bound": "1977-11-24"}, {"distinct_range": 5000000, "num_eq": 9039684771403801967, "num_range": 5000000, "upper_bound": "1980-12-27"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 7000, "upper_bound": "1985-02-23"}, {"distinct_range": 2000, "num_eq": 5000000000, "num_range": 2000, "upper_bound": "1991-05-12"}, {"distinct_range": 0, "num_eq": 200, "num_range": 334685950200348396, "upper_bound": "1992-05-03"}, {"distinct_range": 8015487091914758000, "num_eq": 300, "num_range": 8015487091914758521, "upper_bound": "1994-12-05"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 96, "row_count": 100}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63335, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "267709129"}, {"distinct_range": 6930.711322527098, "num_eq": 100000000, "num_range": 70000, "upper_bound": "434211408"}, {"distinct_range": 100000000, "num_eq": 80, "num_range": 100000000, "upper_bound": "641537244"}, {"distinct_range": 4694975805205048000, "num_eq": 4207208929198032593, "num_range": 4694975805205048795, "upper_bound": "2017498072"}, {"distinct_range": 4000000, "num_eq": 100000000, "num_range": 4000000, "upper_bound": "2376326038"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "3631706051"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62722, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "BOX(-1.045317943056701 0.24596960787392608,-0.13368971874435664 0.759157878720577)"}, {"distinct_range": 1720134567016366000, "num_eq": 4000000000, "num_range": 1720134567016366048, "upper_bound": "BOX(-0.9638995448778261 0.6112056045352698,1.0685460610916504 1.40597695824849)"}], "histo_col_type": "BOX2D", "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": 3551229, "histo_buckets": [{"distinct_range": 0, "num_eq": 8883871189934888714, "num_range": 0, "upper_bound": "BOX(-1.3249900479987347 0.03795585291354053,-0.1985677154675522 0.5679834045596271)"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "BOX(-1.148496021461498 0.4735368338523267,-0.37430258742405476 3.0438324934793286)"}, {"distinct_range": 3869409653.242207, "num_eq": 20000, "num_range": 8000000000, "upper_bound": "BOX(-1.1285971126545893 0.23143411723588592,2.2700003839702414 0.6216444304759372)"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 1000000000, "upper_bound": "BOX(-0.2366896347131231 -0.0019577527424168295,-0.10213191842129038 0.0219680507012876)"}, {"distinct_range": 618790470570216300, "num_eq": 700000, "num_range": 618790470570216272, "upper_bound": "BOX(0.9429013735637691 -0.2705309038150132,1.0716077151404253 -0.20188687823165452)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8347228, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 152411, "histo_col_type": "", "name": "__auto__", "null_count": 798163, "row_count": 9000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 934883, "histo_col_type": "", "name": "__auto__", "null_count": 1947914, "row_count": 9000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2690185734621891622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 847839847871282220, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "f08330c3-1389-4982-8210-928b53b95b3a"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 486990231256027083, "row_count": 2824211185813726531}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2350993247344269815, "histo_col_type": "", "name": "__auto__", "null_count": 2584873041200048941, "row_count": 2824211185813726531}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2270161585308377615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2289578871540728455, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "0111110100111000101001111000101000001110001011010"}, {"distinct_range": 0, "num_eq": 50, "num_range": 500000000, "upper_bound": "1001100111101110101111011000110100110111001111110"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 70000000, "upper_bound": "1010111010111110100001000101011011110001011110111"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 10000, "upper_bound": "1100100010100010010010110000100001101111011001011"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 2356306045035277507, "row_count": 2824211185813726531}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2448083869186231058, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1731609189962232831, "row_count": 2824211185813726531}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1666810165891865237, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77934226246022222, "histo_buckets": [{"distinct_range": 0, "num_eq": 28524783303881908, "num_range": 0, "upper_bound": "\\u0010"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 7000000, "upper_bound": "!"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "N"}, {"distinct_range": 72655803267.27419, "num_eq": 20, "num_range": 80000000000, "upper_bound": "U"}, {"distinct_range": 3894316921898880500, "num_eq": 800000000, "num_range": 3894316921898880443, "upper_bound": "Y"}, {"distinct_range": 4596118304000703000, "num_eq": 2691830717953719264, "num_range": 4596118304000703025, "upper_bound": "]"}, {"distinct_range": 9000, "num_eq": 400000000, "num_range": 9000, "upper_bound": "t"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1447386592325050812, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "149.79.71.21/1"}, {"distinct_range": 1000000, "num_eq": 1490711959183690368, "num_range": 1000000, "upper_bound": "98.229.253.237/20"}, {"distinct_range": 110757053525286600, "num_eq": 0, "num_range": 110757053525286590, "upper_bound": "ebae:eba1:c26c:1235:9a85:2d60:9c55:1c69/3"}, {"distinct_range": 0, "num_eq": 6686344159712984735, "num_range": 20000000000, "upper_bound": "e74:21ad:3c64:15b0:a6e:22b5:e4af:d203/112"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558571145316588783, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 427625989808436953, "histo_col_type": "", "name": "__auto__", "null_count": 1705018491434362513, "row_count": 2824211185813726531}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1878032202195157301, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "0.28007408143402257"}, {"distinct_range": 5493980140829211000, "num_eq": 5000, "num_range": 5493980140829210421, "upper_bound": "0.3158716317029159"}, {"distinct_range": 0, "num_eq": 3346137396724303541, "num_range": 1000, "upper_bound": "0.5560043145894161"}, {"distinct_range": 98.90127422301546, "num_eq": 4864954260526974533, "num_range": 100, "upper_bound": "0.7689918261135276"}, {"distinct_range": 3071704523258953700, "num_eq": 6768965057091198889, "num_range": 7632806831565682264, "upper_bound": "1.1568556531167387"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 304621732446610226, "row_count": 2824211185813726531}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1174268064981842725, "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2244399312802949712, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2824211185813726531}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 712983900036426331, "histo_col_type": "", "name": "__auto__", "null_count": 98897752126814885, "row_count": 2824211185813726531}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 971833311831488472, "histo_col_type": "", "name": "__auto__", "null_count": 1379128878324883388, "row_count": 2824211185813726531}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2386933323045449432, "histo_col_type": "", "name": "__auto__", "null_count": 1002737638513010995, "row_count": 2824211185813726531}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2693298648507869389, "histo_col_type": "", "name": "__auto__", "null_count": 65145382841197646, "row_count": 2824211185813726531}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2072130876436299674, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "452f8997-016d-4791-8d71-0dd68b712066"}, {"distinct_range": 20.351485705755124, "num_eq": 10000, "num_range": 40, "upper_bound": "8f8f289a-baf4-42d0-bcfd-df321777240c"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 2454023941185523282, "row_count": 2824211185813726531}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1201335, "histo_buckets": [{"distinct_range": 0, "num_eq": 3910334589605962702, "num_range": 0, "upper_bound": "BOX(-0.4123926663233469 -0.7511076971234827,0.9404921000649246 0.43782877479705284)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4166139, "histo_buckets": [{"distinct_range": 0, "num_eq": 4546154079044551755, "num_range": 0, "upper_bound": "1303474032"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 6309396139003812242, "upper_bound": "2834220709"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4891705, "histo_buckets": [{"distinct_range": 0, "num_eq": 2623389180391083334, "num_range": 0, "upper_bound": "-0.9137680530548096"}, {"distinct_range": 80000, "num_eq": 900000000, "num_range": 80000, "upper_bound": "0.26181653141975403"}, {"distinct_range": 203271811.92839974, "num_eq": 214981236468240812, "num_range": 300000000, "upper_bound": "0.7940626144409
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@19addd018c462875515f94c5d77a3848f2995443:

        test_1        |         compare_test.go:155: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("F6"),
        test_1        |             +   string("F6.0"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT ('F'::TEXT::TEXT || 6.0::FLOAT8::FLOAT8)::TEXT AS col_76794) AS tab_40733
        test_1        |             ORDER BY
        test_1        |                 col_76794 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.93s)
        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        |             CREATE TABLE table1 (col1_0 REGPROCEDURE NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_2 TIMETZ NOT NULL, col1_3 CHAR NOT NULL, col1_4 INT8 NOT NULL, col1_5 INTERVAL NOT NULL, col1_6 REGPROC NOT NULL, col1_7 INT4 NOT NULL, col1_8 FLOAT8 NOT NULL, col1_9 INET NOT NULL, col1_10 TIME NOT NULL, col1_11 DECIMAL NOT NULL, col1_12 REGTYPE NOT NULL, col1_13 FLOAT4 NOT NULL, col1_14 TIMESTAMPTZ NOT NULL, col1_15 BOX2D NOT NULL, col1_16 TIMETZ NOT NULL, col1_17 FLOAT8 NOT NULL, PRIMARY KEY (col1_7 ASC, col1_6 ASC, col1_10 ASC, col1_1, col1_4 ASC, col1_9, col1_3 ASC, col1_14, col1_0 DESC, col1_13 ASC, col1_11 DESC, col1_8, col1_5 DESC, col1_17, col1_15, col1_12 DESC, col1_2, col1_16 ASC), UNIQUE (col1_6 ASC, col1_0 ASC, col1_8, col1_7 ASC, col1_12 DESC, col1_14 DESC, col1_16, col1_3 ASC, col1_10, col1_13, col1_4 DESC, col1_9 ASC, col1_1 DESC), UNIQUE (col1_4) WHERE table1.col1_10 <= '00:00:00', FAMILY (col1_6, col1_4), FAMILY (col1_11), FAMILY (col1_0), FAMILY (col1_7), FAMILY (col1_14, col1_8), FAMILY (col1_1, col1_9), FAMILY (col1_2, col1_5), FAMILY (col1_15, col1_16, col1_17), FAMILY (col1_10), FAMILY (col1_3, col1_13), FAMILY (col1_12));
        test_1        |             CREATE TABLE table2 (col2_0 BYTES NOT NULL, col2_1 INT8 NOT NULL, col2_2 BOX2D NULL, col2_3 CHAR NULL, col2_4 BYTES NOT NULL, col2_5 STRING, col2_6 TIME, col2_7 BYTES NOT NULL, col2_8 REGPROCEDURE NULL, INDEX (col2_3 DESC, col2_5, col2_7 ASC, col2_1 ASC, col2_0, col2_2 ASC, col2_8 DESC) WHERE ((((((table2.col2_4 >= '\x27') AND (table2.col2_5 > 'X')) OR (table2.col2_0 = '\x')) AND (table2.col2_6 <= '24:00:00')) OR (table2.col2_3 >= e'\x00')) OR (table2.col2_7 < '\x22')) OR (table2.col2_1 = 2147483647), INDEX (col2_1 DESC, col2_0 ASC, col2_7, col2_3 DESC, col2_5 DESC, col2_6 ASC, col2_4 ASC, col2_2 DESC) WHERE (((((table2.col2_4 < '\xff') OR (table2.col2_6 = '24:00:00')) AND (table2.col2_0 = '\xe29883')) AND (table2.col2_3 = 'X')) AND (table2.col2_1 != -9223372036854775807)) AND (table2.col2_7 != '\xff'), FAMILY (col2_6, col2_8, col2_1), FAMILY (col2_2, col2_4, col2_0), FAMILY (col2_7, col2_5), FAMILY (col2_3));
        test_1        |             CREATE TABLE table3 (col3_0 NAME NOT NULL, col3_1 OID NOT NULL, col3_2 FLOAT8 NOT NULL, col3_3 BOOL, col3_4 TIMESTAMP NULL, col3_5 INT2 NULL, col3_6 UUID[], col3_7 BIT(28) NOT NULL, col3_8 REGPROC, col3_9 DATE NULL, col3_10 BYTES NOT NULL, PRIMARY KEY (col3_10 ASC, col3_1 DESC), UNIQUE (col3_10 DESC, col3_1 ASC, col3_5, col3_8, col3_2, col3_4 ASC, col3_0 ASC, col3_7 ASC, col3_3 ASC) STORING (col3_6, col3_9) WHERE ((((((table3.col3_4 <= '-4713-11-24 00:00:00':::TIMESTAMP) OR table3.col3_3) OR (table3.col3_2 = 1.7976931348623157e+308:::FLOAT8)) OR (table3.col3_5 >= 1:::INT8)) OR (table3.col3_9 > '-infinity':::DATE)) AND (table3.col3_0 >= 'X':::STRING)) OR (table3.col3_10 >= e'\\xe29883':::BYTES), INDEX (col3_10) STORING (col3_0, col3_2, col3_4, col3_5, col3_7), INDEX (col3_8 DESC, col3_0 DESC, col3_7 DESC, col3_4 ASC, col3_2 ASC, col3_5) STORING (col3_3, col3_6, col3_9) WHERE ((table3.col3_10 < e'\\x22':::BYTES) AND table3.col3_3) OR (table3.col3_4 = '294276-12-31 23:59:59.999999':::TIMESTAMP), UNIQUE (col3_4, col3_5, col3_2 ASC) STORING (col3_0, col3_3, col3_6, col3_7, col3_9) WHERE (((((table3.col3_3 AND (table3.col3_2 < 1.0:::FLOAT8)) AND (table3.col3_5 >= (-32768):::INT8)) AND (table3.col3_9 = 'infinity':::DATE)) OR (table3.col3_10 = e'\\xff':::BYTES)) OR (table3.col3_0 != '"':::STRING)) AND (table3.col3_4 <= '-2000-01-01 00:00:00':::TIMESTAMP), INDEX (col3_3 DESC, col3_2 ASC, col3_8 ASC, col3_7 DESC, col3_0 ASC, col3_1 DESC, col3_4 DESC, col3_10 ASC, col3_9 ASC) STORING (col3_5) WHERE ((table3.col3_5 <= (-1):::INT8) AND (table3.col3_0 != e'\x00':::STRING)) AND (table3.col3_10 = e'\\x58':::BYTES), UNIQUE (col3_5 ASC, col3_0, col3_7 ASC, col3_2 ASC, col3_9, col3_4 DESC, col3_3 DESC, col3_1 DESC) STORING (col3_8) WHERE ((table3.col3_9 >= '5874897-12-31') OR (table3.col3_4 != '294276-12-31 23:59:59.999999')) AND table3.col3_3, INDEX (col3_0 ASC, col3_9, col3_8, col3_10 ASC, col3_2 DESC, col3_3, col3_1 DESC) WHERE (table3.col3_0 = 'X':::STRING) AND (table3.col3_10 < e'\\xff':::BYTES), UNIQUE (col3_7, col3_4 DESC, col3_2 DESC, col3_0 ASC, col3_8 ASC, col3_5 DESC) STORING (col3_3, col3_6, col3_9) WHERE table3.col3_5 = -128, UNIQUE (col3_1 ASC, col3_3, col3_10) STORING (col3_4, col3_9), FAMILY (col3_0), FAMILY (col3_1), FAMILY (col3_9), FAMILY (col3_2), FAMILY (col3_8), FAMILY (col3_10, col3_7), FAMILY (col3_6), FAMILY (col3_4, col3_5, col3_3));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2795713506506341133, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3631507901853077760, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3278078219364544343, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2743469103789528535, "histo_buckets": [{"distinct_range": 0, "num_eq": 6352767344518862668, "num_range": 0, "upper_bound": "-2111069979"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "-1760576351"}, {"distinct_range": 1751208721264125400, "num_eq": 5267000346565214947, "num_range": 2256051821891703857, "upper_bound": "-1340296125"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 200, "upper_bound": "-194824440"}, {"distinct_range": 91458.65722231775, "num_eq": 7003061541674705824, "num_range": 200000, "upper_bound": "-68272869"}, {"distinct_range": 2425278193848358400, "num_eq": 200, "num_range": 5889902726508350890, "upper_bound": "530803293"}, {"distinct_range": 248409.51437661788, "num_eq": 2643555654299545668, "num_range": 400000, "upper_bound": "1098074848"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2641906270362425480, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1743328931034874232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2006175046283087977, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 256409607822523119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3406140546691710346, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 311377659024251536, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2031769521472233708, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3577504888071801006, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 9011851870890882953, "num_range": 300000000, "upper_bound": "689274464"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "2842386004"}, {"distinct_range": 0, "num_eq": 975390790449681244, "num_range": 500000, "upper_bound": "3327869788"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2866446050428068439, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3018138364317659137, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3769478109624155672, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2052587366949205783, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 491009260210896871, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1256152216156569602, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3960599353059477488}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "-5863659080523255590"}, {"distinct_range": 0, "num_eq": 6076455453909612799, "num_range": 7262402426608415404, "upper_bound": "-5142564466026920992"}, {"distinct_range": 67.4771582033165, "num_eq": 8587523864985557566, "num_range": 70, "upper_bound": "-4182683876605610253"}, {"distinct_range": 2888738335997903400, "num_eq": 600, "num_range": 4020923217407090488, "upper_bound": "608107545589644282"}, {"distinct_range": 0, "num_eq": 1652735685143875730, "num_range": 0, "upper_bound": "4127563512786655305"}, {"distinct_range": 4113783472242794500, "num_eq": 3762666621469472581, "num_range": 4113783472242794687, "upper_bound": "7972148455776368970"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 37, "row_count": 90}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 67, "row_count": 90}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48, "histo_col_type": "", "name": "__auto__", "null_count": 59, "row_count": 90}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_buckets": [{"distinct_range": 0, "num_eq": 5205328016536582247, "num_range": 0, "upper_bound": "\\u0004"}, {"distinct_range": 681870442354435700, "num_eq": 1000000, "num_range": 1306588518399069249, "upper_bound": "\\u000c"}, {"distinct_range": 5872341128478166000, "num_eq": 7630957821833541371, "num_range": 5872341128478165686, "upper_bound": "\'"}, {"distinct_range": 95204589766382500, "num_eq": 40000000, "num_range": 5118954178444658585, "upper_bound": "("}, {"distinct_range": 80000, "num_eq": 6949319706967385470, "num_range": 80000, "upper_bound": "L"}, {"distinct_range": 0, "num_eq": 0, "num_range": 10000000000, "upper_bound": "P"}, {"distinct_range": 0, "num_eq": 1107402157717204062, "num_range": 20000000, "upper_bound": "|"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 76, "row_count": 90}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77, "histo_col_type": "", "name": "__auto__", "null_count": 30, "row_count": 90}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2240749061.785747, "num_eq": 5467767110355479751, "num_range": 10000000000, "upper_bound": "\\"X-\\u0010@\\u0015\\u000e\\u001a"}, {"distinct_range": 100000, "num_eq": 2145516377046830662, "num_range": 100000, "upper_bound": "/Tz*gZ\\u001c"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 60000000000, "upper_bound": "DW=w\\u0011"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_col_type": "INT2", "name": "__auto__", "null_count": 4, "row_count": 100}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 96, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0100010011111100101100101000"}, {"distinct_range": 0, "num_eq": 7431481632106219148, "num_range": 500000000, "upper_bound": "1000111111111000011000111110"}, {"distinct_range": 40, "num_eq": 8303606661982815013, "num_range": 40, "upper_bound": "1001010010111101010111110111"}, {"distinct_range": 1188370418327704600, "num_eq": 6064798431239114079, "num_range": 1188370418327704480, "upper_bound": "1101111001001110010110010110"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 8392812235626363691, "upper_bound": "1111000110011111011010101100"}], "histo_col_type": "BIT(28)", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_col_type": "", "name": "__auto__", "null_count": 62, "row_count": 100}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "\\\\x27"}, {"distinct_range": 5237950489689894000, "num_eq": 2574042540360328387, "num_range": 6080700228624513642, "upper_bound": "\\\\x6b3a243e6265"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_buckets": [{"distinct_range": 0, "num_eq": 1897881997633040721, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 75, "row_count": 100}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62, "histo_buckets": [{"distinct_range": 0, "num_eq": 8795307872499444175, "num_range": 0, "upper_bound": "1983-12-24 10:19:53.000678"}, {"distinct_range": 94374429134420770, "num_eq": 8397248571778845617, "num_range": 1154079195854366062, "upper_bound": "1988-04-23 05:02:22.000126"}, {"distinct_range": 0, "num_eq": 235940949194480061, "num_range": 40000, "upper_bound": "1995-06-04 01:58:54.000365"}, {"distinct_range": 8811406439519458000, "num_eq": 2598652400632609567, "num_range": 8811406439519458096, "upper_bound": "2011-07-16 17:20:48.000657"}, {"distinct_range": 2500832578507871700, "num_eq": 70000000000, "num_range": 5286653915689887277, "upper_bound": "2028-11-04 09:45:23.00087"}, {"distinct_range": 0, "num_eq": 900, "num_range": 60000000, "upper_bound": "294276-12-31 23:59:59.999999"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 60, "row_count": 100}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 34, "row_count": 100}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "142669579"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 3000000000, "upper_bound": "856890562"}, {"distinct_range": 0, "num_eq": 300, "num_range": 20000000000, "upper_bound": "2133239683"}, {"distinct_range": 0, "num_eq": 3744717771951646820, "num_range": 0, "upper_bound": "2193417541"}, {"distinct_range": 37345305.68330024, "num_eq": 1617324112078695943, "num_range": 80000000, "upper_bound": "3109745903"}, {"distinct_range": 1726542539.6945443, "num_eq": 6990639797597229008, "num_range": 3000000000, "upper_bound": "3596275250"}, {"distinct_range": 0, "num_eq": 6117874522182530256, "num_range": 600000000, "upper_bound": "4000720937"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 41, "row_count": 100}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('uyv', 'sd', 'jh', 'pda', 'decrea');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('gcnfe', 'hsbjj');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('egahu', 'ldrv');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('obibcu', 'oiz');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('r', 'xa', 'b', 'wwbxz', 'xgu', 'yaxdm');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8632124401489579693, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1579501424241536796, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1687469192996139061, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 7511626181121112474, "num_range": 6285348839605557214, "upper_bound": "452212976"}, {"distinct_range": 56477786.939328, "num_eq": 1000, "num_range": 80000000, "upper_bound": "3028729387"}, {"distinct_range": 700000000, "num_eq": 3265418679928193436, "num_range": 700000000, "upper_bound": "3350163711"}, {"distinct_range": 563503081566560900, "num_eq": 5822559562956324343, "num_range": 2901947732124770910, "upper_bound": "3695019812"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7542702584552779941, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7574759554313898544, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1370427277578853899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4520732540148382758, "histo_buckets": [{"distinct_range": 0, "num_eq": 2945288329998789192, "num_range": 0, "upper_bound": "-1508225889"}, {"distinct_range": 90, "num_eq": 100000000, "num_range": 90, "upper_bound": "-836927763"}, {"distinct_range": 273096144343725700, "num_eq": 1000, "num_range": 746804784815137624, "upper_bound": "-38014643"}, {"distinct_range": 1000000000, "num_eq": 9112417567272700675, "num_range": 1000000000, "upper_bound": "687658350"}, {"distinct_range": 4183405008406341600, "num_eq": 6920466691925990111, "num_range": 8814629009901481357, "upper_bound": "959091564"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "1392008049"}, {"distinct_range": 1122419601402432900, "num_eq": 440851528424198375, "num_range": 6853306078495502487, "upper_bound": "1839592259"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5840182119493934785, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4704726887260414635, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2031940594564753268, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4828297301635477336, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5018807459188454583, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4256744196691601901, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7085642918954645846, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3252492089307130017, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6942532145767753963, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7924204401258867163, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2959787616029702745, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8904351987787495481}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 41, "row_count": 80}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_col_type": "", "name": "__auto__", "null_count": 59, "row_count": 80}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "-6426644313018432537"}, {"distinct_range": 59014736412.92949, "num_eq": 70000000000, "num_range": 60000000000, "upper_bound": "2147483647"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 38, "row_count": 80}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_buckets": [{"distinct_range": 0, "num_eq": 4362526352511839658, "num_range": 0, "upper_bound": "O"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 59, "row_count": 80}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 6, "row_count": 80}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2800000, "histo_buckets": [{"distinct_range": 0, "num_eq": 1744739976016940433, "num_range": 0, "upper_bound": "\\u0013\\u0016OmsD\\u0017_\\u0015"}, {"distinct_range": 3239223397039250000, "num_eq": 6739268177967230813, "num_range": 3239223397039249811, "upper_bound": "\\u0015f@\\u0004"}, {"distinct_range": 800571.2956408939, "num_eq": 3653128318513317431, "num_range": 1000000, "upper_bound": "9\\rT"}, {"distinct_range": 842449275776948900, "num_eq": 4864788554390857579, "num_range": 842449275776948855, "upper_bound": ">&\\u000fR"}, {"distinct_range": 977679327185656000, "num_eq": 200000, "num_range": 977679327185656002, "upper_bound": "m\\u0011@"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13765506, "histo_buckets": [{"distinct_range": 0, "num_eq": 379287204222325886, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 70000000000, "upper_bound": "1671497896"}, {"distinct_range": 0, "num_eq": 8754508093062505630, "num_range": 4000000, "upper_bound": "1726547811"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 90000000000, "upper_bound": "1854974157"}, {"distinct_range": 2200130254745472000, "num_eq": 8021230992067354727, "num_range": 2200130254745472000, "upper_bound": "1881103166"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 6328940427013562429, "upper_bound": "2550131457"}, {"distinct_range": 0, "num_eq": 4041000516782668680, "num_range": 5000, "upper_bound": "3130244212"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 8000, "upper_bound": "3841202937"}, {"distinct_range": 0, "num_eq": 5750077225665997254, "num_range": 300000, "upper_bound": "4021018561"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21298340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4749887, "histo_buckets": [{"distinct_range": 0, "num_eq": 9210383941045425506, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 54468208149846240, "num_eq": 8000000, "num_range": 5847394271699705662, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 24905552, "row_count": 30000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2160226, "histo_buckets": [{"distinct_range": 0, "num_eq": 1259583951586761704, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00"}, {"distinct_range": 2363.400300432634, "num_eq": 0, "num_range": 3000, "upper_bound": "-2000-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 1473528275179636776, "upper_bound": "1981-08-24 23:47:20.000233"}, {"distinct_range": 0, "num_eq": 6854436786050818749, "num_range": 700, "upper_bound": "2002-10-18 07:40:36.000076"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 225336, "row_count": 30000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3278392, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "-13161"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 27486643, "row_count": 30000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5540864, "histo_col_type": "", "name": "__auto__", "null_count": 20592524, "row_count": 30000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10643478, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "0000000000110011111101000000"}, {"distinct_range": 10000000, "num_eq": 60000000000, "num_range": 10000000, "upper_bound": "0010100101010100111001110001"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 4788282481791192411, "upper_bound": "1010100101100001111001100000"}], "histo_col_type": "BIT(28)", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28693852, "histo_buckets": [{"distinct_range": 0, "num_eq": 7570483111121960555, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 9000000, "num_eq": 20000000, "num_range": 9000000, "upper_bound": "482236892"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 13773758, "row_count": 30000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7643661, "histo_col_type": "", "name": "__auto__", "null_count": 23236773, "row_count": 30000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27233477, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 17309825.24890468, "num_eq": 9163902444304847492, "num_range": 20000000, "upper_bound": "\\\\x237a3a8336"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 6583020592871451985, "upper_bound": "\\\\x75f0ac"}, {"distinct_range": 0, "num_eq": 2458697300043061708, "num_range": 4526739027712377692, "upper_bound": "\\\\x85"}, {"distinct_range": 4000000000, "num_eq": 300, "num_range": 4000000000, "upper_bound": "\\\\x8a6f894f"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 8296385367607875040, "upper_bound": "\\\\xac60273e11c6ce2585"}, {"distinct_range": 2802572026331146000, "num_eq": 40000000000, "num_range": 6013802585822057347, "upper_bound": "\\\\xf9837ec0c908971d"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 30000000}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_1) REFERENCES table1 (col1_4);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3350210668809340206, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2313707396632490341, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "-1376282136"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5422499501663530878, "upper_bound": "-1092286340"}, {"distinct_range": 52338718469.771385, "num_eq": 1374721010403052454, "num_range": 60000000000, "upper_bound": "-177653260"}, {"distinct_range": 3679316761.2269373, "num_eq": 10000, "num_range": 5000000000, "upper_bound": "633347814"}, {"distinct_range": 0, "num_eq": 7993205199873483668, "num_range": 5000000, "upper_bound": "828132362"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 999895801388129887, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 832720070257459345, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2332895565492335364, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5981707496162165612, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 328637534046815514, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2594845146469292778, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3221524860517753192, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1368569476222306448, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4179352997762773820, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2151148021693895787, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 711544944026728371, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4432708561385555695, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5983824730924452751, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-1603014573695892366"}, {"distinct_range": 0, "num_eq": 73031234442322596, "num_range": 6000000000, "upper_bound": "0"}, {"distinct_range": 629725745197664400, "num_eq": 20000, "num_range": 629725745197664358, "upper_bound": "1263837507571586764"}, {"distinct_range": 0, "num_eq": 8856898889836001538, "num_range": 30000000000, "upper_bound": "6076125686147678195"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1794391349972924543, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3623027496662239721, "histo_buckets": [{"distinct_range": 0, "num_eq": 3133196645364963936, "num_range": 0, "upper_bound": "2225418000"}, {"distinct_range": 0, "num_eq": 2918467958512051882, "num_range": 200000, "upper_bound": "2322893376"}, {"distinct_range": 0, "num_eq": 1105763395146593975, "num_range": 900000000, "upper_bound": "3495993587"}, {"distinct_range": 4666781186044528000, "num_eq": 3628284295807886735, "num_range": 4666781186044527771, "upper_bound": "3946372543"}, {"distinct_range": 0, "num_eq": 6523956583693248948, "num_range": 3574922937956497081, "upper_bound": "3971767515"}, {"distinct_range": 4759507735057674000, "num_eq": 70000000, "num_range": 6141729434872419963, "upper_bound": "4138193985"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6360578151904689162, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6554066410766373003}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 3, "row_count": 60}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "-5688955101050574531"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 976523530629703436, "upper_bound": "5147943334930916574"}, {"distinct_range": 710615446326660600, "num_eq": 8028480799431590925, "num_range": 1449996118993337793, "upper_bound": "6530973518479737773"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 50, "row_count": 60}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_col_type": "", "name": "__auto__", "null_count": 44, "row_count": 60}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 16, "row_count": 60}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 37, "row_count": 60}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60, "histo_buckets": [{"distinct_range": 0, "num_eq": 3337634030657405806, "num_range": 0, "upper_bound": "\\u0006\\u001fD\\u0005"}, {"distinct_range": 1286389875435306500, "num_eq": 6577204623455288719, "num_range": 5144750467892507024, "upper_bound": "\\u000f+t#V"}, {"distinct_range": 1223941.172737636, "num_eq": 20000000000, "num_range": 3000000, "upper_bound": "\\u00133,33"}, {"distinct_range": 8263084034364196000, "num_eq": 7827039539948657257, "num_range": 8263084034364195529, "upper_bound": "20<8(h\\\\"}, {"distinct_range": 0, "num_eq": 7178185067546454276, "num_range": 0, "upper_bound": "@"}, {"distinct_range": 0, "num_eq": 1099956628794375429, "num_range": 0, "upper_bound": "S9g\x7fuD"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 10, "upper_bound": "e@\\u000b)Q+"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 10000, "upper_bound": "u\\u00045\\u0002+2g="}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000, "num_range": 0, "upper_bound": "-23321"}, {"distinct_range": 100000, "num_eq": 2943009082240920047, "num_range": 100000, "upper_bound": "-23223"}, {"distinct_range": 1535294557692157200, "num_eq": 5659587261783116701, "num_range": 1535294557692157068, "upper_bound": "-17510"}, {"distinct_range": 800, "num_eq": 600000, "num_range": 800, "upper_bound": "-17125"}, {"distinct_range": 60000, "num_eq": 6313993096943737517, "num_range": 60000, "upper_bound": "-11891"}, {"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "16756"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 30, "row_count": 90}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "0000001011110100011100001001"}, {"distinct_range": 700000, "num_eq": 6000000, "num_range": 700000, "upper_bound": "0001011110011101011101111111"}, {"distinct_range": 1500550982974378800, "num_eq": 100, "num_range": 6487725143052454841, "upper_bound": "1001000100111101111100001000"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "1011001101001010100011101000"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 2000000000, "upper_bound": "1011010010000000011100010001"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 3611783854441516350, "upper_bound": "1101100100110001111111010110"}], "histo_col_type": "BIT(28)", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 19, "row_count": 90}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 84, "row_count": 90}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_buckets": [{"distinct_range": 0, "num_eq": 6034646046078747864, "num_range": 0, "upper_bound": "387208497"}, {"distinct_range": 6415424581618762000, "num_eq": 80000, "num_range": 6415424581618761786, "upper_bound": "567213545"}, {"distinct_range": 10000, "num_eq": 4704290541753844001, "num_range": 10000, "upper_bound": "2517088287"}, {"distinct_range": 6000000, "num_eq": 8700747180873306278, "num_range": 6000000, "upper_bound": "3476894368"}, {"distinct_range": 1252138656660608500, "num_eq": 8146084334420025189, "num_range": 2049881641394067967, "upper_bound": "3874335815"}, {"distinct_range": 131.11115331200625, "num_eq": 3136902164370618786, "num_range": 1000, "upper_bound": "4146336383"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 25, "row_count": 90}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_buckets": [{"distinct_range": 0, "num_eq": 6067624532023575825, "num_range": 0, "upper_bound": "\\\\x18e7a91d3a019a"}, {"distinct_range": 250644.4113358364, "num_eq": 500000000, "num_range": 10000000, "upper_bound": "\\\\x3d692c"}, {"distinct_range": 473769614215850500, "num_eq": 10056387167600139, "num_range": 1103630323855731727, "upper_bound": "\\\\xd3dd0ba0ee201d"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "661657392"}, {"distinct_range": 6111837074407038000, "num_eq": 6897519295012872916, "num_range": 6126144597817520871, "upper_bound": "2292159353"}, {"distinct_range": 362195936473388400, "num_eq": 300, "num_range": 465510188709054459, "upper_bound": "2448799277"}, {"distinct_range": 8018508863343022000, "num_eq": 3504232745440232832, "num_range": 8018508863343021700, "upper_bound": "2514065404"}, {"distinct_range": 0, "num_eq": 3018611045155609720, "num_range": 700, "upper_bound": "2583197046"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "3032357864"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59, "histo_buckets": [{"distinct_range": 0, "num_eq": 5237212611288793080, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 7000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 20, "row_count": 90}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_buckets": [{"distinct_range": 0, "num_eq": 5961601956264716829, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00"}, {"distinct_range": 90000000, "num_eq": 1000000000, "num_range": 90000000, "upper_bound": "1972-04-05 03:06:49.000678"}, {"distinct_range": 1504221160963796700, "num_eq": 2000000000, "num_range": 1509770376234621322, "upper_bound": "1991-09-02 19:43:58.000111"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 1742167090872276635, "upper_bound": "2000-03-10 09:45:23.000474"}, {"distinct_range": 33309136634565884, "num_eq": 90000, "num_range": 4313505464050844255, "upper_bound": "2010-04-18 18:31:46.000024"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 67, "row_count": 90}]';
        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
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@3d01fda046c609ee5947e2f41c099dae35b206c1:

        postgres_1    |     CREATE TYPE rand_typ_1 AS ENUM ('kxvvdb', 'uzp', 'isfm', 'fpgn');
        postgres_1    |     CREATE TYPE rand_typ_2 AS ENUM ('lsyk', 't', 'xdjff');
        postgres_1    |     
        test_1        | --- FAIL: TestCompare (603.93s)
        test_1        |     --- FAIL: TestCompare/postgres (3.02s)
        test_1        |         compare_test.go:129: CREATE TABLE table1 (col1_0 UUID NOT NULL, col1_1 TEXT NOT NULL, col1_2 REGPROCEDURE NULL, col1_3 BOX2D NULL, col1_4 CHAR, col1_5 REGNAMESPACE NULL, col1_6 BIT, col1_7 INTERVAL, col1_8 REGPROC NULL, col1_9 TIMESTAMP NULL, col1_10 BOOL NULL, col1_11 INTERVAL NOT NULL, col1_12 FLOAT8 NULL, col1_13 INT8, col1_14 BOOL NOT NULL, col1_15 TIMESTAMPTZ);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_5 ASC, col1_9 DESC, col1_10 ASC, col1_2 DESC, col1_14 DESC, col1_8 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_15 ASC, col1_12 DESC, col1_13 DESC, col1_0, col1_7 ASC, col1_2, col1_8 DESC, col1_6 ASC) INCLUDE (col1_5, col1_10, col1_14);
        test_1        |             CREATE INDEX ON table1 (col1_8 ASC, col1_15 DESC, col1_10 DESC, col1_13 ASC, col1_14 DESC, col1_5 ASC, col1_12, col1_0 DESC, col1_2 ASC, col1_3, col1_1 ASC, col1_6 ASC, col1_4 DESC, col1_11 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_11 ASC);
        test_1        |             CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 INT8 NOT NULL, PRIMARY KEY (col2_0));
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_1 ASC);
        test_1        |             CREATE TABLE table3 (col3_0 BOOL NULL, col3_1 REGCLASS NOT NULL, col3_2 REGPROCEDURE NULL, col3_3 INT8, col3_4 VARCHAR, col3_5 REGNAMESPACE NOT NULL, col3_6 BOX2D NULL, col3_7 "char" NOT NULL, col3_8 INTERVAL NOT NULL, col3_9 BIT(27) NOT NULL, col3_10 INET[] NOT NULL, col3_11 TIMESTAMPTZ NOT NULL, col3_12 "char" NOT NULL, col3_13 TIME NOT NULL, col3_14 INTERVAL NOT NULL, col3_15 TIMESTAMP NOT NULL, col3_16 TIMESTAMP NOT NULL, col3_17 NAME, col3_18 TIMESTAMP, PRIMARY KEY (col3_7, col3_1, col3_5, col3_16, col3_13, col3_8));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 DESC, col3_15, col3_14 DESC, col3_18 DESC, col3_17, col3_9 DESC, col3_6 DESC) INCLUDE (col3_2, col3_3, col3_4, col3_10);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_18 DESC, col3_15 ASC, col3_17, col3_3 ASC, col3_7 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_4 DESC, col3_3, col3_5 DESC, col3_15, col3_9, col3_11 DESC, col3_17 DESC, col3_0, col3_18, col3_16, col3_1 DESC, col3_8 DESC, col3_6, col3_13, col3_2 DESC, col3_14 DESC) INCLUDE (col3_10);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_5 DESC, col3_13, col3_7 DESC, col3_0 DESC, col3_14, col3_6 DESC, col3_11 ASC, col3_3 DESC, col3_18 DESC, col3_12 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_8 DESC, col3_0 ASC, col3_6 DESC, col3_12 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_16, col3_11 ASC, col3_13, col3_17 ASC, col3_2 ASC, col3_1 ASC, col3_12 DESC, col3_15 DESC, col3_9, col3_18, col3_8, col3_7 DESC, col3_3 ASC, col3_5 ASC, col3_4 ASC, col3_0 ASC, col3_6 ASC, col3_14);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7 DESC, col3_8 DESC, col3_17, col3_6 ASC, col3_14 DESC, col3_13, col3_9 ASC, col3_12 DESC, col3_18 ASC, col3_4 DESC, col3_2 DESC, col3_15 ASC, col3_16 ASC) INCLUDE (col3_11);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1 ASC, col3_12 DESC, col3_16 ASC, col3_9 ASC, col3_13 DESC, col3_7 DESC, col3_17 DESC, col3_11, col3_3 DESC, col3_18 ASC, col3_4, col3_5 ASC, col3_15 DESC, col3_14 DESC, col3_0 ASC, col3_6 DESC, col3_8 ASC, col3_2);
        test_1        |             CREATE TABLE table4 (col4_0 FLOAT8 NOT NULL, col4_1 INT8 NOT NULL, col4_2 DECIMAL NULL, col4_3 TIMESTAMPTZ NOT NULL, col4_4 DECIMAL NOT NULL, col4_5 BIT(8) NOT NULL, col4_6 FLOAT8 NOT NULL, col4_7 TIMESTAMPTZ NOT NULL, col4_8 FLOAT8 NOT NULL, col4_9 REGPROCEDURE NOT NULL, col4_10 TIMETZ NOT NULL, col4_11 INT8 NOT NULL, col4_12 REGTYPE NOT NULL, col4_13 REGTYPE NOT NULL, PRIMARY KEY (col4_13, col4_4, col4_0, col4_10, col4_5, col4_6, col4_12, col4_7, col4_11, col4_9, col4_1, col4_8, col4_3));
        test_1        |             CREATE INDEX ON table4 (col4_0, col4_3 ASC, col4_4 DESC, col4_13 ASC, col4_5, col4_6 ASC, col4_1 DESC, col4_12 ASC, col4_10 ASC, col4_8 DESC, col4_9 ASC, col4_7 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_6 ASC, col4_7, col4_4, col4_5, col4_1, col4_9 ASC, col4_8 DESC, col4_10);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_2 DESC, col4_4 ASC, col4_12, col4_9 ASC, col4_8, col4_0, col4_10 ASC);
        test_1        |             CREATE INDEX ON table4 (col4_0 DESC, col4_6 DESC, col4_12, col4_5 DESC, col4_4, col4_10 ASC, col4_9, col4_1 DESC, col4_8 DESC, col4_13 ASC, col4_7 ASC, col4_11 ASC, col4_3 DESC, col4_2 ASC);
        test_1        |             CREATE INDEX ON table4 (col4_4 DESC, col4_10 ASC, col4_0 ASC, col4_12, col4_13 ASC, col4_3 DESC, col4_11 DESC, col4_6 DESC);
        test_1        |             CREATE TABLE table5 (col2_0 TIMESTAMPTZ NOT NULL, col5_1 FLOAT8 NULL, col5_2 "char", col5_3 REGPROCEDURE NOT NULL, PRIMARY KEY (col2_0));
        test_1        |             CREATE INDEX ON table5 (col2_0 DESC);
        test_1        |             CREATE INDEX ON table5 (col5_3);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_1 ASC, col5_2 ASC, col2_0 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_1, col5_3, col5_2 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_2 DESC, col5_1 DESC) INCLUDE (col5_3);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_1 ASC) INCLUDE (col5_2);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('pkhuwm', 'd', 'lo', 'xtiwsw', 'n', 'ekehf');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('kxvvdb', 'uzp', 'isfm', 'fpgn');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('lsyk', 't', 'xdjff');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@fbf596c3e17fbb9ec0935b732f4b84469a5399e8:

        postgres_1    | 
        postgres_1    | 2021-01-21 06:20:35.748 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-21 06:20:35.748 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-21 06:20:35.751 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-21 06:20:35.766 UTC [86] LOG:  database system was shut down at 2021-01-21 06:20:35 UTC
        postgres_1    | 2021-01-21 06:20:35.771 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (4.36s)
        test_1        |     --- FAIL: TestCompare/postgres (3.36s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (1.00s)
        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        |             CREATE TABLE table1 (col1_0 REGPROC NOT NULL, col1_1 DECIMAL NOT NULL, col1_2 REGCLASS NOT NULL, col1_3 BOX2D NOT NULL, col1_4 REGPROCEDURE NOT NULL, col1_5 DATE NOT NULL, col1_6 BOOL NOT NULL, col1_7 VARCHAR NOT NULL, col1_8 VARCHAR NOT NULL, col1_9 INT4 NOT NULL, col1_10 REGPROC NOT NULL, col1_11 "char" NOT NULL, PRIMARY KEY (col1_7, col1_1 ASC, col1_8, col1_6, col1_4 DESC, col1_9, col1_11 ASC, col1_5, col1_2 ASC, col1_3 DESC, col1_0 DESC), UNIQUE (col1_10, col1_0 DESC), INDEX (col1_6, col1_2 ASC, col1_11 DESC, col1_4, col1_8 DESC), FAMILY (col1_3), FAMILY (col1_10, col1_4), FAMILY (col1_9), FAMILY (col1_11), FAMILY (col1_5, col1_0, col1_7, col1_6), FAMILY (col1_8), FAMILY (col1_1), FAMILY (col1_2));
        test_1        |             CREATE TABLE table2 (col2_0 BIT(31), col2_1 BIT(7) NOT NULL, col2_2 INT2, INDEX (col2_2, col2_1 DESC), INDEX (col2_0 DESC, col2_2, col2_1) WHERE table2.col2_2 < 32767, INDEX (col2_1, col2_2 DESC) STORING (col2_0), INDEX (col2_1 DESC, col2_2) WHERE table2.col2_2 >= (-1):::INT8, INDEX (col2_0) STORING (col2_1, col2_2) WHERE table2.col2_2 > -128, INDEX (col2_0 DESC) STORING (col2_1, col2_2) WHERE table2.col2_2 > (-32768):::INT8, UNIQUE (col2_2, col2_0 DESC, col2_1) WHERE table2.col2_2 > 127:::INT8, UNIQUE (col2_1 DESC, col2_0 DESC) STORING (col2_2), UNIQUE (col2_1 DESC, col2_0 DESC) WHERE table2.col2_2 >= (-1):::INT8, FAMILY (col2_0), FAMILY (col2_1, col2_2));
        test_1        |             CREATE TABLE table3 (col3_0 REGNAMESPACE NOT NULL, col3_1 BIT(7), col3_2 BOOL NOT NULL, PRIMARY KEY (col3_0, col3_2), INDEX (col3_1, col3_0 DESC, col3_2 DESC) WHERE table3.col3_2, INDEX (col3_2 ASC, col3_1, col3_0 DESC) WHERE NOT table3.col3_2, UNIQUE (col3_1 DESC, col3_2 ASC) WHERE NOT table3.col3_2, UNIQUE (col3_1 ASC, col3_2 DESC), UNIQUE (col3_1 ASC, col3_2 DESC) WHERE table3.col3_2, UNIQUE (col3_2 DESC, col3_1 ASC), INDEX (col3_2 DESC, col3_1 ASC) WHERE NOT table3.col3_2, FAMILY (col3_2, col3_0, col3_1));
        test_1        |             CREATE TABLE table4 (col4_0 REGTYPE NULL, col4_1 REGPROC NOT NULL, col4_2 REGPROCEDURE NOT NULL, col4_3 UUID NOT NULL, col4_4 DECIMAL NULL, col4_5 BOOL NOT NULL, col4_6 FLOAT8, col4_7 TIMETZ NOT NULL, col4_8 REGCLASS NULL, col4_9 DATE, PRIMARY KEY (col4_2 DESC, col4_7 DESC, col4_1 DESC, col4_3 ASC), INDEX (col4_7 ASC, col4_4, col4_0, col4_9, col4_5 ASC) WHERE NOT table4.col4_5, INDEX (col4_6, col4_3 ASC) STORING (col4_4) WHERE ((((table4.col4_9 <= 'infinity') OR (table4.col4_6 != 5e-324)) OR (table4.col4_4 <= 1)) AND table4.col4_5) AND (table4.col4_7 >= '00:00:00+15:59:00'), INDEX (col4_5, col4_7, col4_3 ASC, col4_8 ASC, col4_4, col4_1 ASC) STORING (col4_0, col4_6) WHERE ((((table4.col4_4 < 'Infinity':::DECIMAL) OR (NOT table4.col4_5)) AND (table4.col4_7 = '24:00:00-15:59:00':::TIMETZ)) OR (table4.col4_9 < '5874897-12-31':::DATE)) OR (table4.col4_6 = 0.0:::FLOAT8), INDEX (col4_4 DESC, col4_7 DESC, col4_8, col4_5, col4_9, col4_2 DESC, col4_6, col4_0 DESC) WHERE ((((table4.col4_4 >= NaN) OR (table4.col4_9 = 'infinity')) OR (table4.col4_7 = '00:00:00+15:59:00')) AND (table4.col4_6 < -1.0)) AND table4.col4_5, UNIQUE (col4_8 DESC, col4_0, col4_1, col4_7 ASC, col4_5, col4_9, col4_4) STORING (col4_6) WHERE ((((table4.col4_9 = '-infinity':::DATE) OR (table4.col4_7 >= '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_6 <= 3.4028234663852886e+38:::FLOAT8)) AND (NOT table4.col4_5)) AND (table4.col4_4 >= 0:::DECIMAL), INDEX (col4_1 DESC, col4_5, col4_9, col4_2 DESC, col4_7 ASC, col4_8) STORING (col4_4, col4_6) WHERE ((((table4.col4_9 < 'infinity':::DATE) AND (table4.col4_4 != 1:::DECIMAL)) AND (NOT table4.col4_5)) OR (table4.col4_7 <= '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_6 < 0.0:::FLOAT8), UNIQUE (col4_0, col4_4), FAMILY (col4_4), FAMILY (col4_7), FAMILY (col4_8), FAMILY (col4_0), FAMILY (col4_2, col4_3), FAMILY (col4_5, col4_9, col4_6), FAMILY (col4_1));
        test_1        |             CREATE TABLE table5 (col5_0 BIT(25) NOT NULL, col5_1 FLOAT8, col5_2 REGPROC NOT NULL, col5_3 TIME NOT NULL, PRIMARY KEY (col5_0 ASC, col5_2, col5_3 DESC), INDEX (col5_3 ASC, col5_0 DESC, col5_1), UNIQUE (col5_0 ASC, col5_2, col5_3 ASC, col5_1 DESC) WHERE table5.col5_1 != 0.0, INDEX (col5_0 DESC, col5_1, col5_3 DESC, col5_2 DESC), INDEX (col5_2 DESC, col5_3 ASC, col5_0) WHERE (table5.col5_1 >= 1.401298464324817e-45:::FLOAT8) AND (table5.col5_3 != '24:00:00':::TIME), UNIQUE (col5_1) WHERE (table5.col5_3 != '24:00:00':::TIME) OR (table5.col5_1 < '+Inf':::FLOAT8), FAMILY (col5_1), FAMILY (col5_3, col5_0), FAMILY (col5_2), UNIQUE (col5_1) WHERE table5.col5_3 <= '00:00:00');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1000, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1308, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179, "histo_buckets": [{"distinct_range": 0, "num_eq": 8718872296110477427, "num_range": 0, "upper_bound": "\\tq}>3A<O\\u0006"}, {"distinct_range": 148119091347290370, "num_eq": 4656689514613682427, "num_range": 495205820961249724, "upper_bound": "):i^+"}, {"distinct_range": 7918498313021161000, "num_eq": 900, "num_range": 7918498313021161156, "upper_bound": "tE\\"B/"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 294, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1825, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "163549384"}, {"distinct_range": 0, "num_eq": 7461398037953894865, "num_range": 2388849752838022160, "upper_bound": "827996696"}, {"distinct_range": 44859.31322847276, "num_eq": 30, "num_range": 80000, "upper_bound": "2905923639"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "3304547857"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 746, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1898, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 948, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1864, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 283, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 10000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 2000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1644420754510368201, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "0010100010111111110000111001110"}, {"distinct_range": 0, "num_eq": 5533047769757513055, "num_range": 700000, "upper_bound": "0011000101010101001110010101111"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 8045572287662641420, "upper_bound": "0111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 20, "upper_bound": "1000001000111111001101111100000"}, {"distinct_range": 10000000, "num_eq": 7179998625195616074, "num_range": 10000000, "upper_bound": "1011001001111100100010000111101"}], "histo_col_type": "BIT(31)", "name": "__auto__", "null_count": 1513137244328274265, "row_count": 7072419464497300853}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4551237409208325361, "histo_buckets": [{"distinct_range": 0, "num_eq": 8516450718169793764, "num_range": 0, "upper_bound": "0010001"}, {"distinct_range": 0, "num_eq": 4674409387393189097, "num_range": 6858092394800156750, "upper_bound": "1000100"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 0, "row_count": 7072419464497300853}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3927342927322558025, "histo_buckets": [{"distinct_range": 0, "num_eq": 3136517278933107575, "num_range": 0, "upper_bound": "-25546"}, {"distinct_range": 0, "num_eq": 2694618145476716070, "num_range": 3283447126333326030, "upper_bound": "-25073"}, {"distinct_range": 6676724069948432000, "num_eq": 5000000000, "num_range": 8213322147171936479, "upper_bound": "-1"}, {"distinct_range": 125.37171344449857, "num_eq": 20000000000, "num_range": 500, "upper_bound": "5247"}, {"distinct_range": 0, "num_eq": 70, "num_range": 100000, "upper_bound": "5304"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 6856730837841916163, "upper_bound": "13653"}, {"distinct_range": 100000, "num_eq": 4082514045853448011, "num_range": 100000, "upper_bound": "24409"}, {"distinct_range": 1295980.6404468808, "num_eq": 6368974726238610054, "num_range": 6000000, "upper_bound": "27354"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 124489549355842861, "row_count": 7072419464497300853}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 367588632931696280, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 2018659622579952400, "num_eq": 0, "num_range": 2018659622579952295, "upper_bound": "1314407250"}, {"distinct_range": 3373649583332040700, "num_eq": 1544578105034738280, "num_range": 3552224151451132059, "upper_bound": "1507786940"}, {"distinct_range": 643000035.8980676, "num_eq": 2896701389560628942, "num_range": 5000000000, "upper_bound": "2321598078"}, {"distinct_range": 33495769058.15424, "num_eq": 90, "num_range": 90000000000, "upper_bound": "3178238155"}, {"distinct_range": 500, "num_eq": 3202757428388789741, "num_range": 500, "upper_bound": "3294373020"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "3866334592"}, {"distinct_range": 0, "num_eq": 1918344369033070348, "num_range": 10000000, "upper_bound": "4006862892"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 2539378467702650715}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 895923895242085132, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "0000000"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 9013369235591614150, "upper_bound": "0000001"}, {"distinct_range": 2069625048794358000, "num_eq": 9000000, "num_range": 2718913199745497779, "upper_bound": "0011000"}, {"distinct_range": 400000, "num_eq": 80000, "num_range": 400000, "upper_bound": "0111101"}, {"distinct_range": 7888888795416144000, "num_eq": 10000000, "num_range": 7888888795416144375, "upper_bound": "1001111"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 1067585788019066798, "row_count": 2539378467702650715}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1482276179290852567, "histo_buckets": [{"distinct_range": 0, "num_eq": 446646193095396673, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 2539378467702650715}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2623, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1330386790376885198, "num_range": 50000000000, "upper_bound": "177366926"}, {"distinct_range": 60000000000, "num_eq": 10000000, "num_range": 60000000000, "upper_bound": "1103881301"}, {"distinct_range": 2402147584219889000, "num_eq": 7193959799379762915, "num_range": 2402147584219889296, "upper_bound": "3168311255"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2689, "histo_buckets": [{"distinct_range": 0, "num_eq": 7330422990051937524, "num_range": 0, "upper_bound": "-18907496.01819838714"}, {"distinct_range": 5365677538202906000, "num_eq": 3988491079047698237, "num_range": 5365677538202905594, "upper_bound": "3984.234077389069934"}, {"distinct_range": 90000, "num_eq": 800, "num_range": 90000, "upper_bound": "369914.479851222965"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 3556, "row_count": 4000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2641, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3199, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-2.121562536046462"}, {"distinct_range": 4797134209203376000, "num_eq": 70000, "num_range": 5444028053582033500, "upper_bound": "-1.6589461106799672"}, {"distinct_range": 1718971602922336800, "num_eq": 4000, "num_range": 1718971602922336699, "upper_bound": "-0.6018487898843559"}, {"distinct_range": 0, "num_eq": 600, "num_range": 60690177968515768, "upper_bound": "-0.36878312597507"}, {"distinct_range": 20000000000, "num_eq": 7517083364977852405, "num_range": 20000000000, "upper_bound": "-0.08469448662172041"}, {"distinct_range": 0, "num_eq": 5495945236397329800, "num_range": 6475345048987354314, "upper_bound": "-0.0724584472650136"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 336559654460320167, "upper_bound": "1.0386514704903174"}, {"distinct_range": 0, "num_eq": 10, "num_range": 50000000000, "upper_bound": "1.6269963801037886"}, {"distinct_range": 2307403162807891500, "num_eq": 8970662075734062813, "num_range": 2918838125108358017, "upper_bound": "2.0198470354496862"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1064, "row_count": 4000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3363, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "171482596"}, {"distinct_range": 20000, "num_eq": 6019663426028902000, "num_range": 20000, "upper_bound": "183979789"}, {"distinct_range": 7998222566703671000, "num_eq": 2464975621596773035, "num_range": 9161539505473817768, "upper_bound": "387167736"}, {"distinct_range": 581717.2033718565, "num_eq": 0, "num_range": 1000000, "upper_bound": "696650560"}, {"distinct_range": 70, "num_eq": 80000000, "num_range": 70, "upper_bound": "845640524"}, {"distinct_range": 6412337074628484000, "num_eq": 4000000000, "num_range": 6412337074628484264, "upper_bound": "1759275638"}, {"distinct_range": 2946969417.059811, "num_eq": 30000000000, "num_range": 6000000000, "upper_bound": "2238702158"}, {"distinct_range": 272416454.7396217, "num_eq": 10000000, "num_range": 700000000, "upper_bound": "2404720478"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 1454, "row_count": 4000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1799, "histo_col_type": "", "name": "__auto__", "null_count": 216, "row_count": 4000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3747, "histo_col_type": "", "name": "__auto__", "null_count": 2284, "row_count": 4000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 546, "histo_buckets": [{"distinct_range": 0, "num_eq": 460306972546451248, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1000, "num_eq": 600000000, "num_range": 1000, "upper_bound": "94165833"}, {"distinct_range": 0, "num_eq": 4864414393661861724, "num_range": 4226398291648203804, "upper_bound": "1289478033"}, {"distinct_range": 0, "num_eq": 3058904146587858586, "num_range": 1133351689510108886, "upper_bound": "2189387097"}, {"distinct_range": 10, "num_eq": 1817834878597079557, "num_range": 10, "upper_bound": "2429284700"}, {"distinct_range": 6652715468185480000, "num_eq": 60000, "num_range": 6652715468185479849, "upper_bound": "3040019541"}, {"distinct_range": 2303110458625326300, "num_eq": 60, "num_range": 3882536654108233728, "upper_bound": "3427767953"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1657, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 451207508008754250, "histo_buckets": [{"distinct_range": 0, "num_eq": 3698915680893861786, "num_range": 0, "upper_bound": "12:53:54.897069"}, {"distinct_range": 0, "num_eq": 2309775976110220013, "num_range": 141379146961134865, "upper_bound": "17:04:53.923704"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 7774949610566230535}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5099103312520068731, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "0000101101111111001101110"}, {"distinct_range": 100000000, "num_eq": 100000000, "num_range": 100000000, "upper_bound": "0000101111110110010010100"}, {"distinct_range": 6990750843241937000, "num_eq": 8791528684068487199, "num_range": 7236373829120939945, "upper_bound": "0100111001000001001010010"}, {"distinct_range": 772.8110263160183, "num_eq": 3756351112885594257, "num_range": 1000, "upper_bound": "0100111011010000000110100"}, {"distinct_range": 400000000, "num_eq": 2000000000, "num_range": 400000000, "upper_bound": "0100111100100100010011110"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 4000000, "upper_bound": "0101011011001111110010001"}, {"distinct_range": 582474402854067000, "num_eq": 1000, "num_range": 6534680294682362206, "upper_bound": "1011001011101100101110100"}, {"distinct_range": 2434325686936625000, "num_eq": 80000, "num_range": 3454012773991772150, "upper_bound": "1011110101100111101011111"}, {"distinct_range": 60000, "num_eq": 7413358749721380663, "num_range": 60000, "upper_bound": "1110111100001111111111011"}], "histo_col_type": "BIT(25)", "name": "__auto__", "null_count": 0, "row_count": 7774949610566230535}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7275469438754121843, "histo_buckets": [{"distinct_range": 0, "num_eq": 8082064744262123069, "num_range": 0, "upper_bound": "-1.3454491247844436"}, {"distinct_range": 1342218488.1156573, "num_eq": 6000000000, "num_range": 30000000000, "upper_bound": "-0.8238004088887743"}, {"distinct_range": 4000000000, "num_eq": 8000000000, "num_range": 4000000000, "upper_bound": "-0.3257758644790628"}, {"distinct_range": 12.341218878886226, "num_eq": 200000, "num_range": 50, "upper_bound": "-0.028879468774996114"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 7000000000, "upper_bound": "0.6401679413806521"}, {"distinct_range": 0, "num_eq": 8833635475254852737, "num_range": 0, "upper_bound": "1.713633226086611"}, {"distinct_range": 1843.4544504477753, "num_eq": 50000000000, "num_range": 5000, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 3779449531264862285, "row_count": 7774949610566230535}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148542034083766429, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4283789541956834218, "upper_bound": "984857051"}, {"distinct_range": 2599871882798009000, "num_eq": 100000000, "num_range": 2599871882798009010, "upper_bound": "1632299236"}, {"distinct_range": 6253580720357852000, "num_eq": 40, "num_range": 6253580720357852368, "upper_bound": "2194429272"}, {"distinct_range": 100000, "num_eq": 9000, "num_range": 100000, "upper_bound": "2752937514"}, {"distinct_range": 3152433054954321000, "num_eq": 1667887124762448731, "num_range": 3858144985446638906, "upper_bound": "3248239675"}, {"distinct_range": 0, "num_eq": 3837735995852692864, "num_range": 1099453097968859720, "upper_bound": "3552279158"}, {"distinct_range": 6125325302295630000, "num_eq": 1687245893167783482, "num_range": 6732409082404318931, "upper_bound": "3976242010"}, {"distinct_range": 0, "num_eq": 4228608433632315686, "num_range": 7228899199596156695, "upper_bound": "4000488434"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 7774949610566230535}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2, col1_1) REFERENCES table4 (col4_0, col4_4);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('uazszw', 'g', 'kyj', 'gz', 'zpowng', 'r');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('yxs', 'pu', 'iotcx', 'b');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('shw', 'vl', 'i');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36101, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75380, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52011, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13608, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40199, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44708, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "J\\u00013{q,"}, {"distinct_range": 7773734978301530000, "num_eq": 80000, "num_range": 7773734978301529836, "upper_bound": "l,O\\u0014<"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73004, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28739, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 10, "num_eq": 1000000, "num_range": 10, "upper_bound": "86938616"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "518529307"}, {"distinct_range": 2889887144016567300, "num_eq": 6678540435668667657, "num_range": 3032017410159316521, "upper_bound": "546513703"}, {"distinct_range": 60000000000, "num_eq": 0, "num_range": 60000000000, "upper_bound": "566032696"}, {"distinct_range": 0, "num_eq": 4699372182447202490, "num_range": 0, "upper_bound": "864397306"}, {"distinct_range": 0, "num_eq": 80, "num_range": 50000, "upper_bound": "2422842260"}, {"distinct_range": 0, "num_eq": 486433597222501309, "num_range": 0, "upper_bound": "3674523162"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6307, "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": 21974, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20923, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35078, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 222, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "0111001001101101000000111010001"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 90, "upper_bound": "1100000110111111101011010000111"}, {"distinct_range": 300000000, "num_eq": 7053409190738827641, "num_range": 300000000, "upper_bound": "1110110111000101000100000000100"}], "histo_col_type": "BIT(31)", "name": "__auto__", "null_count": 2322, "row_count": 4000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3146, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "0111111"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 200, "upper_bound": "1110001"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 2795761541840799716, "upper_bound": "1110110"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3477, "histo_buckets": [{"distinct_range": 0, "num_eq": 2137767909348029360, "num_range": 0, "upper_bound": "-32768"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 2000000000, "upper_bound": "-32758"}, {"distinct_range": 50000000000, "num_eq": 100000000, "num_range": 50000000000, "upper_bound": "-17589"}, {"distinct_range": 287965511925192450, "num_eq": 1754992609066980419, "num_range": 7560316343642998502, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 6930950095079522825, "num_range": 0, "upper_bound": "1"}, {"distinct_range": 3525262842783732700, "num_eq": 100000, "num_range": 3525262842783732657, "upper_bound": "23481"}, {"distinct_range": 800000000, "num_eq": 90000, "num_range": 800000000, "upper_bound": "25345"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 791, "row_count": 4000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2820, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4620, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "0001110"}, {"distinct_range": 8000, "num_eq": 5019171259545617110, "num_range": 8000, "upper_bound": "0010010"}, {"distinct_range": 0, "num_eq": 10, "num_range": 100000000000, "upper_bound": "0110010"}, {"distinct_range": 3375528961873622500, "num_eq": 10000000, "num_range": 3375528961873622765, "upper_bound": "0110100"}, {"distinct_range": 0, "num_eq": 8688994833572762124, "num_range": 1104564353333447212, "upper_bound": "1100011"}, {"distinct_range": 0, "num_eq": 2338932968507067951, "num_range": 8344311676100795255, "upper_bound": "1110110"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 2799, "row_count": 10000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2448, "histo_buckets": [{"distinct_range": 0, "num_eq": 5313113746985790826, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 1295.7835509958468, "num_eq": 6000000000, "num_range": 9000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 10000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 940, "histo_buckets": [{"distinct_range": 0, "num_eq": 9001656992947188686, "num_range": 0, "upper_bound": "-1.4771690660934589"}, {"distinct_range": 0, "num_eq": 400, "num_range": 10000000000, "upper_bound": "-0.5452584199716018"}, {"distinct_range": 633375.049685163, "num_eq": 100000, "num_range": 10000000, "upper_bound": "-0.40532899865509153"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 4757369450913871845, "upper_bound": "-0.35999292730788834"}, {"distinct_range": 0, "num_eq": 4434805192044687627, "num_range": 20000, "upper_bound": "-0.0766057537018685"}, {"distinct_range": 500, "num_eq": 60000, "num_range": 500, "upper_bound": "0.6418332324517975"}, {"distinct_range": 4706149553669813000, "num_eq": 900000, "num_range": 4706149553669813429, "upper_bound": "0.7808421462106957"}, {"distinct_range": 3797.7828790144495, "num_eq": 30000, "num_range": 4000, "upper_bound": "1.1638229292746014"}, {"distinct_range": 0, "num_eq": 2880309131157346351, "num_range": 300, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1478, "row_count": 6000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1253, "histo_buckets": [{"distinct_range": 0, "num_eq": 660817036909051105, "num_range": 0, "upper_bound": "2737515983"}, {"distinct_range": 0, "num_eq": 3608314693586238026, "num_range": 70000000000, "upper_bound": "3186864253"}, {"distinct_range": 4963058696329515000, "num_eq": 60000, "num_range": 7583953631999558023, "upper_bound": "3453389614"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 1702, "row_count": 6000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4534, "histo_buckets": [{"distinct_range": 0, "num_eq": 5019823956091057396, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2711, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 4817, "row_count": 6000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4671, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 3755236508851213000, "num_eq": 8385153211774503482, "num_range": 3755236508851212801, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2674, "histo_col_type": "", "name": "__auto__", "null_count": 2379, "row_count": 6000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1329, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 66150013550914930, "num_eq": 80000, "num_range": 236104568948652591, "upper_bound": "671935838"}, {"distinct_range": 487.88633535332735, "num_eq": 8295695097341204054, "num_range": 800, "upper_bound": "3626435729"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1941, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4701, "histo_buckets": [{"distinct_range": 0, "num_eq": 7182443631228753911, "num_range": 0, "upper_bound": "10:39:30.491425+02:09:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 446, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "1363390730"}, {"distinct_range": 0, "num_eq": 5514558250728949861, "num_range": 1627611852564637787, "upper_bound": "2368944005"}, {"distinct_range": 0, "num_eq": 2618691863178395664, "num_range": 8362864972457894888, "upper_bound": "3085027024"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 1601, "row_count": 6000}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79984, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "0000000000000000000000000"}, {"distinct_range": 441299353256740350, "num_eq": 276736531707851080, "num_range": 3535614430811445495, "upper_bound": "0001101000000000110000100"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 4497054329500454353, "upper_bound": "0011100001111010100100110"}, {"distinct_range": 0, "num_eq": 4301526908891793237, "num_range": 3208742309355720482, "upper_bound": "0111111111111111111111111"}, {"distinct_range": 871536.0573354227, "num_eq": 7822093107090393033, "num_range": 3000000, "upper_bound": "1010011111100100011100011"}, {"distinct_range": 600000000, "num_eq": 6541285773756293860, "num_range": 600000000, "upper_bound": "1101100101000001000011111"}, {"distinct_range": 7681624486366618000, "num_eq": 402536323911234444, "num_range": 7681624486366617945, "upper_bound": "1110111001000101001001001"}], "histo_col_type": "BIT(25)", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 511649, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-1.1096870257848914"}, {"distinct_range": 265261653.93943846, "num_eq": 4823434009439571604, "num_range": 700000000, "upper_bound": "-0.9536631752487941"}, {"distinct_range": 9171055730438913000, "num_eq": 5115954259655833357, "num_range": 9171055730438912551, "upper_bound": "-0.8866280339787922"}, {"distinct_range": 30, "num_eq": 3012875334747911792, "num_range": 30, "upper_bound": "-0.056064639100950164"}, {"distinct_range": 6087927429060388000, "num_eq": 20000000, "num_range": 6087927429060388134, "upper_bound": "0.1533541459734833"}, {"distinct_range": 5000000, "num_eq": 50000, "num_range": 5000000, "upper_bound": "1.0099810579134143"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 2000000000, "upper_bound": "1.1112309122338553"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 562839, "row_count": 700000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 556905, "histo_buckets": [{"distinct_range": 0, "num_eq": 885057102853188740, "num_range": 0, "upper_bound": "652760580"}, {"distinct_range": 4123239682631217700, "num_eq": 1469820865190370809, "num_range": 8124220961508224258, "upper_bound": "658466430"}, {"distinct_range": 0, "num_eq": 2942536144125506710, "num_range": 10000000000, "upper_bound": "720591652"}, {"distinct_range": 300000000, "num_eq": 400000, "num_range": 300000000, "upper_bound": "1260576833"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 2448763081557986239, "upper_bound": "1442296659"}, {"distinct_range": 7833484025445553000, "num_eq": 90000, "num_range": 7833484025445553423, "upper_bound": "3092722661"}, {"distinct_range": 2903836974787915000, "num_eq": 10000000, "num_range": 2903836974787914572, "upper_bound": "3590638186"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673892, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "12:11:33.571276"}, {"distinct_range": 60, "num_eq": 40000000000, "num_range": 60, "upper_bound": "13:28:44.87902"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 8833526057414708633, "upper_bound": "19:28:19.8169"}, {"distinct_range": 8000000000, "num_eq": 9000000, "num_range": 8000000000, "upper_bound": "20:23:23.438819"}, {"distinct_range": 675288297410651500, "num_eq": 10000000, "num_range": 675288297410651574, "upper_bound": "21:29:01.104492"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 700000}]';
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col4_6) REFERENCES table5 (col5_1) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9156406885, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 413360253, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1403393078, "histo_buckets": [{"distinct_range": 0, "num_eq": 2682071548101312344, "num_range": 0, "upper_bound": "\\u0007\\u0019i[X"}, {"distinct_range": 400000000, "num_eq": 600000, "num_range": 400000000, "upper_bound": "\\u000c}\\u001b(x\x7fN"}, {"distinct_range": 25.186936282864487, "num_eq": 70000000000, "num_range": 300, "upper_bound": "\'"}, {"distinct_range": 41.50271779308392, "num_eq": 8000000, "num_range": 100, "upper_bound": "4e#\\u0007GyX^q"}, {"distinct_range": 0, "num_eq": 3573525144876021655, "num_range": 20000000, "upper_bound": "7\\u001cP\\u001e]%"}, {"distinct_range": 5290897148592187000, "num_eq": 6625581623842803012, "num_range": 5916695844958452962, "upper_bound": "@\\u0006k\\u00075C"}, {"distinct_range": 1092187.0440078843, "num_eq": 60000, "num_range": 10000000, "upper_bound": "GC>@6"}, {"distinct_range": 3375780252346551000, "num_eq": 1000000000, "num_range": 3375780252346550770, "upper_bound": "Gq\\"\\u001dt\\""}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6869449838, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6532863967, "histo_buckets": [{"distinct_range": 0, "num_eq": 8090375998426544410, "num_range": 0, "upper_bound": "724708998"}, {"distinct_range": 2337509757367242000, "num_eq": 2419206205228314415, "num_range": 2337509757367242202, "upper_bound": "800875695"}, {"distinct_range": 0, "num_eq": 8749073033064443686, "num_range": 5152709494061414724, "upper_bound": "1240097541"}, {"distinct_range": 250.768084672165, "num_eq": 200000000, "num_range": 1000, "upper_bound": "2308728706"}, {"distinct_range": 37.4214006126748, "num_eq": 3704119375619766671, "num_range": 100, "upper_bound": "3976667977"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9798579427, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8507585389, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30887723, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2447940162, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9943349082, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7267577716, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6219335796, "histo_buckets": [{"distinct_range": 0, "num_eq": 4196117690341770835, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 900, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 10000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 912574029391484793, "histo_buckets": [{"distinct_range": 0, "num_eq": 9010320922957802288, "num_range": 0, "upper_bound": "0001011101111100100010111100011"}, {"distinct_range": 0, "num_eq": 4314052601709444683, "num_range": 700, "upper_bound": "0010010100101111101101000001100"}, {"distinct_range": 90866435790505440, "num_eq": 5595727516792739265, "num_range": 655015750264922320, "upper_bound": "0011101010111100010000011110010"}, {"distinct_range": 160.45034824692306, "num_eq": 1185730965112865959, "num_range": 200, "upper_bound": "0011110011011100100000110010110"}, {"distinct_range": 7116941146861866000, "num_eq": 3423061348556108331, "num_range": 7116941146861866124, "upper_bound": "0100010101101010101011010111101"}, {"distinct_range": 2373826534790987300, "num_eq": 8099675564368678762, "num_range": 2373826534790987362, "upper_bound": "1001010011100011111010011010010"}, {"distinct_range": 0, "num_eq": 4757628938794171984, "num_range": 800, "upper_bound": "1001111000110011101001011111100"}, {"distinct_range": 0, "num_eq": 3417621951055099364, "num_range": 70000000000, "upper_bound": "1011010001011001011101011111010"}], "histo_col_type": "BIT(31)", "name": "__auto__", "null_count": 522184041449267068, "row_count": 5174149671657777323}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2570980787352589016, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "0010100"}, {"distinct_range": 0, "num_eq": 80, "num_range": 1000000, "upper_bound": "0011110"}, {"distinct_range": 3485922236150311400, "num_eq": 900000000, "num_range": 6262858040106281129, "upper_bound": "0101010"}, {"distinct_range": 4670286064655728, "num_eq": 4850891388358303371, "num_range": 8233740130019738, "upper_bound": "0110110"}, {"distinct_range": 10000000, "num_eq": 10000, "num_range": 10000000, "upper_bound": "1011000"}, {"distinct_range": 0, "num_eq": 400, "num_range": 800000, "upper_bound": "1101101"}, {"distinct_range": 0, "num_eq": 4330896616394691796, "num_range": 7833775194818155629, "upper_bound": "1110011"}, {"distinct_range": 171143.57421939904, "num_eq": 3000000, "num_range": 300000, "upper_bound": "1110110"}, {"distinct_range": 4513016138909488000, "num_eq": 5708235333887620219, "num_range": 8347830112734686730, "upper_bound": "1111100"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 0, "row_count": 5174149671657777323}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4354095196725504707, "histo_buckets": [{"distinct_range": 0, "num_eq": 3186722951035049448, "num_range": 0, "upper_bound": "-12496"}, {"distinct_range": 0, "num_eq": 3337513778307379281, "num_range": 0, "upper_bound": "-4512"}, {"distinct_range": 0, "num_eq": 740172422362889817, "num_range": 7422248113913440706, "upper_bound": "13606"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 2231944954962103338, "row_count": 5174149671657777323}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 626217722, "histo_buckets": [{"distinct_range": 0, "num_eq": 2298088452769095200, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 50, "num_eq": 0, "num_range": 50, "upper_bound": "327911472"}, {"distinct_range": 226611767721716800, "num_eq": 8887022346961740436, "num_range": 649253511967339149, "upper_bound": "826037691"}, {"distinct_range": 9213356677165158000, "num_eq": 1000000000, "num_range": 9213356677165158074, "upper_bound": "927484925"}, {"distinct_range": 2594598569.2854843, "num_eq": 1988302145556156844, "num_range": 4000000000, "upper_bound": "2285434997"}, {"distinct_range": 0, "num_eq": 7593216956135100046, "num_range": 0, "upper_bound": "3881959945"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 632768118, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "0011110"}, {"distinct_range": 3048238756605496300, "num_eq": 0, "num_range": 3153970749417644129, "upper_bound": "0100000"}, {"distinct_range": 28031365803.652317, "num_eq": 6000000000, "num_range": 70000000000, "upper_bound": "0111111"}, {"distinct_range": 398302860.96843565, "num_eq": 700000000, "num_range": 800000000, "upper_bound": "1100111"}, {"distinct_range": 100000000, "num_eq": 60000000000, "num_range": 100000000, "upper_bound": "1111110"}], "histo_col_type": "BIT(7)", "name": "__auto__", "null_count": 402313278, "row_count": 700000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 358731464, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 700000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6362705949780370456, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 475000011850423894, "row_count": 8460627191250791731}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2749329307358138028, "histo_buckets": [{"distinct_range": 0, "num_eq": 1916840979816610944, "num_range": 0, "upper_bound": "75080258"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 30000000, "upper_bound": "157694266"}, {"distinct_range": 2336160838262347300, "num_eq": 4416769744595638414, "num_range": 2336160838262347106, "upper_bound": "1241744830"}, {"distinct_range": 216.72042351774937, "num_eq": 967357462627050695, "num_range": 500, "upper_bound": "2131234458"}, {"distinct_range": 6867305549045017000, "num_eq": 3457453080589313880, "num_range": 8177640117263597516, "upper_bound": "2399733963"}, {"distinct_range": 211.32091585819984, "num_eq": 50, "num_range": 300, "upper_bound": "3810489559"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 8460627191250791731}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2237572956949488859, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "397893445"}, {"distinct_range": 2882044080057278000, "num_eq": 520471216765487320, "num_range": 2882044080057278005, "upper_bound": "1605086340"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 8460627191250791731}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3106309457598605000, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 8460627191250791731}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8215506047241136148, "histo_col_type": "", "name": "__auto__", "null_count": 5541327403441811919, "row_count": 8460627191250791731}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2877381732737702549, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8460627191250791731}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4021789878365395504, "histo_buckets": [{"distinct_range": 0, "num_eq": 8373128649991951585, "num_range": 0, "upper_bound": "-6.263642463215615397E+24"}, {"distinct_range": 8068457412798413000, "num_eq": 193280127765916636, "num_range": 8068457412798412786, "upper_bound": "-3.3427023385771118E+24"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 900000, "upper_bound": "-3.014782690988898688E+23"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "-460937450128.1509918"}, {"distinct_range": 40.33679077326177, "num_eq": 200000, "num_range": 20000, "upper_bound": "-8535697.697170051547"}, {"distinct_range": 0, "num_eq": 1247985288438210127, "num_range": 6424491175521959184, "upper_bound": "-12918.79515825341166"}, {"distinct_range": 3247721888624453000, "num_eq": 3000000000, "num_range": 8905782865615701116, "upper_bound": "1.883903429035456039E+24"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 1173644109811297917, "row_count": 8460627191250791731}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5314681667158050497, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 607801482805907409, "row_count": 8460627191250791731}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5591213861874048937, "histo_buckets": [{"distinct_range": 0, "num_eq": 2638443400126486383, "num_range": 0, "upper_bound": "21:25:54.054432+03:00:00"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 1469611918600613484, "upper_bound": "14:39:40.679698-09:00:00"}, {"distinct_range": 80000000, "num_eq": 500000000, "num_range": 80000000, "upper_bound": "20:07:56.713531-04:13:00"}, {"distinct_range": 6213470699544179000, "num_eq": 40000, "num_range": 6213470699544178854, "upper_bound": "19:52:56.669624-06:35:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 8460627191250791731}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63905859296725274, "histo_buckets": [{"distinct_range": 0, "num_eq": 2016488001161908358, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1925512502587587600, "num_eq": 6067600881415905909, "num_range": 3668808422123128800, "upper_bound": "411796073"}, {"distinct_range": 900000, "num_eq": 6772775544757923768, "num_range": 900000, "upper_bound": "2053046205"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 1942906771686946569, "row_count": 8460627191250791731}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5416119795756879559, "histo_buckets": [{"distinct_range": 0, "num_eq": 6724367292301856507, "num_range": 0, "upper_bound": "894651783"}, {"distinct_range": 2675910503826844000, "num_eq": 1000, "num_range": 9049812559009479002, "upper_bound": "3402514237"}, {"distinct_range": 70000000000, "num_eq": 900, "num_range": 70000000000, "upper_bound": "3859401580"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 6262414236677276009}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5940356400157328080, "histo_buckets": [{"distinct_range": 0, "num_eq": 5373390499808848696, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 3193649.4619734157, "num_eq": 8963316453450970387, "num_range": 7000000, "upper_bound": "03:47:59.286937"}, {"distinct_range": 0, "num_eq": 0, "num_range": 763007533837654397, "upper_bound": "08:05:53.674239"}, {"distinct_range": 70000, "num_eq": 2000000000, "num_range": 70000, "upper_bound": "16:39:57.479485"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 7482357797519886724, "upper_bound": "17:07:13.172483"}, {"distinct_range": 4708.395157465412, "num_eq": 800000000, "num_range": 70000, "upper_bound": "17:55:46.318523"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 6262414236677276009}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 595269540305067246, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "0001101001000111101001100"}, {"distinct_range": 0, "num_eq": 90, "num_range": 3190782928734457079, "upper_bound": "0100000000101011101010000"}, {"distinct_range": 0, "num_eq": 631773512438622663, "num_range": 0, "upper_bound": "0111001111101000001110001"}, {"distinct_range": 848994287886353500, "num_eq": 398506457849573970, "num_range": 3420880161121836297, "upper_bound": "0111111111111111111111111"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "1000010001101011110011110"}, {"distinct_range": 3109755500905273000, "num_eq": 6000000000, "num_range": 4991034101689701600, "upper_bound": "1000110110011000100110000"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 2000, "upper_bound": "1001010111001011000000101"}, {"distinct_range": 2583.8303080203345, "num_eq": 800, "num_range": 6000, "upper_bound": "1101011011111100000011110"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 3459792439390294712, "upper_bound": "1111101000010011010000000"}], "histo_col_type": "BIT(25)", "name": "__auto__", "null_count": 0, "row_count": 6262414236677276009}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3633103614597509643, "histo_buckets": [{"distinct_range": 0, "num_eq": 2539875277081328838, "num_range": 0, "upper_bound": "-2.2367815438768024"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 9000000000, "upper_bound": "-1.5563446939584122"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 6000000000, "upper_bound": "-1.3715035246871146"}, {"distinct_range": 3689864616849510400, "num_eq": 8931392367078463667, "num_range": 3689864616849510638, "upper_bound": "-0.06806953400131421"}, {"distinct_range": 5268.228610442103, "num_eq": 2000560357390821682, "num_range": 20000, "upper_bound": "0.031046871282851884"}, {"distinct_range": 6069348421894270000, "num_eq": 0, "num_range": 6069348421894269849, "upper_bound": "0.04879499230695916"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 6683699872757327301, "upper_bound": "0.7586359145036692"}, {"distinct_range": 100000000, "num_eq": 8374254394444679905, "num_range": 100000000, "upper_bound": "0.9691739372469023"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1550065718482988205, "row_count": 6262414236677276009}]';
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@baf34b241c9ee27530f0a3a988149bfd7cca3f6d:

        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-01-22 06:21:32.243 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-22 06:21:32.260 UTC [50] LOG:  database system was shut down at 2021-01-22 06:21:32 UTC
        postgres_1    | 2021-01-22 06:21:32.265 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
        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-01-22 06:21:35.195 UTC [49] LOG:  received fast shutdown request
        postgres_1    | 2021-01-22 06:21:35.197 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2021-01-22 06:21:35.199 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2021-01-22 06:21:35.204 UTC [51] LOG:  shutting down
        postgres_1    | 2021-01-22 06:21:35.316 UTC [49] 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-01-22 06:21:35.406 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-22 06:21:35.406 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-22 06:21:35.410 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-22 06:21:35.425 UTC [86] LOG:  database system was shut down at 2021-01-22 06:21:35 UTC
        postgres_1    | 2021-01-22 06:21:35.431 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (603.09s)
        test_1        |     --- FAIL: TestCompare/postgres (2.35s)
        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_postgres_1   ... 
        Stopping compare_cockroach2_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@7a5d3d0f9465c4d6a6f204ac6a672a027cf585a6:

        postgres_1    | 2021-01-23 06:20:55.631 UTC [51] 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-01-23 06:20:55.735 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-23 06:20:55.735 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-23 06:20:55.739 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-23 06:20:55.753 UTC [88] LOG:  database system was shut down at 2021-01-23 06:20:55 UTC
        postgres_1    | 2021-01-23 06:20:55.759 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (601.87s)
        test_1        |     --- FAIL: TestCompare/postgres (1.29s)
        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        |             CREATE TABLE table1 (col1_0 VARCHAR NOT NULL, col1_1 REGCLASS NOT NULL, col1_2 VARCHAR NOT NULL, col1_3 NAME NULL, col1_4 REGCLASS NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_6 REGPROCEDURE NOT NULL, col1_7 VARCHAR NOT NULL, col1_8 FLOAT4 NOT NULL, col1_9 REGNAMESPACE NOT NULL, col1_10 REGNAMESPACE NOT NULL, col1_11 REGPROC NOT NULL, col1_12 BOOL NOT NULL, col1_13 VARCHAR NOT NULL, col1_14 INT2, col1_15 BYTES NULL, col1_16 VARCHAR NOT NULL, col1_17 OID, PRIMARY KEY (col1_1, col1_4, col1_16, col1_6, col1_7, col1_13, col1_10, col1_5, col1_2), FAMILY (col1_9), FAMILY (col1_15), FAMILY (col1_11), FAMILY (col1_17), FAMILY (col1_16), FAMILY (col1_12, col1_14, col1_2), FAMILY (col1_3, col1_13, col1_8), FAMILY (col1_1), FAMILY (col1_5, col1_7, col1_0), FAMILY (col1_4), FAMILY (col1_10), FAMILY (col1_6));
        test_1        |             CREATE INDEX ON table1 (col1_8 ASC, col1_7 ASC, col1_17 ASC, col1_11 ASC, col1_0 ASC, col1_4 ASC, col1_1 ASC, col1_12 ASC, col1_5, col1_9 DESC, col1_16 DESC, col1_13, col1_6 ASC, col1_14, col1_3 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_9 DESC, col1_6 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_4 DESC, col1_6 DESC, col1_15, col1_16 ASC, col1_8 ASC, col1_11, col1_2 ASC, col1_12 ASC, col1_17);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_15, col1_0 DESC, col1_12 ASC, col1_7 ASC, col1_1, col1_11, col1_6, col1_14 DESC, col1_8 ASC, col1_5 ASC, col1_16 DESC, col1_10);
        test_1        |             CREATE INDEX ON table1 (col1_10, col1_11 ASC, col1_16 ASC, col1_6 DESC, col1_14, col1_7 DESC, col1_3 ASC, col1_0, col1_8 ASC, col1_15, col1_13 DESC, col1_12 ASC) STORING (col1_9);
        test_1        |             CREATE INDEX ON table1 (col1_4, col1_15 ASC, col1_11 ASC, col1_6, col1_13, col1_17 DESC, col1_1 ASC, col1_7 ASC, col1_14 ASC, col1_12, col1_10 DESC, col1_9) STORING (col1_0, col1_3);
        test_1        |             CREATE INDEX ON table1 (col1_1 DESC, col1_17);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_13 ASC, col1_9 ASC, col1_1 ASC, col1_17, col1_11 ASC, col1_7 DESC, col1_14 DESC, col1_3 DESC, col1_6, col1_12 DESC);
        test_1        |             CREATE TABLE table2 (col1_1 REGCLASS NOT NULL, col1_4 REGCLASS NOT NULL, col1_16 VARCHAR NOT NULL, col1_6 REGPROCEDURE NOT NULL, col1_7 VARCHAR NOT NULL, col1_13 VARCHAR NOT NULL, col1_10 REGNAMESPACE NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_2 VARCHAR NOT NULL, col2_9 UUID NOT NULL, col2_10 INT8, col2_11 REGPROC NOT NULL, col2_12 UUID NULL, col2_13 BOOL, col2_14 TIMESTAMPTZ NULL, col2_15 INT4 NULL, PRIMARY KEY (col1_1, col1_4, col1_16, col1_6, col1_7, col1_13, col1_10, col1_5, col1_2, col2_11, col2_14), FAMILY (col1_16, col2_14, col1_6, col2_10, col2_11, col1_13), FAMILY (col1_5), FAMILY (col1_7), FAMILY (col1_4), FAMILY (col1_1), FAMILY (col1_10), FAMILY (col2_12, col2_9), FAMILY (col1_2), FAMILY (col2_13), FAMILY (col2_15)) INTERLEAVE IN PARENT table1 (col1_1, col1_4, col1_16, col1_6, col1_7, col1_13, col1_10, col1_5, col1_2);
        test_1        |             CREATE INDEX ON table2 (col1_2 DESC, col2_9, col2_14 DESC, col2_13 ASC, col1_4 DESC, col2_15 DESC, col2_11 DESC, col1_5 ASC, col1_16 ASC, col2_10, col1_7 ASC, col1_1 ASC, col2_12 ASC, col1_13 ASC);
        test_1        |             CREATE INDEX ON table2 (col1_10 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_9 DESC, col2_10 DESC, col1_6 DESC, col1_2, col1_16 ASC, col2_15 DESC, col2_14) STORING (col2_13);
        test_1        |             CREATE INDEX ON table2 (col2_11, col1_1 DESC, col1_5, col2_12 DESC, col1_4, col2_10 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_6 ASC, col2_14 ASC, col2_13, col2_11, col1_10 DESC, col1_7 DESC, col2_9 DESC, col1_4, col1_1 DESC, col1_16) STORING (col2_10, col2_12);
        test_1        |             CREATE INDEX ON table2 (col1_7, col2_13 ASC) STORING (col2_10, col2_12);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1607452211132409856, "histo_buckets": [{"distinct_range": 0, "num_eq": 4480105964240133784, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 1445094456964676281, "num_range": 1906352368407741439, "upper_bound": "\\u0016"}, {"distinct_range": 0, "num_eq": 2236720162483652003, "num_range": 100, "upper_bound": "1,"}, {"distinct_range": 0, "num_eq": 4687672811241673323, "num_range": 600, "upper_bound": "f\\u0017s"}, {"distinct_range": 2000000000, "num_eq": 100000, "num_range": 2000000000, "upper_bound": "l&+Y!\\n>"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 8928850630761178286, "upper_bound": "n^\\u001d\\u001c_"}, {"distinct_range": 2000, "num_eq": 200, "num_range": 2000, "upper_bound": "\x7fe\\u000bV=gI"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2963587566654167526, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "-0.6637487411499023"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1516950032321172218, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67568694994420972, "histo_buckets": [{"distinct_range": 0, "num_eq": 4203829694757635311, "num_range": 0, "upper_bound": "1371497519"}, {"distinct_range": 1000000000, "num_eq": 3778660584898975524, "num_range": 1000000000, "upper_bound": "1964768277"}, {"distinct_range": 0, "num_eq": 1792050023128381168, "num_range": 6000000, "upper_bound": "2620105120"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 800000000, "upper_bound": "3833059460"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 819039329236526902, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5108712448398804087, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2983342911473921981, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 3082688354932742827, "upper_bound": "\\\\x3d0d"}, {"distinct_range": 3926453294031220000, "num_eq": 4770598122071865406, "num_range": 3926453294031219993, "upper_bound": "\\\\x446e6f3ea8b0c9"}, {"distinct_range": 102564640313313120, "num_eq": 8000, "num_range": 102564640313313116, "upper_bound": "\\\\x4e7e6cc974c401cfba"}, {"distinct_range": 3231927081472785400, "num_eq": 3000, "num_range": 5226351328043760222, "upper_bound": "\\\\x793611926127a582"}, {"distinct_range": 0, "num_eq": 2842145782143603760, "num_range": 5207520791977522391, "upper_bound": "\\\\xae458f60bfb194a100"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 3374873906251883166, "row_count": 5599681562144882268}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3675405873106778748, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5052039565832178068, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2142382300275637492, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 149149322693741572, "histo_buckets": [{"distinct_range": 0, "num_eq": 2114535679566886416, "num_range": 0, "upper_bound": "115329819"}, {"distinct_range": 10000, "num_eq": 3478689638297045509, "num_range": 10000, "upper_bound": "264357296"}, {"distinct_range": 7695656392624543000, "num_eq": 6314159536036418779, "num_range": 7695656392624542814, "upper_bound": "608951795"}, {"distinct_range": 16541.255062570977, "num_eq": 600000000, "num_range": 40000, "upper_bound": "1174912258"}, {"distinct_range": 0, "num_eq": 0, "num_range": 895809808892481097, "upper_bound": "1983189396"}, {"distinct_range": 2073241905691962600, "num_eq": 2634739699682758016, "num_range": 8684270579498478421, "upper_bound": "4196054237"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3687751345013050221, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4474407310640100371, "histo_col_type": "", "name": "__auto__", "null_count": 4673944037850221462, "row_count": 5599681562144882268}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3518086695223638099, "histo_col_type": "", "name": "__auto__", "null_count": 4441471269777649104, "row_count": 5599681562144882268}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3835771820560452721, "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4787199445565276074, "histo_buckets": [{"distinct_range": 0, "num_eq": 7061834757414165874, "num_range": 0, "upper_bound": "525228469"}, {"distinct_range": 22425297.66843869, "num_eq": 6477250128330409602, "num_range": 60000000, "upper_bound": "3653372342"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2303148273782725389, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 1000, "num_eq": 4739737217471712219, "num_range": 1000, "upper_bound": "\\u0002["}, {"distinct_range": 60, "num_eq": 6953495612731270624, "num_range": 60, "upper_bound": "\\u0012R"}, {"distinct_range": 56810633949.999855, "num_eq": 7000, "num_range": 80000000000, "upper_bound": "6I\\u0008.\\u001bz"}, {"distinct_range": 146100.6335473097, "num_eq": 6113162946120737633, "num_range": 800000, "upper_bound": "8fQ(M\\u0019"}, {"distinct_range": 0, "num_eq": 7050127791818151928, "num_range": 7103195861704428453, "upper_bound": "B<\\u0014X\\u000f"}, {"distinct_range": 2901495605052126000, "num_eq": 9126998858044098941, "num_range": 2901495605052126381, "upper_bound": "X"}, {"distinct_range": 8472102369128263000, "num_eq": 404859599742116621, "num_range": 8472102369128262435, "upper_bound": "q\\u001f\'\\u000b"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5599681562144882268}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2044041534039123103, "histo_col_type": "", "name": "__auto__", "null_count": 1144264060050717708, "row_count": 5599681562144882268}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24936011, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22418425, "histo_buckets": [{"distinct_range": 0, "num_eq": 2755728523330078954, "num_range": 0, "upper_bound": "\\u000e(:&N"}, {"distinct_range": 90000, "num_eq": 6511812699023512404, "num_range": 90000, "upper_bound": "$\\t=[J:\\u0003\x7f%"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 600, "upper_bound": "/"}, {"distinct_range": 8000000000, "num_eq": 300000000, "num_range": 8000000000, "upper_bound": "/t"}, {"distinct_range": 762511601668068000, "num_eq": 800000, "num_range": 1377450853349859213, "upper_bound": "3"}, {"distinct_range": 30000000, "num_eq": 7675034371787854518, "num_range": 30000000, "upper_bound": "E\\u0010-B)\\u0002\x7f"}, {"distinct_range": 8000000000, "num_eq": 7394541088987234932, "num_range": 8000000000, "upper_bound": "U["}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25615529, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1908426, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9794605, "histo_col_type": "", "name": "__auto__", "null_count": 28965137, "row_count": 30000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15751950, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "998899403"}, {"distinct_range": 957478496428912400, "num_eq": 5000000000, "num_range": 957478496428912337, "upper_bound": "1401661893"}, {"distinct_range": 17.486330993271572, "num_eq": 60000000000, "num_range": 30, "upper_bound": "3101681918"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5677295412119404573, "upper_bound": "3325484450"}, {"distinct_range": 4905249711894275000, "num_eq": 1000, "num_range": 4905249711894275222, "upper_bound": "4043211969"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22918552, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23640777, "histo_col_type": "", "name": "__auto__", "null_count": 172692, "row_count": 30000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15121823, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26196942, "histo_col_type": "", "name": "__auto__", "null_count": 3939816, "row_count": 30000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1147547, "histo_buckets": [{"distinct_range": 0, "num_eq": 820417644926038653, "num_range": 0, "upper_bound": "355564279"}, {"distinct_range": 2962739209124415500, "num_eq": 4023099830590084884, "num_range": 2962739209124415259, "upper_bound": "1151715676"}, {"distinct_range": 0, "num_eq": 1578504383329957008, "num_range": 991928546778886793, "upper_bound": "3040816254"}, {"distinct_range": 2962676148455022000, "num_eq": 60000000, "num_range": 2962676148455022321, "upper_bound": "3653477599"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 566310, "histo_buckets": [{"distinct_range": 0, "num_eq": 3394818436273765311, "num_range": 0, "upper_bound": "c0675a78-41ac-4ff3-948d-2e569be2239c"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6610023, "histo_col_type": "", "name": "__auto__", "null_count": 28187960, "row_count": 30000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3492159, "histo_col_type": "", "name": "__auto__", "null_count": 23250525, "row_count": 30000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2154464, "histo_buckets": [{"distinct_range": 0, "num_eq": 1478292299776924569, "num_range": 0, "upper_bound": "1213759361"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 30000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23257879, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "W$"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 30000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('twgjup', 'ofgoqp');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('qpeem', 'nxf', 'jxcmty', 'vf', 'dk');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('bbsguc');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@0455055fafcef7c028b4af8e4efe242b89e7f8a3:

        cockroach2_1  | webui:               http://cockroach2:8080
        cockroach2_1  | sql:                 postgresql://root@cockroach2:26257?sslmode=disable
        cockroach2_1  | RPC client flags:    /cockroach/cockroach <client cmd> --host=cockroach2:26257 --insecure
        cockroach2_1  | logs:                /cockroach-data/logs
        cockroach2_1  | temp dir:            /cockroach-data/cockroach-temp625882361
        cockroach2_1  | external I/O path:   /cockroach-data/extern
        cockroach2_1  | store[0]:            path=/cockroach-data
        cockroach2_1  | storage engine:      pebble
        cockroach2_1  | status:              initialized new cluster
        cockroach2_1  | clusterID:           8dc98723-1c4d-4233-920a-1417a3379209
        cockroach2_1  | nodeID:              1
        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-01-24 06:19:39.966 UTC [49] LOG:  received fast shutdown request
        postgres_1    | 2021-01-24 06:19:39.968 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2021-01-24 06:19:39.970 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2021-01-24 06:19:39.976 UTC [51] LOG:  shutting down
        postgres_1    | 2021-01-24 06:19:40.073 UTC [49] 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-01-24 06:19:40.178 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-24 06:19:40.179 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-24 06:19:40.182 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-24 06:19:40.199 UTC [86] LOG:  database system was shut down at 2021-01-24 06:19:40 UTC
        postgres_1    | 2021-01-24 06:19:40.204 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (601.03s)
        test_1        |     --- FAIL: TestCompare/postgres (0.41s)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@48fbbe7313fc70f889fa66c5749914f57ddd5a91:

        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-01-25 06:21:01.854 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-25 06:21:01.871 UTC [48] LOG:  database system was shut down at 2021-01-25 06:21:01 UTC
        postgres_1    | 2021-01-25 06:21:01.876 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-01-25 06:21:04.829 UTC [47] LOG:  received fast shutdown request
        postgres_1    | .2021-01-25 06:21:04.831 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2021-01-25 06:21:04.832 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2021-01-25 06:21:04.838 UTC [49] LOG:  shutting down
        postgres_1    | 2021-01-25 06:21:04.935 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-01-25 06:21:05.042 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-01-25 06:21:05.042 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-01-25 06:21:05.045 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-25 06:21:05.062 UTC [84] LOG:  database system was shut down at 2021-01-25 06:21:04 UTC
        postgres_1    | 2021-01-25 06:21:05.068 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (602.08s)
        test_1        |     --- FAIL: TestCompare/postgres (1.27s)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@d86781c07065421f4a4d8bf5d988900ab07fdce5:

        postgres_1    |     pg_ctl -D /var/lib/postgresql/data -l logfile start
        postgres_1    | 
        postgres_1    | 
        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-01-26 06:12:10.733 UTC [50] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-26 06:12:10.749 UTC [51] LOG:  database system was shut down at 2021-01-26 06:12:10 UTC
        postgres_1    | 2021-01-26 06:12:10.755 UTC [50] 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.58s)
        test_1        |     --- FAIL: TestCompare/postgres (1.13s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.45s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 TIMETZ, col1_1 STRING NOT NULL, col1_2 REGPROCEDURE NOT NULL, col1_3 DATE NOT NULL, col1_4 OID, col1_5 BYTES NOT NULL, col1_6 TIMESTAMP NOT NULL, PRIMARY KEY (col1_6 DESC, col1_1 ASC, col1_5 ASC), UNIQUE (col1_1, col1_6 DESC, col1_4 ASC, col1_0 ASC, col1_3, col1_5 DESC) WHERE ((table1.col1_5 < '\xe29883':::BYTES) OR (table1.col1_6 < '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table1.col1_1 <= e'\x00':::STRING), UNIQUE (col1_2 DESC, col1_1 DESC) WHERE ((((table1.col1_0 <= '24:00:00-15:59:00':::TIMETZ) OR (table1.col1_3 < '5874897-12-31':::DATE)) OR (table1.col1_5 = '\x27':::BYTES)) AND (table1.col1_1 >= '':::STRING)) OR (table1.col1_6 > '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_6 DESC) STORING (col1_2), INDEX (col1_5 ASC, col1_0, col1_1 ASC, col1_4 DESC, col1_3 ASC), INDEX (col1_2 DESC) STORING (col1_0, col1_4), UNIQUE (col1_2 ASC, col1_3 DESC, col1_4 DESC, col1_6, col1_0 ASC, col1_1 ASC), UNIQUE (col1_1));
        test_1        |             CREATE TABLE table2 (col2_0 TIMETZ NOT NULL, col2_1 VARCHAR NOT NULL, col2_2 OID NOT NULL, col2_3 BIT(41) NOT NULL, col2_4 TIMESTAMPTZ NOT NULL, col2_5 REGCLASS NOT NULL, col2_6 BIT(46) NOT NULL, col2_7 INET NOT NULL, col2_8 REGTYPE NOT NULL, col2_9 REGCLASS NOT NULL, col2_10 NAME NOT NULL, col2_11 REGTYPE NOT NULL, col2_12 FLOAT8 NOT NULL, col2_13 DATE NULL, PRIMARY KEY (col2_8 ASC, col2_10 ASC, col2_7 ASC, col2_4, col2_5 DESC, col2_11 DESC, col2_12 DESC, col2_1 DESC, col2_6 ASC, col2_0, col2_3 ASC, col2_9 ASC, col2_2 DESC), UNIQUE (col2_7 DESC, col2_11 ASC, col2_8, col2_12, col2_3 ASC, col2_9 ASC, col2_13 ASC, col2_4, col2_6 DESC, col2_5 ASC, col2_10), INDEX (col2_2, col2_12 DESC, col2_5 DESC, col2_3, col2_7, col2_13 DESC, col2_9 ASC, col2_0 DESC, col2_4, col2_10, col2_11, col2_6 DESC, col2_1) WHERE (((((table2.col2_12 <= 5e-324:::FLOAT8) OR (table2.col2_1 > 'X':::STRING)) AND (table2.col2_4 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table2.col2_13 >= 'infinity':::DATE)) AND (table2.col2_10 >= e'\x00':::STRING)) AND (table2.col2_0 <= '24:00:00-15:59:00':::TIMETZ), UNIQUE (col2_8 DESC, col2_10, col2_2, col2_12 DESC, col2_5), UNIQUE (col2_7, col2_9 DESC, col2_10, col2_4, col2_8, col2_1 ASC, col2_5 ASC, col2_11 DESC, col2_3, col2_2 ASC, col2_12 DESC, col2_0 ASC, col2_13, col2_6 DESC), UNIQUE (col2_11 DESC) STORING (col2_13), INDEX (col2_10 ASC, col2_2, col2_4 ASC, col2_11 DESC, col2_8 DESC, col2_5, col2_6, col2_13 ASC, col2_0 DESC, col2_3 DESC, col2_12 ASC, col2_9 ASC, col2_7), FAMILY (col2_11, col2_3), FAMILY (col2_9), FAMILY (col2_12, col2_2, col2_5), FAMILY (col2_6), FAMILY (col2_8), FAMILY (col2_13), FAMILY (col2_10), FAMILY (col2_7), FAMILY (col2_4, col2_1), FAMILY (col2_0), UNIQUE (col2_2, col2_13));
        test_1        |             CREATE TABLE table3 (col1_6 TIMESTAMP NOT NULL, col1_1 STRING NOT NULL, col1_5 BYTES NOT NULL, col3_3 REGPROC NOT NULL, col3_4 REGNAMESPACE NOT NULL, col3_5 INET, col3_6 CHAR NOT NULL, col3_7 UUID, col3_8 DATE NOT NULL, PRIMARY KEY (col1_6 DESC, col1_1 ASC, col1_5 ASC, col3_4 ASC, col3_6 ASC, col3_7 ASC), UNIQUE (col3_3 DESC), UNIQUE (col3_3 DESC, col3_8 ASC, col3_7 ASC, col3_6 ASC, col1_5 ASC, col3_5 ASC, col3_4 ASC, col1_6 ASC), INDEX (col3_5, col3_3, col3_7 DESC, col3_6 ASC, col3_4, col1_1 ASC) WHERE ((((table3.col3_6 < e'\x00':::STRING) AND (table3.col1_1 <= e'\x00':::STRING)) AND (table3.col3_8 < '4714-11-24 BC':::DATE)) OR (table3.col1_5 = '\x':::BYTES)) OR (table3.col1_6 = '3000-01-01 00:00:00':::TIMESTAMP), INDEX (col3_4 ASC, col1_1 ASC, col3_5 ASC, col3_8 ASC, col3_6 ASC, col1_5, col3_3 ASC), UNIQUE (col3_5, col3_4 DESC, col3_6 DESC, col1_5, col1_1 ASC, col3_7 DESC, col3_8), INDEX (col1_5) WHERE ((((table3.col1_6 > '-2000-01-01 00:00:00':::TIMESTAMP) OR (table3.col3_8 <= '4714-11-24 BC':::DATE)) OR (table3.col1_1 = '':::STRING)) OR (table3.col3_6 <= 'X':::STRING)) AND (table3.col1_5 != '\x00':::BYTES), INDEX (col3_5 ASC, col3_4 ASC, col3_6, col3_3, col1_1, col1_5 DESC, col1_6) WHERE (((table3.col1_1 >= e'\'':::STRING) AND (table3.col3_8 = '1970-01-01':::DATE)) AND (table3.col1_5 != '\x':::BYTES)) OR (table3.col3_6 != e'\U00002603':::STRING), INDEX (col3_3 DESC, col3_6, col3_8, col3_4 DESC, col3_7 ASC, col1_6, col3_5 ASC) WHERE (table3.col1_5 > '\x58':::BYTES) OR (table3.col1_6 >= '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_1 ASC, col3_4, col3_8, col3_6, col1_5, col1_6 DESC) STORING (col3_3), FAMILY (col3_7, col3_8), FAMILY (col1_1), FAMILY (col3_6, col3_5, col3_3, col1_5), FAMILY (col1_6), FAMILY (col3_4)) INTERLEAVE IN PARENT table1 (col1_6, col1_1, col1_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 660620024503054077, "histo_col_type": "", "name": "__auto__", "null_count": 2107413109272469358, "row_count": 6526349001673019030}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4885933002617636548, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 4001483359140410353, "num_range": 30000000, "upper_bound": "\\u0008\\\\-1oTk"}, {"distinct_range": 1505469869348760800, "num_eq": 2000000, "num_range": 1559497998074714435, "upper_bound": "\\u001dtXeK/5\\u001c"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 6436787154174794377, "upper_bound": ";\\u000b/"}, {"distinct_range": 0, "num_eq": 8163584014065870139, "num_range": 3000000, "upper_bound": "F\\tdmk\\u0002\\u0015\\r;"}, {"distinct_range": 94595.1224396511, "num_eq": 50, "num_range": 200000, "upper_bound": "Hd?v\\u0008]!&6"}, {"distinct_range": 50, "num_eq": 2512131477151385471, "num_range": 50, "upper_bound": "Q~"}, {"distinct_range": 10000000000, "num_eq": 7320276246812840593, "num_range": 10000000000, "upper_bound": "p;7,+1"}, {"distinct_range": 0, "num_eq": 4304401181506074644, "num_range": 3000, "upper_bound": "x"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6526349001673019030}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4950957270746300171, "histo_buckets": [{"distinct_range": 0, "num_eq": 5094913544064601007, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 276126.5943927332, "num_eq": 5351867751457223153, "num_range": 300000, "upper_bound": "729239074"}, {"distinct_range": 45067.869131974345, "num_eq": 2231073231509535272, "num_range": 70000, "upper_bound": "4222811654"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 6526349001673019030}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2172097969067689174, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6526349001673019030}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6338184646043656776, "histo_col_type": "", "name": "__auto__", "null_count": 2785819860972809109, "row_count": 6526349001673019030}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5665930352913428785, "histo_buckets": [{"distinct_range": 0, "num_eq": 8742423821679310754, "num_range": 0, "upper_bound": "\\\\x00"}, {"distinct_range": 2073696013163969000, "num_eq": 20000000, "num_range": 4521263393964730045, "upper_bound": "\\\\x01470898"}, {"distinct_range": 19.607195185280904, "num_eq": 600000000, "num_range": 70, "upper_bound": "\\\\x088b"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 4313157979818822608, "upper_bound": "\\\\x92ce008f3db5"}, {"distinct_range": 5744483298115402000, "num_eq": 7858362660177835495, "num_range": 5744483298115401660, "upper_bound": "\\\\xf0c74059808203"}, {"distinct_range": 100, "num_eq": 5802827435134702666, "num_range": 100, "upper_bound": "\\\\xf57e7b65f54b7e"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6526349001673019030}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1557583351197165069, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "1992-02-08 00:40:10.000914"}, {"distinct_range": 0, "num_eq": 1379458633609480356, "num_range": 80000000, "upper_bound": "2001-05-11 23:09:27.000131"}, {"distinct_range": 8000000, "num_eq": 2000000, "num_range": 8000000, "upper_bound": "2001-09-30 06:06:25.000432"}, {"distinct_range": 748526987623119700, "num_eq": 8040406905908753951, "num_range": 748526987623119792, "upper_bound": "2008-10-10 09:24:21.000527"}, {"distinct_range": 53429.59367966852, "num_eq": 5057597273460943647, "num_range": 100000, "upper_bound": "2009-08-16 01:47:28.000732"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 3000000000, "upper_bound": "2011-08-31 19:22:37.000786"}, {"distinct_range": 34932022024482932, "num_eq": 6462613979761976612, "num_range": 1978003461473898290, "upper_bound": "2024-01-18 07:31:21.000252"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 6526349001673019030}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 328818743485083942, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1891174549723453091, "histo_buckets": [{"distinct_range": 0, "num_eq": 157730856335515890, "num_range": 0, "upper_bound": "639057664"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2769408824910575737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185068975426793777, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2187878612678377165, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 767319554857071062, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 31239004.17580906, "num_eq": 5700606397972891161, "num_range": 300000000, "upper_bound": "700793697"}, {"distinct_range": 1182423842773959700, "num_eq": 900, "num_range": 9189205156885296259, "upper_bound": "1319685693"}, {"distinct_range": 0, "num_eq": 8468264022145682595, "num_range": 80000000000, "upper_bound": "2401853700"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3844842015485753471, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1559859433666621417, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 454330792775611418, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1990861405492344310, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2678031730955113416, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "\\u0003"}, {"distinct_range": 58111626777.83009, "num_eq": 195044633309143969, "num_range": 70000000000, "upper_bound": "\\r\\u0011%P\\n"}, {"distinct_range": 0, "num_eq": 50, "num_range": 0, "upper_bound": " \\u000etIpA\\u0008"}, {"distinct_range": 425659415268740700, "num_eq": 4868110971912662102, "num_range": 4389087081157027817, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 3558620103580411976, "num_range": 2543732960619361403, "upper_bound": "\'6w"}, {"distinct_range": 70000000, "num_eq": 1000000000, "num_range": 70000000, "upper_bound": "VRu\\t"}, {"distinct_range": 416261.19179659156, "num_eq": 4000, "num_range": 500000, "upper_bound": "\U00002603"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1948011570097201553, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3018625706343751915, "histo_buckets": [{"distinct_range": 0, "num_eq": 5521718420035623781, "num_range": 0, "upper_bound": "220.149.182.65/21"}, {"distinct_range": 0, "num_eq": 9210439279914799513, "num_range": 7015674516291360556, "upper_bound": "5b6c:5304:54c8:ca99:5e62:4c43:8906:f5cc/14"}, {"distinct_range": 0, "num_eq": 6306910371270315021, "num_range": 50, "upper_bound": "6663:91da:bf50:969a:afd6:2d27:b182:5452/43"}, {"distinct_range": 960287541.7006007, "num_eq": 500, "num_range": 10000000000, "upper_bound": "3a35:8663:d06a:4d74:b8d7:44c5:a4b5:47b9/53"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 7021010450265503019, "upper_bound": "7234:dc14:a2c3:1e1:31e9:814a:467d:637d/77"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 3875389114524645980}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2572155936501792319, "histo_col_type": "", "name": "__auto__", "null_count": 2473294085194812185, "row_count": 3875389114524645980}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 153, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "2321252087"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 385, "histo_buckets": [{"distinct_range": 0, "num_eq": 7439548827811770834, "num_range": 0, "upper_bound": "2016-07-28 07:51:35.000396"}, {"distinct_range": 4098616652809122000, "num_eq": 30, "num_range": 4900684302850116989, "upper_bound": "2028-01-26 19:25:08.000516"}, {"distinct_range": 4041124741002938400, "num_eq": 0, "num_range": 4041124741002938557, "upper_bound": "2029-07-16 07:06:16.000698"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 674, "histo_buckets": [{"distinct_range": 0, "num_eq": 3107763939642370888, "num_range": 0, "upper_bound": "\\u0001|-\\u0017G&"}, {"distinct_range": 0, "num_eq": 5207195424995622653, "num_range": 0, "upper_bound": "\\u00037+G"}, {"distinct_range": 0, "num_eq": 9104318770493098949, "num_range": 0, "upper_bound": "G"}, {"distinct_range": 10, "num_eq": 6345609185772306173, "num_range": 10, "upper_bound": "PiOP$Xu"}, {"distinct_range": 180456552638840030, "num_eq": 221092036906001677, "num_range": 180456552638840017, "upper_bound": "hf1!\\u001d"}, {"distinct_range": 5825064392900351000, "num_eq": 30000000, "num_range": 5825064392900350750, "upper_bound": "i#X\\u0002\\u0001c2"}, {"distinct_range": 0, "num_eq": 7729556368904287574, "num_range": 1000000, "upper_bound": "t"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 340, "histo_buckets": [{"distinct_range": 0, "num_eq": 3258147325661359721, "num_range": 0, "upper_bound": "\\\\x46770062338c"}, {"distinct_range": 0, "num_eq": 7014447308991984756, "num_range": 0, "upper_bound": "\\\\x5867db619b45943d41"}, {"distinct_range": 339061194787615500, "num_eq": 5000000, "num_range": 4875590455390453198, "upper_bound": "\\\\x92e1cc"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 7000, "upper_bound": "\\\\x9763c5663c"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 300000, "upper_bound": "\\\\xbe717d8594"}, {"distinct_range": 3690272017532776000, "num_eq": 600000000, "num_range": 7130516378625069778, "upper_bound": "\\\\xe272dae9f08a0841"}, {"distinct_range": 4000, "num_eq": 100000000, "num_range": 4000, "upper_bound": "\\\\xe29883"}, {"distinct_range": 434.35278412014935, "num_eq": 80000000, "num_range": 1000, "upper_bound": "\\\\xee5e046a87f30f"}, {"distinct_range": 60000, "num_eq": 4000000, "num_range": 60000, "upper_bound": "\\\\xf16e0efab9733183"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 90000000, "upper_bound": "101291055"}, {"distinct_range": 0, "num_eq": 1408364047641961940, "num_range": 3510321236762010236, "upper_bound": "355097284"}, {"distinct_range": 0, "num_eq": 9071532317952504280, "num_range": 6066533548324714453, "upper_bound": "1081298762"}, {"distinct_range": 50, "num_eq": 10, "num_range": 50, "upper_bound": "1643964519"}, {"distinct_range": 3379416716112419300, "num_eq": 700000000, "num_range": 3379416716112419427, "upper_bound": "1760214383"}, {"distinct_range": 2399137157584894500, "num_eq": 800, "num_range": 2399137157584894302, "upper_bound": "2342325402"}, {"distinct_range": 0, "num_eq": 3314494915784161521, "num_range": 1161474606636486521, "upper_bound": "3372410176"}, {"distinct_range": 2220669845626388000, "num_eq": 4110490408787639437, "num_range": 2220669845626388075, "upper_bound": "4236736058"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "21db:bc02:ee6f:7bad:8550:82e5:1220:1e18/28"}, {"distinct_range": 0, "num_eq": 8673597198832261408, "num_range": 9000000, "upper_bound": "e3d2:51d6:dbdd:a79:6ce7:691a:d1fe:7a0a/54"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 411, "row_count": 700}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 694, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62, "histo_col_type": "", "name": "__auto__", "null_count": 176, "row_count": 700}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 530, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2, col1_3) REFERENCES table2 (col2_2, col2_13);
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col1_1) REFERENCES table1 (col1_1) ON UPDATE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('vaia');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('qj', 'b', 'kd');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('juj', 'ljext');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('crcwgm');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@f7c5898f3d552f7ab0751cdd9ffa95cdfd6b8a76:

        postgres_1    | creating configuration files ... ok
        postgres_1    | running bootstrap script ... ok
        postgres_1    | performing post-bootstrap initialization ... ok
        postgres_1    | syncing data to disk ... ok
        postgres_1    | 
        postgres_1    | Success. You can now start the database server using:
        postgres_1    | 
        postgres_1    |     pg_ctl -D /var/lib/postgresql/data -l logfile start
        postgres_1    | 
        postgres_1    | 
        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-01-27 06:12:09.608 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-27 06:12:09.625 UTC [50] LOG:  database system was shut down at 2021-01-27 06:12:09 UTC
        postgres_1    | 2021-01-27 06:12:09.631 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.20s)
        test_1        |     --- FAIL: TestCompare/postgres (0.97s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.23s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 TIMESTAMP NOT NULL, col1_1 INTERVAL[], col1_2 DATE NULL, PRIMARY KEY (col1_0 DESC), INDEX (col1_2, col1_0 ASC), UNIQUE (col1_0 DESC), INDEX (col1_2 ASC), UNIQUE (col1_2 DESC) WHERE (table1.col1_2 != '1970-01-01':::DATE) AND (table1.col1_0 = '0001-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_2 ASC) WHERE table1.col1_2 >= '-infinity':::DATE, INDEX (col1_0 DESC, col1_2) WHERE (table1.col1_0 >= '3000-01-01 00:00:00':::TIMESTAMP) AND (table1.col1_2 > '4714-11-24 BC':::DATE), INDEX (col1_2 DESC), FAMILY (col1_1), FAMILY (col1_0, col1_2));
        test_1        |             CREATE TABLE table2 (col1_0 TIMESTAMP NOT NULL, col2_1 BIT(36), col2_2 TIME NULL, col2_3 INT2, col2_4 DATE, col2_5 STRING NULL, col2_6 UUID, col2_7 REGPROC NOT NULL, col2_8 TIMETZ NOT NULL, col2_9 INT8 NOT NULL, PRIMARY KEY (col1_0 DESC, col2_1, col2_7, col2_4, col2_6), FAMILY (col2_3), FAMILY (col2_7), FAMILY (col2_5, col2_2), FAMILY (col2_9), FAMILY (col2_6, col2_4), FAMILY (col2_8, col2_1, col1_0)) INTERLEAVE IN PARENT table1 (col1_0);
        test_1        |             CREATE TABLE table3 (col3_0 FLOAT8 NOT NULL, col3_1 DATE NOT NULL, PRIMARY KEY (col3_0 ASC, col3_1 DESC), INDEX (col3_1 ASC, col3_0), UNIQUE (col3_0 ASC, col3_1 ASC), INDEX (col3_1, col3_0) WHERE (table3.col3_1 <= '5874897-12-31':::DATE) OR (table3.col3_0 = 'NaN':::FLOAT8), FAMILY (col3_0), FAMILY (col3_1));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220947, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 7066641138013287786, "num_range": 2000000, "upper_bound": "1986-07-21 10:27:58.000648"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 6579317176377996618, "upper_bound": "1992-12-09 04:35:41.000844"}, {"distinct_range": 3878041940129912300, "num_eq": 80000000, "num_range": 3878041940129912534, "upper_bound": "1995-04-18 22:47:15.000623"}, {"distinct_range": 578775693698169300, "num_eq": 4515627522559271913, "num_range": 578775693698169289, "upper_bound": "1999-11-19 23:23:25.000255"}, {"distinct_range": 0, "num_eq": 1624887186107227085, "num_range": 2000, "upper_bound": "2004-05-13 17:29:52.000858"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 100, "upper_bound": "2013-08-31 00:49:56.000872"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 5000, "upper_bound": "2014-07-01 15:10:47.000034"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 40000000000, "upper_bound": "2014-11-14 00:03:13.000299"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 900000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 261034, "histo_col_type": "", "name": "__auto__", "null_count": 451569, "row_count": 900000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 278585, "histo_buckets": [{"distinct_range": 0, "num_eq": 9109168674260443539, "num_range": 0, "upper_bound": "1970-11-05"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 40000000000, "upper_bound": "1973-07-31"}, {"distinct_range": 379236164236195800, "num_eq": 900000000, "num_range": 379236164236195788, "upper_bound": "1980-10-16"}, {"distinct_range": 4299908798118678000, "num_eq": 7034830142336106763, "num_range": 4299908798118678003, "upper_bound": "1992-01-08"}, {"distinct_range": 6784746921897624000, "num_eq": 6000000000, "num_range": 6784746921897623465, "upper_bound": "1994-08-10"}, {"distinct_range": 72936129570248400, "num_eq": 3000, "num_range": 5471203853478179705, "upper_bound": "1995-02-24"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 1000000, "upper_bound": "1995-04-08"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 466848, "row_count": 900000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5514005259912136470, "histo_col_type": "", "name": "__auto__", "null_count": 3513670669553971231, "row_count": 5551060532795605985}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3614267803578208753, "histo_col_type": "", "name": "__auto__", "null_count": 3971930416662979043, "row_count": 5551060532795605985}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3821684295302576505, "histo_col_type": "", "name": "__auto__", "null_count": 3160890643886088892, "row_count": 5551060532795605985}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798292205676063354, "histo_col_type": "", "name": "__auto__", "null_count": 4064180246514846287, "row_count": 5551060532795605985}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 773116702892824264, "histo_col_type": "", "name": "__auto__", "null_count": 5371651321001147713, "row_count": 5551060532795605985}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1101724920069245405, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5551060532795605985}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5099419984925997107, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "1976-05-27 23:03:05.000561"}, {"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "1986-08-19 20:39:41.00019"}, {"distinct_range": 384001477251387100, "num_eq": 100000000000, "num_range": 831722408263231903, "upper_bound": "2005-04-22 02:34:04.000047"}, {"distinct_range": 4496898017830321000, "num_eq": 3000000, "num_range": 7275795002951355852, "upper_bound": "2008-06-22 06:19:30.000945"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 8634108416406850061, "upper_bound": "2024-12-26 16:47:20.000157"}, {"distinct_range": 0, "num_eq": 7649505940327512552, "num_range": 1635430488983503576, "upper_bound": "2027-05-20 21:19:42.000496"}, {"distinct_range": 9000, "num_eq": 3745051148430959378, "num_range": 9000, "upper_bound": "2029-03-27 22:39:24.000606"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 5551060532795605985}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 215512413856811224, "histo_col_type": "", "name": "__auto__", "null_count": 5174980634471412987, "row_count": 5551060532795605985}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1319068820301023348, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5551060532795605985}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2749768319491698742, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5551060532795605985}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56546204422, "histo_buckets": [{"distinct_range": 0, "num_eq": 6371606787819074294, "num_range": 0, "upper_bound": "-1.5239283725560333"}, {"distinct_range": 4771544893990515000, "num_eq": 6428129345711829964, "num_range": 4771544893990514374, "upper_bound": "-0.885766223305848"}, {"distinct_range": 0, "num_eq": 7249464388337821611, "num_range": 0, "upper_bound": "-0.2435615672476965"}, {"distinct_range": 1027012349335927300, "num_eq": 3716648425894166569, "num_range": 1027012349335927327, "upper_bound": "0.3562833828766718"}, {"distinct_range": 0, "num_eq": 100, "num_range": 5000, "upper_bound": "0.725307493364357"}, {"distinct_range": 1377764171462264000, "num_eq": 80000000, "num_range": 1377764171462264186, "upper_bound": "0.8573087843920272"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 1502304538381747871, "upper_bound": "1.057693691901272"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 7000, "upper_bound": "2.3375560323072264"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25142565333, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 60000000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('lsocs', 'mfbmyk', 'vjijjq', 'kser');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@1a459a81dba35b6a091f0a2954aa33d50f1e5d24:

        postgres_1    | 
        postgres_1    | 
        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-01-28 06:12:06.813 UTC [52] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-01-28 06:12:06.831 UTC [53] LOG:  database system was shut down at 2021-01-28 06:12:06 UTC
        postgres_1    | 2021-01-28 06:12:06.836 UTC [52] 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
        test_1        | --- FAIL: TestCompare (3.04s)
        test_1        |     --- FAIL: TestCompare/postgres (2.56s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.48s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 REGTYPE NOT NULL, col1_1 BOOL, col1_2 OID NOT NULL, col1_3 CHAR, col1_4 INT8 NOT NULL, col1_5 REGPROCEDURE, col1_6 REGTYPE NOT NULL, col1_7 BOX2D NOT NULL, col1_8 VARCHAR NOT NULL, col1_9 "char" NOT NULL, col1_10 TIME NOT NULL, col1_11 DECIMAL[] NOT NULL, col1_12 BIT(42) NULL, col1_13 REGNAMESPACE NOT NULL, col1_14 CHAR NOT NULL, col1_15 INT2, PRIMARY KEY (col1_8 ASC, col1_2 DESC, col1_13 ASC, col1_10 DESC, col1_7 DESC, col1_9, col1_4 ASC, col1_14 ASC), UNIQUE (col1_0, col1_3 ASC, col1_4 ASC, col1_2 ASC, col1_7 ASC, col1_9 ASC) WHERE (NOT table1.col1_1) OR (table1.col1_14 <= 'X':::STRING), INDEX (col1_8 DESC, col1_0 DESC, col1_7 DESC, col1_4 DESC) WHERE (((((((NOT table1.col1_1) OR (table1.col1_10 != '24:00:00':::TIME)) AND (table1.col1_3 > '"':::STRING)) AND (table1.col1_9 < e'\U00002603':::STRING)) AND (table1.col1_8 > '"':::STRING)) OR (table1.col1_14 < e'\x00':::STRING)) OR (table1.col1_15 > (-32768):::INT8)) AND (table1.col1_4 < (-2147483648):::INT8), UNIQUE (col1_14 ASC, col1_10 DESC, col1_13 ASC, col1_2 DESC, col1_12 DESC, col1_6 ASC, col1_0, col1_8 DESC) WHERE (((((table1.col1_14 = e'\x00':::STRING) OR (table1.col1_9 != e'\'':::STRING)) OR (table1.col1_4 >= 127:::INT8)) AND (NOT table1.col1_1)) OR (table1.col1_10 < '00:00:00':::TIME)) OR (table1.col1_8 < 'X':::STRING), UNIQUE (col1_1 DESC, col1_13, col1_9 DESC, col1_3 ASC, col1_6 ASC, col1_2 ASC) WHERE (((((((table1.col1_14 > '':::STRING) AND (NOT table1.col1_1)) AND (table1.col1_15 >= 127:::INT8)) AND (table1.col1_9 != '"':::STRING)) AND (table1.col1_4 > 9223372036854775807:::INT8)) OR (table1.col1_3 != e'\U00002603':::STRING)) AND (table1.col1_10 > '00:00:00':::TIME)) AND (table1.col1_8 >= '"':::STRING), UNIQUE (col1_13 DESC, col1_5 DESC, col1_12 ASC, col1_2, col1_0, col1_10 ASC, col1_8 DESC), UNIQUE (col1_0 DESC, col1_14 ASC, col1_3 ASC, col1_6 ASC, col1_2 ASC, col1_12 ASC, col1_1 DESC, col1_13 DESC, col1_8, col1_15 ASC, col1_7 ASC), INDEX (col1_14, col1_12, col1_6 ASC, col1_8, col1_3 DESC, col1_15 DESC, col1_7 ASC, col1_4 ASC, col1_0, col1_10 ASC, col1_2 ASC, col1_9 ASC, col1_13, col1_1, col1_5 DESC), UNIQUE (col1_8 DESC, col1_0 DESC, col1_9, col1_2 DESC, col1_4 DESC, col1_10, col1_6 DESC, col1_12, col1_1, col1_14 ASC, col1_15 ASC) STORING (col1_5) WHERE (((((((table1.col1_4 = 9223372036854775807:::INT8) AND (table1.col1_10 >= '24:00:00':::TIME)) AND (table1.col1_14 != 'X':::STRING)) AND (table1.col1_9 <= e'\U00002603':::STRING)) OR (table1.col1_15 >= (-1):::INT8)) AND table1.col1_1) OR (table1.col1_3 <= e'\x00':::STRING)) OR (table1.col1_8 >= 'X':::STRING), UNIQUE (col1_12 ASC, col1_2 DESC, col1_14 ASC, col1_0 ASC, col1_7, col1_5, col1_6 DESC, col1_9, col1_8 ASC, col1_1 DESC) WHERE (((((((table1.col1_3 <= e'\x00':::STRING) OR (table1.col1_14 <= 'X':::STRING)) OR (table1.col1_4 >= 2147483647:::INT8)) OR (table1.col1_9 <= e'\'':::STRING)) OR (table1.col1_15 >= (-1):::INT8)) AND (NOT table1.col1_1)) OR (table1.col1_10 >= '00:00:00':::TIME)) OR (table1.col1_8 <= '"':::STRING));
        test_1        |             CREATE TABLE table2 (col1_8 VARCHAR NOT NULL, col1_2 OID NOT NULL, col1_13 REGNAMESPACE NOT NULL, col1_10 TIME NOT NULL, col1_7 BOX2D NOT NULL, col1_9 "char" NOT NULL, col1_4 INT8 NOT NULL, col1_14 CHAR NOT NULL, col2_8 BIT(46), col2_9 "char" NULL, col2_10 REGCLASS, col2_11 DECIMAL, col2_12 FLOAT8 NOT NULL, col2_13 TIME NOT NULL, col2_14 TIMESTAMPTZ NULL, col2_15 BIT(35) NULL, col2_16 INT2, col2_17 TIMETZ, col2_18 DATE NOT NULL, col2_19 OID NULL, col2_20 FLOAT8 NULL, col2_21 NAME NOT NULL, col2_22 VARCHAR, col2_23 REGPROCEDURE NOT NULL, col2_24 BOOL NOT NULL, col2_25 CHAR NOT NULL, col2_26 VARCHAR, PRIMARY KEY (col1_8 ASC, col1_2 DESC, col1_13 ASC, col1_10 DESC, col1_7 DESC, col1_9, col1_4 ASC, col1_14 ASC, col2_24 ASC, col2_17 DESC), INDEX (col2_24 ASC, col2_25, col1_4 ASC, col2_23, col2_8, col2_15, col2_21, col2_22 ASC, col2_18, col2_19 DESC, col2_17, col2_14, col2_12 DESC) STORING (col2_10, col2_11, col2_16, col2_20) WHERE ((((((table2.col2_21 >= 'X':::STRING) OR table2.col2_24) AND (table2.col2_22 = '':::STRING)) OR (table2.col2_18 != '1970-01-01':::DATE)) AND (table2.col1_10 < '00:00:00':::TIME)) OR (table2.col2_13 < '24:00:00':::TIME)) OR (table2.col1_8 = e'\x00':::STRING), UNIQUE (col1_13 ASC, col2_10, col1_14 ASC, col2_13) STORING (col2_8, col2_9, col2_14, col2_16, col2_18, col2_19, col2_20, col2_22) WHERE (((((((table2.col2_12 = 0.0:::FLOAT8) OR (table2.col1_4 = 2147483647:::INT8)) AND (table2.col2_25 > e'\U00002603':::STRING)) OR (table2.col1_14 <= 'X':::STRING)) AND (table2.col2_14 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col1_8 < 'X':::STRING)) AND (table2.col2_20 > 1.0:::FLOAT8)) AND (table2.col2_18 < '1970-01-01':::DATE), INDEX (col2_10, col2_19 ASC, col1_13 DESC, col2_21, col1_8 ASC, col1_10, col1_7 ASC, col1_4 DESC, col1_14 ASC, col2_24) STORING (col2_8, col2_9, col2_12, col2_13, col2_16, col2_20, col2_23, col2_26) WHERE ((((((((((((((((((table2.col1_4 <= 127:::INT8) AND (table2.col1_8 > e'\U00002603':::STRING)) AND (table2.col1_14 < '"':::STRING)) AND table2.col2_24) OR (table2.col2_11 < (-1):::DECIMAL)) OR (table2.col2_14 >= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_16 >= (-32768):::INT8)) AND (table2.col1_9 > '"':::STRING)) OR (table2.col2_9 = '"':::STRING)) AND (table2.col2_21 < e'\U00002603':::STRING)) OR (table2.col2_13 != '24:00:00':::TIME)) OR (table2.col2_17 > '00:00:00+15:59:00':::TIMETZ)) OR (table2.col1_10 = '24:00:00':::TIME)) OR (table2.col2_20 = 1.401298464324817e-45:::FLOAT8)) AND (table2.col2_25 != '"':::STRING)) AND (table2.col2_22 <= e'\x00':::STRING)) AND (table2.col2_26 <= '':::STRING)) AND (table2.col2_18 < '1970-01-01':::DATE)) AND (table2.col2_12 >= 'NaN':::FLOAT8), INDEX (col2_9, col2_10, col2_18 ASC, col2_14 ASC, col2_24, col2_22 DESC, col2_21, col2_20, col1_14 DESC, col2_23 ASC, col2_8, col1_10 ASC, col2_13, col2_25 ASC, col2_26 ASC, col2_15 DESC, col2_17 ASC) WHERE ((((((((((((((((((table2.col2_26 != '"':::STRING) OR (table2.col2_20 <= '-Inf':::FLOAT8)) AND (table2.col1_8 <= '"':::STRING)) OR (table2.col2_9 >= '"':::STRING)) OR (table2.col2_22 < e'\'':::STRING)) AND (table2.col1_4 = 2147483647:::INT8)) OR (table2.col1_9 = '':::STRING)) AND (table2.col2_25 = '':::STRING)) OR (table2.col1_10 > '24:00:00':::TIME)) AND (table2.col2_12 <= '-Inf':::FLOAT8)) OR (table2.col2_17 = '00:00:00+15:59:00':::TIMETZ)) AND (table2.col2_13 = '24:00:00':::TIME)) OR (table2.col2_11 >= 1:::DECIMAL)) OR (table2.col2_18 != 'infinity':::DATE)) OR (table2.col1_14 > '':::STRING)) AND (NOT table2.col2_24)) AND (table2.col2_16 > 127:::INT8)) OR (table2.col2_21 < e'\x00':::STRING)) OR (table2.col2_14 >= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col1_4 DESC, col1_8 ASC, col2_10 ASC, col2_9 DESC, col2_25) WHERE ((((((((((((table2.col2_9 <= '"':::STRING) AND (table2.col2_26 <= e'\'':::STRING)) AND (table2.col1_10 != '24:00:00':::TIME)) OR (table2.col2_25 <= 'X':::STRING)) OR (NOT table2.col2_24)) OR (table2.col2_18 >= 'infinity':::DATE)) OR (table2.col2_20 < 5e-324:::FLOAT8)) OR (table2.col2_16 >= (-1):::INT8)) AND (table2.col2_14 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_12 < 'NaN':::FLOAT8)) OR (table2.col2_21 > e'\x00':::STRING)) AND (table2.col1_14 > '':::STRING)) AND (table2.col1_9 <= e'\U00002603':::STRING), UNIQUE (col2_16 DESC, col1_4 ASC, col2_23, col2_18, col1_9, col2_25 ASC, col2_11 DESC, col2_24 ASC, col2_21 ASC), UNIQUE (col1_8 DESC, col1_10, col1_4, col2_18 ASC, col2_12 DESC, col2_19, col2_9 DESC, col2_11, col2_14 DESC, col1_9) STORING (col2_10, col2_13, col2_16, col2_20, col2_23, col2_25), INDEX (col2_12, col2_20 ASC, col2_14 ASC, col2_10 ASC, col1_13 ASC, col1_14, col2_19, col2_26 DESC, col2_22, col1_9 DESC, col2_18, col1_4 ASC, col2_24 ASC, col1_2, col2_9, col2_15 DESC, col2_11, col2_21 DESC, col2_13 DESC, col1_7, col2_8 DESC, col2_25 DESC, col1_10) STORING (col2_16) WHERE ((((table2.col2_11 < (-1):::DECIMAL) AND (table2.col1_8 < e'\x00':::STRING)) AND (table2.col1_9 = e'\U00002603':::STRING)) AND (table2.col2_12 < 1.401298464324817e-45:::FLOAT8)) OR (table2.col2_18 <= 'infinity':::DATE), FAMILY (col2_25), FAMILY (col2_11, col2_13, col1_4, col2_12), FAMILY (col2_15), FAMILY (col1_14), FAMILY (col2_14, col1_8), FAMILY (col2_18), FAMILY (col1_13), FAMILY (col2_17), FAMILY (col1_10, col2_9, col2_21, col2_24, col1_9, col2_22, col2_23, col2_8, col1_2, col1_7, col2_19, col2_10), FAMILY (col2_16, col2_20), FAMILY (col2_26)) INTERLEAVE IN PARENT table1 (col1_8, col1_2, col1_13, col1_10, col1_7, col1_9, col1_4, col1_14);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6597429832094807538, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 789944878986428431, "histo_col_type": "", "name": "__auto__", "null_count": 293036896897836644, "row_count": 7062742531618169949}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7002309520914528379, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1052157125580528189, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2344457706777977820, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5272782151198189076, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "8"}, {"distinct_range": 239706804263866660, "num_eq": 154436672310410552, "num_range": 4025289398780887889, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4902343138504612511, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4548747069445495661, "histo_col_type": "", "name": "__auto__", "null_count": 5583775085373135217, "row_count": 7062742531618169949}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3318418012299985436, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 465415942207124502, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4185920430091993348, "histo_col_type": "", "name": "__auto__", "null_count": 598917382856417464, "row_count": 7062742531618169949}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6715273483639575540, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "2782409175"}, {"distinct_range": 4261043663464872400, "num_eq": 1000000000, "num_range": 5702207475420234433, "upper_bound": "3617031234"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6146589622840969720, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 664917288137287015, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "000000000000000000000000000000000000000000"}, {"distinct_range": 0, "num_eq": 1134470534451434929, "num_range": 40000000000, "upper_bound": "000011000010000001000001100111010000001010"}, {"distinct_range": 754277591831494300, "num_eq": 10000000, "num_range": 851674581628059862, "upper_bound": "001001001111010011000110010011101000001010"}, {"distinct_range": 0, "num_eq": 2961623943074871482, "num_range": 445591514538874864, "upper_bound": "001101000010001001110011011000101100010011"}, {"distinct_range": 6000, "num_eq": 715004145571652361, "num_range": 6000, "upper_bound": "011111111111111111111111111111111111111111"}, {"distinct_range": 20717.975030917216, "num_eq": 20000, "num_range": 70000, "upper_bound": "110101000101110111100100010011111110111100"}], "histo_col_type": "BIT(42)", "name": "__auto__", "null_count": 3694018827960072784, "row_count": 7062742531618169949}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1246571018263555054, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 2232993388837009611, "row_count": 7062742531618169949}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1211745203732528616, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "8"}, {"distinct_range": 2000, "num_eq": 2193680072028231649, "num_range": 2000, "upper_bound": "LNQXK"}, {"distinct_range": 0, "num_eq": 5301201436874195831, "num_range": 40000000000, "upper_bound": "Suo"}, {"distinct_range": 2722.3318268910803, "num_eq": 100000, "num_range": 100000, "upper_bound": "k\\u001c`\\u0019v\\u0016"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 7062742531618169949}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 457714453, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 729241290, "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": 432055138, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0.5269103139469545"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 660212815, "histo_col_type": "", "name": "__auto__", "null_count": 68023164, "row_count": 800000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 361579913, "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": 417793187, "histo_col_type": "", "name": "__auto__", "null_count": 592078935, "row_count": 800000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 663755746, "histo_col_type": "", "name": "__auto__", "null_count": 142306831, "row_count": 800000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 591948621, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-21963"}, {"distinct_range": 5000000000, "num_eq": 600000, "num_range": 5000000000, "upper_bound": "-10038"}, {"distinct_range": 70, "num_eq": 400000000, "num_range": 70, "upper_bound": "8613"}, {"distinct_range": 12924.544879793084, "num_eq": 4000, "num_range": 100000, "upper_bound": "19525"}, {"distinct_range": 10000000000, "num_eq": 100, "num_range": 10000000000, "upper_bound": "20478"}, {"distinct_range": 8736.350742628509, "num_eq": 8272419422998877887, "num_range": 9000, "upper_bound": "31105"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 626460852, "row_count": 800000000}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 366765913, "histo_col_type": "", "name": "__auto__", "null_count": 94884827, "row_count": 800000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497664337, "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": 340404627, "histo_col_type": "", "name": "__auto__", "null_count": 219686871, "row_count": 800000000}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 686365234, "histo_col_type": "", "name": "__auto__", "null_count": 132414188, "row_count": 800000000}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145622200, "histo_buckets": [{"distinct_range": 0, "num_eq": 7153847984296206341, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 637305819, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 722581778, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 739589475, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-812928299025394793"}, {"distinct_range": 6808414915861721000, "num_eq": 1000, "num_range": 6808414915861721211, "upper_bound": "-719568446944778446"}, {"distinct_range": 0, "num_eq": 5561711878946352956, "num_range": 700, "upper_bound": "1414520419206247157"}, {"distinct_range": 171477703.35742012, "num_eq": 3670525296511578428, "num_range": 500000000, "upper_bound": "3670476410558474319"}, {"distinct_range": 1027238834331330700, "num_eq": 8277513459955343268, "num_range": 6230811689478431860, "upper_bound": "4003772249605467044"}, {"distinct_range": 8200926161947546000, "num_eq": 6766183449404304756, "num_range": 8200926161947545760, "upper_bound": "4532833765581849821"}, {"distinct_range": 0, "num_eq": 6749625150219787711, "num_range": 100000000000, "upper_bound": "6847548359860525666"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 736684950, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 363461924, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209214970, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 658529803, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 263324980, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "423809431"}, {"distinct_range": 1184334965625681200, "num_eq": 300, "num_range": 5965441322919863809, "upper_bound": "4053952258"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 374064028, "row_count": 800000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 280902461, "histo_col_type": "", "name": "__auto__", "null_count": 540320689, "row_count": 800000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 663832462, "histo_col_type": "", "name": "__auto__", "null_count": 313072692, "row_count": 800000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 352353193, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "613800581"}, {"distinct_range": 660736989512554100, "num_eq": 500000, "num_range": 660736989512554169, "upper_bound": "1512218461"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "3714999689"}, {"distinct_range": 70000000000, "num_eq": 70000, "num_range": 70000000000, "upper_bound": "3826071985"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 597926230, "histo_buckets": [{"distinct_range": 0, "num_eq": 6779278023504095805, "num_range": 0, "upper_bound": "\\u0016"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 10000000000, "upper_bound": "\\""}, {"distinct_range": 116774.22801785394, "num_eq": 3172687712407893151, "num_range": 300000, "upper_bound": "+"}, {"distinct_range": 8456965.26112901, "num_eq": 4764911288244914398, "num_range": 10000000, "upper_bound": "1"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 743225617, "row_count": 800000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 380999357, "histo_col_type": "", "name": "__auto__", "null_count": 200898040, "row_count": 800000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34132986, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('hfupd', 'riaxle', 'c', 'pgs', 'ofrh');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('xmbtbw', 'soix', 'lxrie', 'mhj', 'cq', 'aw');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('zhpt', 'se', 'jhky', 'bqelu');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('o');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@86c619f768a4d6f4cc80efb5c9479e5fc0fd72c1:

        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_2 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_2 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 ASC, col3_2);
        test_1        |             CREATE INDEX ON table3 (col3_2 DESC, col3_0);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col3_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1 ASC, col3_0 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_2 DESC, col3_1 ASC) INCLUDE (col3_0);
        test_1        |             CREATE TABLE table4 (col4_0 BOX2D NOT NULL, PRIMARY KEY (col4_0));
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0);
        test_1        |             CREATE INDEX ON table4 (col4_0 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_0);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('whjt');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.47s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 INT4 NOT NULL, col1_1 BYTES NOT NULL, col1_2 TIMETZ NOT NULL, col1_3 NAME[] NOT NULL, col1_4 TIMESTAMPTZ NULL, PRIMARY KEY (col1_1, col1_2 ASC), UNIQUE (col1_4 DESC, col1_0, col1_2 ASC, col1_1) STORING (col1_3), UNIQUE (col1_2 DESC, col1_0 ASC, col1_4 DESC) STORING (col1_3) WHERE (table1.col1_2 < '00:00:00+15:59:00':::TIMETZ) OR (table1.col1_0 > 1:::INT8), UNIQUE (col1_4 ASC) STORING (col1_0));
        test_1        |             CREATE TABLE table2 (col1_1 BYTES NOT NULL, col1_2 TIMETZ NOT NULL, col2_2 BIT(26), col2_3 REGCLASS NOT NULL, col2_4 OID, col2_5 TIME NOT NULL, col2_6 TIMESTAMPTZ NOT NULL, col2_7 INET NOT NULL, col2_8 TIME, PRIMARY KEY (col1_1, col1_2 ASC, col2_5, col2_4 ASC, col2_3 ASC, col2_2 DESC, col2_7 ASC), INDEX (col1_2 DESC, col1_1, col2_6 DESC, col2_3 ASC, col2_5, col2_8 DESC, col2_7 DESC, col2_4 ASC), UNIQUE (col2_7 DESC, col2_4 DESC, col2_3 ASC, col2_5 DESC), UNIQUE (col2_4 DESC, col2_2, col1_2, col2_7 DESC, col1_1 ASC, col2_8), INDEX (col2_8, col1_1, col2_3 ASC, col2_7 ASC, col2_4 ASC, col2_5 DESC) STORING (col2_6), UNIQUE (col1_1) WHERE ((((table2.col2_6 >= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col1_2 < '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_8 <= '00:00:00':::TIME)) AND (table2.col1_1 <= '\x00':::BYTES)) AND (table2.col2_5 < '24:00:00':::TIME), UNIQUE (col2_2 DESC, col2_5 ASC, col2_8 ASC, col1_2) STORING (col2_6) WHERE table2.col2_6 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ, UNIQUE (col2_5, col2_7 DESC, col2_2 DESC) STORING (col2_6), INDEX (col1_2 DESC, col2_6 DESC, col2_2 DESC, col2_7 ASC, col2_4 ASC, col2_5 ASC, col2_3 ASC, col1_1 DESC, col2_8 DESC) WHERE ((((table2.col1_2 <= '24:00:00-15:59:00':::TIMETZ) OR (table2.col2_8 = '24:00:00':::TIME)) AND (table2.col1_1 >= '\x22':::BYTES)) OR (table2.col2_5 <= '24:00:00':::TIME)) OR (table2.col2_6 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), FAMILY (col2_7), FAMILY (col2_8, col2_6), FAMILY (col2_4), FAMILY (col2_3), FAMILY (col1_1), FAMILY (col2_5), FAMILY (col2_2), FAMILY (col1_2)) INTERLEAVE IN PARENT table1 (col1_1, col1_2);
        test_1        |             CREATE TABLE table3 (col3_0 REGPROC NOT NULL, col3_1 VARCHAR NOT NULL, col3_2 FLOAT4 NOT NULL, col3_3 BIT(3) NOT NULL, col3_4 TIMETZ NOT NULL, col3_5 INT4 NOT NULL, col3_6 INT8 NOT NULL, col3_7 OID NOT NULL, col3_8 INT4, col3_9 CHAR NOT NULL, col3_10 VARCHAR, col3_11 REGCLASS NOT NULL, col3_12 INT4 NULL, col3_13 UUID NOT NULL, col3_14 "char"[] NULL, col3_15 INT4 NOT NULL, PRIMARY KEY (col3_7, col3_0 DESC, col3_15 ASC, col3_2 DESC, col3_13 DESC, col3_6 ASC, col3_4 DESC, col3_11 DESC, col3_3 DESC, col3_5 ASC), INDEX (col3_6 ASC, col3_4 ASC, col3_11 ASC, col3_1, col3_12, col3_9 DESC) WHERE (((((((((table3.col3_1 = '"':::STRING) OR (table3.col3_15 != 0:::INT8)) OR (table3.col3_5 < 2147483647:::INT8)) AND (table3.col3_10 < e'\'':::STRING)) OR (table3.col3_4 < '00:00:00+15:59:00':::TIMETZ)) AND (table3.col3_6 <= (-128):::INT8)) AND (table3.col3_2 < 0.0:::FLOAT8)) AND (table3.col3_8 <= 1:::INT8)) OR (table3.col3_9 != '':::STRING)) OR (table3.col3_12 = (-1):::INT8), INDEX (col3_6, col3_4 ASC, col3_5 ASC, col3_3 ASC), UNIQUE (col3_15 ASC, col3_9, col3_6 ASC, col3_4 ASC, col3_5, col3_10, col3_11, col3_2, col3_0 DESC, col3_7, col3_1, col3_3 DESC, col3_13 DESC) STORING (col3_8, col3_14) WHERE (((((((((table3.col3_4 <= '24:00:00-15:59:00':::TIMETZ) AND (table3.col3_5 <= (-1):::INT8)) AND (table3.col3_1 >= 'X':::STRING)) OR (table3.col3_6 <= (-32768):::INT8)) AND (table3.col3_2 <= '+Inf':::FLOAT8)) OR (table3.col3_12 != (-32768):::INT8)) OR (table3.col3_8 < (-2147483648):::INT8)) AND (table3.col3_15 = (-32768):::INT8)) OR (table3.col3_10 <= '':::STRING)) OR (table3.col3_9 != 'X':::STRING), UNIQUE (col3_7, col3_4 ASC, col3_15, col3_0, col3_12), UNIQUE (col3_8 DESC, col3_15, col3_9 ASC, col3_2 DESC, col3_10 ASC, col3_6, col3_1 DESC, col3_12, col3_11 ASC, col3_7 ASC, col3_0 ASC, col3_3 ASC, col3_5, col3_13 DESC), INDEX (col3_0 DESC, col3_10 ASC, col3_3 DESC, col3_13 ASC, col3_12, col3_4 DESC, col3_11 ASC, col3_2 DESC, col3_9 DESC) STORING (col3_1));
        test_1        |             CREATE TABLE table4 (col1_1 BYTES NOT NULL, col1_2 TIMETZ NOT NULL, col2_5 TIME NOT NULL, col2_4 OID, col2_3 REGCLASS NOT NULL, col2_2 BIT(26), col2_7 INET NOT NULL, col4_7 INT8, col4_8 VARCHAR NULL, col4_9 BIT(12) NULL, col4_10 BIT(6) NOT NULL, col4_11 VARCHAR NULL, col4_12 CHAR NULL, col4_13 FLOAT8, col4_14 TIMESTAMP, col4_15 REGPROC, col4_16 REGPROC, col4_17 OID, col4_18 TIME NOT NULL, col4_19 INT8 NOT NULL, col4_20 INTERVAL, col4_21 TIME NULL, PRIMARY KEY (col1_1, col1_2 ASC, col2_5, col2_4 ASC, col2_3 ASC, col2_2 DESC, col2_7 ASC), UNIQUE (col4_7 ASC, col1_2 DESC) WHERE (table4.col2_5 != '24:00:00':::TIME) OR (table4.col4_7 = 127:::INT8), INDEX (col2_4 ASC, col4_7 ASC, col4_9 DESC, col4_18 DESC) STORING (col4_8, col4_12, col4_13, col4_17, col4_20, col4_21) WHERE (((((((((table4.col1_1 < '\x':::BYTES) AND (table4.col4_12 = '':::STRING)) OR (table4.col4_13 > 5e-324:::FLOAT8)) OR (table4.col4_8 != e'\x00':::STRING)) AND (table4.col4_11 = e'\x00':::STRING)) AND (table4.col2_5 >= '00:00:00':::TIME)) AND (table4.col4_14 <= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table4.col4_21 < '24:00:00':::TIME)) OR (table4.col4_19 > (-9223372036854775807):::INT8)) OR (table4.col1_2 > '00:00:00+15:59:00':::TIMETZ), INDEX (col4_11, col4_13 DESC, col2_3 ASC, col4_19, col4_18 ASC, col4_16 ASC, col4_17 DESC, col4_7 ASC, col4_15 DESC, col1_1, col2_2, col1_2, col4_21 DESC, col2_7 DESC, col4_14 DESC, col4_8 DESC, col2_5 DESC, col2_4, col4_12 DESC, col4_10, col4_20 DESC, col4_9 ASC), INDEX (col2_7 ASC, col4_7), INDEX (col4_7, col2_4 ASC, col4_11, col4_21 ASC, col2_7 DESC, col2_3, col4_10 ASC, col4_13, col4_20 ASC, col4_14, col4_16 DESC, col4_15, col4_17 DESC, col4_9 DESC, col2_2), UNIQUE (col1_2) STORING (col4_7, col4_8, col4_13, col4_14, col4_16, col4_17, col4_18), INDEX (col4_17 DESC, col4_8) WHERE (((((((((((table4.col4_13 < (-1.0):::FLOAT8) OR (table4.col2_5 = '00:00:00':::TIME)) AND (table4.col1_2 < '24:00:00-15:59:00':::TIMETZ)) OR (table4.col4_21 > '00:00:00':::TIME)) OR (table4.col4_19 >= (-9223372036854775807):::INT8)) OR (table4.col4_7 = 32767:::INT8)) OR (table4.col4_12 > 'X':::STRING)) OR (table4.col4_18 > '24:00:00':::TIME)) AND (table4.col4_11 >= e'\'':::STRING)) AND (table4.col4_14 < '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table4.col1_1 <= '\x':::BYTES)) AND (table4.col4_8 >= 'X':::STRING), INDEX (col4_7 ASC) WHERE (((((((((((table4.col4_14 != '294276-12-31 23:59:59.999999':::TIMESTAMP) OR (table4.col4_21 != '00:00:00':::TIME)) OR (table4.col4_13 > '-Inf':::FLOAT8)) AND (table4.col4_11 > '"':::STRING)) OR (table4.col4_12 > '"':::STRING)) OR (table4.col1_2 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col4_7 > 127:::INT8)) OR (table4.col2_5 >= '24:00:00':::TIME)) OR (table4.col4_18 != '00:00:00':::TIME)) OR (table4.col4_19 != 0:::INT8)) AND (table4.col4_8 >= e'\'':::STRING)) AND (table4.col1_1 = '\xe29883':::BYTES)) INTERLEAVE IN PARENT table2 (col1_1, col1_2, col2_5, col2_4, col2_3, col2_2, col2_7);
        test_1        |             CREATE TABLE table5 (col3_7 OID NOT NULL, col3_0 REGPROC NOT NULL, col3_15 INT4 NOT NULL, col3_2 FLOAT4 NOT NULL, col3_13 UUID NOT NULL, col3_6 INT8 NOT NULL, col3_4 TIMETZ NOT NULL, col3_11 REGCLASS NOT NULL, col3_3 BIT(3) NOT NULL, col3_5 INT4 NOT NULL, col5_10 TIMESTAMP NOT NULL, col5_11 VARCHAR, col5_12 OID NULL, col5_13 TIMESTAMPTZ NULL, col5_14 REGCLASS NULL, col5_15 "char" NOT NULL, col5_16 BIT(35) NULL, col5_17 "char" NOT NULL, PRIMARY KEY (col3_7, col3_0 DESC, col3_15 ASC, col3_2 DESC, col3_13 DESC, col3_6 ASC, col3_4 DESC, col3_11 DESC, col3_3 DESC, col3_5 ASC, col5_11 ASC, col5_12 DESC, col5_15), INDEX (col3_0, col5_16 DESC, col3_7 ASC, col3_3 ASC, col3_13 DESC, col3_15 ASC, col3_11 ASC, col3_4, col5_11 DESC, col5_13 DESC, col5_14 ASC, col5_17 DESC, col5_12 ASC) WHERE ((((((table5.col3_5 > 0:::INT8) AND (table5.col5_11 = 'X':::STRING)) AND (table5.col3_2 < 1.0:::FLOAT8)) OR (table5.col5_15 > '"':::STRING)) OR (table5.col3_6 > (-2147483648):::INT8)) AND (table5.col5_10 <= '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table5.col3_15 < (-1):::INT8), UNIQUE (col3_3, col5_15 DESC, col5_10, col3_4, col3_11), UNIQUE (col3_2 ASC, col5_14, col5_15 DESC) STORING (col5_13, col5_17) WHERE (((((((((table5.col3_4 != '00:00:00+15:59:00':::TIMETZ) AND (table5.col5_15 > e'\x00':::STRING)) AND (table5.col5_17 = 'X':::STRING)) OR (table5.col3_6 < 0:::INT8)) OR (table5.col3_2 <= '+Inf':::FLOAT8)) AND (table5.col5_13 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table5.col5_10 > '0001-01-01 00:00:00':::TIMESTAMP)) AND (table5.col5_11 > e'\x00':::STRING)) AND (table5.col3_5 > 1:::INT8)) OR (table5.col3_15 != (-32768):::INT8), UNIQUE (col5_11, col3_0 DESC, col3_6, col3_15 ASC, col5_15 ASC, col5_16 ASC, col3_13 ASC, col3_5 DESC) WHERE (((((((((table5.col3_15 >= 127:::INT8) OR (table5.col5_13 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table5.col3_4 = '24:00:00-15:59:00':::TIMETZ)) AND (table5.col3_6 = (-9223372036854775807):::INT8)) AND (table5.col5_11 < '"':::STRING)) AND (table5.col3_5 = (-1):::INT8)) OR (table5.col5_15 < '"':::STRING)) OR (table5.col5_10 != '0001-01-01 00:00:00':::TIMESTAMP)) OR (table5.col5_17 = 'X':::STRING)) OR (table5.col3_2 <= '+Inf':::FLOAT8)) INTERLEAVE IN PARENT table3 (col3_7, col3_0, col3_15, col3_2, col3_13, col3_6, col3_4, col3_11, col3_3, col3_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3751983326216152430, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 70, "num_range": 8008264612080581212, "upper_bound": "\\\\x00"}, {"distinct_range": 549522818879391200, "num_eq": 1000000000, "num_range": 7849378343682551615, "upper_bound": "\\\\x4c0093f791"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "\\\\x62ef6f4d72"}, {"distinct_range": 13682.79417675973, "num_eq": 10000000, "num_range": 30000, "upper_bound": "\\\\x7063e3505976de2727"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 3001853570962421463, "upper_bound": "\\\\x9947d68a15a0877d1d"}, {"distinct_range": 2645763924482577000, "num_eq": 10000000, "num_range": 2645763924482576915, "upper_bound": "\\\\xff"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 6380666876073768689}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84144953228539021, "histo_buckets": [{"distinct_range": 0, "num_eq": 3605465946655292999, "num_range": 0, "upper_bound": "16:33:41.837379+14:45:00"}, {"distinct_range": 0, "num_eq": 10, "num_range": 90000, "upper_bound": "14:40:57.360032+09:34:00"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 564536492478979622, "upper_bound": "14:22:20.983218+07:17:00"}, {"distinct_range": 0, "num_eq": 6963990425491958928, "num_range": 50, "upper_bound": "00:49:54.126939-10:11:00"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 200000, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 6380666876073768689}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2074177303173251277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6380666876073768689}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 495996818282270296, "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 5245833829730397604, "row_count": 6380666876073768689}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5721260977952842395, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6380666876073768689}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6237046, "histo_buckets": [{"distinct_range": 0, "num_eq": 511917136819379245, "num_range": 0, "upper_bound": "12:40:36.990043+14:56:00"}, {"distinct_range": 0, "num_eq": 3353991555115801851, "num_range": 8298569018069783780, "upper_bound": "20:21:28.777378+07:57:00"}, {"distinct_range": 1761201881180679700, "num_eq": 1894814615970834760, "num_range": 3192122129393669693, "upper_bound": "11:41:51.776837-02:09:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4159133, "histo_buckets": [{"distinct_range": 0, "num_eq": 7433783675914566157, "num_range": 0, "upper_bound": "00000101110010001000011011"}, {"distinct_range": 700000000, "num_eq": 50000000, "num_range": 700000000, "upper_bound": "10001111111010111011010101"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "10011100101100101111110100"}, {"distinct_range": 10000000000, "num_eq": 30000, "num_range": 10000000000, "upper_bound": "10011110100010111100101001"}, {"distinct_range": 119491336847102850, "num_eq": 1729962721857661394, "num_range": 5232640804838311443, "upper_bound": "10110111010000000110010100"}, {"distinct_range": 1980858596380438000, "num_eq": 1000000000, "num_range": 9069681285393149681, "upper_bound": "11000110000100111111010111"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 5702845007062399395, "upper_bound": "11010101111010001000110100"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 7826211415149225167, "upper_bound": "11111010111010101001010001"}], "histo_col_type": "BIT(26)", "name": "__auto__", "null_count": 4460852, "row_count": 8000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2633017, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1572715256018634200, "num_eq": 6000, "num_range": 5270631154688405502, "upper_bound": "486631956"}, {"distinct_range": 323915853451884160, "num_eq": 7722207693467526780, "num_range": 1782225580856248880, "upper_bound": "1206793587"}, {"distinct_range": 1960902.9741659986, "num_eq": 3000000000, "num_range": 4000000, "upper_bound": "1410356675"}, {"distinct_range": 0, "num_eq": 2770466338820413926, "num_range": 30000, "upper_bound": "1563502109"}, {"distinct_range": 2434931899167208000, "num_eq": 3514014130823084689, "num_range": 2434931899167207937, "upper_bound": "2677654478"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 7993673, "row_count": 8000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1051090, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 795150, "histo_buckets": [{"distinct_range": 0, "num_eq": 1907435426974661536, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 4.963732788514685, "num_eq": 40, "num_range": 10, "upper_bound": "\\\\x23c7a70d02757e5e2a"}, {"distinct_range": 4592330953.151863, "num_eq": 4077659608459977662, "num_range": 6000000000, "upper_bound": "\\\\x2ae33d363c5aeea339"}, {"distinct_range": 4630912241201754000, "num_eq": 1959279620623524400, "num_range": 7885220347292964307, "upper_bound": "\\\\x3504de0360f8511c5f"}, {"distinct_range": 2961563489881778000, "num_eq": 4294844064087091092, "num_range": 8453142080327741390, "upper_bound": "\\\\x59"}, {"distinct_range": 0, "num_eq": 20, "num_range": 7605809607319398005, "upper_bound": "\\\\xce1f72ece50292f8ca"}, {"distinct_range": 2985906813986661000, "num_eq": 200000, "num_range": 7518582821432217347, "upper_bound": "\\\\xe67d4255b4ba2b"}, {"distinct_range": 20.605624010618964, "num_eq": 9000000000, "num_range": 30, "upper_bound": "\\\\xff"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 636026, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7916117, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "03:57:45.92207"}, {"distinct_range": 1113764031332100500, "num_eq": 0, "num_range": 4831101323887575592, "upper_bound": "09:54:17.47868"}, {"distinct_range": 400, "num_eq": 10000000, "num_range": 400, "upper_bound": "16:10:02.829743"}, {"distinct_range": 2121343885280585000, "num_eq": 40000000000, "num_range": 2121343885280584973, "upper_bound": "21:35:46.278981"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7699103, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "40.84.218.70/14"}, {"distinct_range": 1000000000, "num_eq": 200000, "num_range": 1000000000, "upper_bound": "116.53.150.177/22"}, {"distinct_range": 10000, "num_eq": 100000000000, "num_range": 10000, "upper_bound": "10.252.236.114/23"}, {"distinct_range": 3599939359779078700, "num_eq": 7000000000, "num_range": 3896404330326909995, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4295474, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "05:55:28.012523"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 8200187682275103138, "upper_bound": "15:31:53.66669"}, {"distinct_range": 3948890.653021645, "num_eq": 7138154510607800013, "num_range": 6000000, "upper_bound": "16:38:12.127467"}, {"distinct_range": 313493714565330500, "num_eq": 40000000000, "num_range": 963677222410949672, "upper_bound": "16:40:38.183268"}, {"distinct_range": 50, "num_eq": 0, "num_range": 50, "upper_bound": "18:24:52.267021"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "19:31:20.571968"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 224231, "row_count": 8000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36385900, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 259182069, "histo_buckets": [{"distinct_range": 0, "num_eq": 1275317417247997669, "num_range": 0, "upper_bound": "-6141881556691273908"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56731306, "histo_col_type": "", "name": "__auto__", "null_count": 84574820, "row_count": 300000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48438937, "histo_buckets": [{"distinct_range": 0, "num_eq": 2965501660766517260, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1662713308447673900, "num_eq": 4051395664418831307, "num_range": 5965297247212096245, "upper_bound": "1164323658"}, {"distinct_range": 7655590586225584000, "num_eq": 500000000, "num_range": 7655590586225583700, "upper_bound": "2003656004"}, {"distinct_range": 0, "num_eq": 200, "num_range": 4473595360746839436, "upper_bound": "2353138564"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 2000, "upper_bound": "3562385443"}, {"distinct_range": 62465020.475084156, "num_eq": 4660807131549764605, "num_range": 90000000, "upper_bound": "3920497338"}, {"distinct_range": 0, "num_eq": 7728786234037398941, "num_range": 3451550301663680290, "upper_bound": "3923180868"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 90000, "upper_bound": "4085239118"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 115391034, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37157791, "histo_buckets": [{"distinct_range": 0, "num_eq": 9091169229319375209, "num_range": 0, "upper_bound": "52004894"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60254415, "histo_col_type": "", "name": "__auto__", "null_count": 254387975, "row_count": 300000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 260366508, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "1100605127"}, {"distinct_range": 1554995912224956000, "num_eq": 70, "num_range": 3468797498829590409, "upper_bound": "1250374248"}, {"distinct_range": 4036077833511293400, "num_eq": 70000000, "num_range": 4036077833511293605, "upper_bound": "2175044584"}, {"distinct_range": 0, "num_eq": 392395578097951795, "num_range": 6608404874203998052, "upper_bound": "2181967748"}, {"distinct_range": 0, "num_eq": 4903653129322446567, "num_range": 6484269698181507522, "upper_bound": "3164683519"}, {"distinct_range": 0, "num_eq": 8510401765301935917, "num_range": 0, "upper_bound": "3252143384"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 80000000, "upper_bound": "3851256826"}, {"distinct_range": 0, "num_eq": 494419793652621943, "num_range": 70000000, "upper_bound": "4267925673"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2344985, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 263833952, "histo_buckets": [{"distinct_range": 0, "num_eq": 6285713797079237105, "num_range": 0, "upper_bound": "-1556947598"}, {"distinct_range": 31385164055.098545, "num_eq": 40000, "num_range": 50000000000, "upper_bound": "298768277"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "906755287"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 26383684, "row_count": 300000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75494358, "histo_col_type": "", "name": "__auto__", "null_count": 111020930, "row_count": 300000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157727056, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40896066, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7519330, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34394761, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 102385748, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9877, "histo_buckets": [{"distinct_range": 0, "num_eq": 6438209925775351225, "num_range": 0, "upper_bound": "\\\\x06c3c923"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8163, "histo_buckets": [{"distinct_range": 0, "num_eq": 5456065050058366883, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 96927042997.75699, "num_eq": 3464542953658761964, "num_range": 100000000000, "upper_bound": "497807840"}, {"distinct_range": 0, "num_eq": 6015486833071169368, "num_range": 7141572867535749230, "upper_bound": "1308783624"}, {"distinct_range": 100000, "num_eq": 1000, "num_range": 100000, "upper_bound": "2571992096"}, {"distinct_range": 2862563708480360000, "num_eq": 2564147781530734424, "num_range": 3416173659094717325, "upper_bound": "3485799237"}, {"distinct_range": 4694931331904953000, "num_eq": 80000, "num_range": 4694931331904953015, "upper_bound": "3786874581"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 2850, "row_count": 10000}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8935, "histo_col_type": "", "name": "__auto__", "null_count": 3439, "row_count": 10000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9835, "histo_col_type": "", "name": "__auto__", "null_count": 5853, "row_count": 10000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2978, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "02:03:27.978742+05:42:00"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 70000000000, "upper_bound": "04:34:48.833327+04:01:00"}, {"distinct_range": 10000, "num_eq": 5000000000, "num_range": 10000, "upper_bound": "04:32:43.393726-00:10:00"}, {"distinct_range": 400, "num_eq": 4713749562738377684, "num_range": 400, "upper_bound": "23:14:50.462969+07:54:00"}, {"distinct_range": 10654.951848425564, "num_eq": 8547806302529451621, "num_range": 800000, "upper_bound": "10:16:11.448917-06:32:00"}, {"distinct_range": 0, "num_eq": 1700683529367185846, "num_range": 1000000000, "upper_bound": "23:14:32.993232-09:11:00"}, {"distinct_range": 1523098379982995700, "num_eq": 2625753458753062928, "num_range": 7043388833004180926, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2498, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6810, "histo_col_type": "", "name": "__auto__", "null_count": 2302, "row_count": 10000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8698, "histo_col_type": "INT8", "name": "__auto__", "null_count": 8099, "row_count": 10000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8571, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2460, "histo_buckets": [{"distinct_range": 0, "num_eq": 1892048977020567330, "num_range": 0, "upper_bound": "(T\\"x\\u0014\\\\\\r"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 7569644104516861107, "upper_bound": "VZ`\\u0016"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 8698, "row_count": 10000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1261, "histo_buckets": [{"distinct_range": 0, "num_eq": 9121698806694304730, "num_range": 0, "upper_bound": "3559608434"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 6712, "row_count": 10000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5446, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5908, "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9906, "histo_col_type": "", "name": "__auto__", "null_count": 3522, "row_count": 10000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7730, "histo_col_type": "", "name": "__auto__", "null_count": 2097, "row_count": 10000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3972, "histo_col_type": "", "name": "__auto__", "null_count": 6633, "row_count": 10000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5336, "histo_col_type": "", "name": "__auto__", "null_count": 9656, "row_count": 10000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8580, "histo_col_type": "", "name": "__auto__", "null_count": 7558, "row_count": 10000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 997, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 824, "histo_col_type": "", "name": "__auto__", "null_count": 5174, "row_count": 10000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1444, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 309, "histo_col_type": "", "name": "__auto__", "null_count": 9551, "row_count": 10000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 31, "row_count": 40}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 3629334182713422000, "num_eq": 100000, "num_range": 5041049304069800584, "upper_bound": "198937813"}, {"distinct_range": 212522856410356600, "num_eq": 90000000, "num_range": 1367051133962240405, "upper_bound": "526495422"}, {"distinct_range": 38394242198.02326, "num_eq": 800000, "num_range": 100000000000, "upper_bound": "1376306427"}, {"distinct_range": 2090839720992778800, "num_eq": 8000, "num_range": 7159639291093863565, "upper_bound": "1528399166"}, {"distinct_range": 1741807.4408971916, "num_eq": 800000, "num_range": 7000000, "upper_bound": "2296114066"}, {"distinct_range": 1275892677688660000, "num_eq": 600000, "num_range": 5266922274050704584, "upper_bound": "4215907606"}, {"distinct_range": 336.6428119408814, "num_eq": 500, "num_range": 700, "upper_bound": "4231093401"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "-0.5378897190093994"}, {"distinct_range": 7000, "num_eq": 100000000, "num_range": 7000, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 235950220.5051463, "num_eq": 100000000, "num_range": 300000000, "upper_bound": "\\u0005\\u0015}:ct\\u0001$$"}, {"distinct_range": 2902791574135617500, "num_eq": 4198038825103391437, "num_range": 2902791574135617453, "upper_bound": "d-ah\\u001fd;"}, {"distinct_range": 1786527827410251300, "num_eq": 9000000, "num_range": 3948438698151283788, "upper_bound": "sO\\u0011+"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 15, "row_count": 40}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "BIT(3)", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 11, "row_count": 40}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 40}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 7983451113218472368, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 80000000000, "num_eq": 60000000, "num_range": 80000000000, "upper_bound": "63876119"}, {"distinct_range": 4818245826345657000, "num_eq": 6623912096480060, "num_range": 7736331837564580993, "upper_bound": "838927084"}, {"distinct_range": 0, "num_eq": 2403966113839946575, "num_range": 1211588790837968904, "upper_bound": "955365979"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 4361763553390115753, "upper_bound": "2529255090"}, {"distinct_range": 3180712287143708700, "num_eq": 3000, "num_range": 7148605548514819334, "upper_bound": "2862516461"}, {"distinct_range": 10000000000, "num_eq": 90000000, "num_range": 10000000000, "upper_bound": "3104593059"}, {"distinct_range": 90000000000, "num_eq": 8066187896546726603, "num_range": 90000000000, "upper_bound": "3447904506"}, {"distinct_range": 0, "num_eq": 8146146730618199580, "num_range": 8000, "upper_bound": "4289655208"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "", "name": "__auto__", "null_count": 28, "row_count": 40}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('mzhpej', 'utymxp', 'j', 'hsoej', 'c');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('q');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('cb', 'ujb', 'nkwo', 'pvytv', 'qxli', 'b');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('czzxjf', 'nubl', 'pdqbkn', 'ae');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@171cc86d6d84c110197485b5d886d77cddc12399:

        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_10, col3_15 DESC, col3_6 DESC, col3_9, col3_14, col3_1 DESC, col3_2, col3_8 DESC, col3_11 ASC, col3_16, col3_12);
        test_1        |             CREATE INDEX ON table3 (col3_8 DESC, col3_18) STORING (col3_0, col3_3, col3_5, col3_7, col3_11, col3_14, col3_15, col3_16);
        test_1        |             CREATE INDEX ON table3 (col3_12 DESC, col3_17 DESC, col3_0 ASC, col3_2, col3_3, col3_9, col3_16, col3_1, col3_18 DESC, col3_15, col3_7);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_2, col3_18);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_9, col3_0);
        test_1        |             CREATE TABLE table4 (col2_8 DATE NOT NULL, col2_15 BYTES NOT NULL, col2_10 VARCHAR NOT NULL, col2_6 BOX2D NOT NULL, col2_5 BIT(42) NOT NULL, col2_9 DECIMAL NOT NULL, col2_0 INT2 NOT NULL, col4_7 INET NOT NULL, col4_8 REGTYPE NOT NULL, col4_9 REGCLASS NOT NULL, col4_10 BIT(7), col4_11 UUID NOT NULL, col4_12 INTERVAL, col4_13 REGPROC, col4_14 BIT(46) NOT NULL, col4_15 REGNAMESPACE, col4_16 FLOAT8 NOT NULL, PRIMARY KEY (col2_8, col2_15, col2_10, col2_6, col2_5, col2_9, col2_0), FAMILY (col2_10, col2_8), FAMILY (col4_13, col4_7, col4_16), FAMILY (col4_8), FAMILY (col2_6, col2_9), FAMILY (col4_9, col2_0, col2_15, col4_10), FAMILY (col4_11, col4_15), FAMILY (col4_12), FAMILY (col2_5, col4_14)) INTERLEAVE IN PARENT table2 (col2_8, col2_15, col2_10, col2_6, col2_5, col2_9, col2_0);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_13 DESC, col4_12, col2_9, col2_10, col4_8) STORING (col4_10, col4_14, col4_15);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col2_0, col2_15);
        test_1        |             CREATE TABLE table5 (col3_1 INT2 NOT NULL, col3_12 INT8 NOT NULL, col5_2 INT4, col5_3 "char" NULL, col5_4 BIT(3) NOT NULL, col5_5 TIMETZ NULL, PRIMARY KEY (col3_1, col3_12)) INTERLEAVE IN PARENT table3 (col3_1, col3_12);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col3_1, col5_3 ASC, col5_5 ASC) STORING (col5_4);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_4, col5_3);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10240055, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34440402, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48992218, "histo_col_type": "", "name": "__auto__", "null_count": 23915630, "row_count": 90000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24851238, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000000, "num_range": 0, "upper_bound": "00000"}, {"distinct_range": 37634772.59940575, "num_eq": 1335121734128841300, "num_range": 70000000, "upper_bound": "00101"}, {"distinct_range": 300000, "num_eq": 0, "num_range": 300000, "upper_bound": "01001"}, {"distinct_range": 15.696178899211512, "num_eq": 3612020187236495673, "num_range": 80, "upper_bound": "10011"}, {"distinct_range": 0, "num_eq": 3811809731039713686, "num_range": 0, "upper_bound": "10100"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9537746, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4642645, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77835133, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "00001111111001011100000011101010100111"}, {"distinct_range": 10000, "num_eq": 9000000, "num_range": 10000, "upper_bound": "00010010101011011000100001110001111111"}, {"distinct_range": 0, "num_eq": 402204310280954764, "num_range": 4000, "upper_bound": "11001111011000100100111110111001110100"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 7217252842669945737, "upper_bound": "11111011000011110111011001010110111010"}], "histo_col_type": "BIT(38)", "name": "__auto__", "null_count": 55754588, "row_count": 90000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72897130, "histo_buckets": [{"distinct_range": 0, "num_eq": 4768050219092762171, "num_range": 0, "upper_bound": "245309158"}, {"distinct_range": 869212576161567700, "num_eq": 30000000, "num_range": 2531313630557336815, "upper_bound": "1470170953"}, {"distinct_range": 43737120.758041285, "num_eq": 700, "num_range": 60000000, "upper_bound": "1743316679"}, {"distinct_range": 128540499360351380, "num_eq": 300000, "num_range": 128540499360351383, "upper_bound": "1915640491"}, {"distinct_range": 0, "num_eq": 4576923000583779974, "num_range": 5694590169063295018, "upper_bound": "2447879734"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 9000000000, "upper_bound": "2969657535"}, {"distinct_range": 2463443552344169000, "num_eq": 3705113638490902700, "num_range": 8275459510393887840, "upper_bound": "4063327616"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15195077, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35107477, "histo_buckets": [{"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 9000, "num_eq": 80000, "num_range": 9000, "upper_bound": "01:03:10.016533"}, {"distinct_range": 1369279510848751400, "num_eq": 3832198176756905192, "num_range": 1369279510848751425, "upper_bound": "08:41:51.596525"}, {"distinct_range": 700, "num_eq": 700000000, "num_range": 700, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74284059, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "-6217549494031114178"}, {"distinct_range": 5837423295688259000, "num_eq": 4559458192091542280, "num_range": 6170252140149443345, "upper_bound": "-3843108637172624832"}, {"distinct_range": 0, "num_eq": 4360526430504187431, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 179341163655291300, "num_eq": 4407038547172915189, "num_range": 342900360949621536, "upper_bound": "1617568668452871292"}, {"distinct_range": 741454975054645200, "num_eq": 4425156066904347882, "num_range": 741454975054645184, "upper_bound": "2136401891732964155"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 200, "upper_bound": "2865439536334572404"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60236428, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59155175, "histo_col_type": "", "name": "__auto__", "null_count": 63077930, "row_count": 90000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9095246, "histo_col_type": "", "name": "__auto__", "null_count": 65032079, "row_count": 90000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46879540, "histo_col_type": "", "name": "__auto__", "null_count": 5847545, "row_count": 90000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12659846, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 78386887, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39254, "histo_col_type": "", "name": "__auto__", "null_count": 9096, "row_count": 40000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21949, "histo_col_type": "", "name": "__auto__", "null_count": 9008, "row_count": 40000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8630, "histo_col_type": "", "name": "__auto__", "null_count": 22089, "row_count": 40000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25341, "histo_col_type": "", "name": "__auto__", "null_count": 6771, "row_count": 40000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20245, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37310, "histo_buckets": [{"distinct_range": 0, "num_eq": 1636176414325756842, "num_range": 0, "upper_bound": "-8172282126826413460"}, {"distinct_range": 4321219212508866600, "num_eq": 4235359691166647046, "num_range": 5906392172457280806, "upper_bound": "-3182196098671459735"}, {"distinct_range": 20000, "num_eq": 7000000000, "num_range": 20000, "upper_bound": "-1142475696313967233"}, {"distinct_range": 1215834271412575700, "num_eq": 1000000000, "num_range": 1215834271412575812, "upper_bound": "6769692668252907537"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 3000000, "upper_bound": "9223372036854775807"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14622, "histo_col_type": "", "name": "__auto__", "null_count": 9316, "row_count": 40000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29993, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20729, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3883, "histo_buckets": [{"distinct_range": 0, "num_eq": 50816633897968959, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 2759610.086030734, "num_eq": 1303825054769951865, "num_range": 4000000, "upper_bound": "BOX(-1.7404151099270169 -0.7880080329304815,-0.4316332137165906 -0.08676797021029858)"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 2000000, "upper_bound": "BOX(-0.47041605869184105 0.39933954658919935,0.6945772209330814 0.46778245389304796)"}, {"distinct_range": 0, "num_eq": 7935886584753725654, "num_range": 600, "upper_bound": "BOX(-0.29340851067708673 -0.7156041909823969,0.3479338098019521 -0.15156649413708756)"}, {"distinct_range": 0, "num_eq": 2603761174938858768, "num_range": 300000000, "upper_bound": "BOX(-0.2884904750164059 -2.4298355662027076,0.8768292157454606 -1.064733377996185)"}, {"distinct_range": 2540664299916822000, "num_eq": 200000000, "num_range": 7776432626304596209, "upper_bound": "BOX(-0.1774632238100391 0.14004206004893938,1.610005577691984 0.6661962350189934)"}, {"distinct_range": 0, "num_eq": 3931996294021606462, "num_range": 0, "upper_bound": "BOX(0.7237477790756248 -0.17583742089550103,1.5468865093884723 2.229236315678022)"}, {"distinct_range": 8000, "num_eq": 900, "num_range": 8000, "upper_bound": "BOX(0.813478980831603 -0.5907611918856762,1.1609556513606512 0.6932337054504865)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9688, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "1970-12-14"}, {"distinct_range": 7708199099489375000, "num_eq": 3579794959108928902, "num_range": 7708199099489374920, "upper_bound": "1973-05-17"}, {"distinct_range": 6821511870715142000, "num_eq": 1434466792961108011, "num_range": 8896366221995384766, "upper_bound": "1974-09-26"}, {"distinct_range": 0, "num_eq": 4326665142013970370, "num_range": 0, "upper_bound": "1974-11-20"}, {"distinct_range": 379930050687746900, "num_eq": 0, "num_range": 411201568328454810, "upper_bound": "1976-04-29"}, {"distinct_range": 76806047765.63028, "num_eq": 700000000, "num_range": 90000000000, "upper_bound": "1977-08-27"}, {"distinct_range": 5162101964967865000, "num_eq": 7199513886382831635, "num_range": 6801138061961515888, "upper_bound": "1980-11-22"}, {"distinct_range": 0, "num_eq": 3115503982162560968, "num_range": 7428990144448661266, "upper_bound": "1988-09-02"}, {"distinct_range": 3475.6757597670166, "num_eq": 419905201139296022, "num_range": 7000, "upper_bound": "1995-08-07"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24478, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10518, "histo_col_type": "", "name": "__auto__", "null_count": 8987, "row_count": 40000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34420, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14939, "histo_col_type": "", "name": "__auto__", "null_count": 22823, "row_count": 40000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38051, "histo_col_type": "", "name": "__auto__", "null_count": 19031, "row_count": 40000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489552167159870570, "histo_col_type": "", "name": "__auto__", "null_count": 5523865462760872065, "row_count": 7633443861450572658}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7492612153851928478, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7633443861450572658}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2431340813879209892, "histo_col_type": "", "name": "__auto__", "null_count": 5870226570626701322, "row_count": 7633443861450572658}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5663955830951632255, "histo_col_type": "", "name": "__auto__", "null_count": 1369566047946232070, "row_count": 7633443861450572658}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4920676903977357700, "histo_col_type": "", "name": "__auto__", "null_count": 910005578661436777, "row_count": 7633443861450572658}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6277022141663604500, "histo_col_type": "", "name": "__auto__", "null_count": 972600843254432784, "row_count": 7633443861450572658}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7255925306881281861, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7633443861450572658}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7587426756619402339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7633443861450572658}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5624886398268009468, "histo_buckets": [{"distinct_range": 0, "num_eq": 6169767544050813774, "num_range": 0, "upper_bound": "-24126"}, {"distinct_range": 1495480521128140300, "num_eq": 1000, "num_range": 1495480521128140378, "upper_bound": "-16373"}, {"distinct_range": 0, "num_eq": 8900431105096434311, "num_range": 2412987480805538164, "upper_bound": "-9123"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 4630510473308396993, "upper_bound": "-7922"}, {"distinct_range": 6745662.526921711, "num_eq": 395687126404427645, "num_range": 8000000, "upper_bound": "-1"}, {"distinct_range": 10.874524045463746, "num_eq": 6000000, "num_range": 30, "upper_bound": "18819"}, {"distinct_range": 1244333154.9845748, "num_eq": 2626513717963990269, "num_range": 6000000000, "upper_bound": "29033"}, {"distinct_range": 78260508.02459612, "num_eq": 300, "num_range": 100000000, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 7633443861450572658}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6772336459514639949, "histo_col_type": "", "name": "__auto__", "null_count": 3534944061535755465, "row_count": 7633443861450572658}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1533496956146031580, "histo_col_type": "", "name": "__auto__", "null_count": 7449418074941534904, "row_count": 7633443861450572658}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7079083894528609285, "histo_col_type": "", "name": "__auto__", "null_count": 4168481135638337397, "row_count": 7633443861450572658}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3150776006132774761, "histo_col_type": "", "name": "__auto__", "null_count": 5023285286847613392, "row_count": 7633443861450572658}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6510355464626063693, "histo_col_type": "", "name": "__auto__", "null_count": 3363364552244451711, "row_count": 7633443861450572658}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7106357797353950062, "histo_col_type": "", "name": "__auto__", "null_count": 6263066604051120459, "row_count": 7633443861450572658}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7434016792574494003, "histo_col_type": "", "name": "__auto__", "null_count": 4431227034005108717, "row_count": 7633443861450572658}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1347929586000157746, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 610885792173903100, "num_eq": 6904880067669967246, "num_range": 610885792173903060, "upper_bound": "1445373504"}, {"distinct_range": 6799667240797107000, "num_eq": 1833256475695928599, "num_range": 6799667240797107299, "upper_bound": "1624231258"}, {"distinct_range": 600000, "num_eq": 70000000, "num_range": 600000, "upper_bound": "3275989241"}, {"distinct_range": 0, "num_eq": 6066050872021693888, "num_range": 7000000, "upper_bound": "3643144774"}, {"distinct_range": 1476186984912219100, "num_eq": 5509377103251842123, "num_range": 1476186984912219180, "upper_bound": "3682675510"}, {"distinct_range": 900000, "num_eq": 200, "num_range": 900000, "upper_bound": "4174859257"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 2772861633615916329, "row_count": 7633443861450572658}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5211559250432504208, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "2519748530"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 3831851528951116839, "row_count": 7633443861450572658}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7216644678381338235, "histo_buckets": [{"distinct_range": 0, "num_eq": 1850013659931931754, "num_range": 0, "upper_bound": "-6020787474756037528"}, {"distinct_range": 0, "num_eq": 5800335823654677616, "num_range": 4975140557397307004, "upper_bound": "-5439421726441937948"}, {"distinct_range": 323510.2917450744, "num_eq": 3527672492130722780, "num_range": 1000000, "upper_bound": "-32768"}, {"distinct_range": 1000000, "num_eq": 8748327223607164413, "num_range": 1000000, "upper_bound": "2106244349477714489"}, {"distinct_range": 731356385470152200, "num_eq": 1152619370464927349, "num_range": 2291500604896633500, "upper_bound": "2999255190057716232"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 7633443861450572658}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1095095520451598506, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 5181942994527562000, "num_eq": 100000000000, "num_range": 5539495016264613294, "upper_bound": "1970-03-19"}, {"distinct_range": 100000000, "num_eq": 400000000, "num_range": 100000000, "upper_bound": "1972-10-09"}, {"distinct_range": 30, "num_eq": 6621894827698365623, "num_range": 30, "upper_bound": "1979-08-07"}, {"distinct_range": 442124956.8770482, "num_eq": 2703509403258847337, "num_range": 500000000, "upper_bound": "1985-01-24"}, {"distinct_range": 0, "num_eq": 1723488995877924079, "num_range": 0, "upper_bound": "1991-11-05"}, {"distinct_range": 10000000000, "num_eq": 10000000, "num_range": 10000000000, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1597017785769883660, "histo_col_type": "", "name": "__auto__", "null_count": 2641584194209895669, "row_count": 5865216759902529091}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3266469696835169602, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 481218695515488865, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3578373120106888236, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4491724431301951492, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2405130000798669652, "histo_col_type": "", "name": "__auto__", "null_count": 1007087788982880617, "row_count": 5865216759902529091}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 688863021726163295, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1383214121251828773, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 3717230778920201173, "row_count": 5865216759902529091}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4461525581985023339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3030188980858330716, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2362468172172177198, "histo_col_type": "", "name": "__auto__", "null_count": 3729887976298925216, "row_count": 5865216759902529091}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3441319209218773592, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1186996815574270553, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5567920770244717034, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 857734434677927195, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3026094795135487774, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5865216759902529091}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 482, "histo_col_type": "", "name": "__auto__", "null_count": 190, "row_count": 1000}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 349, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558, "histo_col_type": "", "name": "__auto__", "null_count": 703, "row_count": 1000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 786, "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 625, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 662, "histo_col_type": "", "name": "__auto__", "null_count": 160, "row_count": 1000}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_13, col2_9) REFERENCES table3 (col3_2, col3_18);
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col4_14, col2_10) REFERENCES table5 (col5_4, col5_3) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_8, col2_5) REFERENCES table3 (col3_9, col3_0) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_7, col2_15) REFERENCES table4 (col2_0, col2_15) ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table5 ADD FOREIGN KEY (col5_4) REFERENCES table1 (col1_3) ON DELETE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('nstgnz', 'sqax', 'srtti', 'hbw', 'zbmdly');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('puk');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.31s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 REGTYPE NOT NULL, col1_1 INET NOT NULL, col1_2 BIT(20) NOT NULL, col1_3 INT8 NOT NULL, col1_4 TIME NOT NULL, col1_5 INT8 NOT NULL, col1_6 REGNAMESPACE, col1_7 TIMESTAMPTZ NOT NULL, col1_8 INT8[] NULL, PRIMARY KEY (col1_3 DESC, col1_2, col1_4, col1_7 ASC, col1_1 DESC), INDEX (col1_2, col1_1, col1_6 ASC, col1_7 DESC, col1_3 DESC) WHERE (((table1.col1_3 > (-2147483648):::INT8) OR (table1.col1_5 > 32767:::INT8)) OR (table1.col1_4 <= '00:00:00':::TIME)) AND (table1.col1_7 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col1_7 ASC, col1_0 ASC, col1_2 ASC) WHERE (((table1.col1_5 > 0:::INT8) OR (table1.col1_4 <= '24:00:00':::TIME)) AND (table1.col1_7 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table1.col1_3 < 1:::INT8));
        test_1        |             CREATE TABLE table2 (col1_3 INT8 NOT NULL, col1_2 BIT(20) NOT NULL, col1_4 TIME NOT NULL, col1_7 TIMESTAMPTZ NOT NULL, col1_1 INET NOT NULL, col2_5 BIT(23) NOT NULL, col2_6 "char" NULL, col2_7 STRING NULL, col2_8 TIMESTAMPTZ, col2_9 TIMETZ NULL, col2_10 BIT(41), col2_11 FLOAT4 NULL, col2_12 CHAR NOT NULL, col2_13 REGPROCEDURE, col2_14 BOX2D NOT NULL, col2_15 TIMETZ NOT NULL, col2_16 BIT(15), col2_17 TIME, col2_18 INTERVAL NULL, col2_19 REGCLASS NULL, col2_20 TIMESTAMPTZ NOT NULL, PRIMARY KEY (col1_3 DESC, col1_2, col1_4, col1_7 ASC, col1_1 DESC, col2_17 DESC, col2_16 DESC, col2_19, col2_18 ASC, col2_14 DESC, col2_5 ASC, col2_9, col2_11, col2_20), INDEX (col2_11, col1_3, col2_20 DESC, col2_17 DESC, col2_9, col2_13 ASC, col2_8, col2_18 ASC, col1_2, col2_7 ASC, col2_19 DESC, col2_6 DESC, col2_10, col2_12 DESC), UNIQUE (col2_17 DESC, col2_10 ASC, col1_2, col2_9 DESC, col2_8 DESC, col2_16 ASC, col1_3, col1_7 DESC, col2_19 ASC, col2_15, col2_6 ASC, col2_13) WHERE (((((((((((table2.col1_3 < (-2147483648):::INT8) OR (table2.col2_15 >= '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_17 != '24:00:00':::TIME)) AND (table2.col1_7 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_20 >= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table2.col2_6 > e'\'':::STRING)) OR (table2.col2_8 = '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_12 >= 'X':::STRING)) AND (table2.col2_9 < '24:00:00-15:59:00':::TIMETZ)) OR (table2.col1_4 >= '24:00:00':::TIME)) AND (table2.col2_11 <= 1.401298464324817e-45:::FLOAT8)) OR (table2.col2_7 > '"':::STRING), INDEX (col1_3 DESC, col2_19 DESC, col2_13 ASC, col1_1, col2_6, col1_7), INDEX (col2_13 DESC, col1_3 ASC), UNIQUE (col2_13, col2_9 ASC, col2_7, col2_14 DESC, col1_1, col1_7, col1_2, col1_4, col2_6 DESC, col2_11, col2_5 DESC, col2_8 ASC, col2_19 DESC, col2_18 ASC, col2_10 DESC, col2_15, col2_17, col1_3 ASC, col2_16) WHERE (((((((table2.col1_7 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) OR (table2.col1_4 >= '24:00:00':::TIME)) AND (table2.col2_6 <= e'\'':::STRING)) OR (table2.col2_17 < '24:00:00':::TIME)) OR (table2.col2_7 = e'\'':::STRING)) OR (table2.col2_8 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_12 >= e'\'':::STRING)) OR (table2.col2_11 != '+Inf':::FLOAT8), UNIQUE (col2_8, col1_1 ASC, col1_2 ASC, col2_9 ASC, col2_10 ASC, col2_5 ASC, col2_15, col1_7 DESC, col2_13), UNIQUE (col2_12, col1_7 ASC, col2_10 DESC, col2_9, col2_5 ASC, col2_18 ASC, col2_14 DESC, col2_11 ASC, col1_2 DESC, col2_8, col2_19 DESC, col1_3 DESC, col2_20, col2_15, col2_17 ASC, col2_6 DESC, col1_4 ASC, col2_16) STORING (col2_13) WHERE (((((((((((table2.col2_15 = '24:00:00-15:59:00':::TIMETZ) AND (table2.col2_7 < '"':::STRING)) AND (table2.col1_4 > '00:00:00':::TIME)) OR (table2.col2_9 != '00:00:00+15:59:00':::TIMETZ)) AND (table2.col2_17 >= '24:00:00':::TIME)) OR (table2.col2_12 >= '"':::STRING)) AND (table2.col2_6 >= '':::STRING)) AND (table2.col2_8 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col1_3 = 0:::INT8)) AND (table2.col2_20 <= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col1_7 >= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_11 >= 0.0:::FLOAT8), FAMILY (col2_14, col1_3, col2_15, col2_9, col2_19, col2_7, col2_5), FAMILY (col1_7, col2_10, col2_20), FAMILY (col2_16), FAMILY (col2_13), FAMILY (col2_12, col1_2), FAMILY (col2_6, col2_8), FAMILY (col2_17, col2_11, col1_1, col2_18, col1_4)) INTERLEAVE IN PARENT table1 (col1_3, col1_2, col1_4, col1_7, col1_1);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36915292, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 76242264, "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49985517, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "5885796290765046630"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57610075, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 440665, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97649438, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35846250, "histo_col_type": "", "name": "__auto__", "null_count": 87086326, "row_count": 100000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41682962, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "1973-01-26 03:45:41.000007+00:00"}, {"distinct_range": 7418322325956553000, "num_eq": 50000000000, "num_range": 7563150348344325700, "upper_bound": "2018-10-29 06:25:34.000874+00:00"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 2000000, "upper_bound": "2025-12-17 22:36:13.000303+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23455486, "histo_col_type": "", "name": "__auto__", "null_count": 99768280, "row_count": 100000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 20, "row_count": 50}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 50}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "-0.6533978581428528"}, {"distinct_range": 2363966271114472000, "num_eq": 6150357105358052702, "num_range": 2363966271114471801, "upper_bound": "0.2824713885784149"}, {"distinct_range": 2190276087523926300, "num_eq": 900000000, "num_range": 2382185530995945099, "upper_bound": "0.4052334725856781"}, {"distinct_range": 605.3340986519585, "num_eq": 9040536723467206213, "num_range": 800, "upper_bound": "0.7207545042037964"}, {"distinct_range": 0, "num_eq": 8684337915033248650, "num_range": 4017380963863467599, "upper_bound": "2.4354634284973145"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 24, "row_count": 50}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 2282069720338208500, "num_eq": 500000000, "num_range": 4114893628687279188, "upper_bound": "375242582"}, {"distinct_range": 465854.0172181225, "num_eq": 600000, "num_range": 600000, "upper_bound": "510941867"}, {"distinct_range": 30000000000, "num_eq": 800000000, "num_range": 30000000000, "upper_bound": "1888820621"}, {"distinct_range": 69228.26328026825, "num_eq": 8382555148019501888, "num_range": 70000, "upper_bound": "2025328831"}, {"distinct_range": 0, "num_eq": 7714201785609925068, "num_range": 3000000, "upper_bound": "2672864067"}, {"distinct_range": 10000000, "num_eq": 2000000, "num_range": 10000000, "upper_bound": "3384621017"}, {"distinct_range": 1657248243980282600, "num_eq": 709363738646810175, "num_range": 1657248243980282683, "upper_bound": "3511356303"}, {"distinct_range": 3519201388714861000, "num_eq": 60, "num_range": 3519201388714861007, "upper_bound": "4186474473"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 37, "row_count": 50}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 24, "row_count": 50}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 3, "row_count": 50}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 37, "row_count": 50}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "-8434457321605435423"}, {"distinct_range": 90000, "num_eq": 700000, "num_range": 90000, "upper_bound": "-8148730810667577496"}, {"distinct_range": 300, "num_eq": 900000000, "num_range": 300, "upper_bound": "-6252517886905005470"}, {"distinct_range": 2683.574095775568, "num_eq": 700000, "num_range": 5000, "upper_bound": "-3491952588578324580"}, {"distinct_range": 0, "num_eq": 4481831018631038057, "num_range": 4545980585514185421, "upper_bound": "1439577717452740428"}, {"distinct_range": 0, "num_eq": 6188761155608109340, "num_range": 5794670223497582665, "upper_bound": "1985754306127952991"}, {"distinct_range": 511.9523502568017, "num_eq": 6000000000, "num_range": 700, "upper_bound": "3293091412672910518"}, {"distinct_range": 8000000000, "num_eq": 8702904968126672197, "num_range": 8000000000, "upper_bound": "5863788805988216713"}, {"distinct_range": 2967918286.3234224, "num_eq": 3690577102525192913, "num_range": 7000000000, "upper_bound": "7057356215277412556"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_4"], "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": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 17, "row_count": 50}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00+00:00"}, {"distinct_range": 100000000, "num_eq": 7435063552757529807, "num_range": 100000000, "upper_bound": "1975-01-26 00:44:01.000278+00:00"}, {"distinct_range": 22274725.624649305, "num_eq": 1509784018330036146, "num_range": 30000000, "upper_bound": "1975-03-15 13:37:23.000282+00:00"}, {"distinct_range": 20000000, "num_eq": 5752293966310633274, "num_range": 20000000, "upper_bound": "1993-02-23 04:27:34.000908+00:00"}, {"distinct_range": 0, "num_eq": 3978694573137570701, "num_range": 7162212415028834284, "upper_bound": "1997-07-19 10:29:51.000128+00:00"}, {"distinct_range": 0, "num_eq": 80, "num_range": 7804491468185640450, "upper_bound": "2012-09-29 04:16:39.00044+00:00"}, {"distinct_range": 1000, "num_eq": 8208239996491126607, "num_range": 1000, "upper_bound": "2028-06-17 05:56:57.000578+00:00"}, {"distinct_range": 1632550308564861400, "num_eq": 50000000000, "num_range": 3966562582653363361, "upper_bound": "2031-02-25 15:50:17.000083+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 30, "row_count": 50}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 38, "row_count": 50}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "#"}, {"distinct_range": 46.16911013540334, "num_eq": 3957752156760549216, "num_range": 50, "upper_bound": "*"}, {"distinct_range": 6304.125765218535, "num_eq": 400000000, "num_range": 9000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 30000, "upper_bound": "K"}, {"distinct_range": 1616503204823593200, "num_eq": 600000000, "num_range": 4154204727132667475, "upper_bound": "["}, {"distinct_range": 9000, "num_eq": 100, "num_range": 9000, "upper_bound": "z"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_buckets": [{"distinct_range": 0, "num_eq": 4148787249036987228, "num_range": 0, "upper_bound": "03:08:44.996116"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 60000, "upper_bound": "12:31:40.498857"}, {"distinct_range": 3290986298577380000, "num_eq": 6820097329477176026, "num_range": 4090096610205055494, "upper_bound": "14:25:13.412257"}, {"distinct_range": 0, "num_eq": 8282778272618470189, "num_range": 100000000000, "upper_bound": "16:32:54.883986"}, {"distinct_range": 50000000, "num_eq": 3908212673386215110, "num_range": 50000000, "upper_bound": "19:02:53.763209"}, {"distinct_range": 0, "num_eq": 788496879485233409, "num_range": 8000, "upper_bound": "23:24:14.670888"}, {"distinct_range": 0, "num_eq": 5559519096501764628, "num_range": 7582487234275546847, "upper_bound": "23:45:53.856284"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 7968831220424530924, "upper_bound": "23:50:37.360668"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 22, "row_count": 50}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('ykt');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('m', 'riv', 'zhrbgg', 'dcoxw');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('etedv', 'wzjy', 'mcm', 'gozvz');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('re');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@e4ac407b14ed315662050f09670707cdf8ad9bfe:

        test_1        |             CREATE TABLE table2 (col1_9 UUID NOT NULL, col1_7 REGTYPE NOT NULL, col1_14 INT4 NOT NULL, col1_3 REGNAMESPACE NOT NULL, col2_4 OID NOT NULL, col2_5 DECIMAL NULL, col2_6 TIMESTAMP NULL, col2_7 BIT(17) NOT NULL, col2_8 TIME NULL, PRIMARY KEY (col1_9, col1_7, col1_14, col1_3), FAMILY (col2_5, col1_3, col1_7), FAMILY (col1_14), FAMILY (col2_4), FAMILY (col2_6, col2_8), FAMILY (col2_7), FAMILY (col1_9)) INTERLEAVE IN PARENT table1 (col1_9, col1_7, col1_14, col1_3);
        test_1        |             CREATE INDEX ON table2 (col1_7 ASC, col2_5 DESC, col1_9, col1_3, col1_14 DESC, col2_7 DESC, col2_4 ASC, col2_8 DESC, col2_6);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_14 ASC, col1_7) STORING (col2_6, col2_7);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_14, col1_3 DESC, col1_9, col1_7 DESC, col2_7 DESC, col2_6, col2_8, col2_4 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_8 ASC, col1_9 ASC, col2_5 DESC) STORING (col2_7);
        test_1        |             CREATE TABLE table3 (col3_0 TIMESTAMPTZ[] NOT NULL, col3_1 VARCHAR NOT NULL, col3_2 UUID NOT NULL, col3_3 REGPROC NOT NULL, col3_4 REGCLASS NOT NULL, col3_5 INT2 NULL, col3_6 REGNAMESPACE NOT NULL, col3_7 REGNAMESPACE NOT NULL, col3_8 INT8 NOT NULL, col3_9 FLOAT4 NOT NULL, col3_10 DECIMAL NOT NULL, PRIMARY KEY (col3_7, col3_8, col3_1, col3_6, col3_10, col3_3, col3_4));
        test_1        |             CREATE INDEX ON table3 (col3_3 DESC, col3_9);
        test_1        |             CREATE INDEX ON table3 (col3_2, col3_1, col3_4 DESC, col3_6, col3_3 DESC, col3_10 DESC, col3_9);
        test_1        |             CREATE INDEX ON table3 (col3_1, col3_4 ASC, col3_7, col3_3 ASC, col3_2 DESC, col3_8 DESC, col3_5 ASC, col3_10 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_9, col3_4, col3_7 DESC, col3_3, col3_10 ASC, col3_5 ASC, col3_8 DESC, col3_6 DESC, col3_2);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85699, "histo_col_type": "", "name": "__auto__", "null_count": 185851, "row_count": 300000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 290438, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41986, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 226372, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 158579, "histo_col_type": "", "name": "__auto__", "null_count": 274645, "row_count": 300000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 259770, "histo_col_type": "", "name": "__auto__", "null_count": 258389, "row_count": 300000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 144557, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33373, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 275491, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 231627, "histo_buckets": [{"distinct_range": 0, "num_eq": 2135215354197977517, "num_range": 0, "upper_bound": "167.24.44.79/6"}, {"distinct_range": 2403966383919942000, "num_eq": 70000, "num_range": 5308386631621773208, "upper_bound": "191f:4f94:b417:85cf:8a9c:32b2:93fb:971e/3"}, {"distinct_range": 0, "num_eq": 2584684224596550663, "num_range": 20000000000, "upper_bound": "9ba3:d838:3abc:1956:3894:3b43:72b:38b/82"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258141, "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 236883, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 264379, "histo_col_type": "", "name": "__auto__", "null_count": 147904, "row_count": 300000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142955, "histo_col_type": "", "name": "__auto__", "null_count": 161337, "row_count": 300000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184295, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51967, "histo_buckets": [{"distinct_range": 0, "num_eq": 4896701242722090936, "num_range": 0, "upper_bound": "-0.4036230038546822"}, {"distinct_range": 767342357404366100, "num_eq": 3524495112430264519, "num_range": 767342357404366054, "upper_bound": "0.3800753515473081"}, {"distinct_range": 3940.3423206646353, "num_eq": 100, "num_range": 6000, "upper_bound": "0.9916169353388836"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 25297, "row_count": 300000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84378, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47502, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 563659, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "01:58:57.98286"}, {"distinct_range": 4947067175515129000, "num_eq": 8425899467263485962, "num_range": 4947067175515128515, "upper_bound": "09:32:56.029626"}, {"distinct_range": 10000000, "num_eq": 30000, "num_range": 10000000, "upper_bound": "11:13:57.773127"}, {"distinct_range": 100000000, "num_eq": 600, "num_range": 100000000, "upper_bound": "19:51:24.481331"}, {"distinct_range": 3025860739181861400, "num_eq": 3305630457026440211, "num_range": 4098707570488771889, "upper_bound": "22:12:57.836128"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 701244, "row_count": 2000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1438140, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "1630415527"}, {"distinct_range": 257191338634968060, "num_eq": 1000, "num_range": 581881467175743523, "upper_bound": "2080974831"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402991, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1920415, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 255642, "histo_col_type": "", "name": "__auto__", "null_count": 1428539, "row_count": 2000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 968877, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 6941.149597760384, "num_eq": 1692972308603006763, "num_range": 7000, "upper_bound": "121cdb99-c66a-45c5-b39d-bd05b5d25c34"}, {"distinct_range": 4649492077.3333, "num_eq": 8332897951681366999, "num_range": 40000000000, "upper_bound": "4977ba13-7c5d-459d-9bf3-11fd037e031e"}, {"distinct_range": 410.4460169129369, "num_eq": 5000, "num_range": 700, "upper_bound": "52dcbd67-f678-4fe6-96cf-3b2ea9ed3fdc"}, {"distinct_range": 300000, "num_eq": 6191974670011478538, "num_range": 300000, "upper_bound": "86ddaf3c-2718-46b1-91b6-98bcf1533a51"}, {"distinct_range": 0, "num_eq": 8115904348440234124, "num_range": 9133913789199457996, "upper_bound": "8cfa7873-403a-4409-9e92-2abb1e53a89e"}, {"distinct_range": 378935159377080100, "num_eq": 80000000000, "num_range": 444771139163462791, "upper_bound": "fd1878c4-a418-4bef-9b77-ed1855c7107c"}, {"distinct_range": 0, "num_eq": 5681772706163118083, "num_range": 7799502274816624249, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1630430, "histo_buckets": [{"distinct_range": 0, "num_eq": 2650768856868230970, "num_range": 0, "upper_bound": "1744484133"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 719231, "histo_col_type": "", "name": "__auto__", "null_count": 134816, "row_count": 2000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 80206962068, "histo_buckets": [{"distinct_range": 0, "num_eq": 6393396224954901814, "num_range": 0, "upper_bound": "a2e60155-4a77-4799-b679-6e9573584293"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 100, "upper_bound": "baf74e81-85fc-4c4c-b1b2-fdc32a3d2f6b"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82543923691, "histo_buckets": [{"distinct_range": 0, "num_eq": 4396171675703396886, "num_range": 0, "upper_bound": "90956774"}, {"distinct_range": 63220.44989500625, "num_eq": 3223082297623607537, "num_range": 900000, "upper_bound": "1177624739"}, {"distinct_range": 0, "num_eq": 800, "num_range": 1000, "upper_bound": "1232669196"}, {"distinct_range": 300, "num_eq": 100000, "num_range": 300, "upper_bound": "1411493208"}, {"distinct_range": 7.076776965494441, "num_eq": 4968472968360677823, "num_range": 20, "upper_bound": "1631056444"}, {"distinct_range": 90000, "num_eq": 30000, "num_range": 90000, "upper_bound": "2240720239"}, {"distinct_range": 30000000000, "num_eq": 5000075019584812430, "num_range": 30000000000, "upper_bound": "2522618975"}, {"distinct_range": 3806737665.938144, "num_eq": 20000, "num_range": 4000000000, "upper_bound": "2770326412"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 30000000, "upper_bound": "4125401254"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2646770482, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1923345458699759888, "num_range": 4000000000, "upper_bound": "325585014"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47363732685, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1383850115, "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": 87036135273, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "\\u000e\\u0019"}, {"distinct_range": 900000, "num_eq": 80000000000, "num_range": 900000, "upper_bound": ",L*\'\\u001f6"}, {"distinct_range": 4928179.272231471, "num_eq": 4757397028909801164, "num_range": 40000000, "upper_bound": "_5("}, {"distinct_range": 1879223375872256800, "num_eq": 7834164212070645665, "num_range": 1879223375872256889, "upper_bound": "egOr39U"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69802193758, "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": 76934307506, "histo_col_type": "", "name": "__auto__", "null_count": 26266396326, "row_count": 90000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5094455213, "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": 62743567602, "histo_buckets": [{"distinct_range": 0, "num_eq": 3862237481563833882, "num_range": 0, "upper_bound": "0.6759721636772156"}, {"distinct_range": 0, "num_eq": 8829498483175769894, "num_range": 200000000, "upper_bound": "1.3847509622573853"}, {"distinct_range": 68.31539565797459, "num_eq": 7184733386584043153, "num_range": 100, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33471482672, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('votd', 'um', 'rb', 'hyd');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('uddbsg', 'wsf', 'r', 'ryome', 'cwcjaa', 'hrvlo');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('cass', 'ccpjq', 'dnhh', 'zogg');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('zw', 'xwfbk', 'bvqzv');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('hsdkn', 'zp', 'll', 'etwiky', 'ub', 'jdg');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.18s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 TIMESTAMP NOT NULL, col1_1 BIT(30) NOT NULL, col1_2 REGCLASS NOT NULL, col1_3 TIME NULL, col1_4 UUID NOT NULL, col1_5 BIT(23) NOT NULL, col1_6 REGTYPE NOT NULL, col1_7 TIMESTAMPTZ NOT NULL, col1_8 TIMETZ NOT NULL, col1_9 UUID NOT NULL, PRIMARY KEY (col1_9, col1_5 DESC, col1_2 DESC, col1_7 DESC, col1_6 DESC, col1_0, col1_8 DESC, col1_1 DESC), UNIQUE (col1_9 ASC, col1_2 DESC, col1_3 DESC, col1_8, col1_0, col1_1 ASC, col1_4, col1_7, col1_6) WHERE (table1.col1_7 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ) AND (table1.col1_8 != '24:00:00-15:59:00':::TIMETZ), INDEX (col1_6 DESC, col1_1 ASC) WHERE ((table1.col1_3 <= '24:00:00':::TIME) AND (table1.col1_7 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_8 <= '24:00:00-15:59:00':::TIMETZ), UNIQUE (col1_5 DESC, col1_1, col1_8) WHERE (((table1.col1_0 = '-4713-11-24 00:00:00':::TIMESTAMP) OR (table1.col1_3 = '00:00:00':::TIME)) AND (table1.col1_7 < '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_8 > '24:00:00-15:59:00':::TIMETZ), INDEX (col1_1 DESC, col1_5 ASC, col1_2 DESC, col1_0 ASC) STORING (col1_3) WHERE (table1.col1_7 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table1.col1_0 >= '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_6 DESC, col1_2 DESC, col1_9 DESC, col1_3, col1_5) STORING (col1_4) WHERE (((table1.col1_0 >= '294276-12-31 23:59:59.999999':::TIMESTAMP) AND (table1.col1_7 >= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_3 != '24:00:00':::TIME)) OR (table1.col1_8 < '24:00:00-15:59:00':::TIMETZ), INDEX (col1_0 DESC, col1_4, col1_1 DESC, col1_6 ASC, col1_3, col1_9, col1_8 DESC) WHERE (((table1.col1_3 <= '00:00:00':::TIME) OR (table1.col1_8 < '00:00:00+15:59:00':::TIMETZ)) AND (table1.col1_0 <= '0001-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_7 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ), UNIQUE (col1_5, col1_3) WHERE ((table1.col1_7 > '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ) OR (table1.col1_8 >= '00:00:00+15:59:00':::TIMETZ)) OR (table1.col1_3 = '00:00:00':::TIME), INDEX (col1_7, col1_0, col1_4 DESC, col1_9 ASC, col1_5, col1_2) STORING (col1_3) WHERE (((table1.col1_3 <= '24:00:00':::TIME) AND (table1.col1_0 >= '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table1.col1_7 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table1.col1_8 < '00:00:00+15:59:00':::TIMETZ), UNIQUE (col1_0 DESC, col1_6, col1_8 ASC, col1_5 DESC, col1_1, col1_9, col1_3));
        test_1        |             CREATE TABLE table2 (col2_0 REGPROC NOT NULL, col2_1 FLOAT8 NULL, col2_2 DATE NOT NULL, col2_3 REGNAMESPACE NOT NULL, col2_4 REGNAMESPACE NOT NULL, col2_5 TIMESTAMPTZ NULL, col2_6 FLOAT4 NOT NULL, col2_7 "char" NOT NULL, col2_8 CHAR NOT NULL, col2_9 VARCHAR NOT NULL, col2_10 TIMETZ NOT NULL, col2_11 FLOAT4, col2_12 DECIMAL NOT NULL, col2_13 CHAR NOT NULL, col2_14 FLOAT8 NOT NULL, col2_15 VARCHAR, col2_16 INT8 NOT NULL, col2_17 TIME NOT NULL, col2_18 VARCHAR NOT NULL, PRIMARY KEY (col2_3 ASC, col2_6 ASC, col2_4 ASC, col2_13, col2_0, col2_18, col2_16 DESC, col2_10 ASC, col2_8 DESC, col2_7 DESC, col2_2 DESC, col2_14 ASC, col2_12, col2_9 DESC), FAMILY (col2_16, col2_7), FAMILY (col2_17, col2_13, col2_8, col2_3), FAMILY (col2_15), FAMILY (col2_12), FAMILY (col2_1, col2_14, col2_5), FAMILY (col2_11), FAMILY (col2_2), FAMILY (col2_0), FAMILY (col2_4, col2_6), FAMILY (col2_18, col2_9, col2_10));
        test_1        |             CREATE TABLE table3 (col2_3 REGNAMESPACE NOT NULL, col2_6 FLOAT4 NOT NULL, col2_4 REGNAMESPACE NOT NULL, col2_13 CHAR NOT NULL, col2_0 REGPROC NOT NULL, col2_18 VARCHAR NOT NULL, col2_16 INT8 NOT NULL, col2_10 TIMETZ NOT NULL, col2_8 CHAR NOT NULL, col2_7 "char" NOT NULL, col2_2 DATE NOT NULL, col2_14 FLOAT8 NOT NULL, col2_12 DECIMAL NOT NULL, col2_9 VARCHAR NOT NULL, col3_14 INT2, col3_15 REGNAMESPACE NOT NULL, col3_16 DECIMAL NOT NULL, PRIMARY KEY (col2_3 ASC, col2_6 ASC, col2_4 ASC, col2_13, col2_0, col2_18, col2_16 DESC, col2_10 ASC, col2_8 DESC, col2_7 DESC, col2_2 DESC, col2_14 ASC, col2_12, col2_9 DESC, col3_16, col3_14 ASC), UNIQUE (col2_7 ASC, col2_10) STORING (col3_15) WHERE ((((((table3.col2_7 > e'\'':::STRING) AND (table3.col2_6 >= 1.0:::FLOAT8)) OR (table3.col2_14 < 3.4028234663852886e+38:::FLOAT8)) OR (table3.col2_9 < '"':::STRING)) AND (table3.col3_14 = (-1):::INT8)) OR (table3.col2_2 < '-infinity':::DATE)) AND (table3.col2_13 = '"':::STRING), INDEX (col2_3, col2_7 ASC, col2_6, col2_10 DESC, col2_14 ASC, col3_15, col2_18 ASC, col2_8 ASC) WHERE ((((((((((((table3.col2_6 != 1.0:::FLOAT8) OR (table3.col3_16 < 'Infinity':::DECIMAL)) OR (table3.col2_8 = e'\'':::STRING)) AND (table3.col2_12 >= (-1):::DECIMAL)) OR (table3.col2_2 < '-infinity':::DATE)) OR (table3.col3_14 != (-1):::INT8)) AND (table3.col2_13 > e'\x00':::STRING)) AND (table3.col2_9 = '':::STRING)) AND (table3.col2_16 = (-1):::INT8)) OR (table3.col2_18 > '"':::STRING)) AND (table3.col2_14 != 1.7976931348623157e+308:::FLOAT8)) AND (table3.col2_10 != '00:00:00+15:59:00':::TIMETZ)) OR (table3.col2_7 = e'\'':::STRING), UNIQUE (col2_18 DESC, col2_0 DESC, col2_13, col2_2 ASC, col2_3, col2_9 DESC, col2_12, col2_10 DESC, col3_15, col3_16, col2_8 DESC, col2_14 ASC, col2_7 ASC, col2_4 ASC, col2_16 DESC, col2_6 ASC, col3_14) WHERE ((((((((((table3.col2_10 = '24:00:00-15:59:00':::TIMETZ) OR (table3.col2_13 <= '"':::STRING)) OR (table3.col2_16 >= (-1):::INT8)) OR (table3.col2_7 = '':::STRING)) AND (table3.col3_16 = 'Infinity':::DECIMAL)) AND (table3.col2_14 <= 3.4028234663852886e+38:::FLOAT8)) OR (table3.col2_9 != 'X':::STRING)) OR (table3.col2_2 = '5874897-12-31':::DATE)) AND (table3.col2_12 = 0:::DECIMAL)) AND (table3.col3_14 <= (-1):::INT8)) OR (table3.col2_18 < '':::STRING), FAMILY (col2_9), FAMILY (col2_18), FAMILY (col2_16, col2_10, col2_3, col2_4, col2_0), FAMILY (col2_2), FAMILY (col3_15, col2_14), FAMILY (col2_7, col3_14, col2_13, col2_8, col2_12, col3_16, col2_6)) INTERLEAVE IN PARENT table2 (col2_3, col2_6, col2_4, col2_13, col2_0, col2_18, col2_16, col2_10, col2_8, col2_7, col2_2, col2_14, col2_12, col2_9);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19824123, "histo_buckets": [{"distinct_range": 0, "num_eq": 3412347818958548599, "num_range": 0, "upper_bound": "010001001001000111011110000110"}, {"distinct_range": 16636804204.704023, "num_eq": 5689563680731235749, "num_range": 40000000000, "upper_bound": "110001101100110111101011010011"}, {"distinct_range": 8345627488963273000, "num_eq": 400000000, "num_range": 8345627488963272910, "upper_bound": "111010000101010011001000111000"}], "histo_col_type": "BIT(30)", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72293922, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21577976, "histo_col_type": "", "name": "__auto__", "null_count": 69227735, "row_count": 100000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34139603, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8002249, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "00000000000000000000000"}, {"distinct_range": 1114771167233462000, "num_eq": 6845885287913250574, "num_range": 5715327080127929794, "upper_bound": "01111111111111111111111"}, {"distinct_range": 2734090531585431000, "num_eq": 9000000000, "num_range": 8238969232298040676, "upper_bound": "11000011101001110101100"}, {"distinct_range": 2743603.6484721075, "num_eq": 100000000000, "num_range": 3000000, "upper_bound": "11011100100010100110100"}], "histo_col_type": "BIT(23)", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87941456, "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9736513, "histo_buckets": [{"distinct_range": 0, "num_eq": 2881074013663038558, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 4673369406398900737, "num_range": 8000000, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 10000000000, "num_eq": 4954609209561507714, "num_range": 10000000000, "upper_bound": "1970-08-25 15:24:35.000681"}, {"distinct_range": 5565780837210426000, "num_eq": 8000, "num_range": 5565780837210426799, "upper_bound": "1988-12-19 19:02:30.000973"}, {"distinct_range": 7949622461689668000, "num_eq": 2000, "num_range": 8128011798779979740, "upper_bound": "2013-12-04 00:52:11.000563"}, {"distinct_range": 4399501481408548400, "num_eq": 7430019000054368300, "num_range": 4399501481408548557, "upper_bound": "2013-12-19 12:00:02.0003"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 293136999538016529, "upper_bound": "2017-10-01 17:30:13.000417"}, {"distinct_range": 3099785.567810703, "num_eq": 2995769576176836883, "num_range": 4000000, "upper_bound": "2021-06-14 20:08:27.000115"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19562904, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1725977663075645700, "num_eq": 117263818339361513, "num_range": 1725977663075645581, "upper_bound": "367599757"}, {"distinct_range": 0, "num_eq": 6305238023466894175, "num_range": 1894592614513694501, "upper_bound": "865918134"}, {"distinct_range": 47691.85714083942, "num_eq": 670170653368703432, "num_range": 100000, "upper_bound": "1177279431"}, {"distinct_range": 1243131742059812400, "num_eq": 0, "num_range": 2402880897083660054, "upper_bound": "1763886721"}, {"distinct_range": 0, "num_eq": 8866281570904561478, "num_range": 2000000000, "upper_bound": "2112056429"}, {"distinct_range": 20000, "num_eq": 6789036911090074525, "num_range": 20000, "upper_bound": "2658431339"}, {"distinct_range": 1673986907412727300, "num_eq": 2000000, "num_range": 6296892951770673902, "upper_bound": "4239262980"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70565516, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4839064, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 2359923274179788140, "num_range": 8000000000, "upper_bound": "50d4d3b4-103c-4115-a6e8-b43a8b870b54"}, {"distinct_range": 6000, "num_eq": 900000000, "num_range": 6000, "upper_bound": "9f51cee1-8512-4ee9-bc17-89c80cd2307a"}, {"distinct_range": 4052608872245673000, "num_eq": 10, "num_range": 5415489989845580066, "upper_bound": "b9ed5650-b07f-4647-8ef3-2417cf7c6911"}, {"distinct_range": 87542.52300771294, "num_eq": 6000000, "num_range": 100000, "upper_bound": "c116bc39-5a53-4498-88fa-c8a6f7b23d22"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 100000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1182743925637295195, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4087270194017277040, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6162538157066995609, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2719501510930675810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1673135543915770298, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3610216913372461893, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6962589880978750711, "histo_col_type": "", "name": "__auto__", "null_count": 2303176892092045530, "row_count": 8473136832933893760}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1678033747303397438, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5816420615045313647, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 907984968693510893, "histo_col_type": "", "name": "__auto__", "null_count": 5601453185810229211, "row_count": 8473136832933893760}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8254022923853771403, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5489760229084953254, "histo_col_type": "", "name": "__auto__", "null_count": 2135460554888781750, "row_count": 8473136832933893760}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4886860691106562110, "histo_buckets": [{"distinct_range": 0, "num_eq": 5717899436426659749, "num_range": 0, "upper_bound": "1588505656"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 3000000, "upper_bound": "1967930060"}, {"distinct_range": 0, "num_eq": 7326601836652020025, "num_range": 0, "upper_bound": "3575540362"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 100000, "upper_bound": "3697246005"}, {"distinct_range": 0, "num_eq": 6525997617261704245, "num_range": 0, "upper_bound": "4196370951"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2459519407716863767, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 481522395958103943, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7752631953452948397, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5204720889571120849, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6180821263729515083, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8473136832933893760}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1795200266960532329, "histo_col_type": "", "name": "__auto__", "null_count": 2692368473927457509, "row_count": 8473136832933893760}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1368572608400561119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1723902936494188372, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1475410151434249415, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1866445916778847986, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 294407056214010813, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1468048883091374760, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1749036378800124247, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1258334166109528935, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69584039672964596, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1263793045538652753, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "1211229123"}, {"distinct_range": 2181879753497008600, "num_eq": 100000000000, "num_range": 2725802868387428656, "upper_bound": "2813102961"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 600000000, "upper_bound": "3333552675"}, {"distinct_range": 3909675795.87574, "num_eq": 8942919659541080328, "num_range": 6000000000, "upper_bound": "4212118198"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2368996805246580798, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 7787099859956995120, "num_range": 50000000, "upper_bound": "\\u0013:2\x7fy"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 5764781375131834590, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 421015628548562216, "num_range": 9029660006152700405, "upper_bound": "D\\u0014\\u0012\\u000c"}, {"distinct_range": 4.236988908819964, "num_eq": 2136278443030878283, "num_range": 80, "upper_bound": "P@!\\u000cL^E!"}, {"distinct_range": 2989728841554398700, "num_eq": 7518763806102834226, "num_range": 2989728841554398564, "upper_bound": "r_y"}, {"distinct_range": 172.6771224851679, "num_eq": 700000, "num_range": 200, "upper_bound": "v&)5?"}, {"distinct_range": 20000000, "num_eq": 1535733630284488418, "num_range": 20000000, "upper_bound": "x\\u001f\\tYGk\\u0010"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 794204952132977017, "histo_buckets": [{"distinct_range": 0, "num_eq": 518892566584755210, "num_range": 0, "upper_bound": "\\u001c"}, {"distinct_range": 70000000000, "num_eq": 500000000, "num_range": 70000000000, "upper_bound": "3"}, {"distinct_range": 8883483751537667000, "num_eq": 60, "num_range": 8883483751537666656, "upper_bound": "4"}, {"distinct_range": 7976324450167516000, "num_eq": 400000000, "num_range": 7976324450167516074, "upper_bound": "M"}, {"distinct_range": 0, "num_eq": 8036461527549072041, "num_range": 4075887275025967903, "upper_bound": "\\\\"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 80, "upper_bound": "d"}, {"distinct_range": 5221548800172676000, "num_eq": 4000000000, "num_range": 5221548800172675836, "upper_bound": "z"}, {"distinct_range": 20000, "num_eq": 4644039675824493637, "num_range": 20000, "upper_bound": "\U00002603"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1190323974397509339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 795127374351390125, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 524275731601645281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1020463406221313745, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2676532944595763427}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 814653196062713908, "histo_col_type": "", "name": "__auto__", "null_count": 725448625436794748, "row_count": 2676532944595763427}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('rckdlf', 'ocyi', 'oj');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('u', 'aikoh', 'ywek', 'nxzbu', 'c', 'gp');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('v');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('k', 'wsabqb', 'ubtl', 'gnkkb', 'lssq', 'dbxdp');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('mvoth', 'f', 'fuhbm', 'nc');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | Loading PostGIS extensions into postgres
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@0e6727832d58faf0f900601cd6fa6807e0a2ba75:


        test_1        |             CREATE TABLE table5 (col5_0 DECIMAL, col5_1 TIMETZ NULL, col5_2 INTERVAL NOT NULL, col5_3 FLOAT8 NOT NULL, col5_4 BOX2D);
        test_1        |             CREATE INDEX ON table5 (col5_2, col5_1 DESC);
        test_1        |             CREATE INDEX ON table5 (col5_1 DESC, col5_0 DESC, col5_4 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_0 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_0 DESC, col5_2 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('fpcc', 'yo');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('fjzujg', 'cs', 'pqv', 'hqfy', 'ivc');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('wbbd');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.80s)
        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        |             CREATE TABLE table1 (col1_0 TIMESTAMPTZ NOT NULL, col1_1 BOOL NOT NULL, col1_2 BIT(45) NULL, col1_3 REGPROCEDURE NOT NULL, col1_4 BOOL[] NULL, col1_5 BOX2D NULL, col1_6 REGCLASS NULL, col1_7 BOX2D NOT NULL, col1_8 CHAR, col1_9 TIME NULL, col1_10 CHAR, UNIQUE (col1_10, col1_5, col1_9, col1_6, col1_7, col1_1, col1_2 DESC, col1_3 DESC, col1_0 DESC) STORING (col1_4, col1_8) WHERE ((table1.col1_0 < '3000-01-01 00:00:00+00:00') OR (table1.col1_8 <= e'\'')) OR table1.col1_1, INDEX (col1_5 DESC, col1_8 ASC) STORING (col1_0, col1_1, col1_3, col1_4, col1_6, col1_7, col1_10) WHERE table1.col1_9 >= '00:00:00', UNIQUE (col1_6 ASC, col1_7 ASC, col1_8 DESC, col1_1 ASC, col1_0 ASC, col1_5 ASC, col1_2 ASC) STORING (col1_3, col1_4) WHERE ((((table1.col1_8 >= e'\U00002603':::STRING) OR (table1.col1_9 <= '24:00:00':::TIME)) OR (NOT table1.col1_1)) OR (table1.col1_0 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_10 = '"':::STRING), INDEX (col1_0 ASC, col1_1 ASC, col1_2, col1_6 DESC, col1_8 DESC, col1_10 DESC, col1_3, col1_5) WHERE ((((table1.col1_8 >= '"':::STRING) AND (table1.col1_9 != '24:00:00':::TIME)) OR (table1.col1_10 > 'X':::STRING)) OR table1.col1_1) OR (table1.col1_0 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col1_3 ASC, col1_1 ASC, col1_0 DESC, col1_5 DESC) STORING (col1_8, col1_10) WHERE table1.col1_8 >= e'\U00002603':::STRING, INDEX (col1_5 ASC, col1_8, col1_6, col1_7, col1_9 DESC, col1_1, col1_0 DESC, col1_10 DESC) WHERE ((((table1.col1_10 != e'\x00':::STRING) OR (table1.col1_0 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR table1.col1_1) OR (table1.col1_9 >= '24:00:00':::TIME)) AND (table1.col1_8 >= e'\'':::STRING), UNIQUE (col1_9 ASC, col1_0, col1_3 ASC, col1_6 ASC, col1_10 DESC, col1_7 DESC, col1_8 DESC, col1_5 ASC, col1_2 DESC, col1_1) STORING (col1_4) WHERE ((((table1.col1_9 < '00:00:00':::TIME) OR (table1.col1_0 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_10 >= e'\U00002603':::STRING)) OR (NOT table1.col1_1)) OR (table1.col1_8 = e'\'':::STRING), UNIQUE (col1_3, col1_5 ASC, col1_9, col1_8 DESC, col1_6 ASC) STORING (col1_0, col1_1, col1_4, col1_7) WHERE ((table1.col1_9 >= '24:00:00':::TIME) OR (table1.col1_0 = '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (NOT table1.col1_1), FAMILY (col1_6), FAMILY (col1_7), FAMILY (col1_5, col1_8), FAMILY (col1_3, col1_9), FAMILY (col1_4), FAMILY (col1_0, col1_1, col1_2), FAMILY (col1_10));
        test_1        |             CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 VARCHAR NOT NULL, col2_2 REGCLASS NOT NULL, col2_3 REGPROCEDURE, col2_4 INET, col2_5 TIME NOT NULL, col2_6 DECIMAL NOT NULL, col2_7 STRING NOT NULL, col2_8 TIMETZ, PRIMARY KEY (col2_6, col2_1, col2_7 DESC, col2_5 ASC, col2_0 ASC, col2_2), UNIQUE (col2_1 ASC) WHERE (((((table2.col2_0 = '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table2.col2_8 > '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_7 > 'X':::STRING)) AND (table2.col2_5 <= '00:00:00':::TIME)) AND (table2.col2_6 >= 'Infinity':::DECIMAL)) AND (table2.col2_1 >= e'\x00':::STRING), UNIQUE (col2_5, col2_1 DESC, col2_2 DESC, col2_6 ASC, col2_0, col2_7 ASC, col2_4, col2_8 ASC, col2_3 DESC) WHERE (((((table2.col2_7 = '"') AND (table2.col2_8 > '00:00:00+15:59:00')) OR (table2.col2_5 >= '24:00:00')) AND (table2.col2_6 >= -Infinity)) OR (table2.col2_1 >= '')) AND (table2.col2_0 <= '294276-12-31 23:59:59.999999+00:00'), INDEX (col2_3, col2_8) STORING (col2_4) WHERE (table2.col2_5 > '24:00:00') OR (table2.col2_6 >= Infinity), INDEX (col2_3 DESC) WHERE (((((table2.col2_1 <= e'\U00002603') AND (table2.col2_5 <= '24:00:00')) OR (table2.col2_6 < NaN)) OR (table2.col2_8 >= '24:00:00-15:59:00')) AND (table2.col2_0 > '-4713-11-24 00:00:00+00:00')) OR (table2.col2_7 > e'\x00'), INDEX (col2_3 DESC, col2_2 DESC, col2_7 DESC, col2_1 ASC, col2_4 DESC, col2_0) WHERE table2.col2_0 = '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ, UNIQUE (col2_1 ASC, col2_0, col2_5, col2_6 DESC, col2_7 DESC, col2_8, col2_2, col2_3) STORING (col2_4) WHERE table2.col2_5 != '24:00:00':::TIME, INDEX (col2_7 ASC, col2_4 ASC, col2_5 DESC, col2_8 ASC, col2_2 ASC, col2_3 DESC, col2_0 DESC, col2_6) WHERE ((((table2.col2_8 != '24:00:00-15:59:00':::TIMETZ) OR (table2.col2_7 < '':::STRING)) AND (table2.col2_6 != 'Infinity':::DECIMAL)) OR (table2.col2_1 >= e'\x00':::STRING)) OR (table2.col2_0 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col2_4, col2_7 DESC, col2_1 ASC, col2_2 DESC, col2_5) STORING (col2_3) WHERE table2.col2_1 <= '"', FAMILY (col2_4), FAMILY (col2_2), FAMILY (col2_5, col2_7), FAMILY (col2_1, col2_3), FAMILY (col2_6, col2_0, col2_8));
        test_1        |             CREATE TABLE table3 (col3_0 NAME, col3_1 REGCLASS, col3_2 FLOAT4 NULL, col3_3 TIMESTAMPTZ NULL, col3_4 STRING, col3_5 INT8 NOT NULL, col3_6 INT8 NOT NULL, col3_7 INTERVAL NULL, FAMILY (col3_7), FAMILY (col3_3, col3_1, col3_0, col3_4, col3_2), FAMILY (col3_6), FAMILY (col3_5));
        test_1        |             CREATE TABLE table4 (col4_0 TIMETZ NOT NULL, col4_1 REGTYPE, col4_2 FLOAT8 NOT NULL, col4_3 OID NOT NULL, col4_4 TIME, col4_5 REGNAMESPACE NOT NULL, col4_6 BYTES, col4_7 OID NOT NULL, col4_8 BOOL NULL, col4_9 REGPROCEDURE NOT NULL, PRIMARY KEY (col4_0, col4_9 DESC), INDEX (col4_7 ASC, col4_8 DESC) STORING (col4_2, col4_3, col4_4, col4_5, col4_6) WHERE ((((table4.col4_0 >= '24:00:00-15:59:00') OR table4.col4_8) AND (table4.col4_2 != 3.4028234663852886e+38)) OR (table4.col4_6 = '\x22')) AND (table4.col4_4 = '24:00:00'), UNIQUE (col4_5 ASC, col4_9 DESC, col4_1 DESC, col4_6 ASC) WHERE ((((table4.col4_4 != '24:00:00':::TIME) OR (NOT table4.col4_8)) OR (table4.col4_6 < e'\\x00':::BYTES)) AND (table4.col4_0 > '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_2 >= 'NaN':::FLOAT8), INDEX (col4_7, col4_2, col4_5, col4_4, col4_1, col4_6 DESC, col4_3, col4_0 ASC) STORING (col4_8) WHERE table4.col4_6 <= e'\\x27':::BYTES, UNIQUE (col4_2, col4_7, col4_5 DESC, col4_4 ASC, col4_3 DESC, col4_6 DESC) STORING (col4_8), INDEX (col4_4 DESC, col4_8) STORING (col4_2, col4_5, col4_6) WHERE ((table4.col4_0 > '00:00:00+15:59:00':::TIMETZ) AND (table4.col4_6 < e'\\x27':::BYTES)) AND (table4.col4_4 < '24:00:00':::TIME), INDEX (col4_0 DESC, col4_1, col4_5 ASC, col4_8 ASC, col4_7, col4_9, col4_2, col4_6 DESC, col4_4, col4_3 DESC) WHERE ((((table4.col4_0 < '24:00:00-15:59:00') AND (NOT table4.col4_8)) OR (table4.col4_6 < '\x27')) AND (table4.col4_2 >= 5e-324)) AND (table4.col4_4 >= '00:00:00'), INDEX (col4_0 DESC, col4_6) STORING (col4_1, col4_2, col4_3, col4_4, col4_5, col4_7), FAMILY (col4_5), FAMILY (col4_6), FAMILY (col4_3, col4_7, col4_4), FAMILY (col4_1, col4_8, col4_2, col4_0, col4_9));
        test_1        |             CREATE TABLE table5 (col5_0 REGTYPE NOT NULL, col5_1 REGPROC NOT NULL, col5_2 TIMESTAMP NULL, col5_3 INET NOT NULL, col5_4 BYTES NULL, col5_5 NAME NULL, col5_6 INET NOT NULL, col5_7 INTERVAL NULL, col5_8 BIT(17) NOT NULL, PRIMARY KEY (col5_1 ASC, col5_6, col5_8 DESC, col5_3), UNIQUE (col5_7 ASC, col5_2 DESC, col5_5 ASC, col5_8 DESC) STORING (col5_4) WHERE table5.col5_5 != '', INDEX (col5_6 DESC, col5_1 DESC) STORING (col5_2, col5_4, col5_7) WHERE (table5.col5_4 <= e'\\x58':::BYTES) OR (table5.col5_5 <= '':::STRING), INDEX (col5_4, col5_1 ASC, col5_0 ASC, col5_7, col5_3 ASC, col5_2 ASC), UNIQUE (col5_3 DESC, col5_6 ASC, col5_7, col5_4 DESC) WHERE ((table5.col5_5 != e'\'':::STRING) AND (table5.col5_2 >= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table5.col5_4 < e'\\x22':::BYTES), UNIQUE (col5_0 ASC, col5_8 DESC, col5_2 ASC, col5_6 ASC, col5_3 ASC, col5_4 ASC) WHERE (table5.col5_2 = '0001-01-01 00:00:00':::TIMESTAMP) AND (table5.col5_5 < e'\U00002603':::STRING), UNIQUE (col5_4 DESC) STORING (col5_2, col5_5, col5_7) WHERE ((table5.col5_4 >= e'\\x58':::BYTES) OR (table5.col5_2 > '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table5.col5_5 != 'X':::STRING), INDEX (col5_6 ASC, col5_0 DESC, col5_1 DESC) WHERE ((table5.col5_5 = e'\x00':::STRING) AND (table5.col5_2 != '3000-01-01 00:00:00':::TIMESTAMP)) OR (table5.col5_4 <= e'\\x58':::BYTES), FAMILY (col5_3, col5_1), FAMILY (col5_8, col5_6), FAMILY (col5_5, col5_7, col5_0), FAMILY (col5_2, col5_4));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2264102730945280009, "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 68924864493171153, "row_count": 2655029972590966795}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1048116851975621861, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2655029972590966795}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1215775622996684609, "histo_col_type": "", "name": "__auto__", "null_count": 983925251647006066, "row_count": 2655029972590966795}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1205868512961611765, "histo_buckets": [{"distinct_range": 0, "num_eq": 2172281495400438776, "num_range": 0, "upper_bound": "$"}, {"distinct_range": 797591212240301400, "num_eq": 8432879888736356277, "num_range": 1635936423511832026, "upper_bound": "O"}, {"distinct_range": 4276246183.976829, "num_eq": 10000000000, "num_range": 8000000000, "upper_bound": "j"}, {"distinct_range": 6741205566430837000, "num_eq": 2910314842039008335, "num_range": 6741205566430836599, "upper_bound": "s"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 1968552766962409161, "row_count": 2655029972590966795}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 872573805131704609, "histo_col_type": "", "name": "__auto__", "null_count": 1077118731506946099, "row_count": 2655029972590966795}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2486235715873519042, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 0, "num_eq": 2338689805177929201, "num_range": 3100858432237599985, "upper_bound": "BOX(-2.0053570186265066 0.6059950962977958,-0.35006868032616373 2.6362361607185485)"}, {"distinct_range": 3453750099177750500, "num_eq": 3000000, "num_range": 5304876038518062165, "upper_bound": "BOX(-0.03357797972829424 -0.8768212002327594,0.02232223339082462 1.302219265075035)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 1465788724689335616, "row_count": 2655029972590966795}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1270888000269774357, "histo_buckets": [{"distinct_range": 0, "num_eq": 6198319306744011600, "num_range": 0, "upper_bound": "02:22:02.662866"}, {"distinct_range": 0, "num_eq": 8382860214619603885, "num_range": 90000000000, "upper_bound": "05:35:25.991059"}, {"distinct_range": 54.023359101780066, "num_eq": 5000000, "num_range": 800, "upper_bound": "08:42:01.761151"}, {"distinct_range": 784130.305347048, "num_eq": 8621980203830169008, "num_range": 800000, "upper_bound": "13:47:27.304027"}, {"distinct_range": 172.5293080086706, "num_eq": 300000, "num_range": 400, "upper_bound": "16:33:08.222951"}, {"distinct_range": 84326358.03479776, "num_eq": 80000000000, "num_range": 100000000, "upper_bound": "23:55:37.418091"}, {"distinct_range": 8561733211558497000, "num_eq": 8000, "num_range": 8561733211558497703, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 381619170854875344, "row_count": 2655029972590966795}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2187571566939749150, "histo_buckets": [{"distinct_range": 0, "num_eq": 7747476440152674207, "num_range": 0, "upper_bound": "1975-10-22 00:10:16.000504+00:00"}, {"distinct_range": 10000000000, "num_eq": 100, "num_range": 10000000000, "upper_bound": "1981-12-02 22:46:03.000567+00:00"}, {"distinct_range": 0, "num_eq": 1926974144896994326, "num_range": 200, "upper_bound": "1985-02-01 22:26:32.00073+00:00"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 6910909996675429461, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 2655029972590966795}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2000215397799781386, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2655029972590966795}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 827417788513715341, "histo_col_type": "", "name": "__auto__", "null_count": 920283791323988209, "row_count": 2655029972590966795}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1754225486128095442, "histo_buckets": [{"distinct_range": 0, "num_eq": 8132044054403242333, "num_range": 0, "upper_bound": "1270057530"}, {"distinct_range": 0, "num_eq": 0, "num_range": 70, "upper_bound": "1709564373"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 2655029972590966795}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1631413824899560322, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1182794570645299673, "histo_buckets": [{"distinct_range": 0, "num_eq": 4653902980691940494, "num_range": 0, "upper_bound": "00:30:58.7012"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 2301535597892635007, "upper_bound": "11:14:20.209688"}, {"distinct_range": 0, "num_eq": 9117917228671533243, "num_range": 2000000, "upper_bound": "14:28:30.932752"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1791522389389590521, "histo_buckets": [{"distinct_range": 0, "num_eq": 6912142896459794307, "num_range": 0, "upper_bound": "496807.8752630326972"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2042822457259922513, "histo_col_type": "", "name": "__auto__", "null_count": 1339669963776832806, "row_count": 2184478002217229657}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2081126791620218131, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1167858449230184905, "histo_buckets": [{"distinct_range": 0, "num_eq": 2045348669026929323, "num_range": 0, "upper_bound": "(A\\u0012.MR\\u001d"}, {"distinct_range": 6181427910085550000, "num_eq": 4405157705725028657, "num_range": 8362959337729455537, "upper_bound": "6%\\"0A"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6735593671105116074, "upper_bound": "R\\u000b\\u0010#\\u001e"}, {"distinct_range": 8000, "num_eq": 2000, "num_range": 8000, "upper_bound": "bA-9\\u000b<~yN"}, {"distinct_range": 99622169861181570, "num_eq": 400000, "num_range": 122801767127269452, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1393399847520311625, "histo_buckets": [{"distinct_range": 0, "num_eq": 5922706549247612434, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 5961222262647604462, "num_range": 8380367832683917591, "upper_bound": "1661638434"}, {"distinct_range": 5000, "num_eq": 6623961219714604713, "num_range": 5000, "upper_bound": "1756821673"}, {"distinct_range": 4408308299862999000, "num_eq": 0, "num_range": 5203028531029069523, "upper_bound": "2241072991"}, {"distinct_range": 0, "num_eq": 2150259654307442676, "num_range": 6594099833661062642, "upper_bound": "2251473405"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 40000, "upper_bound": "3867608922"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 10000, "upper_bound": "4208465732"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 1285493348762311701, "row_count": 2184478002217229657}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 414819379280804790, "histo_buckets": [{"distinct_range": 0, "num_eq": 5538632212431076368, "num_range": 0, "upper_bound": "4.135.50.15/4"}, {"distinct_range": 70000000000, "num_eq": 400, "num_range": 70000000000, "upper_bound": "48.150.140.143/7"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 600000000, "upper_bound": "172.62.25.45/16"}, {"distinct_range": 0, "num_eq": 1031912710876665405, "num_range": 100000, "upper_bound": "b33e:1ec0:2337:492c:d1cd:41a7:d724:78e3/15"}, {"distinct_range": 300000000, "num_eq": 50000, "num_range": 300000000, "upper_bound": "379c:58b6:ecfa:9749:f79a:a0a9:58c0:8ce2/20"}, {"distinct_range": 0, "num_eq": 0, "num_range": 70, "upper_bound": "a9ac:dc44:9e55:a7ed:db31:dfd7:7fa3:953b/64"}, {"distinct_range": 3000000000, "num_eq": 6000, "num_range": 3000000000, "upper_bound": "7c1c:c113:8e62:49bc:5485:147d:2c1f:827d/90"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 1334796086063652953, "row_count": 2184478002217229657}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1028074934881791230, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 2184478002217229657}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_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": ["col3_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": ["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_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_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": ["col3_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": ["col3_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": ["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}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 628432, "histo_buckets": [{"distinct_range": 0, "num_eq": 5449315655979698225, "num_range": 0, "upper_bound": "-0.5413851757075747"}, {"distinct_range": 5157346201881247000, "num_eq": 0, "num_range": 5157346201881246241, "upper_bound": "5e-324"}, {"distinct_range": 70000000000, "num_eq": 665192024756717382, "num_range": 70000000000, "upper_bound": "0.10222329829365734"}, {"distinct_range": 1126612852094126000, "num_eq": 50000000, "num_range": 1972270095911343876, "upper_bound": "1.697107180505587"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 653155, "histo_col_type": "TIME", "name": "__auto__", "null_count": 159924, "row_count": 700000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 442336, "histo_col_type": "", "name": "__auto__", "null_count": 256440, "row_count": 700000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 366066, "histo_col_type": "", "name": "__auto__", "null_count": 534400, "row_count": 700000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 540643, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53199, "histo_buckets": [{"distinct_range": 0, "num_eq": 7051177317204354438, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 8330842886789296432, "num_range": 1713212556456966805, "upper_bound": "740352258"}, {"distinct_range": 80000000, "num_eq": 800000, "num_range": 80000000, "upper_bound": "2767997179"}, {"distinct_range": 0, "num_eq": 1269380456780637945, "num_range": 5000000000, "upper_bound": "2784882863"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 2451677848427029478, "upper_bound": "3057843709"}, {"distinct_range": 0, "num_eq": 3746555374103284210, "num_range": 900000000, "upper_bound": "3585916248"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 510309, "histo_col_type": "", "name": "__auto__", "null_count": 46527, "row_count": 700000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 591998, "histo_buckets": [{"distinct_range": 0, "num_eq": 7777037268254400470, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 2861658180265537822, "num_range": 0, "upper_bound": "394268894"}, {"distinct_range": 2999320194978614300, "num_eq": 10000000, "num_range": 2999320194978614100, "upper_bound": "1575093369"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 30000000000, "upper_bound": "2885313206"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41171, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 590664, "histo_buckets": [{"distinct_range": 0, "num_eq": 8236210048204069762, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 2378057354092122600, "num_eq": 400, "num_range": 5776622057481384363, "upper_bound": "02:21:01.032387+08:59:00"}, {"distinct_range": 0, "num_eq": 6344660329721511345, "num_range": 4338868097194684673, "upper_bound": "07:35:24.577841+07:06:00"}, {"distinct_range": 2602566.0426454875, "num_eq": 5000000, "num_range": 4000000, "upper_bound": "13:40:06.946553-00:08:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 700000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1076063965225293974, "histo_col_type": "BYTES", "name": "__auto__", "null_count": 2474553637295822972, "row_count": 5445407718753576799}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2045821551134510933, "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 5445407718753576799}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2395098508629423318, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5445407718753576799}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5263147972837079064, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "3196703018"}, {"distinct_range": 3253293854737872000, "num_eq": 4176859190730168975, "num_range": 3962977420852961248, "upper_bound": "3262696322"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5445407718753576799}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2510047503280209126, "histo_buckets": [{"distinct_range": 0, "num_eq": 7949649330926767220, "num_range": 0, "upper_bound": "1429979028"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 3343704662455443457, "upper_bound": "2473173629"}, {"distinct_range": 0, "num_eq": 4146466594104757178, "num_range": 600000000, "upper_bound": "3060236231"}, {"distinct_range": 2530700746167833600, "num_eq": 3450080776989586092, "num_range": 5169567172078292155, "upper_bound": "3340737880"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6670936339529024633, "upper_bound": "3753572103"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 5445407718753576799}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4236683593803015547, "histo_col_type": "", "name": "__auto__", "null_count": 818232358296908984, "row_count": 5445407718753576799}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4441877871561830596, "histo_buckets": [{"distinct_range": 0, "num_eq": 4825134910360266893, "num_range": 0, "upper_bound": "159.7.195.18/2"}, {"distinct_range": 0, "num_eq": 2207848756148841771, "num_range": 1081625263573328969, "upper_bound": "aab9:c156:9e47:a652:ef31:a92d:f537:ef45/11"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 9118744148600004113, "upper_bound": "1641:9a08:2e54:cf02:3b4e:f3de:6538:c115/21"}, {"distinct_range": 92092997396601660, "num_eq": 5000, "num_range": 153663267839038701, "upper_bound": "50c9:b10c:41f8:6c63:b50f:b226:2d9f:80b9/42"}, {"distinct_range": 15009964550120558, "num_eq": 183256049431099464, "num_range": 26558891059051230, "upper_bound": "c968:b071:e177:9cca:a7c5:577e:c8c7:51f4/49"}, {"distinct_range": 4381586811306000400, "num_eq": 5000, "num_range": 4381586811306000457, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 5445407718753576799}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5175226937222993712, "histo_col_type": "", "name": "__auto__", "null_count": 4634766295149990371, "row_count": 5445407718753576799}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1617636352626191512, "histo_buckets": [{"distinct_range": 0, "num_eq": 1365179094341941952, "num_range": 0, "upper_bound": "15 years 11 mons 981 days 11:35:44.789934"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 1696114561475972099, "row_count": 5445407718753576799}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('atqv', 'qplbw', 'xfucd', 'vaaf');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('aozcb', 'a');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('kwp', 'nlrdbn', 'xhu', 'dih', 'dtkvg', 'ffyaxb');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('oa', 'q', 't', 'ibsfws', 'mby');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 486903826043521926, "histo_buckets": [{"distinct_range": 0, "num_eq": 300, "num_range": 0, "upper_bound": "\\u0015"}, {"distinct_range": 0, "num_eq": 7445021964439109161, "num_range": 1000000000, "upper_bound": "\'"}, {"distinct_range": 4049297.5642967243, "num_eq": 900000, "num_range": 10000000, "upper_bound": "g"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 5000000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 496985486145430766, "row_count": 718401458327785582}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 459932537641798488, "histo_buckets": [{"distinct_range": 0, "num_eq": 5631055101588516473, "num_range": 0, "upper_bound": "1979-07-22 16:07:37.000926+00:00"}, {"distinct_range": 127794014.57830535, "num_eq": 10000000000, "num_range": 400000000, "upper_bound": "2001-03-05 04:40:26.000679+00:00"}, {"distinct_range": 217695830.21666938, "num_eq": 200000, "num_range": 600000000, "upper_bound": "2020-01-17 08:40:55.000076+00:00"}, {"distinct_range": 92493.73328068819, "num_eq": 200000000, "num_range": 100000, "upper_bound": "2029-04-24 19:51:58.000473+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 718401458327785582}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 505052401183129218, "histo_buckets": [{"distinct_range": 0, "num_eq": 6910428471771089721, "num_range": 0, "upper_bound": "2872670576"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 718401458327785582}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 150872260304734888, "histo_buckets": [{"distinct_range": 0, "num_eq": 5138707143371696406, "num_range": 0, "upper_bound": "2603269213"}, {"distinct_range": 877.4479591562773, "num_eq": 30000000000, "num_range": 8000, "upper_bound": "2605954138"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 273854959721166641, "row_count": 718401458327785582}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 336968670147944526, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 718401458327785582}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 247234700263239266, "histo_col_type": "", "name": "__auto__", "null_count": 572401123411312672, "row_count": 718401458327785582}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 698031847059763112, "histo_buckets": [{"distinct_range": 0, "num_eq": 8426708072486026811, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 0, "num_eq": 90, "num_range": 5000000, "upper_bound": "00:43:45.780648"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 400, "upper_bound": "16:24:31.526055"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "19:42:25.278001"}, {"distinct_range": 7020536700339586000, "num_eq": 3911400219004278419, "num_range": 7020536700339585753, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 695765232354691359, "row_count": 718401458327785582}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518449081842758904, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 718401458327785582}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 150849840702274376, "histo_col_type": "", "name": "__auto__", "null_count": 348777564777505260, "row_count": 718401458327785582}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 526816933751113835, "histo_col_type": "", "name": "__auto__", "null_count": 368882378269378442, "row_count": 718401458327785582}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 659395695133523926, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 7239078371161546000, "num_eq": 100000, "num_range": 8768118785329673354, "upper_bound": "BOX(-1.0098519543771063 -0.7608057313730585,-0.5784136896984938 0.9696960117270929)"}, {"distinct_range": 200000000, "num_eq": 5000, "num_range": 200000000, "upper_bound": "BOX(-0.5085005684263971 -1.1705931445712818,0.6670310705246659 0.7770384496228739)"}, {"distinct_range": 0, "num_eq": 6364467721023107561, "num_range": 70000000000, "upper_bound": "BOX(-0.4776861129658254 -1.7173862734758139,1.0513958930804792 -0.4309075208255022)"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "BOX(-0.17572569156315487 -0.5806229432311759,0.6037669357008693 0.7058623633051748)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 66209819794584668, "row_count": 718401458327785582}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93150970839, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22317674211, "histo_buckets": [{"distinct_range": 0, "num_eq": 3981814721934058037, "num_range": 0, "upper_bound": "01:35:22.156669"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 100000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28922465495, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 100000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16727556748, "histo_col_type": "", "name": "__auto__", "null_count": 97963896569, "row_count": 100000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25151436113, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "\\u0015/ q\x7f+3"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 100000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97394462921, "histo_buckets": [{"distinct_range": 0, "num_eq": 53676552543459906, "num_range": 0, "upper_bound": "19696283"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 4902414196427209950, "upper_bound": "80472282"}, {"distinct_range": 1661796593077553000, "num_eq": 6390562352409546790, "num_range": 1661796593077552835, "upper_bound": "804234188"}, {"distinct_range": 12277793935.019852, "num_eq": 10000, "num_range": 100000000000, "upper_bound": "877260923"}, {"distinct_range": 355303185.2881732, "num_eq": 6000000, "num_range": 600000000, "upper_bound": "2216593539"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 80000000, "upper_bound": "2776327700"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 33590351235, "row_count": 100000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14998375713, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 2193191223972811756, "upper_bound": "18.15.86.93/20"}, {"distinct_range": 9020478115342477000, "num_eq": 3000000, "num_range": 9020478115342477388, "upper_bound": "c682:3564:7bf1:2b7e:d6df:a3:5a15:1655/22"}, {"distinct_range": 0, "num_eq": 7256953882465687477, "num_range": 5816998503787177797, "upper_bound": "e4b0:b9da:1c0f:358a:859e:47f:b949:8b86/43"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 6016054107466570141, "upper_bound": "5ffe:a426:780e:fdbd:a60f:5f44:b84f:2fc1/48"}, {"distinct_range": 0, "num_eq": 3549880848702132233, "num_range": 7029519442681569184, "upper_bound": "c3b5:7383:f754:367c:296a:b7a0:939d:63ae/49"}, {"distinct_range": 0, "num_eq": 800, "num_range": 1483263476110449372, "upper_bound": "d794:2978:a827:29c9:2b07:e155:93c:8e72/104"}, {"distinct_range": 2576153226603555300, "num_eq": 3000000000, "num_range": 2576153226603555515, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 4562358119, "row_count": 100000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92448220132, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "-6.496525646345333E+18"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 100000000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92191951155, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1566429253, "histo_col_type": "", "name": "__auto__", "null_count": 22568116199, "row_count": 40000000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35470856402, "histo_col_type": "", "name": "__auto__", "null_count": 17896954358, "row_count": 40000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5851618079, "histo_col_type": "", "name": "__auto__", "null_count": 7261156822, "row_count": 40000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15328985800, "histo_col_type": "", "name": "__auto__", "null_count": 23533342856, "row_count": 40000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24166662773, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19562421237, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17235703551, "histo_col_type": "", "name": "__auto__", "null_count": 16710299282, "row_count": 40000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24276306961, "histo_col_type": "", "name": "__auto__", "null_count": 27887394042, "row_count": 40000000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2218605855594270017, "histo_buckets": [{"distinct_range": 0, "num_eq": 5319920772716672144, "num_range": 0, "upper_bound": "06:35:05.467433"}, {"distinct_range": 2408547017369829000, "num_eq": 3000, "num_range": 5184755495909576230, "upper_bound": "07:37:23.647162"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 8000, "upper_bound": "08:11:27.165496"}, {"distinct_range": 9017936715528493000, "num_eq": 8419784293026414664, "num_range": 9017936715528492952, "upper_bound": "09:09:24.152304"}, {"distinct_range": 8025950751469540000, "num_eq": 200000, "num_range": 8025950751469539847, "upper_bound": "20:04:05.910857"}, {"distinct_range": 1731269121798273300, "num_eq": 700000000, "num_range": 3005108415355626434, "upper_bound": "20:10:19.494754"}, {"distinct_range": 0, "num_eq": 4686455794653955073, "num_range": 5198793706968760034, "upper_bound": "21:33:45.098634"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 1431577506625754884, "row_count": 2956535953560722476}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 441648819058424563, "histo_buckets": [{"distinct_range": 0, "num_eq": 9222421402057452534, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1084303305475614575, "num_range": 7000000000, "upper_bound": "650479937"}, {"distinct_range": 3732054078777149400, "num_eq": 6241978499142014945, "num_range": 4228255628661561934, "upper_bound": "760942653"}, {"distinct_range": 77.93241095746056, "num_eq": 0, "num_range": 90, "upper_bound": "804522948"}, {"distinct_range": 1077833048682435700, "num_eq": 5499427574907049368, "num_range": 3512627545240782508, "upper_bound": "1331096211"}, {"distinct_range": 1453.4176992287046, "num_eq": 7353994547475193212, "num_range": 7000, "upper_bound": "1612421155"}, {"distinct_range": 5259.674044683262, "num_eq": 3030541013387005785, "num_range": 8000, "upper_bound": "2518554739"}, {"distinct_range": 3569794972279908000, "num_eq": 4531168040924549009, "num_range": 3569794972279907898, "upper_bound": "3116291161"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 807595316045646817, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 3440656691700441000, "num_eq": 900000, "num_range": 6500887627444115808, "upper_bound": "09:56:06.209168+08:26:00"}, {"distinct_range": 1005.7983782298578, "num_eq": 9052314904106284139, "num_range": 3000, "upper_bound": "04:36:06.101123+02:43:00"}, {"distinct_range": 5000000, "num_eq": 0, "num_range": 5000000, "upper_bound": "19:46:29.08023+02:34:00"}, {"distinct_range": 70000000000, "num_eq": 8662181005918214997, "num_range": 70000000000, "upper_bound": "11:09:09.087901-12:56:00"}, {"distinct_range": 50000000000, "num_eq": 20000000000, "num_range": 50000000000, "upper_bound": "23:58:11.778627-08:47:00"}, {"distinct_range": 0, "num_eq": 1614574976628619869, "num_range": 0, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2605463534814742158, "histo_col_type": "", "name": "__auto__", "null_count": 1891829893980362224, "row_count": 2956535953560722476}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2216931745233227369, "histo_buckets": [{"distinct_range": 0, "num_eq": 3799735775018095385, "num_range": 0, "upper_bound": "0.30720417329793454"}, {"distinct_range": 0, "num_eq": 0, "num_range": 70000000000, "upper_bound": "0.6990411332434869"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 427256291030618935, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 443040945325344172, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "1180415745"}, {"distinct_range": 816220744219779000, "num_eq": 674849979037002951, "num_range": 4683180288790340885, "upper_bound": "1515737883"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 660481884642140640, "histo_col_type": "", "name": "__auto__", "null_count": 2895913909029543950, "row_count": 2956535953560722476}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1808249076742867685, "histo_col_type": "", "name": "__auto__", "null_count": 2808719493097221368, "row_count": 2956535953560722476}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 811082086432286960, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2956535953560722476}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6861455935086947871, "histo_buckets": [{"distinct_range": 0, "num_eq": 5359065999343246878, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 2745667225760831000, "num_eq": 400000000, "num_range": 8801008815565000220, "upper_bound": "1074588819"}, {"distinct_range": 0, "num_eq": 4073274592724270061, "num_range": 7306221625649945453, "upper_bound": "1738989721"}, {"distinct_range": 3058880942404715500, "num_eq": 0, "num_range": 8693161924113009922, "upper_bound": "2122045092"}, {"distinct_range": 0, "num_eq": 8904008913393000176, "num_range": 7000000000, "upper_bound": "2624942138"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 8983451758877856359}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 507207011340530736, "histo_col_type": "", "name": "__auto__", "null_count": 2175661151585198633, "row_count": 8983451758877856359}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1745765449830638463, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "232.138.120.141/26"}, {"distinct_range": 40000000000, "num_eq": 631884860698360332, "num_range": 40000000000, "upper_bound": "705c:ab3a:8df:e1ec:36b6:9f73:f424:fa18/10"}, {"distinct_range": 450792.2046549807, "num_eq": 80000, "num_range": 1000000, "upper_bound": "9fe9:235f:6a6c:c022:245a:8507:7267:88c8/105"}, {"distinct_range": 0, "num_eq": 1467437737678260253, "num_range": 1439273599759622706, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 8983451758877856359}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7247674444481615111, "histo_col_type": "BYTES", "name": "__auto__", "null_count": 3371787678180437225, "row_count": 8983451758877856359}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4604795303233843952, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "41.140.208.149/24"}, {"distinct_range": 0, "num_eq": 1258029871773460987, "num_range": 950254330615341873, "upper_bound": "55.74.78.24"}, {"distinct_range": 2864719396333678000, "num_eq": 2391718908640950907, "num_range": 5751422528231583403, "upper_bound": "71b3:5ce2:f059:7541:19b2:7cbb:c0b9:3ee9/39"}, {"distinct_range": 0, "num_eq": 7987911214889866413, "num_range": 500000, "upper_bound": "6e5e:d39c:eb59:d40d:426:d9c9:4007:ae0e/51"}, {"distinct_range": 100000, "num_eq": 6000000, "num_range": 100000, "upper_bound": "8a9e:3ee1:20d0:601f:8721:346:2579:c371/64"}, {"distinct_range": 5514829.412192738, "num_eq": 70000000, "num_range": 6000000, "upper_bound": "6444:fcd7:df2d:f79:cfcd:a9c5:f135:2ee4/73"}, {"distinct_range": 3324409633512253000, "num_eq": 200000000, "num_range": 6914105886487284135, "upper_bound": "4aa0:e89c:2d6d:c788:4baf:e2bd:7dfe:102d/81"}, {"distinct_range": 3460913373078402000, "num_eq": 7004492857106811979, "num_range": 7558949204310971831, "upper_bound": "145b:a1ed:c403:e8db:3a67:9a2a:ef8b:e6a/86"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 8983451758877856359}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2024746456864465963, "histo_buckets": [{"distinct_range": 0, "num_eq": 2987134268361635572, "num_range": 0, "upper_bound": "-59 years -3 mons -528 days -15:18:52.387692"}, {"distinct_range": 0, "num_eq": 1832036300597369634, "num_range": 3914268483185716799, "upper_bound": "-57 years -11 mons -314 days -23:11:15.396202"}, {"distinct_range": 4417599782052415500, "num_eq": 30000000000, "num_range": 4417599782052415270, "upper_bound": "00:00:00"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 4437490321863464256, "upper_bound": "1 mon 1 day"}, {"distinct_range": 40000000000, "num_eq": 3853737113330643576, "num_range": 40000000000, "upper_bound": "2 years 2 mons 601 days 16:37:13.013479"}, {"distinct_range": 3252912668406858000, "num_eq": 900, "num_range": 3252912668406858399, "upper_bound": "27 years 10 mons 561 days 04:44:16.120404"}, {"distinct_range": 30000, "num_eq": 0, "num_range": 30000, "upper_bound": "40 years 10 mons 26 days 17:07:15.983275"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 1880387153798937213, "row_count": 8983451758877856359}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8517981090670506576, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 8983451758877856359}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1801809311747110626, "histo_col_type": "", "name": "__auto__", "null_count": 6707132095022468923, "row_count": 8983451758877856359}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3436848304282998623, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8983451758877856359}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5149467414421673709, "histo_col_type": "", "name": "__auto__", "null_count": 4668883296209596311, "row_count": 8114663594395470733}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4359357771469875306, "histo_buckets": [{"distinct_range": 0, "num_eq": 2537163967616268831, "num_range": 0, "upper_bound": "4102778088"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 3202908974688145405, "row_count": 8114663594395470733}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2467878555501261667, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 1781205283333638100, "num_eq": 500000, "num_range": 3490959378540847352, "upper_bound": "04:47:31.371414"}, {"distinct_range": 2470277907080031700, "num_eq": 200, "num_range": 2572718731446321821, "upper_bound": "05:02:19.230681"}, {"distinct_range": 60000, "num_eq": 5986753272881437958, "num_range": 60000, "upper_bound": "10:55:32.454138"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 3309507519668823690, "upper_bound": "11:37:46.344777"}, {"distinct_range": 0, "num_eq": 9194366071905334802, "num_range": 8614168758658547402, "upper_bound": "11:46:17.292726"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 6000000, "upper_bound": "15:48:15.373184"}, {"distinct_range": 244222629978052900, "num_eq": 8544182879396926104, "num_range": 862160155210072018, "upper_bound": "21:54:00.981421"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 2423194804255373654, "row_count": 8114663594395470733}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10404732369687829, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "1992-08-16 19:48:01.000359+00:00"}, {"distinct_range": 49903365205851650, "num_eq": 30, "num_range": 1666491288508374989, "upper_bound": "1997-01-19 13:51:59.000306+00:00"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 200000000, "upper_bound": "2000-07-14 19:30:34.000098+00:00"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 9000000000, "upper_bound": "2015-06-13 09:57:26.000302+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 8114663594395470733}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2072573109390053048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8114663594395470733}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430648077310897676, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "BOX(-1.7303098801851582 -0.8197352299239984,-1.510203535989909 1.6205896205183752)"}, {"distinct_range": 0, "num_eq": 1239508435263474153, "num_range": 0, "upper_bound": "BOX(-0.4623145627299688 -1.1682199522490775,-0.10417569840753504 1.247797074991277)"}, {"distinct_range": 0, "num_eq": 2660545175523015137, "num_range": 60000000, "upper_bound": "BOX(0.9514795032636749 -0.4318447927773139,1.4543337370497469 0.01824804728990409)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 1091284622928428288, "row_count": 8114663594395470733}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2981170488751757458, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8114663594395470733}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3632073923663507513, "histo_col_type": "", "name": "__auto__", "null_count": 7838161274431118924, "row_count": 8114663594395470733}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4415059347973062207, "histo_buckets": [{"distinct_range": 0, "num_eq": 2672898234013971717, "num_range": 0, "upper_bound": "\\u0012"}, {"distinct_range": 0, "num_eq": 0, "num_range": 495267934774773364, "upper_bound": "\\""}, {"distinct_range": 20000000, "num_eq": 1438800475248793789, "num_range": 20000000, "upper_bound": "("}, {"distinct_range": 3640064.975013995, "num_eq": 5204124561019853151, "num_range": 6000000, "upper_bound": "*"}, {"distinct_range": 30000000, "num_eq": 0, "num_range": 30000000, "upper_bound": ","}, {"distinct_range": 6745149070496887000, "num_eq": 283242418522673181, "num_range": 6745149070496886671, "upper_bound": "F"}, {"distinct_range": 4111170345771469000, "num_eq": 446293656691829948, "num_range": 4111170345771468571, "upper_bound": "H"}, {"distinct_range": 9000000, "num_eq": 5401496249169473119, "num_range": 9000000, "upper_bound": "f"}, {"distinct_range": 0, "num_eq": 50, "num_range": 2210245913876704518, "upper_bound": "j"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 3763653777134314761, "row_count": 8114663594395470733}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6475886465717150997, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "371500363"}, {"distinct_range": 929179418836744200, "num_eq": 600000000, "num_range": 7296533842259008851, "upper_bound": "3209126764"}, {"distinct_range": 0, "num_eq": 100, "num_range": 8000000, "upper_bound": "3528740322"}, {"distinct_range": 700000, "num_eq": 5000000000, "num_range": 700000, "upper_bound": "3631410811"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 8114663594395470733}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 869482179744324814, "histo_col_type": "", "name": "__auto__", "null_count": 4747975394239309409, "row_count": 8114663594395470733}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 247755441953638622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 614507555074977049}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 407913899367129489, "histo_buckets": [{"distinct_range": 0, "num_eq": 8540105886539917841, "num_range": 0, "upper_bound": "\\u0012\\u00189MF$\\u0001)\\""}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 5346012893443834890, "upper_bound": "\'"}, {"distinct_range": 3414976157238744000, "num_eq": 9000, "num_range": 3414976157238744132, "upper_bound": "("}, {"distinct_range": 6000000, "num_eq": 1300756778925433848, "num_range": 6000000, "upper_bound": "+"}, {"distinct_range": 0, "num_eq": 230541484111477708, "num_range": 9000000000, "upper_bound": "Q0Uy"}, {"distinct_range": 0, "num_eq": 8646712888610148397, "num_range": 200000, "upper_bound": "[8+m"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000, "upper_bound": "\\\\l"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 614507555074977049}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60836533623670186, "histo_buckets": [{"distinct_range": 0, "num_eq": 3616694426728522793, "num_range": 0, "upper_bound": "P"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 400000, "upper_bound": "UDfN#\\u0007\\u0018"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 614507555074977049}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 113877277517412002, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 614507555074977049}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 233622810727485489, "histo_buckets": [{"distinct_range": 0, "num_eq": 1162967570354227050, "num_range": 0, "upper_bound": "1028294194"}, {"distinct_range": 0, "num_eq": 8917539019779544103, "num_range": 400, "upper_bound": "1218517133"}, {"distinct_range": 0, "num_eq": 60, "num_range": 5000000, "upper_bound": "1506457814"}, {"distinct_range": 0, "num_eq": 0, "num_range": 300000000, "upper_bound": "3559467970"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 190622856610261714, "row_count": 614507555074977049}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 245484725666109529, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "46.179.165.158/2"}, {"distinct_range": 4413324283751060000, "num_eq": 4053797063447003040, "num_range": 4413324283751059929, "upper_bound": "177.145.38.236/13"}, {"distinct_range": 0, "num_eq": 5533834451464461858, "num_range": 6863309543028535163, "upper_bound": "20.201.17.182/23"}, {"distinct_range": 2501569654.595691, "num_eq": 1719670359922343990, "num_range": 4000000000, "upper_bound": "190.168.252.6/24"}, {"distinct_range": 0.9112461380030066, "num_eq": 30, "num_range": 10, "upper_bound": "255.228.99.5/31"}, {"distinct_range": 0, "num_eq": 1091092325606738030, "num_range": 2350652855540431281, "upper_bound": "6b:82ae:b63f:67f0:3303:afc3:f9d6:656c/23"}, {"distinct_range": 1546742017732571400, "num_eq": 6000000000, "num_range": 7937556892007191201, "upper_bound": "de64:388e:e70b:6671:f5d4:fa48:13b7:a14c/98"}, {"distinct_range": 100000, "num_eq": 3000000000, "num_range": 100000, "upper_bound": "fdce:e3af:924a:acaf:8422:f9a9:3723:515c/119"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 246847033768406620, "row_count": 614507555074977049}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372991234208364239, "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 614507555074977049}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 544847258009283916, "histo_buckets": [{"distinct_range": 0, "num_eq": 2837617702621051635, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 3363388230820559000, "num_eq": 824532194633429235
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@4736b8dd2c36b58fffbb0a665690e2c0e719d7c3:

        test_1        |             CREATE INDEX ON table5 (col5_0 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_0);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_0 DESC);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 278, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 4940471614214057319, "num_range": 1000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 691, "row_count": 800}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 353, "histo_buckets": [{"distinct_range": 0, "num_eq": 3645492383993722925, "num_range": 0, "upper_bound": "-2.013864097742168585E+35"}, {"distinct_range": 0, "num_eq": 2234432530522602887, "num_range": 8000000, "upper_bound": "-1.336879529698030384E+34"}, {"distinct_range": 7129654554666742000, "num_eq": 8276861759169769643, "num_range": 7129654554666741634, "upper_bound": "-2.037379964756336304E+21"}, {"distinct_range": 8000, "num_eq": 9000000, "num_range": 8000, "upper_bound": "-422079647660807363.1"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "-90.37093081139125006"}, {"distinct_range": 0, "num_eq": 5954171762882514838, "num_range": 568681960061113352, "upper_bound": "821673724284.852292"}, {"distinct_range": 5932674599635818000, "num_eq": 2000000000, "num_range": 5932674599635818136, "upper_bound": "5.363270431622302358E+30"}, {"distinct_range": 100000, "num_eq": 700000, "num_range": 100000, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 588, "histo_buckets": [{"distinct_range": 0, "num_eq": 319096339997412840, "num_range": 0, "upper_bound": "\\\\x09ee5e89da29d1b802"}, {"distinct_range": 50000, "num_eq": 3735570504475252196, "num_range": 50000, "upper_bound": "\\\\x7299132ba0e6141f"}, {"distinct_range": 10000000, "num_eq": 7475003052232107289, "num_range": 10000000, "upper_bound": "\\\\x80aa92c48f"}, {"distinct_range": 17844392.799908202, "num_eq": 7000000000, "num_range": 100000000, "upper_bound": "\\\\x8fac961f61242fcb"}, {"distinct_range": 0, "num_eq": 7810224562253564991, "num_range": 5597370961166241050, "upper_bound": "\\\\xfc250175b15466d7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 484, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 7000000, "num_eq": 6114846471992232323, "num_range": 7000000, "upper_bound": "^"}, {"distinct_range": 68.58940774617965, "num_eq": 1865780532050139376, "num_range": 80, "upper_bound": "e"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 891755442, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "\'"}, {"distinct_range": 2050949921874527200, "num_eq": 70000, "num_range": 2050949921874527318, "upper_bound": "J"}, {"distinct_range": 975638525210682600, "num_eq": 300000, "num_range": 5097231119377995998, "upper_bound": "L"}, {"distinct_range": 2815369865053686000, "num_eq": 1000000, "num_range": 4260431341612538804, "upper_bound": "d"}, {"distinct_range": 0, "num_eq": 3555087170690215101, "num_range": 7755082642882721914, "upper_bound": "p"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 752248577, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 900, "upper_bound": "126.42.174.69/6"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 500, "upper_bound": "44.107.220.124/20"}, {"distinct_range": 5227299676249610000, "num_eq": 4182703571635544733, "num_range": 5227299676249609936, "upper_bound": "162.147.52.97/26"}, {"distinct_range": 0, "num_eq": 2303928575239141127, "num_range": 50, "upper_bound": "111.118.194.247/27"}, {"distinct_range": 400000000, "num_eq": 784087050098006761, "num_range": 400000000, "upper_bound": "bd64:5c1b:9355:ad1e:9ed:d462:4322:8f61/3"}, {"distinct_range": 100000, "num_eq": 3536620552541305098, "num_range": 100000, "upper_bound": "bf20:7f96:48a1:c9cf:ea95:335c:78d2:c71/52"}, {"distinct_range": 4221158800628996600, "num_eq": 7402939399172902399, "num_range": 4221158800628996766, "upper_bound": "825d:d187:593b:2b59:b3e7:a1f:8a68:fa14/93"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 853291607, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 857866264, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589729197, "histo_col_type": "", "name": "__auto__", "null_count": 131843452, "row_count": 1000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 477418651, "histo_buckets": [{"distinct_range": 0, "num_eq": 2355017146107839715, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 6000000, "upper_bound": "-0.45378994941711426"}, {"distinct_range": 7647238552826033000, "num_eq": 1000000, "num_range": 7647238552826033132, "upper_bound": "-0.44646885991096497"}, {"distinct_range": 5042540.519894369, "num_eq": 4274755106060549364, "num_range": 6000000, "upper_bound": "-0.24441342055797577"}, {"distinct_range": 837596.1873451264, "num_eq": 5000000, "num_range": 1000000, "upper_bound": "0.15669812262058258"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 2000000, "upper_bound": "0.2868598401546478"}, {"distinct_range": 74424273802.61292, "num_eq": 4000000000, "num_range": 80000000000, "upper_bound": "0.6626138687133789"}, {"distinct_range": 1526703624101105200, "num_eq": 2982738433901892796, "num_range": 5109572149039909038, "upper_bound": "0.7538302540779114"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 496011438, "row_count": 1000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184576661, "histo_buckets": [{"distinct_range": 0, "num_eq": 3534864867684713735, "num_range": 0, "upper_bound": "0101110101100101000111111101100100100100000111"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 60, "upper_bound": "0111111111111111111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 200, "upper_bound": "1001000100000001011000011010100011000000000010"}, {"distinct_range": 8832830002396893000, "num_eq": 9109917613021194392, "num_range": 8832830002396893433, "upper_bound": "1010100100101010111100001100001100000011011100"}, {"distinct_range": 8000, "num_eq": 8537210349831887319, "num_range": 8000, "upper_bound": "1101000011000011111010001101000101100011000001"}, {"distinct_range": 7206788538171785000, "num_eq": 8444654467856594170, "num_range": 7206788538171785539, "upper_bound": "1111100111101001011111110111101111010111110010"}], "histo_col_type": "BIT(46)", "name": "__auto__", "null_count": 728490280, "row_count": 1000000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 768144844, "histo_col_type": "", "name": "__auto__", "null_count": 556721469, "row_count": 1000000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 910042181, "histo_col_type": "", "name": "__auto__", "null_count": 493301206, "row_count": 1000000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 634191369, "histo_col_type": "", "name": "__auto__", "null_count": 771242273, "row_count": 1000000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 661871005, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "-2470249605571681856"}, {"distinct_range": 5072654082.161617, "num_eq": 70000, "num_range": 20000000000, "upper_bound": "318428666509413728"}, {"distinct_range": 90842176410600380, "num_eq": 400, "num_range": 273397055775234820, "upper_bound": "1180361447057336821"}, {"distinct_range": 2712382170399795700, "num_eq": 50000000000, "num_range": 2913342815203316868, "upper_bound": "1635285398494498604"}, {"distinct_range": 191382.72669898396, "num_eq": 12332586665109600, "num_range": 1000000, "upper_bound": "3010572445164229618"}, {"distinct_range": 480915.71192237776, "num_eq": 700000000, "num_range": 800000, "upper_bound": "5359851086716331928"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 5830697746215513077, "upper_bound": "6854042426575411223"}, {"distinct_range": 80000000, "num_eq": 80000000, "num_range": 80000000, "upper_bound": "7540928394318072388"}, {"distinct_range": 1962883060397139200, "num_eq": 2840556487529528883, "num_range": 5888115277859195984, "upper_bound": "8870506959394727632"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 15748942, "row_count": 1000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27633340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127140913, "histo_col_type": "", "name": "__auto__", "null_count": 860877713, "row_count": 1000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 866090211, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 821014896, "histo_col_type": "", "name": "__auto__", "null_count": 579189485, "row_count": 1000000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 312345445, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 81790886, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577664981, "histo_col_type": "", "name": "__auto__", "null_count": 393239107, "row_count": 1000000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 966743700, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 251, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 961, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 647, "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 436, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 964, "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": 468, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 495, "histo_col_type": "", "name": "__auto__", "null_count": 729, "row_count": 1000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 703, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 305, "histo_buckets": [{"distinct_range": 0, "num_eq": 395054460730272569, "num_range": 0, "upper_bound": "-5453319672425270286"}, {"distinct_range": 563.0324879408757, "num_eq": 10000000000, "num_range": 900, "upper_bound": "-1411031010630334109"}, {"distinct_range": 0, "num_eq": 3299051704671572430, "num_range": 10, "upper_bound": "-999165841295543806"}, {"distinct_range": 600, "num_eq": 6287857978893058094, "num_range": 600, "upper_bound": "4094740611928405570"}, {"distinct_range": 8000, "num_eq": 100000000000, "num_range": 8000, "upper_bound": "4265445806934562121"}, {"distinct_range": 139780.89404713342, "num_eq": 700000000, "num_range": 200000, "upper_bound": "4353413448406052345"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 604, "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": 995, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 641, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 158535070, "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 95937649, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 487342088, "histo_col_type": "", "name": "__auto__", "null_count": 329204838, "row_count": 500000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402331396, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 10, "num_range": 6000, "upper_bound": "130153573"}, {"distinct_range": 0, "num_eq": 800, "num_range": 5461741360149568067, "upper_bound": "1301932024"}, {"distinct_range": 1307456328626766800, "num_eq": 70000000000, "num_range": 1882785311832593010, "upper_bound": "2188217066"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "2851807414"}, {"distinct_range": 0, "num_eq": 10, "num_range": 1000, "upper_bound": "3202076709"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 36456493, "row_count": 500000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 282973257, "histo_col_type": "", "name": "__auto__", "null_count": 405131979, "row_count": 500000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 369914332, "histo_buckets": [{"distinct_range": 0, "num_eq": 6594167806346223785, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 482416498, "histo_col_type": "", "name": "__auto__", "null_count": 215383701, "row_count": 500000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 230922636, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 163932535, "histo_col_type": "", "name": "__auto__", "null_count": 105190650, "row_count": 500000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 161774535, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 255839267, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "-7143025944879506799"}, {"distinct_range": 600000000, "num_eq": 3000, "num_range": 600000000, "upper_bound": "-6043631991960113931"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 8000000000, "upper_bound": "-3438259774416239975"}, {"distinct_range": 800000, "num_eq": 127256376198109531, "num_range": 800000, "upper_bound": "-2093964876060673127"}, {"distinct_range": 3000, "num_eq": 2218120674389544054, "num_range": 3000, "upper_bound": "-911281289574179064"}, {"distinct_range": 0, "num_eq": 3609352123329341442, "num_range": 189078288948116567, "upper_bound": "46156198130496920"}, {"distinct_range": 0, "num_eq": 80, "num_range": 600000, "upper_bound": "6075906450426368673"}, {"distinct_range": 0, "num_eq": 80, "num_range": 4543583365388111865, "upper_bound": "6802763063223578691"}, {"distinct_range": 0, "num_eq": 4074555213576953098, "num_range": 300, "upper_bound": "8466804283778739738"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140130311, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52765887, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "-1.639272689819336"}, {"distinct_range": 722702395558067500, "num_eq": 800000000, "num_range": 722702395558067495, "upper_bound": "0.16675198078155518"}, {"distinct_range": 6310496920.432929, "num_eq": 3865257833880811605, "num_range": 100000000000, "upper_bound": "0.2591170072555542"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63120973, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272332827, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350145174, "histo_col_type": "", "name": "__auto__", "null_count": 284162740, "row_count": 500000000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 384543210, "histo_col_type": "", "name": "__auto__", "null_count": 413770029, "row_count": 500000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377789573, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 305749060, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430610002, "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 500000000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85317, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 8809074546997383240, "upper_bound": "BOX(-2.168319895042056 -1.675049342666171,0.5168755168529708 0.9616963112632231)"}, {"distinct_range": 0, "num_eq": 7537561807843101856, "num_range": 10000000000, "upper_bound": "BOX(-1.073256403936169 -0.5327175336728942,-0.4716763318017886 -0.26678157504098216)"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 100000000000, "upper_bound": "BOX(-1.0141311479309438 -0.6967849200706437,1.1629150867650275 1.2849333480849627)"}, {"distinct_range": 731443.9680930328, "num_eq": 382175344308067545, "num_range": 1000000, "upper_bound": "BOX(-0.4224973122122356 -0.6380700681851212,-0.4055005460400668 0.06665387062381711)"}, {"distinct_range": 50000, "num_eq": 2000, "num_range": 50000, "upper_bound": "BOX(-0.37869956781596853 1.0043596845849287,0.8382862960513195 1.8238105519449799)"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "BOX(0.3050423349687642 -1.5542605946614403,0.7896476068379353 -0.12008446416314461)"}, {"distinct_range": 4692864.606527916, "num_eq": 2665256235416163974, "num_range": 7000000, "upper_bound": "BOX(0.3969137348811713 -0.9186059594642748,1.2972256922177883 1.5908515178760987)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 90000}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2) REFERENCES table2 (col1_2) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('bvbe', 'et', 'yjugbo', 'ui', 'idrpc', 'ehm');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('xf', 'xuhcza', 'asiaik', 'u', 'nnmq');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('t');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.19s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 BOX2D NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_2 STRING, col1_3 BOOL NOT NULL, col1_4 REGNAMESPACE NOT NULL, col1_5 DATE NOT NULL, col1_6 "char" NOT NULL, col1_7 BIT(17) NOT NULL, col1_8 REGCLASS NOT NULL, col1_9 OID[] NOT NULL, col1_10 BOOL NOT NULL, col1_11 VARCHAR, col1_12 DECIMAL NOT NULL, col1_13 FLOAT4 NOT NULL, col1_14 STRING NOT NULL, col1_15 FLOAT4 NOT NULL, col1_16 BIT(6) NOT NULL, PRIMARY KEY (col1_15 ASC, col1_8 ASC, col1_13 ASC, col1_14 ASC, col1_3 ASC, col1_1, col1_5 DESC, col1_6, col1_16 DESC, col1_0 DESC, col1_4, col1_7), INDEX (col1_14 DESC, col1_0, col1_7 DESC, col1_2, col1_11 ASC, col1_12, col1_5, col1_1, col1_10 DESC, col1_6 DESC, col1_13), INDEX (col1_16 ASC, col1_3 ASC, col1_11 ASC, col1_0 DESC, col1_15, col1_8 ASC) STORING (col1_2, col1_9), INDEX (col1_6 ASC, col1_3, col1_10, col1_16 ASC, col1_0 ASC, col1_11, col1_15, col1_2 DESC, col1_7, col1_4, col1_14 DESC, col1_8 DESC, col1_1), INDEX (col1_7 ASC, col1_0 DESC, col1_8 ASC, col1_6 ASC, col1_14 ASC, col1_10 DESC, col1_15 ASC, col1_5 ASC, col1_11 DESC, col1_1 ASC, col1_2) WHERE (((((((table1.col1_12 = (-1.234E+401):::DECIMAL) AND (table1.col1_1 <= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_15 = 1.401298464324817e-45:::FLOAT8)) OR table1.col1_3) OR table1.col1_10) AND (table1.col1_14 = e'\'':::STRING)) OR (table1.col1_5 > '-infinity':::DATE)) AND (table1.col1_13 < 1.401298464324817e-45:::FLOAT8));
        test_1        |             CREATE TABLE table2 (col1_15 FLOAT4 NOT NULL, col1_8 REGCLASS NOT NULL, col1_13 FLOAT4 NOT NULL, col1_14 STRING NOT NULL, col1_3 BOOL NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_5 DATE NOT NULL, col1_6 "char" NOT NULL, col1_16 BIT(6) NOT NULL, col1_0 BOX2D NOT NULL, col1_4 REGNAMESPACE NOT NULL, col1_7 BIT(17) NOT NULL, col2_12 TIME, col2_13 BOOL NOT NULL, col2_14 REGCLASS, col2_15 STRING NOT NULL, col2_16 NAME NOT NULL, col2_17 BOOL, col2_18 BYTES NOT NULL, col2_19 REGCLASS NULL, col2_20 TIMESTAMPTZ, col2_21 NAME NOT NULL, col2_22 INT4 NOT NULL, col2_23 REGTYPE NULL, col2_24 REGPROCEDURE NOT NULL, col2_25 BOX2D, col2_26 BOOL, col2_27 "char" NOT NULL, col2_28 BYTES NULL, col2_29 NAME, col2_30 BYTES NOT NULL, PRIMARY KEY (col1_15 ASC, col1_8 ASC, col1_13 ASC, col1_14 ASC, col1_3 ASC, col1_1, col1_5 DESC, col1_6, col1_16 DESC, col1_0 DESC, col1_4, col1_7, col2_17 ASC, col2_15 ASC, col2_18 DESC, col2_20 ASC, col2_24 DESC, col2_25 ASC, col2_12 ASC, col2_22, col2_30, col2_23 ASC, col2_13, col2_16 DESC, col2_27, col2_14 ASC, col2_29 ASC, col2_28 DESC, col2_26 ASC), INDEX (col1_7, col2_21 DESC, col1_0 DESC, col2_25 ASC, col2_26 DESC, col2_24 ASC, col1_4 ASC, col1_3 DESC, col2_12, col1_14, col1_5 ASC, col2_14 DESC, col2_20, col2_13, col2_28 DESC, col1_16 ASC, col2_27, col1_15 ASC, col2_16 ASC, col2_23, col2_19 ASC, col2_17 ASC, col1_13 ASC, col2_15 ASC, col2_22 DESC, col2_29), INDEX (col2_25, col2_16 ASC, col2_23 ASC, col2_13 ASC, col2_15 ASC, col2_29 ASC, col1_6, col2_27 DESC, col1_5 ASC, col2_19, col1_7 DESC, col1_1 DESC, col1_8 ASC, col2_12 DESC, col2_22 DESC, col2_26, col2_30 DESC, col2_28 DESC, col2_14 ASC, col2_24, col1_15 ASC, col1_13, col1_3 ASC, col1_14 ASC, col1_4 DESC, col1_16 ASC, col2_21 DESC), UNIQUE (col2_21 ASC, col2_12 DESC, col1_6, col1_5 ASC, col1_7 DESC, col2_13, col2_18 DESC, col1_8, col2_27 ASC, col2_16, col1_3 ASC, col2_23 ASC, col2_26, col1_0 ASC, col2_22, col1_14, col2_17 ASC, col1_13 ASC, col2_14, col1_1, col2_15, col1_16, col2_29 ASC, col1_4 DESC, col1_15, col2_24 ASC, col2_19 DESC, col2_20 DESC, col2_28, col2_30 DESC, col2_25 ASC)) INTERLEAVE IN PARENT table1 (col1_15, col1_8, col1_13, col1_14, col1_3, col1_1, col1_5, col1_6, col1_16, col1_0, col1_4, col1_7);
        test_1        |             CREATE TABLE table3 (col3_0 INT8 NULL, col3_1 CHAR NULL, col3_2 REGCLASS NOT NULL, UNIQUE (col3_2 ASC, col3_0) WHERE (table3.col3_1 >= '"':::STRING) OR (table3.col3_0 <= 0:::INT8), UNIQUE (col3_2) STORING (col3_0) WHERE (table3.col3_0 < 1:::INT8) AND (table3.col3_1 > e'\'':::STRING), UNIQUE (col3_2 ASC) WHERE (table3.col3_0 < 2147483647:::INT8) OR (table3.col3_1 != 'X':::STRING), INDEX (col3_0, col3_1 ASC, col3_2 DESC) WHERE table3.col3_0 = 2147483647:::INT8, INDEX (col3_2, col3_1 ASC, col3_0), FAMILY (col3_1), FAMILY (col3_0), FAMILY (col3_2));
        test_1        |             CREATE TABLE table4 (col1_15 FLOAT4 NOT NULL, col1_8 REGCLASS NOT NULL, col1_13 FLOAT4 NOT NULL, col1_14 STRING NOT NULL, col1_3 BOOL NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_5 DATE NOT NULL, col1_6 "char" NOT NULL, col1_16 BIT(6) NOT NULL, col1_0 BOX2D NOT NULL, col1_4 REGNAMESPACE NOT NULL, col1_7 BIT(17) NOT NULL, col4_12 INT2, col4_13 DATE, col4_14 BOOL NULL, PRIMARY KEY (col1_15 ASC, col1_8 ASC, col1_13 ASC, col1_14 ASC, col1_3 ASC, col1_1, col1_5 DESC, col1_6, col1_16 DESC, col1_0 DESC, col1_4, col1_7, col4_14 ASC, col4_12 ASC), INDEX (col1_1 ASC, col1_15 ASC), FAMILY (col1_13), FAMILY (col1_7, col1_4), FAMILY (col1_1), FAMILY (col4_12, col4_14), FAMILY (col1_0, col1_6), FAMILY (col4_13, col1_15), FAMILY (col1_5), FAMILY (col1_8), FAMILY (col1_14), FAMILY (col1_16, col1_3)) INTERLEAVE IN PARENT table1 (col1_15, col1_8, col1_13, col1_14, col1_3, col1_1, col1_5, col1_6, col1_16, col1_0, col1_4, col1_7);
        test_1        |             CREATE TABLE table5 (col5_0 STRING NOT NULL, col5_1 INT2 NOT NULL, col5_2 INTERVAL NOT NULL, col5_3 TIMETZ NOT NULL, col5_4 TIMESTAMPTZ NULL, col5_5 INT8 NOT NULL, col5_6 INTERVAL NOT NULL, col5_7 NAME NOT NULL, col5_8 BOX2D NOT NULL, col5_9 INET NOT NULL, col5_10 STRING NOT NULL, col5_11 INTERVAL NOT NULL, col5_12 UUID NOT NULL, PRIMARY KEY (col5_6 ASC, col5_10, col5_8, col5_7 DESC, col5_2, col5_3 ASC, col5_9, col5_1 ASC, col5_5 ASC, col5_0, col5_12 DESC), FAMILY (col5_8), FAMILY (col5_7), FAMILY (col5_10), FAMILY (col5_5, col5_11), FAMILY (col5_1), FAMILY (col5_12, col5_2), FAMILY (col5_3), FAMILY (col5_6), FAMILY (col5_0), FAMILY (col5_4, col5_9));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4421220, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2177283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1995827, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4089467, "histo_col_type": "", "name": "__auto__", "null_count": 5227323, "row_count": 9000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 624051, "histo_buckets": [{"distinct_range": 0, "num_eq": 1519277934407476013, "num_range": 0, "upper_bound": "LVD|k6\\u0019"}, {"distinct_range": 0, "num_eq": 400, "num_range": 6914802052751402391, "upper_bound": "Wph\\u0007s\\\\\\u0002\\u001a"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8518896, "histo_buckets": [{"distinct_range": 0, "num_eq": 2135373546690087068, "num_range": 0, "upper_bound": "-0.6018646359443665"}, {"distinct_range": 8057471900646522000, "num_eq": 6000000000, "num_range": 8057471900646521963, "upper_bound": "-0.4760020971298218"}, {"distinct_range": 400, "num_eq": 4874776056933070185, "num_range": 400, "upper_bound": "0.05681411549448967"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 100000000000, "upper_bound": "0.3634089231491089"}, {"distinct_range": 2248486110707539000, "num_eq": 8000, "num_range": 2581518674125490630, "upper_bound": "0.4216398298740387"}, {"distinct_range": 16790112454526602, "num_eq": 730226615948399051, "num_range": 62681090901573098, "upper_bound": "0.491224080324173"}, {"distinct_range": 3675698547245577000, "num_eq": 0, "num_range": 4328000293764960405, "upper_bound": "1.367444634437561"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5910014, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7229706, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 555067, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4948572, "histo_buckets": [{"distinct_range": 0, "num_eq": 2247584304765955632, "num_range": 0, "upper_bound": "00101100010010010"}, {"distinct_range": 40000000, "num_eq": 70000000, "num_range": 40000000, "upper_bound": "01111111111111111"}, {"distinct_range": 4137903363047047000, "num_eq": 40000000000, "num_range": 4137903363047047017, "upper_bound": "10100110001001110"}], "histo_col_type": "BIT(17)", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4764073, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4769307, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "001110"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 4978909433702386016, "upper_bound": "010000"}, {"distinct_range": 0, "num_eq": 2644502364472099572, "num_range": 0, "upper_bound": "010010"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 6000000000, "upper_bound": "101110"}, {"distinct_range": 70000000000, "num_eq": 3313446826697535794, "num_range": 70000000000, "upper_bound": "110101"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6362499, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5170189, "histo_col_type": "", "name": "__auto__", "null_count": 7395459, "row_count": 9000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 278133, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3768894, "histo_buckets": [{"distinct_range": 0, "num_eq": 3227981486869955936, "num_range": 0, "upper_bound": "8"}, {"distinct_range": 43090136437.77325, "num_eq": 2000, "num_range": 80000000000, "upper_bound": ">"}, {"distinct_range": 1311427142459287300, "num_eq": 1000, "num_range": 2819935266531839148, "upper_bound": "?"}, {"distinct_range": 500, "num_eq": 100, "num_range": 500, "upper_bound": "f"}, {"distinct_range": 8527.60646974802, "num_eq": 8513960975551298263, "num_range": 30000, "upper_bound": "m"}, {"distinct_range": 5454406744622175000, "num_eq": 80000000, "num_range": 5898890158260434325, "upper_bound": "p"}, {"distinct_range": 1159758744917491200, "num_eq": 4000000000, "num_range": 1159758744917491097, "upper_bound": "v"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7075826, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71116394777445312, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 231835469754587499, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 25.3978501575304, "num_eq": 3605246072760479996, "num_range": 100, "upper_bound": "\\u000cZ05qLm\\n"}, {"distinct_range": 584614.5465348907, "num_eq": 4000000000, "num_range": 5000000, "upper_bound": "\\u0019)X\\u0014."}, {"distinct_range": 6785078881134102000, "num_eq": 20000000000, "num_range": 6785078881134101066, "upper_bound": "3"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 2012931588060412290, "upper_bound": "8o\\u0008\\u0016:l[%"}, {"distinct_range": 800, "num_eq": 70, "num_range": 800, "upper_bound": "a\\u0012#"}, {"distinct_range": 6494680844225282000, "num_eq": 5076931221837946088, "num_range": 7371035161585907660, "upper_bound": "nGpN?P"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 910455335739909111, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2490063190275895661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2186158435613938646, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2544956048552392979, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 412497540585348899, "histo_col_type": "", "name": "__auto__", "null_count": 1642755371354144317, "row_count": 3002383212648800958}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 187392801179285144, "histo_col_type": "", "name": "__auto__", "null_count": 1253051094269325593, "row_count": 3002383212648800958}, {"columns": ["col2_30"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 322522186764788728, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2057641786171481742, "histo_col_type": "BIT(17)", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1189102824153829493, "histo_col_type": "", "name": "__auto__", "null_count": 700154941060263808, "row_count": 3002383212648800958}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38917815044367447, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2674723239683710924, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2569403090261111857, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_29"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2492883833736907924, "histo_col_type": "", "name": "__auto__", "null_count": 1292644254524004968, "row_count": 3002383212648800958}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 651494830465092625, "histo_col_type": "", "name": "__auto__", "null_count": 1778498756452672888, "row_count": 3002383212648800958}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509232875163074179, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1292452863164506660, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208641828864603857, "histo_col_type": "", "name": "__auto__", "null_count": 2455788391629751991, "row_count": 3002383212648800958}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14153388287797341, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2115578940982385963, "histo_col_type": "", "name": "__auto__", "null_count": 88345854690788219, "row_count": 3002383212648800958}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1134783772533786432, "histo_col_type": "", "name": "__auto__", "null_count": 298773358038993775, "row_count": 3002383212648800958}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2179296824640862289, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "BOX(-2.534896864662036 -0.8081323708550268,0.9622861677356547 -0.15752630931885792)"}, {"distinct_range": 3209757715728929000, "num_eq": 7430042495895921728, "num_range": 3209757715728928639, "upper_bound": "BOX(-1.0056307629340684 -1.0315332904203052,0.9116891121942066 -0.5906015156136053)"}, {"distinct_range": 0, "num_eq": 4220950631322216045, "num_range": 0, "upper_bound": "BOX(-0.08882399186595918 -0.7704574896468638,0.22471593816625046 1.0765866745969799)"}, {"distinct_range": 41.98354033468898, "num_eq": 9000000, "num_range": 60, "upper_bound": "BOX(0.044566445952931355 0.08662082747578126,0.3686823930570008 0.28412997007364016)"}, {"distinct_range": 249833066.3111215, "num_eq": 5887538171179125245, "num_range": 2000000000, "upper_bound": "BOX(0.4117179331208476 -0.588420003317087,2.038136031693118 0.07267728687279895)"}, {"distinct_range": 5411255473889487000, "num_eq": 900, "num_range": 5411255473889486642, "upper_bound": "BOX(0.9728408729954913 -0.10494836855554274,1.9855759659221488 1.1532141872704822)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 1538153136178702473, "row_count": 3002383212648800958}, {"columns": ["col2_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1523257648927035586, "histo_col_type": "", "name": "__auto__", "null_count": 2944945522837497446, "row_count": 3002383212648800958}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2893465247071087577, "histo_buckets": [{"distinct_range": 0, "num_eq": 7178962716911732978, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "-1.807637095451355"}, {"distinct_range": 293.2594584021164, "num_eq": 400000, "num_range": 10000, "upper_bound": "-0.3755286633968353"}, {"distinct_range": 1000000000, "num_eq": 0, "num_range": 1000000000, "upper_bound": "0.0956520214676857"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2713726665047185998, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2380119346334557679, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1681628956131935497, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 578062891182359284, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372365199344353324, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2729301751417801829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3002383212648800958}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 908961272250670064, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-2204180437432209214"}, {"distinct_range": 602.30732159708, "num_eq": 8000000, "num_range": 2000, "upper_bound": "6675425411502198334"}, {"distinct_range": 15.79309196936479, "num_eq": 2966558790239263878, "num_range": 60, "upper_bound": "6968703304057623858"}, {"distinct_range": 0, "num_eq": 6303332617753569408, "num_range": 0, "upper_bound": "7708729317067613198"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 642234699485305665, "row_count": 2458636077067528098}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 999094426478513100, "histo_col_type": "", "name": "__auto__", "null_count": 2264649350475679859, "row_count": 2458636077067528098}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1093554198720417629, "histo_buckets": [{"distinct_range": 0, "num_eq": 3121525454195156121, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 2029288561616442600, "num_eq": 8361701426754424012, "num_range": 2029288561616442747, "upper_bound": "1195613967"}, {"distinct_range": 5461652669369164000, "num_eq": 60, "num_range": 5461652669369164126, "upper_bound": "1323182742"}, {"distinct_range": 2038645869545020700, "num_eq": 7260680173000125521, "num_range": 7476889313523064896, "upper_bound": "1423730652"}, {"distinct_range": 428694433886037060, "num_eq": 10, "num_range": 4776026222974317631, "upper_bound": "2767216768"}, {"distinct_range": 20, "num_eq": 10000000000, "num_range": 20, "upper_bound": "2885519943"}, {"distinct_range": 2161297547579566600, "num_eq": 7600961811488401986, "num_range": 8027222608011232542, "upper_bound": "3283825136"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 2458636077067528098}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col1_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": ["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_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1995-10-30 08:14:16.000958+00:00"}, {"distinct_range": 90000000, "num_eq": 6554260297364088246, "num_range": 90000000, "upper_bound": "2017-02-22 07:36:52.000934+00:00"}, {"distinct_range": 37957530722.91739, "num_eq": 5657517060708863551, "num_range": 40000000000, "upper_bound": "2019-01-27 12:39:04.000111+00:00"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 1000000, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_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": ["col4_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_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_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_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_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_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "-1.5131326913833618"}, {"distinct_range": 297988.57800416107, "num_eq": 650172488263542721, "num_range": 600000, "upper_bound": "-0.09706350415945053"}, {"distinct_range": 1000000, "num_eq": 8498622318444199095, "num_range": 1000000, "upper_bound": "0.1813085973262787"}, {"distinct_range": 6559262340373366000, "num_eq": 100000, "num_range": 6559262340373366005, "upper_bound": "0.9488418102264404"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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_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": ["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_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}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 453642448226854622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 741853043862352072, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2048577277146467711, "histo_col_type": "", "name": "__auto__", "null_count": 1647601401086622158, "row_count": 8012141967984667125}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5667205422939569754, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6151688454615873002, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4702091381507160313, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6027447227466035480, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5227644742939992672, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 151144796480927873, "histo_buckets": [{"distinct_range": 0, "num_eq": 9007652360619271292, "num_range": 0, "upper_bound": "-59 years -1 mons -506 days -20:36:20.290008"}, {"distinct_range": 900, "num_eq": 8074618935752110039, "num_range": 900, "upper_bound": "-43 years -9 mons -864 days -04:03:36.837081"}, {"distinct_range": 0, "num_eq": 1629812727730746676, "num_range": 500, "upper_bound": "-39 years -2 mons -431 days -19:58:38.238621"}, {"distinct_range": 4573907.011740209, "num_eq": 7508542493745025918, "num_range": 10000000, "upper_bound": "-20 years -3 mons -898 days -01:24:29.977359"}, {"distinct_range": 7463712880569001000, "num_eq": 700, "num_range": 7463712880569000875, "upper_bound": "72 years 3 mons 809 days 22:53:25.987441"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5550219483324370093, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4675051077102051465, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3775712566377621709, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3755570135388462336, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8012141967984667125}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('hrglht', 'qosm', 'om', 'lzzez', 'wslklb', 'hjl');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('pt', 'a', 'cj');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('qzz', 'zhfnvl', 'pewt');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down....2021-02-03 06:11:31.727 UTC [48] LOG:  received fast shutdown request
        postgres_1    | 2021-02-03 06:11:31.729 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-02-03 06:11:31.731 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-02-03 06:11:31.737 UTC [50] LOG:  shutting down
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@100c09f4f6eb3f5b18a67ec4bbfdfe989e0d6ce2:

        test_1        |             CREATE TABLE table2 (col1_13 FLOAT8 NOT NULL, col1_17 FLOAT4 NOT NULL, col1_8 STRING NOT NULL, col1_18 REGCLASS NOT NULL, col1_16 TIME NOT NULL, col1_2 REGPROC NOT NULL, col1_7 "char" NOT NULL, col2_7 CHAR NOT NULL, col2_8 INTERVAL NULL, col2_9 FLOAT8 NOT NULL, col2_10 TIMESTAMPTZ, col2_11 INTERVAL NOT NULL, col2_12 DECIMAL NOT NULL, col2_13 REGCLASS, col2_14 TIME, col2_15 INT2 NOT NULL, col2_16 BOOL NOT NULL, col2_17 REGPROC NULL, col2_18 REGCLASS NOT NULL, PRIMARY KEY (col1_13, col1_17, col1_8, col1_18, col1_16, col1_2, col1_7, col2_12)) INTERLEAVE IN PARENT table1 (col1_13, col1_17, col1_8, col1_18, col1_16, col1_2, col1_7);
        test_1        |             CREATE INDEX ON table2 (col1_17, col2_14 ASC, col1_2, col2_9 ASC, col1_7, col2_10 ASC, col2_13 DESC, col2_15 ASC, col2_7 ASC, col2_18 ASC, col2_17 ASC, col1_16, col2_8 ASC, col2_11 DESC, col1_18 ASC, col2_12, col1_13, col1_8, col2_16 DESC);
        test_1        |             CREATE INDEX ON table2 (col2_12, col2_8 ASC, col1_7, col1_16 DESC);
        test_1        |             CREATE INDEX ON table2 (col2_9 ASC, col1_17 DESC, col2_10 DESC, col2_11, col2_12, col1_13 ASC) STORING (col2_13, col2_15, col2_18);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_7, col2_17 ASC, col1_8, col2_9 DESC, col2_13, col2_15 ASC, col2_10 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_11 DESC, col1_17 ASC, col2_12 DESC, col1_18 ASC, col2_13 ASC, col1_2, col2_16, col2_14 DESC, col1_16 DESC, col2_8, col1_13 DESC, col2_9 ASC, col1_7 ASC, col2_10 ASC, col2_15 DESC, col1_8 ASC, col2_18 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_9, col1_7 ASC, col1_18 ASC, col2_18 ASC, col2_10 DESC, col2_7 ASC, col1_13, col1_16 ASC, col2_15 ASC, col1_2 ASC, col2_11, col1_8 DESC, col2_8);
        test_1        |             CREATE TABLE table3 (col3_0 INET NOT NULL, col3_1 BIT(10) NOT NULL);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 DESC) STORING (col3_1);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0, col3_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0, col3_1);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6711, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 202314.36651666023, "num_eq": 4056808411227326779, "num_range": 500000, "upper_bound": "260189578"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "532754786"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 9000000, "upper_bound": "1173006487"}, {"distinct_range": 4000000000, "num_eq": 5278653434002741198, "num_range": 4000000000, "upper_bound": "2448995839"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 4825, "row_count": 7000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_buckets": [{"distinct_range": 0, "num_eq": 947810232286893101, "num_range": 0, "upper_bound": "-18512"}, {"distinct_range": 2936273181031287300, "num_eq": 60000000, "num_range": 2936273181031287502, "upper_bound": "11198"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 1583, "row_count": 7000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4066, "histo_col_type": "", "name": "__auto__", "null_count": 5732, "row_count": 7000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3227, "histo_col_type": "", "name": "__auto__", "null_count": 6761, "row_count": 7000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6990, "histo_col_type": "", "name": "__auto__", "null_count": 5010, "row_count": 7000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4567, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4110, "histo_buckets": [{"distinct_range": 0, "num_eq": 5011943444633366447, "num_range": 0, "upper_bound": "01ff0775-4a2a-43a6-b87a-9b4c2011d8e8"}, {"distinct_range": 0, "num_eq": 6309089843782860467, "num_range": 20, "upper_bound": "24598af1-93a6-4605-b883-2042fc90245a"}, {"distinct_range": 0, "num_eq": 803790473583038637, "num_range": 0, "upper_bound": "33d375bc-f9d2-4bae-8a76-651049fa2318"}, {"distinct_range": 10000000000, "num_eq": 90000000, "num_range": 10000000000, "upper_bound": "61e469b6-058e-4e2c-abb9-a311b56bf228"}, {"distinct_range": 0, "num_eq": 8961612413151086885, "num_range": 400, "upper_bound": "658cf903-584a-4550-99f2-47d05a254231"}, {"distinct_range": 8671835252954615000, "num_eq": 5204072714132446476, "num_range": 8671835252954614998, "upper_bound": "6b10de55-72da-4943-ba53-e0a0847f5479"}, {"distinct_range": 4530337107842328600, "num_eq": 468069085355253090, "num_range": 4530337107842328416, "upper_bound": "7f7437f9-23e4-4c70-8ed4-54980e19d5af"}, {"distinct_range": 0, "num_eq": 2821187297598372568, "num_range": 500000, "upper_bound": "9d11886e-14e7-4e26-8ac1-29c850a68061"}, {"distinct_range": 9037307217114700000, "num_eq": 7797656371702788986, "num_range": 9174771149548518402, "upper_bound": "f71e3bc7-fd26-4da5-81fa-a862d5c0020c"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1314, "row_count": 7000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2447, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2865, "histo_buckets": [{"distinct_range": 0, "num_eq": 2932226677210490323, "num_range": 0, "upper_bound": "-0.87062668800354"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4813, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "BOX(-1.7620650160106641 -1.0514542394320046,0.3659031148867591 0.22328965420215452)"}, {"distinct_range": 941062.4924613684, "num_eq": 500000000, "num_range": 1000000, "upper_bound": "BOX(-1.3435998637613569 0.15115175130518513,0.7279537395754048 0.24143749052538813)"}, {"distinct_range": 935523090502551600, "num_eq": 400, "num_range": 935523090502551567, "upper_bound": "BOX(-0.9685842430996414 0.2281088749459727,1.547513553890365 0.32447946019133933)"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "BOX(-0.5609646177321297 0.09402650795165435,-0.5587030237012294 0.17898656365247484)"}, {"distinct_range": 844958181405609300, "num_eq": 0, "num_range": 2660207664939094268, "upper_bound": "BOX(-0.16187378141159403 -0.8209477000351686,0.9374343462410367 -0.4829659888402993)"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 7000000, "upper_bound": "BOX(0.05022977892192415 0.4653519804156838,0.09428899990986568 1.9530348936604867)"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 20000, "upper_bound": "BOX(0.7906143196054566 -0.941706802548639,0.9117948026177295 -0.08481790085713925)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5237, "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": 3680, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3398, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "-0.48952052389128403"}, {"distinct_range": 0, "num_eq": 8666913637538051924, "num_range": 100, "upper_bound": "0.5089638827658299"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4784, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5884, "histo_col_type": "", "name": "__auto__", "null_count": 4217, "row_count": 7000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5435, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 82252453.33986959, "num_eq": 2901183319026274361, "num_range": 100000000, "upper_bound": "1310390210"}, {"distinct_range": 3430688850303366700, "num_eq": 6243957892456218760, "num_range": 3430688850303366771, "upper_bound": "2653707994"}, {"distinct_range": 0, "num_eq": 30, "num_range": 6677144007076293630, "upper_bound": "3386481206"}, {"distinct_range": 461787409.6275784, "num_eq": 5538192700826865381, "num_range": 500000000, "upper_bound": "3714726816"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2209, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2441, "histo_col_type": "", "name": "__auto__", "null_count": 6416, "row_count": 7000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"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": ["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_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "INTERVAL", "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_buckets": [{"distinct_range": 0, "num_eq": 8629759865753205177, "num_range": 0, "upper_bound": "-180480.5546326911897"}, {"distinct_range": 5000000, "num_eq": 100000000, "num_range": 5000000, "upper_bound": "1"}, {"distinct_range": 3212453855038770000, "num_eq": 2609481814604087093, "num_range": 8292972403786615329, "upper_bound": "372.505141069385335"}, {"distinct_range": 3396826907465456600, "num_eq": 200000000, "num_range": 3396826907465456584, "upper_bound": "70592.86986446542409"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6000000, "upper_bound": "1.199907631288757074E+21"}, {"distinct_range": 0, "num_eq": 5791527741241827533, "num_range": 10, "upper_bound": "7.62345030772716231E+22"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col2_18"], "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": 300, "num_range": 0, "upper_bound": "-1.5280100704859785"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 1311878330253975774, "upper_bound": "-1.2106579489805873"}, {"distinct_range": 49180.78186000185, "num_eq": 300000, "num_range": 60000, "upper_bound": "-1.0892095390383192"}, {"distinct_range": 800000000, "num_eq": 4899949281619104348, "num_range": 800000000, "upper_bound": "-0.5913559879579366"}, {"distinct_range": 24262968.198152125, "num_eq": 0, "num_range": 800000000, "upper_bound": "-0.586625433807045"}, {"distinct_range": 0, "num_eq": 3709089977098808540, "num_range": 90000, "upper_bound": "2.081143495536817"}], "histo_col_type": "FLOAT8", "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_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "-1.3542861938476562"}, {"distinct_range": 50, "num_eq": 30000000000, "num_range": 50, "upper_bound": "-0.3067168593406677"}, {"distinct_range": 5000000000, "num_eq": 1011790446675574954, "num_range": 5000000000, "upper_bound": "1.5456395149230957"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_18"], "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": "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_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_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": ["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": ["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": ["col2_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}, {"columns": ["col1_7"], "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": ["col2_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": ["col2_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}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 284280080, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "205.5.243.155/21"}, {"distinct_range": 30000, "num_eq": 1000000, "num_range": 30000, "upper_bound": "199.194.125.85/28"}, {"distinct_range": 2251559948788546000, "num_eq": 200000, "num_range": 3544774794208228493, "upper_bound": "4282:d493:976f:51c1:c313:e6af:f64f:4ccb/38"}, {"distinct_range": 1381775.896226545, "num_eq": 1040218958401582498, "num_range": 7000000, "upper_bound": "abcf:84c2:570f:97d1:dc8b:bdcd:cec1:2f0/79"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 300000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 223120222, "histo_col_type": "BIT(10)", "name": "__auto__", "null_count": 0, "row_count": 300000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('x', 'guklah', 'pbez');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('qd', 'bhciub', 'u', 'mjw', 'jqviqd', 'op');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('twaws', 'ixvdl', 'cac', 'yqwpq');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.20s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 REGCLASS NOT NULL, col1_1 FLOAT8 NOT NULL, col1_2 DATE, PRIMARY KEY (col1_1 DESC, col1_0 ASC), INDEX (col1_0, col1_2, col1_1 DESC) WHERE (table1.col1_2 != '1970-01-01':::DATE) AND (table1.col1_1 != 'NaN':::FLOAT8), UNIQUE (col1_2 DESC, col1_1 ASC) WHERE (table1.col1_1 < 0.0:::FLOAT8) OR (table1.col1_2 <= '5874897-12-31':::DATE), UNIQUE (col1_1 DESC, col1_2 DESC, col1_0 DESC), UNIQUE (col1_1 ASC, col1_2 DESC) WHERE table1.col1_1 != 'NaN':::FLOAT8, UNIQUE (col1_1 DESC), UNIQUE (col1_0, col1_1 DESC) STORING (col1_2), UNIQUE (col1_0 ASC, col1_2 ASC, col1_1 ASC), UNIQUE (col1_0 ASC, col1_1 DESC) WHERE table1.col1_2 < 'infinity':::DATE, FAMILY (col1_1), FAMILY (col1_2, col1_0));
        test_1        |             CREATE TABLE table2 (col2_0 BOX2D NOT NULL, col2_1 BIT(20) NULL, col2_2 TIMESTAMP NOT NULL, col2_3 TIMESTAMPTZ NULL, col2_4 STRING NOT NULL, PRIMARY KEY (col2_2, col2_4), UNIQUE (col2_1 ASC, col2_4, col2_2 DESC, col2_3 ASC, col2_0), INDEX (col2_4 ASC, col2_0 DESC), INDEX (col2_1 ASC, col2_3 ASC, col2_2 DESC, col2_4, col2_0 DESC) WHERE (table2.col2_2 >= '-4713-11-24 00:00:00':::TIMESTAMP) AND (table2.col2_3 <= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ), FAMILY (col2_4), FAMILY (col2_1, col2_0), FAMILY (col2_3), FAMILY (col2_2));
        test_1        |             CREATE TABLE table3 (col2_2 TIMESTAMP NOT NULL, col2_4 STRING NOT NULL, col3_2 INT4, col3_3 INT4, col3_4 INT2 NOT NULL, col3_5 OID, PRIMARY KEY (col2_2, col2_4, col3_5 ASC, col3_2), UNIQUE (col3_4 ASC, col3_5 ASC, col2_4 ASC, col3_3, col3_2 DESC, col2_2) WHERE (table3.col3_3 = (-1):::INT8) OR (table3.col3_2 != 2147483647:::INT8), INDEX (col2_2 ASC, col3_2, col2_4 DESC, col3_3 DESC) WHERE ((table3.col3_4 != (-128):::INT8) AND (table3.col2_4 <= 'X':::STRING)) AND (table3.col2_2 > '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col3_2, col3_5, col2_4, col2_2) WHERE ((((table3.col3_3 = 2147483647:::INT8) OR (table3.col3_4 > 127:::INT8)) OR (table3.col2_2 != '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table3.col2_4 < 'X':::STRING)) OR (table3.col3_2 < (-2147483648):::INT8), INDEX (col3_5 DESC, col2_2 ASC, col3_3 ASC, col2_4, col3_4 DESC, col3_2 ASC), UNIQUE (col3_4, col3_3, col3_2 ASC, col3_5 ASC), UNIQUE (col3_5 ASC, col3_4 DESC), UNIQUE (col2_2 ASC) WHERE ((((table3.col2_2 > '294276-12-31 23:59:59.999999':::TIMESTAMP) OR (table3.col3_2 < 2147483647:::INT8)) OR (table3.col2_4 > 'X':::STRING)) AND (table3.col3_3 > (-1):::INT8)) OR (table3.col3_4 <= 1:::INT8), INDEX (col3_2) WHERE ((((table3.col2_4 <= e'\'':::STRING) OR (table3.col3_3 <= (-128):::INT8)) AND (table3.col3_2 <= (-1):::INT8)) AND (table3.col3_4 > 1:::INT8)) AND (table3.col2_2 >= '294276-12-31 23:59:59.999999':::TIMESTAMP)) INTERLEAVE IN PARENT table2 (col2_2, col2_4);
        test_1        |             CREATE TABLE table4 (col4_0 VARCHAR NOT NULL, col4_1 FLOAT8 NOT NULL, col4_2 REGTYPE NOT NULL, col4_3 REGNAMESPACE NOT NULL, col4_4 REGPROCEDURE NOT NULL, col4_5 CHAR, col4_6 STRING NOT NULL, col4_7 FLOAT4 NOT NULL, col4_8 TIME NOT NULL, col4_9 TIME NOT NULL, col4_10 STRING NOT NULL, PRIMARY KEY (col4_2 ASC, col4_10 ASC, col4_7 DESC, col4_8 DESC, col4_0 DESC, col4_9 DESC, col4_4 ASC), UNIQUE (col4_0) WHERE (((((((table4.col4_6 >= e'\U00002603':::STRING) AND (table4.col4_7 = '+Inf':::FLOAT8)) AND (table4.col4_1 = 1.7976931348623157e+308:::FLOAT8)) OR (table4.col4_5 >= '':::STRING)) AND (table4.col4_10 != e'\U00002603':::STRING)) OR (table4.col4_0 <= 'X':::STRING)) OR (table4.col4_9 < '24:00:00':::TIME)) OR (table4.col4_8 > '00:00:00':::TIME), FAMILY (col4_9), FAMILY (col4_2), FAMILY (col4_5), FAMILY (col4_1), FAMILY (col4_4), FAMILY (col4_3, col4_10, col4_6, col4_0), FAMILY (col4_8, col4_7));
        test_1        |             CREATE TABLE table5 (col4_2 REGTYPE NOT NULL, col4_10 STRING NOT NULL, col4_7 FLOAT4 NOT NULL, col4_8 TIME NOT NULL, col4_0 VARCHAR NOT NULL, col4_9 TIME NOT NULL, col4_4 REGPROCEDURE NOT NULL, col5_7 TIMETZ, col5_8 BYTES NULL, col5_9 INTERVAL NOT NULL, PRIMARY KEY (col4_2 ASC, col4_10 ASC, col4_7 DESC, col4_8 DESC, col4_0 DESC, col4_9 DESC, col4_4 ASC, col5_8 ASC), UNIQUE (col4_0, col5_7, col4_2) STORING (col5_9) WHERE table5.col4_9 >= '24:00:00':::TIME, INDEX (col4_7, col4_8) WHERE ((table5.col5_7 = '00:00:00+15:59:00':::TIMETZ) AND (table5.col4_8 > '24:00:00':::TIME)) OR (table5.col4_10 >= '"':::STRING), UNIQUE (col4_7 DESC, col5_7 DESC, col4_0, col4_2 ASC, col5_8 ASC, col4_10 ASC, col5_9 ASC, col4_4 DESC) WHERE ((((((table5.col4_9 >= '24:00:00':::TIME) AND (table5.col4_10 > e'\'':::STRING)) AND (table5.col4_7 < 'NaN':::FLOAT8)) OR (table5.col5_7 < '00:00:00+15:59:00':::TIMETZ)) AND (table5.col4_8 != '00:00:00':::TIME)) OR (table5.col4_0 <= 'X':::STRING)) OR (table5.col5_8 <= '\x22':::BYTES), UNIQUE (col4_4 DESC, col4_2 DESC, col4_0 ASC, col4_7 DESC, col5_8 DESC, col4_9), FAMILY (col4_10), FAMILY (col5_8, col4_7), FAMILY (col4_9, col4_2, col5_9, col4_8), FAMILY (col5_7, col4_4), FAMILY (col4_0)) INTERLEAVE IN PARENT table4 (col4_2, col4_10, col4_7, col4_8, col4_0, col4_9, col4_4);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 331977, "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 435274, "histo_buckets": [{"distinct_range": 0, "num_eq": 4537955954324984440, "num_range": 0, "upper_bound": "-1.4413412031269406"}, {"distinct_range": 0, "num_eq": 7401446920914269955, "num_range": 7231751586782091302, "upper_bound": "-1.071112477157019"}, {"distinct_range": 12633693867.250082, "num_eq": 1837574351692095862, "num_range": 30000000000, "upper_bound": "0.5962885237380313"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12405, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "1971-06-21"}, {"distinct_range": 0, "num_eq": 3607839594522957782, "num_range": 1368374546429163405, "upper_bound": "1976-02-13"}, {"distinct_range": 2024120321135443000, "num_eq": 7198317404946196255, "num_range": 8652259460126452100, "upper_bound": "1976-03-08"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 7887117141515155373, "upper_bound": "1979-01-14"}, {"distinct_range": 2355449247511316000, "num_eq": 0, "num_range": 2355449247511315901, "upper_bound": "1980-10-17"}, {"distinct_range": 3645896630944154600, "num_eq": 7112296363577132467, "num_range": 3645896630944154470, "upper_bound": "1985-06-17"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "1996-06-15"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 430430, "row_count": 700000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1838, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "1991-04-14 02:23:49.000913"}, {"distinct_range": 1243559903658697200, "num_eq": 143795378627485925, "num_range": 1376499370035661418, "upper_bound": "1995-08-23 05:48:39.000782"}, {"distinct_range": 0, "num_eq": 5624767984126791355, "num_range": 9171304595880818757, "upper_bound": "2028-01-30 12:56:34.000484"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1658, "histo_col_type": "", "name": "__auto__", "null_count": 506, "row_count": 6000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2956, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "!\\u0007"}, {"distinct_range": 0, "num_eq": 7177497022051162751, "num_range": 2000000000, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 3780097148611687480, "upper_bound": "7\\u001cp"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 50000000, "upper_bound": "9\\u0013#t\\u0014"}, {"distinct_range": 7883718985.48364, "num_eq": 8173157008981971355, "num_range": 10000000000, "upper_bound": "QX6\\u0002W\\u0015m?"}, {"distinct_range": 0, "num_eq": 3822872222570104483, "num_range": 10000, "upper_bound": "\\\\T5n\\u001c}uv"}, {"distinct_range": 0, "num_eq": 837312384002113728, "num_range": 1619826614660095597, "upper_bound": "i\\u000e"}, {"distinct_range": 8000000000, "num_eq": 5000000, "num_range": 8000000000, "upper_bound": "mrq&\\u0011Hgh>"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2222, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4169, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00000000000000000000"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "01000010110010110000"}, {"distinct_range": 2932903275758189000, "num_eq": 600000, "num_range": 2932903275758189162, "upper_bound": "10101100110000100100"}, {"distinct_range": 5687799637080621000, "num_eq": 5353670765176017833, "num_range": 8802903096602625764, "upper_bound": "11000010110011000101"}], "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 1631, "row_count": 6000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2110939, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-1632045046"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 6805244133180601645, "upper_bound": "1401965217"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 3359625, "row_count": 4000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1400871, "histo_col_type": "", "name": "__auto__", "null_count": 368228, "row_count": 4000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1016861, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 7000, "upper_bound": "0"}, {"distinct_range": 1366848327.4343355, "num_eq": 0, "num_range": 3000000000, "upper_bound": "13155"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2692404, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "173124832"}, {"distinct_range": 0, "num_eq": 354533496298338747, "num_range": 1020464920989371872, "upper_bound": "1024490668"}, {"distinct_range": 475.49070281004845, "num_eq": 700000, "num_range": 1000, "upper_bound": "1648981236"}, {"distinct_range": 600000000, "num_eq": 400000000, "num_range": 600000000, "upper_bound": "3322165604"}, {"distinct_range": 617941485403915900, "num_eq": 1871771269427391390, "num_range": 4686512025092376270, "upper_bound": "3403250053"}, {"distinct_range": 200000000, "num_eq": 60000, "num_range": 200000000, "upper_bound": "4017171402"}, {"distinct_range": 0, "num_eq": 200, "num_range": 100, "upper_bound": "4126982911"}, {"distinct_range": 8217785386540178000, "num_eq": 8873851196064354858, "num_range": 8963288179775904882, "upper_bound": "4153122769"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 637531, "row_count": 4000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2885243, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "1974-01-14 22:21:17.000358"}, {"distinct_range": 6388040649585116000, "num_eq": 6194577118811031440, "num_range": 6388040649585115779, "upper_bound": "1979-11-26 08:15:08.000371"}, {"distinct_range": 3472325111048082000, "num_eq": 500, "num_range": 5155455486717835971, "upper_bound": "1988-01-05 15:22:49.000881"}, {"distinct_range": 400000000, "num_eq": 600000000, "num_range": 400000000, "upper_bound": "2018-07-25 13:39:30.000013"}, {"distinct_range": 5851115728.687025, "num_eq": 2341746910488965668, "num_range": 10000000000, "upper_bound": "2021-01-28 12:21:18.000562"}, {"distinct_range": 3512657807952036400, "num_eq": 2841332974745336372, "num_range": 3512657807952036375, "upper_bound": "2027-09-17 03:50:57.000187"}, {"distinct_range": 90000, "num_eq": 6000000, "num_range": 90000, "upper_bound": "294276-12-31 23:59:59.999999"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1376571, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 324760020574045151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183371226073857956, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84412023519458316, "histo_buckets": [{"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "2774018917"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1091773247916781323, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 358087837049710016, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1124851698916693523, "histo_col_type": "", "name": "__auto__", "null_count": 1290029545343439694, "row_count": 1297873891721643980}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38420852487791933, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 421582080311089272, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 848278848609585183, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": " vG\\u0013xO"}, {"distinct_range": 0, "num_eq": 7708154289037892377, "num_range": 80000000000, "upper_bound": "0n{JdH\'"}, {"distinct_range": 0, "num_eq": 7235462198203891844, "num_range": 8408797474180982921, "upper_bound": "Sf)\\u0003\\\\%;- "}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 1669889650830555289, "upper_bound": "\\\\Ao]#A\\u000c\x7f("}, {"distinct_range": 0, "num_eq": 1414061991817874213, "num_range": 6000000, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 410419374565935234, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1059446325664278622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1297873891721643980}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "1153885343"}, {"distinct_range": 2456.1598954967994, "num_eq": 800000000, "num_range": 9000, "upper_bound": "1535809731"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "1717881327"}, {"distinct_range": 4003020.2765410263, "num_eq": 5692204321185057689, "num_range": 6000000, "upper_bound": "1731104497"}, {"distinct_range": 6627021622506082000, "num_eq": 3073851808798030422, "num_range": 6627021622506081813, "upper_bound": "1842743439"}, {"distinct_range": 29000.117648286607, "num_eq": 800, "num_range": 100000, "upper_bound": "2044214654"}, {"distinct_range": 490992985.1561233, "num_eq": 3802305308746053681, "num_range": 700000000, "upper_bound": "2729966250"}, {"distinct_range": 0, "num_eq": 5148564042293420145, "num_range": 200000000, "upper_bound": "2826905195"}, {"distinct_range": 50668152.43996814, "num_eq": 2176374697487227165, "num_range": 70000000, "upper_bound": "2841592928"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 102909310868714923, "num_range": 0, "upper_bound": "$LHJ%zt"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "\'"}, {"distinct_range": 4987915849511460000, "num_eq": 2000000, "num_range": 6765122253521813809, "upper_bound": "4?\\u0008m1q:"}, {"distinct_range": 6.971868352482381, "num_eq": 10000000, "num_range": 20, "upper_bound": "5\\u0011\\u0005`e6"}, {"distinct_range": 90000000, "num_eq": 7971608696550953271, "num_range": 90000000, "upper_bound": "B+*0Kvz"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1151046926747777852, "upper_bound": "~\\u0002"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col5_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": ["col5_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": ["col5_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": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6115880090010826519, "num_range": 0, "upper_bound": "1600247429"}, {"distinct_range": 8819206618076823000, "num_eq": 100000, "num_range": 8819206618076823026, "upper_bound": "2658564858"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 1000, "upper_bound": "2693247184"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1356395118975148660, "num_range": 0, "upper_bound": "-0.5640982389450073"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 545583714395926569, "upper_bound": "-0.0863722711801529"}, {"distinct_range": 7439909923386613000, "num_eq": 1574549847952237585, "num_range": 7439909923386612951, "upper_bound": "0.39509275555610657"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 6156471194895457369, "upper_bound": "0.5852057337760925"}, {"distinct_range": 3443467751009678300, "num_eq": 0, "num_range": 3443467751009678545, "upper_bound": "1.056668758392334"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('fruk', 'zvhw', 'vb', 'ccuq', 'pip', 'm');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('fp', 'se', 'tjsui', 'ew');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@c584f62067a45aa540c26fc9081a83e460bfe37a:


        test_1        |             CREATE INDEX ON table2 (col1_1 ASC, col1_4, col2_3 DESC, col1_5 ASC);
        test_1        |             CREATE INDEX ON table2 (col1_4 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_5 DESC, col1_4, col2_3 ASC);
        test_1        |             CREATE INDEX ON table2 (col1_1, col2_3 ASC, col1_5);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_1, col1_4 ASC, col2_3);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_1 DESC);
        test_1        |             CREATE TABLE table3 (col3_0 BOX2D NOT NULL, col3_1 TIMETZ NOT NULL, col3_2 REGTYPE NOT NULL, col3_3 BOX2D NOT NULL, col3_4 CHAR NOT NULL, col3_5 REGPROCEDURE NOT NULL, col3_6 REGPROC NOT NULL, col3_7 INT2 NOT NULL, col3_8 UUID NOT NULL, col3_9 REGTYPE NOT NULL, PRIMARY KEY (col3_0, col3_2, col3_6, col3_7, col3_5, col3_8, col3_1, col3_4, col3_3, col3_9), FAMILY (col3_3), FAMILY (col3_4), FAMILY (col3_8), FAMILY (col3_7), FAMILY (col3_5), FAMILY (col3_0), FAMILY (col3_1, col3_2, col3_6, col3_9));
        test_1        |             CREATE INDEX ON table3 (col3_2, col3_1 DESC, col3_8 ASC, col3_9 DESC, col3_5 DESC, col3_6, col3_3, col3_0 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_7, col3_5, col3_6, col3_3 ASC, col3_8);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_8 DESC, col3_5, col3_9 DESC, col3_3, col3_4, col3_6 DESC, col3_7 DESC, col3_0 DESC, col3_2 DESC, col3_1 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1 DESC, col3_2 ASC, col3_8, col3_0 ASC, col3_3 ASC, col3_5 ASC);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3730110394873511268, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "\\\\x85"}, {"distinct_range": 0, "num_eq": 4126269142763096341, "num_range": 7807089554476849198, "upper_bound": "\\\\x8792ef"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 215666590619684381, "row_count": 4130781723647565935}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 843186852339489908, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "82657865"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 20000000, "upper_bound": "389056860"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 90000000, "upper_bound": "744747726"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 500, "upper_bound": "2056951382"}, {"distinct_range": 0, "num_eq": 6437355435323075953, "num_range": 2979334854778349452, "upper_bound": "2201249733"}, {"distinct_range": 4000, "num_eq": 4000, "num_range": 4000, "upper_bound": "2554999665"}, {"distinct_range": 3772879014213444600, "num_eq": 4820705813336212724, "num_range": 3772879014213444444, "upper_bound": "2949395799"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "3406858280"}, {"distinct_range": 8567584328570662000, "num_eq": 10, "num_range": 8567584328570662144, "upper_bound": "3753337936"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 4130781723647565935}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2463171178185231701, "histo_buckets": [{"distinct_range": 0, "num_eq": 7323968502151020016, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "1024709850"}, {"distinct_range": 4394214046373999600, "num_eq": 100000, "num_range": 6484507403801921385, "upper_bound": "1028328511"}, {"distinct_range": 1485717102466005500, "num_eq": 8150774289057307521, "num_range": 3604914256880146910, "upper_bound": "1709539108"}, {"distinct_range": 6000, "num_eq": 1067710978208440472, "num_range": 6000, "upper_bound": "2311841413"}, {"distinct_range": 1166352898306084400, "num_eq": 400000000, "num_range": 1166352898306084360, "upper_bound": "3083059891"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 1263533081004155992, "row_count": 4130781723647565935}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2452389292187108070, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "-227087685"}, {"distinct_range": 30, "num_eq": 100000, "num_range": 30, "upper_bound": "127"}, {"distinct_range": 1326847277.8636732, "num_eq": 6073282495516523052, "num_range": 2000000000, "upper_bound": "32767"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "183885633"}, {"distinct_range": 400, "num_eq": 800000000, "num_range": 400, "upper_bound": "393229543"}, {"distinct_range": 4293931346273146400, "num_eq": 90000000, "num_range": 5644102093025631619, "upper_bound": "2095725800"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 4130781723647565935}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3159427613232268823, "histo_buckets": [{"distinct_range": 0, "num_eq": 1786836265189778285, "num_range": 0, "upper_bound": " \\u0012\\rkr?"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 4130781723647565935}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1433622567548828727, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4130781723647565935}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19008756523, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 406500234113197900, "num_eq": 70000000, "num_range": 550178269929488428, "upper_bound": "64124483"}, {"distinct_range": 90000000000, "num_eq": 6432023480550667573, "num_range": 90000000000, "upper_bound": "2001319720"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8953276557, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "3026032044"}, {"distinct_range": 0, "num_eq": 7863365923708114521, "num_range": 9076299169497559954, "upper_bound": "3761048151"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20337755960, "histo_buckets": [{"distinct_range": 0, "num_eq": 7584554146253762722, "num_range": 0, "upper_bound": "\\u000bA\\tFx:"}, {"distinct_range": 7035016992371121000, "num_eq": 30000000, "num_range": 7035016992371121201, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 4664318869247508739, "num_range": 2000000000, "upper_bound": "#\\\\\\u0014\\u000c\\r\\u00069&T"}, {"distinct_range": 1980540.1171237596, "num_eq": 4536566917350895209, "num_range": 2000000, "upper_bound": "_7\\u000bT"}, {"distinct_range": 30000000000, "num_eq": 90000, "num_range": 30000000000, "upper_bound": "y"}, {"distinct_range": 1076022430.1310918, "num_eq": 4058291564156084655, "num_range": 8000000000, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 26533726386, "row_count": 30000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18235173854, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 800, "num_range": 6678722544966713010, "upper_bound": "\\u0016\\u001f}^"}, {"distinct_range": 8501623331270861000, "num_eq": 4038281053688362023, "num_range": 8501623331270861055, "upper_bound": "\\u0016|"}, {"distinct_range": 1145.824544828848, "num_eq": 30000000, "num_range": 3000, "upper_bound": "\\u0019\\u001c#gxhp("}, {"distinct_range": 0, "num_eq": 70, "num_range": 50000, "upper_bound": "Q\\u0003_\\u0005\\u0003C\\n\'A"}, {"distinct_range": 64.28517905121689, "num_eq": 900, "num_range": 70, "upper_bound": "X_\\t=r<"}, {"distinct_range": 0, "num_eq": 2080283057732965589, "num_range": 5898663640391041721, "upper_bound": "o\\u001f\\u0014\\u0015\\" \\u000c"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 30000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 778437118695547598, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-11370"}, {"distinct_range": 63394269404488216, "num_eq": 5932682871003749338, "num_range": 63394269404488215, "upper_bound": "-6628"}, {"distinct_range": 171751741482566530, "num_eq": 5584383784979870450, "num_range": 1973392626762915765, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 5647674411901358934, "upper_bound": "1"}, {"distinct_range": 534168874.35054004, "num_eq": 90000000, "num_range": 900000000, "upper_bound": "4291"}, {"distinct_range": 900000000, "num_eq": 8630836974473911816, "num_range": 900000000, "upper_bound": "12275"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 243268133035399629, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258361957912034941, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 561620106054647632, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 584.8152625200346, "num_eq": 3000, "num_range": 1000, "upper_bound": "03:51:45.267995+07:37:00"}, {"distinct_range": 1430933577013006600, "num_eq": 50000, "num_range": 2887809350618124735, "upper_bound": "08:46:01.108011-03:58:00"}, {"distinct_range": 100000000000, "num_eq": 2149511834836944547, "num_range": 100000000000, "upper_bound": "02:10:05.206629-12:28:00"}, {"distinct_range": 1641248747600917000, "num_eq": 70, "num_range": 1641248747600916885, "upper_bound": "22:37:12.053868+02:42:00"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 3699603334551172962, "upper_bound": "23:18:43.790095-13:27:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 598161973384864466, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "651019429"}, {"distinct_range": 21786.07154988557, "num_eq": 8000, "num_range": 60000, "upper_bound": "2019578715"}, {"distinct_range": 4201208144050465300, "num_eq": 7049069660235988398, "num_range": 4201208144050465307, "upper_bound": "2459099203"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "3095368417"}, {"distinct_range": 0, "num_eq": 2351826992980841818, "num_range": 30000000, "upper_bound": "3705497009"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 521821404815865393, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 548669829027160605, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 761561899452786343, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107716114702145046, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "43b6dde3-9376-4fb3-95ea-747a372466b4"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 712287013787243393, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "BOX(-1.9277264454435439 -1.5195461311025646,0.6178425365662714 0.7073132473763177)"}, {"distinct_range": 5000000, "num_eq": 7000000, "num_range": 5000000, "upper_bound": "BOX(-1.3897500297886891 -0.744351807008227,-0.07007182743009488 0.48161389151953643)"}, {"distinct_range": 0, "num_eq": 6151685857022073600, "num_range": 500000, "upper_bound": "BOX(-0.4827701131472313 -1.2169791854393441,0.26791534850722876 0.7068118209365963)"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 1000000, "upper_bound": "BOX(0.11559344899333124 0.3455041819829543,1.429745965681189 1.7200546974540945)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 867786781621361801}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('mwuz', 'yizz', 'ip', 'nscog');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ej', 'ikxxgd', 'eftkwe', 'gmhc', 'jzh');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('wwsyb', 'ee', 'xhjczz');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.23s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 INT8, col1_1 "char" NOT NULL, col1_2 INT2 NOT NULL, col1_3 FLOAT8 NOT NULL, col1_4 DECIMAL NOT NULL, PRIMARY KEY (col1_4 DESC, col1_1 ASC, col1_2, col1_3 ASC), INDEX (col1_0, col1_4 DESC) WHERE (((table1.col1_4 <= (-1.234E+401):::DECIMAL) OR (table1.col1_0 < 9223372036854775807:::INT8)) AND (table1.col1_3 = 5e-324:::FLOAT8)) OR (table1.col1_1 < '':::STRING), UNIQUE (col1_4 ASC, col1_0 DESC) WHERE table1.col1_1 != e'\'':::STRING);
        test_1        |             CREATE TABLE table2 (col1_4 DECIMAL NOT NULL, col1_1 "char" NOT NULL, col1_2 INT2 NOT NULL, col1_3 FLOAT8 NOT NULL, col2_4 REGTYPE NULL, col2_5 NAME NOT NULL, col2_6 STRING NOT NULL, col2_7 INT2 NOT NULL, col2_8 REGNAMESPACE, col2_9 TIMETZ NOT NULL, col2_10 REGPROCEDURE, col2_11 VARCHAR NOT NULL, col2_12 VARCHAR, col2_13 UUID NULL, col2_14 TIME, col2_15 BIT(39) NULL, col2_16 INT4 NULL, col2_17 INT2, col2_18 TIMETZ NULL, col2_19 REGPROC NOT NULL, col2_20 TIMESTAMP NOT NULL, col2_21 DECIMAL, col2_22 INET NOT NULL, PRIMARY KEY (col1_4 DESC, col1_1 ASC, col1_2, col1_3 ASC, col2_8, col2_13, col2_21 DESC, col2_4 ASC, col2_22 DESC, col2_9, col2_7, col2_18, col2_14, col2_16 ASC, col2_17, col2_5 DESC, col2_10 ASC), UNIQUE (col2_5 ASC, col2_14, col2_8, col2_10, col1_2 DESC, col2_12), UNIQUE (col1_1 ASC, col2_19, col2_12 DESC), INDEX (col2_19 ASC, col2_6, col2_12 DESC, col1_3 DESC, col2_9, col2_18 ASC, col2_4 ASC, col2_13, col2_14 ASC, col1_4 DESC, col2_5, col2_16, col1_2 ASC, col2_20 DESC, col1_1 ASC, col2_15 ASC, col2_8), INDEX (col1_4, col2_20 DESC, col2_16, col2_5 ASC, col2_4 ASC, col2_7 ASC, col2_9 DESC, col2_14)) INTERLEAVE IN PARENT table1 (col1_4, col1_1, col1_2, col1_3);
        test_1        |             CREATE TABLE table3 (col3_0 FLOAT8 NOT NULL, col3_1 FLOAT4 NOT NULL, col3_2 INT2, col3_3 DATE, col3_4 FLOAT4 NOT NULL, col3_5 BOX2D, col3_6 DECIMAL NULL, col3_7 TIMESTAMPTZ NOT NULL, col3_8 INT8 NOT NULL, col3_9 TIMESTAMPTZ NULL, col3_10 UUID NOT NULL, col3_11 REGPROC NULL, col3_12 REGNAMESPACE NOT NULL, col3_13 TIMESTAMPTZ, PRIMARY KEY (col3_10, col3_12 DESC, col3_4 DESC, col3_1), UNIQUE (col3_12, col3_13 DESC, col3_10, col3_7 ASC, col3_3 DESC, col3_2, col3_8 ASC, col3_1 ASC, col3_5, col3_9), INDEX (col3_11, col3_8, col3_12 ASC, col3_5 ASC, col3_4, col3_0 DESC, col3_9, col3_2 ASC, col3_10, col3_6 DESC, col3_7, col3_3 ASC) WHERE (table3.col3_2 <= (-1):::INT8) AND (table3.col3_9 < '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col3_0, col3_7 DESC, col3_11 DESC) STORING (col3_3, col3_5, col3_6, col3_13) WHERE (table3.col3_0 = '-Inf':::FLOAT8) AND (table3.col3_9 >= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col3_5, col3_1, col3_12 ASC, col3_9 ASC, col3_3, col3_13 DESC, col3_8 DESC, col3_11, col3_2 DESC, col3_10, col3_0 DESC, col3_6, col3_7 ASC, col3_4 ASC), INDEX (col3_12, col3_0, col3_4, col3_8 DESC, col3_5 DESC, col3_9 DESC, col3_2 DESC, col3_13 DESC, col3_10, col3_1, col3_7) WHERE (((((((((table3.col3_3 <= '-infinity':::DATE) OR (table3.col3_0 >= '+Inf':::FLOAT8)) AND (table3.col3_8 = 9223372036854775807:::INT8)) OR (table3.col3_4 >= (-1.0):::FLOAT8)) AND (table3.col3_2 = (-32768):::INT8)) OR (table3.col3_6 <= '-Infinity':::DECIMAL)) AND (table3.col3_9 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_1 = 1.401298464324817e-45:::FLOAT8)) AND (table3.col3_13 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col3_7 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col3_4 ASC, col3_9 DESC, col3_11 ASC, col3_7) STORING (col3_5, col3_6, col3_8, col3_13) WHERE (((((((((table3.col3_3 < '1970-01-01':::DATE) AND (table3.col3_6 > 0:::DECIMAL)) OR (table3.col3_7 != '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_1 > 1.0:::FLOAT8)) OR (table3.col3_13 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_9 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_4 < '+Inf':::FLOAT8)) AND (table3.col3_0 <= '-Inf':::FLOAT8)) OR (table3.col3_8 >= (-1):::INT8)) AND (table3.col3_2 = 1:::INT8), UNIQUE (col3_1, col3_5 DESC, col3_10 DESC, col3_3 DESC, col3_13, col3_0) WHERE ((((table3.col3_9 != '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table3.col3_13 != '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_1 > '+Inf':::FLOAT8)) OR (table3.col3_4 >= 0.0:::FLOAT8)) OR (table3.col3_2 != 1:::INT8), UNIQUE (col3_9 ASC, col3_11, col3_0, col3_3 ASC, col3_1 ASC, col3_6 DESC, col3_4 ASC, col3_5, col3_8 DESC, col3_10, col3_7, col3_2) WHERE (((table3.col3_4 >= '+Inf':::FLOAT8) OR (table3.col3_1 < '-Inf':::FLOAT8)) OR (table3.col3_8 = 2147483647:::INT8)) AND (table3.col3_0 > 0.0:::FLOAT8), INDEX (col3_11 DESC, col3_12, col3_0 ASC, col3_1 ASC, col3_10 DESC, col3_2 DESC), FAMILY (col3_9, col3_12), FAMILY (col3_4, col3_10, col3_0), FAMILY (col3_5, col3_13, col3_1), FAMILY (col3_3, col3_8), FAMILY (col3_6, col3_2), FAMILY (col3_11), FAMILY (col3_7), UNIQUE (col3_2));
        test_1        |             CREATE TABLE table4 (col1_4 DECIMAL NOT NULL, col1_1 "char" NOT NULL, col1_2 INT2 NOT NULL, col1_3 FLOAT8 NOT NULL, col2_8 REGNAMESPACE, col2_13 UUID NULL, col2_21 DECIMAL, col2_4 REGTYPE NULL, col2_22 INET NOT NULL, col2_9 TIMETZ NOT NULL, col2_7 INT2 NOT NULL, col2_18 TIMETZ NULL, col2_14 TIME, col2_16 INT4 NULL, col2_17 INT2, col2_5 NAME NOT NULL, col2_10 REGPROCEDURE, col4_17 REGPROC NOT NULL, col4_18 VARCHAR, col4_19 VARCHAR, col4_20 REGPROCEDURE, col4_21 DATE, col4_22 BYTES NOT NULL, col4_23 BYTES NULL, col4_24 UUID NULL, col4_25 INT8, col4_26 FLOAT4 NULL, col4_27 FLOAT8, col4_28 INTERVAL, col4_29 TIMETZ NOT NULL, col4_30 DATE NULL, col4_31 REGPROC, col4_32 REGTYPE, col4_33 "char" NULL, col4_34 BYTES NULL, col4_35 INT8, PRIMARY KEY (col1_4 DESC, col1_1 ASC, col1_2, col1_3 ASC, col2_8, col2_13, col2_21 DESC, col2_4 ASC, col2_22 DESC, col2_9, col2_7, col2_18, col2_14, col2_16 ASC, col2_17, col2_5 DESC, col2_10 ASC, col4_22 DESC, col4_28 DESC, col4_19, col4_33, col4_23 ASC, col4_17 DESC), INDEX (col2_22 ASC, col4_29, col4_26 ASC, col4_22, col2_10 ASC, col2_9 ASC, col2_14 ASC, col2_17 ASC, col2_4 ASC) STORING (col4_18, col4_20, col4_27, col4_30) WHERE ((((((((((table4.col2_16 < 32767:::INT8) AND (table4.col4_29 = '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_33 >= e'\'':::STRING)) OR (table4.col2_14 <= '24:00:00':::TIME)) AND (table4.col2_21 < 1:::DECIMAL)) OR (table4.col4_30 < '-infinity':::DATE)) AND (table4.col4_35 != (-128):::INT8)) OR (table4.col1_3 = (-1.0):::FLOAT8)) OR (table4.col4_26 < 'NaN':::FLOAT8)) AND (table4.col2_5 <= e'\U00002603':::STRING)) AND (table4.col1_4 != (-1):::DECIMAL), INDEX (col4_21 DESC) WHERE ((((((((((table4.col4_34 > '\x58':::BYTES) AND (table4.col2_9 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col1_1 < e'\x00':::STRING)) OR (table4.col2_21 > 1:::DECIMAL)) AND (table4.col2_18 < '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_26 <= 3.4028234663852886e+38:::FLOAT8)) AND (table4.col2_16 > 1:::INT8)) AND (table4.col4_25 = 0:::INT8)) AND (table4.col2_17 > (-128):::INT8)) OR (table4.col4_30 != 'infinity':::DATE)) OR (table4.col1_4 = 'Infinity':::DECIMAL), UNIQUE (col4_30, col1_3, col4_28 ASC, col4_25) WHERE ((((((((((((((((((table4.col4_22 >= '\x00':::BYTES) AND (table4.col2_9 = '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_30 < 'infinity':::DATE)) OR (table4.col4_25 >= 127:::INT8)) OR (table4.col4_21 = '4714-11-24 BC':::DATE)) AND (table4.col4_33 != e'\U00002603':::STRING)) AND (table4.col4_34 != '\x22':::BYTES)) AND (table4.col4_19 <= 'X':::STRING)) OR (table4.col4_27 >= '+Inf':::FLOAT8)) OR (table4.col1_1 <= e'\U00002603':::STRING)) OR (table4.col2_14 > '00:00:00':::TIME)) AND (table4.col4_35 > 2147483647:::INT8)) OR (table4.col2_18 < '00:00:00+15:59:00':::TIMETZ)) OR (table4.col2_5 <= e'\x00':::STRING)) OR (table4.col1_3 > 1.0:::FLOAT8)) AND (table4.col2_7 = (-1):::INT8)) OR (table4.col4_18 = e'\'':::STRING)) OR (table4.col4_29 < '24:00:00-15:59:00':::TIMETZ)) AND (table4.col2_16 > 0:::INT8), INDEX (col2_16 DESC, col2_10 ASC, col1_1, col4_25 DESC, col4_26, col2_18 DESC, col4_32, col1_3 DESC, col2_4, col4_28 DESC, col4_29, col4_23, col4_21 DESC, col4_19, col4_34, col1_2 ASC, col4_30 DESC, col2_13 ASC, col4_31 ASC, col2_22 ASC, col4_33 ASC, col2_9 DESC, col4_35 ASC, col2_21 ASC, col4_22 DESC, col2_14 ASC, col2_5 ASC, col4_18 DESC, col4_17 DESC) STORING (col4_20), UNIQUE (col4_35 ASC, col4_19 ASC) WHERE ((((((((((((((((((((((((table4.col4_23 = '\x':::BYTES) AND (table4.col2_5 >= e'\x00':::STRING)) OR (table4.col4_30 >= '-infinity':::DATE)) OR (table4.col2_9 <= '24:00:00-15:59:00':::TIMETZ)) OR (table4.col4_34 <= '\x22':::BYTES)) OR (table4.col2_17 > (-1):::INT8)) OR (table4.col1_1 <= e'\x00':::STRING)) OR (table4.col1_3 != 5e-324:::FLOAT8)) OR (table4.col4_33 < e'\x00':::STRING)) AND (table4.col4_18 < 'X':::STRING)) AND (table4.col2_14 > '24:00:00':::TIME)) AND (table4.col2_16 <= (-32768):::INT8)) OR (table4.col4_26 > 0.0:::FLOAT8)) OR (table4.col1_4 < 'Infinity':::DECIMAL)) OR (table4.col4_19 < e'\x00':::STRING)) AND (table4.col1_2 <= 1:::INT8)) AND (table4.col2_18 < '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_29 = '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_22 < '\xff':::BYTES)) OR (table4.col4_21 = 'infinity':::DATE)) AND (table4.col4_35 = (-1):::INT8)) OR (table4.col4_27 = 'NaN':::FLOAT8)) OR (table4.col2_21 < '-Infinity':::DECIMAL)) OR (table4.col4_25 >= 9223372036854775807:::INT8)) AND (table4.col2_7 <= 0:::INT8), INDEX (col1_3 DESC, col2_5, col4_24, col4_18 DESC, col2_21 ASC, col4_21 DESC, col4_27 ASC, col4_20 DESC, col2_9 ASC, col4_28, col2_8 DESC, col2_14, col2_7 DESC, col2_16 DESC, col1_2, col4_22, col4_30 ASC, col4_35, col2_10, col2_4 DESC), UNIQUE (col1_3 DESC, col4_19 DESC, col4_30 ASC, col2_7 DESC, col2_16, col2_5 ASC, col4_22 DESC, col4_27 ASC, col4_33 DESC, col1_2 ASC, col4_18 DESC, col4_31 ASC, col4_32 DESC, col2_10 ASC, col4_24, col1_1 DESC, col2_8 ASC, col4_17 DESC, col4_23 DESC, col2_4 DESC, col2_9 ASC, col2_18 DESC, col4_29 ASC, col2_22, col2_14 ASC, col2_17, col2_21, col1_4 DESC, col4_25, col4_28 DESC, col2_13 DESC, col4_21 DESC, col4_26 ASC, col4_34, col4_35), INDEX (col2_17, col2_13 DESC, col4_23 ASC, col2_4) WHERE ((((table4.col2_9 > '00:00:00+15:59:00':::TIMETZ) AND (table4.col4_23 != '\xff':::BYTES)) AND (table4.col2_18 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col2_5 < e'\U00002603':::STRING)) OR (table4.col1_2 > (-1):::INT8), UNIQUE (col1_4 DESC, col4_22, col4_26, col4_32 ASC, col4_21, col4_31 ASC, col2_16, col4_23 DESC, col4_20 ASC, col2_13 ASC), FAMILY (col4_28), FAMILY (col4_21), FAMILY (col2_4, col4_18, col1_1), FAMILY (col2_21), FAMILY (col2_5, col4_23), FAMILY (col4_32, col1_2, col4_19, col2_13, col4_34, col2_22), FAMILY (col4_33), FAMILY (col2_9), FAMILY (col1_4, col2_16), FAMILY (col4_26, col2_7, col2_17, col4_30, col4_31), FAMILY (col4_22, col4_25, col2_10, col4_35, col4_20), FAMILY (col1_3, col2_18, col2_14), FAMILY (col4_29), FAMILY (col4_17), FAMILY (col4_24, col2_8, col4_27)) INTERLEAVE IN PARENT table2 (col1_4, col1_1, col1_2, col1_3, col2_8, col2_13, col2_21, col2_4, col2_22, col2_9, col2_7, col2_18, col2_14, col2_16, col2_17, col2_5, col2_10);
        test_1        |             CREATE TABLE table5 (col5_0 NAME NULL, col5_1 TIMESTAMP NOT NULL, col5_2 TIMETZ NOT NULL, col5_3 FLOAT4 NULL, col5_4 TIMETZ NOT NULL, PRIMARY KEY (col5_2 ASC, col5_1), INDEX (col5_3 ASC) STORING (col5_4), INDEX (col5_1 DESC) WHERE (table5.col5_2 < '24:00:00-15:59:00':::TIMETZ) OR (table5.col5_4 >= '24:00:00-15:59:00':::TIMETZ), INDEX (col5_2 DESC, col5_0, col5_3 ASC), UNIQUE (col5_4 DESC, col5_1) STORING (col5_0), UNIQUE (col5_3 ASC, col5_2, col5_0 DESC, col5_4 ASC, col5_1), INDEX (col5_0 ASC, col5_1 DESC, col5_3, col5_2 DESC, col5_4 DESC));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"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_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_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": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8016569331679328529, "num_range": 0, "upper_bound": "-3.08771650828286307E+31"}, {"distinct_range": 31.2002679619504, "num_eq": 900000, "num_range": 40, "upper_bound": "-6.992220898415646365E+30"}, {"distinct_range": 60000000, "num_eq": 2942919400495525137, "num_range": 60000000, "upper_bound": "-537433053191.8190101"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 4667991557078676014, "upper_bound": "-829827127.3373701265"}, {"distinct_range": 4867534559251828000, "num_eq": 4113536402701719443, "num_range": 4867534559251827555, "upper_bound": "-61956476.34973587593"}, {"distinct_range": 526949315.9039276, "num_eq": 8000000, "num_range": 3000000000, "upper_bound": "7.792526075861995057"}, {"distinct_range": 4966416638015491000, "num_eq": 3000, "num_range": 4966416638015490654, "upper_bound": "505912942829724726.8"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1222050618001480131, "num_range": 0, "upper_bound": "-1693947214136299751"}, {"distinct_range": 600, "num_eq": 100, "num_range": 600, "upper_bound": "2147483647"}, {"distinct_range": 2716134060718289400, "num_eq": 7000, "num_range": 5416819312663039777, "upper_bound": "1954528962838943400"}, {"distinct_range": 1708054970.6263926, "num_eq": 800, "num_range": 2000000000, "upper_bound": "2331532772944168951"}, {"distinct_range": 600000000, "num_eq": 1000000000, "num_range": 600000000, "upper_bound": "8842957422290110941"}, {"distinct_range": 0, "num_eq": 304937838785665790, "num_range": 100000000, "upper_bound": "9022680501725431526"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 314462696, "histo_col_type": "", "name": "__auto__", "null_count": 525795023, "row_count": 600000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 515924847, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 495064176, "histo_col_type": "", "name": "__auto__", "null_count": 530331764, "row_count": 600000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 352701907, "histo_col_type": "", "name": "__auto__", "null_count": 133222964, "row_count": 600000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68435942, "histo_col_type": "", "name": "__auto__", "null_count": 365969532, "row_count": 600000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 485498122, "histo_buckets": [{"distinct_range": 0, "num_eq": 6824444095359174822, "num_range": 0, "upper_bound": "-905327418948998015.5"}, {"distinct_range": 559.1955931833805, "num_eq": 2556280023577073054, "num_range": 8000, "upper_bound": "0.4067095172935149621"}, {"distinct_range": 0, "num_eq": 3199664515830140267, "num_range": 4843821745994437094, "upper_bound": "8.736688150439167897"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 1000000000, "upper_bound": "88.8935317129474726"}, {"distinct_range": 700000000, "num_eq": 90000, "num_range": 700000000, "upper_bound": "6032.395991692574408"}, {"distinct_range": 300000000, "num_eq": 700, "num_range": 300000000, "upper_bound": "27827.73328662437696"}, {"distinct_range": 27.83020103714969, "num_eq": 60000, "num_range": 50, "upper_bound": "39506264649322.90654"}, {"distinct_range": 6664872152798676000, "num_eq": 4878992141557724694, "num_range": 6664872152798676312, "upper_bound": "5.802360106625897643E+26"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 80043605, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183193677, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140036731, "histo_col_type": "", "name": "__auto__", "null_count": 181285580, "row_count": 600000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 466730134, "histo_col_type": "", "name": "__auto__", "null_count": 280093394, "row_count": 600000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 557241931, "histo_col_type": "", "name": "__auto__", "null_count": 257172923, "row_count": 600000000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1084853, "histo_buckets": [{"distinct_range": 0, "num_eq": 1811113015119711067, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 3325579457341968795, "num_range": 700000, "upper_bound": "3995345025"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 542390808, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 469453025, "histo_col_type": "", "name": "__auto__", "null_count": 170600463, "row_count": 600000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 94488435, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145924499, "histo_col_type": "", "name": "__auto__", "null_count": 331249962, "row_count": 600000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184400877, "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 113201267, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271474179, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 565719164, "histo_col_type": "", "name": "__auto__", "null_count": 300589144, "row_count": 600000000}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 115007282, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114369080, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "f)\\u0010"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 600000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 488039923, "histo_col_type": "", "name": "__auto__", "null_count": 272674518, "row_count": 600000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3759860708887808072, "histo_col_type": "", "name": "__auto__", "null_count": 2162620771088918337, "row_count": 8121879582202589545}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7211721461761842352, "histo_col_type": "", "name": "__auto__", "null_count": 913699131875008659, "row_count": 8121879582202589545}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5709037263305556336, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "BOX(-1.4653146196548237 2.0930747749508347,-0.10353832251740921 2.2501999575869096)"}, {"distinct_range": 353651.0206571285, "num_eq": 3403917675433197906, "num_range": 1000000, "upper_bound": "BOX(-1.3396780210878614 -1.1103576433867854,2.2738559539504943 -0.9506593333131466)"}, {"distinct_range": 50, "num_eq": 200000000, "num_range": 50, "upper_bound": "BOX(-1.0564027819331274 -0.6246142960361264,1.847630893656717 0.75042380808848)"}, {"distinct_range": 4519038715069122600, "num_eq": 2698654458292303808, "num_range": 8914656339967410213, "upper_bound": "BOX(-0.9692590360712977 -0.3284894794722635,0.9456451012280733 0.6775168088792222)"}, {"distinct_range": 0, "num_eq": 4901665256517146266, "num_range": 10000, "upper_bound": "BOX(-0.6901729584299464 -1.512982938613684,1.0437770651461757 -0.7125595028937884)"}, {"distinct_range": 2947776292.5364647, "num_eq": 5000000, "num_range": 7000000000, "upper_bound": "BOX(-0.5626480330898862 -1.0934965766183307,0.6557159857674002 -0.11297769687254981)"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6556313479818401686, "upper_bound": "BOX(-0.21624783456410773 -0.7773804600658807,0.0988825896909028 0.5100789867398059)"}, {"distinct_range": 3931392449438860000, "num_eq": 0, "num_range": 3931392449438859948, "upper_bound": "BOX(0.799028696078501 0.08712893062837135,1.7232558478899398 0.20749847732236515)"}, {"distinct_range": 2510765575660397000, "num_eq": 7304140058382770296, "num_range": 2510765575660397167, "upper_bound": "BOX(0.943478286199615 -0.3923298928524711,1.2721367961300585 0.09735124130590089)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 4521017217171495307, "row_count": 8121879582202589545}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5375205441037616326, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7833834748769988705, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "9b33ee2b-5dd0-4715-905f-73204d3f8fec"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 9000, "upper_bound": "a94baf54-296c-4065-be15-ff3ddcff8b23"}, {"distinct_range": 3861104473036389000, "num_eq": 100000000, "num_range": 4936576235677882064, "upper_bound": "b3a21b47-568f-4818-a249-4d9a758dacbb"}, {"distinct_range": 42525092661668744, "num_eq": 70000000, "num_range": 1138530083869852391, "upper_bound": "d0e3d195-ab1d-479e-b2fb-b315b03d30b6"}, {"distinct_range": 70, "num_eq": 300000000, "num_range": 70, "upper_bound": "dc45559f-14f5-4a0b-ade5-d12567b7a8d0"}, {"distinct_range": 69258.12333698272, "num_eq": 1008172698512909090, "num_range": 90000, "upper_bound": "e27017bd-2033-4856-adb7-7254f8efadef"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2351580337095816420, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "581007189"}, {"distinct_range": 243136812.48977214, "num_eq": 9000000, "num_range": 400000000, "upper_bound": "721342584"}, {"distinct_range": 3415167169117929500, "num_eq": 9000, "num_range": 3415167169117929300, "upper_bound": "740839553"}, {"distinct_range": 0, "num_eq": 1702201876006316470, "num_range": 100, "upper_bound": "891464854"}, {"distinct_range": 0, "num_eq": 400, "num_range": 1000000000, "upper_bound": "2083180584"}, {"distinct_range": 0, "num_eq": 0, "num_range": 20000000000, "upper_bound": "2579989936"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "4147422229"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 2701057413211739432, "row_count": 8121879582202589545}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4935227031555838868, "histo_col_type": "", "name": "__auto__", "null_count": 3323246709728515026, "row_count": 8121879582202589545}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1138370281610192601, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "-0.961844364254076"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5070860461683445171, "histo_buckets": [{"distinct_range": 0, "num_eq": 4477845267989426212, "num_range": 0, "upper_bound": "-1.966738224029541"}, {"distinct_range": 0, "num_eq": 8070901523624350417, "num_range": 2807628542564276385, "upper_bound": "-0.8351617455482483"}, {"distinct_range": 0, "num_eq": 1481025875618826573, "num_range": 6984444130278378749, "upper_bound": "-0.19852451980113983"}, {"distinct_range": 7000000000, "num_eq": 200, "num_range": 7000000000, "upper_bound": "0.3275810182094574"}, {"distinct_range": 9000, "num_eq": 994704225757439437, "num_range": 9000, "upper_bound": "0.9319469332695007"}, {"distinct_range": 138164127.2609842, "num_eq": 90000000, "num_range": 200000000, "upper_bound": "1.4346126317977905"}, {"distinct_range": 8996758033142967000, "num_eq": 7048041887111894293, "num_range": 8996758033142966885, "upper_bound": "1.7268130779266357"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1601536231238088507, "histo_col_type": "", "name": "__auto__", "null_count": 3587707892581346401, "row_count": 8121879582202589545}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5937479542559348312, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6435665509445322114, "histo_buckets": [{"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "1970-09-17 22:29:21.000873+00:00"}, {"distinct_range": 50000000, "num_eq": 40000000, "num_range": 50000000, "upper_bound": "1971-07-06 05:32:45.000712+00:00"}, {"distinct_range": 3647132721772856300, "num_eq": 103268929816741896, "num_range": 3826197353584150926, "upper_bound": "1981-07-08 11:49:15.00035+00:00"}, {"distinct_range": 646656.9594764425, "num_eq": 600000, "num_range": 900000, "upper_bound": "1981-12-18 16:53:47.000634+00:00"}, {"distinct_range": 4197211743120378400, "num_eq": 500, "num_range": 8378107373783474590, "upper_bound": "1982-09-25 22:39:06.000732+00:00"}, {"distinct_range": 0, "num_eq": 100, "num_range": 5806570727218541912, "upper_bound": "2007-04-24 14:12:24.000536+00:00"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 10, "upper_bound": "2026-12-15 01:55:00.000343+00:00"}, {"distinct_range": 2440341100253200400, "num_eq": 4037586372754377099, "num_range": 6540609836639026796, "upper_bound": "2027-07-03 14:24:44.000072+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 3800533339927861771, "row_count": 8121879582202589545}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 795934727696800941, "histo_buckets": [{"distinct_range": 0, "num_eq": 503720937522387875, "num_range": 0, "upper_bound": "304789200"}, {"distinct_range": 9000000000, "num_eq": 0, "num_range": 9000000000, "upper_bound": "340524382"}, {"distinct_range": 0, "num_eq": 802420754659001242, "num_range": 2271022087233718304, "upper_bound": "851108364"}, {"distinct_range": 100000000, "num_eq": 2073516976790464841, "num_range": 100000000, "upper_bound": "3186770864"}, {"distinct_range": 5000000000, "num_eq": 7000000000, "num_range": 5000000000, "upper_bound": "3561421410"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1954556786885269652, "histo_buckets": [{"distinct_range": 0, "num_eq": 6236187013403589534, "num_range": 0, "upper_bound": "-0.7675374746322632"}, {"distinct_range": 1000, "num_eq": 800000000, "num_range": 1000, "upper_bound": "1.8485679626464844"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 8121879582202589545}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4996892320, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191863498, "histo_col_type": "", "name": "__auto__", "null_count": 2861036853, "row_count": 7000000000}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5860004494, "histo_col_type": "", "name": "__auto__", "null_count": 4756325705, "row_count": 7000000000}, {"columns": ["col4_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5394840633, "histo_col_type": "", "name": "__auto__", "null_count": 3707493409, "row_count": 7000000000}, {"columns": ["col4_29"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4027467656, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col4_34"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4792776677, "histo_col_type": "", "name": "__auto__", "null_count": 3319675977, "row_count": 7000000000}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6376817771, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4929118460, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6471641165, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3991647129, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6375549967, "histo_col_type": "", "name": "__auto__", "null_count": 5606080623, "row_count": 7000000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6206337627, "histo_col_type": "", "name": "__auto__", "null_count": 4655571176, "row_count": 7000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4474395824, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3449626582, "histo_col_type": "", "name": "__auto__", "null_count": 4393718553, "row_count": 7000000000}, {"columns": ["col4_31"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1350900325, "histo_col_type": "", "name": "__auto__", "null_count": 4431234666, "row_count": 7000000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2468773302, "histo_buckets": [{"distinct_range": 0, "num_eq": 5845429515474440525, "num_range": 0, "upper_bound": "-19947"}, {"distinct_range": 0, "num_eq": 6630746086584690816, "num_range": 3825397675077608068, "upper_bound": "-2523"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 3787167047597985264, "upper_bound": "393"}, {"distinct_range": 200, "num_eq": 4100726429405382449, "num_range": 200, "upper_bound": "6438"}, {"distinct_range": 1458882023791981800, "num_eq": 1946297469964109939, "num_range": 8771615823973112748, "upper_bound": "10590"}, {"distinct_range": 70000, "num_eq": 700000, "num_range": 70000, "upper_bound": "17050"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 6438617415, "row_count": 7000000000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5275938540, "histo_col_type": "", "name": "__auto__", "null_count": 3882034768, "row_count": 7000000000}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1291153007, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "1976-05-13"}, {"distinct_range": 165.90494592030547, "num_eq": 6606411489206945124, "num_range": 6000, "upper_bound": "1977-04-05"}, {"distinct_range": 900000, "num_eq": 5745173166609325413, "num_range": 900000, "upper_bound": "1978-08-12"}, {"distinct_range": 7239209345006042000, "num_eq": 5133244566672055961, "num_range": 7239209345006042532, "upper_bound": "1978-12-17"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 6307393864, "row_count": 7000000000}, {"columns": ["col4_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1163675503, "histo_col_type": "", "name": "__auto__", "null_count": 855333469, "row_count": 7000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5982982286, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4794925930, "histo_col_type": "", "name": "__auto__", "null_count": 1052564485, "row_count": 7000000000}, {"columns": ["col4_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6875970044, "histo_col_type": "", "name": "__auto__", "null_count": 4249759755, "row_count": 7000000000}, {"columns": ["col4_30"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5431455759, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "1970-09-02"}, {"distinct_range": 5784602.874289215, "num_eq": 0, "num_range": 6000000, "upper_bound": "1974-11-07"}, {"distinct_range": 300000000, "num_eq": 90000000000, "num_range": 300000000, "upper_bound": "1979-02-03"}, {"distinct_range": 1113049333.084809, "num_eq": 8475467883701960882, "num_range": 5000000000, "upper_bound": "1979-10-16"}, {"distinct_range": 1355774447381595600, "num_eq": 8383614710984532909, "num_range": 1679239865177093869, "upper_bound": "1981-03-09"}, {"distinct_range": 2599222058718074400, "num_eq": 30, "num_range": 2599222058718074281, "upper_bound": "1995-04-08"}, {"distinct_range": 7701576333673710000, "num_eq": 80000000000, "num_range": 7701576333673709447, "upper_bound": "1996-04-15"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 5897727257, "row_count": 7000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5363005258, "histo_col_type": "", "name": "__auto__", "null_count": 4175800643, "row_count": 7000000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1567029507, "histo_col_type": "", "name": "__auto__", "null_count": 258326252, "row_count": 7000000000}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2622463572, "histo_buckets": [{"distinct_range": 0, "num_eq": 8428471732921716866, "num_range": 0, "upper_bound": "b838:ce32:b9ad:2694:64a7:3573:524b:d661/23"}, {"distinct_range": 9218216716678122000, "num_eq": 60000000000, "num_range": 9218216716678122907, "upper_bound": "b3d5:ab31:212e:c263:f39d:b2d3:a98e:81fc/69"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6818403591, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6038850296, "histo_buckets": [{"distinct_range": 0, "num_eq": 922710037366410433, "num_range": 0, "upper_bound": "-880989756"}, {"distinct_range": 0, "num_eq": 4732992249013883215, "num_range": 7873796535387765576, "upper_bound": "370243161"}, {"distinct_range": 2188.2051087027967, "num_eq": 8702295855184939212, "num_range": 3000, "upper_bound": "693543035"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 1925121475, "row_count": 7000000000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1698970174, "histo_col_type": "", "name": "__auto__", "null_count": 5797691968, "row_count": 7000000000}, {"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4685382560, "histo_col_type": "", "name": "__auto__", "null_count": 5721350161, "row_count": 7000000000}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3011004777, "histo_col_type": "", "name": "__auto__", "null_count": 1987347884, "row_count": 7000000000}, {"columns": ["col4_35"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3833288361, "histo_buckets": [{"distinct_range": 0, "num_eq": 7788159989677216873, "num_range": 0, "upper_bound": "-8212456481990480864"}, {"distinct_range": 2841686945311891500, "num_eq": 1000, "num_range": 2841686945311891654, "upper_bound": "-5325872627972183619"}, {"distinct_range": 2943757510715029000, "num_eq": 7000000, "num_range": 2943757510715028906, "upper_bound": "-3212585390411409729"}, {"distinct_range": 0, "num_eq": 3585702725292764092, "num_range": 9049308028160493071, "upper_bound": "-1837973610787019090"}, {"distinct_range": 70, "num_eq": 1893053803963031714, "num_range": 70, "upper_bound": "-1725412389388203332"}, {"distinct_range": 563724523040836600, "num_eq": 2541580826567385529, "num_range": 2205766208164648948, "upper_bound": "752919231583139774"}, {"distinct_range": 0, "num_eq": 5231868838845688105, "num_range": 4167864643804401804, "upper_bound": "2857807223003948434"}, {"distinct_range": 2000000, "num_eq": 80000000000, "num_range": 2000000, "upper_bound": "4005635894786412441"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 952590936, "row_count": 7000000000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3713536497, "histo_col_type": "", "name": "__auto__", "null_count": 827260857, "row_count": 7000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6149648121, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "-2.048735429887712502E+36"}, {"distinct_range": 88651653816126640, "num_eq": 800000, "num_range": 582243080726140377, "upper_bound": "3532589122373.94466"}, {"distinct_range": 7166047939649562000, "num_eq": 0, "num_range": 7166047939649562076, "upper_bound": "5.525553531802222425E+24"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 30, "upper_bound": "7.20542219408609801E+25"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 7000000000}, {"columns": ["col4_32"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6179076517, "histo_col_type": "", "name": "__auto__", "null_count": 5832211142, "row_count": 7000000000}, {"columns": ["col4_33"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6929669102, "histo_col_type": "", "name": "__auto__", "null_count": 1589245144, "row_count": 7000000000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 212557632177075517, "histo_buckets": [{"distinct_range": 0, "num_eq": 3399180840382023470, "num_range": 0, "upper_bound": "09:01:48.131284-05:51:00"}, {"distinct_range": 5130174950841035000, "num_eq": 1280117157107947435, "num_range": 8938325732095822266, "upper_bound": "12:33:54.454443-13:47:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 8277827564545904686}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 442850481020018577, "histo_buckets": [{"distinct_range": 0, "num_eq": 5638876843588232645, "num_range": 0, "upper_bound": "-0.7121386528015137"}, {"distinct_range": 0, "num_eq": 300, "num_range": 3272523068902166918, "upper_bound": "-0.6773631572723389"}, {"distinct_range": 335486.652498713, "num_eq": 5649078911725709109, "num_range": 600000, "upper_bound": "0.0"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "0.05189306288957596"}, {"distinct_range": 8769.317166051394, "num_eq": 1000000, "num_range": 100000, "upper_bound": "0.17333751916885376"}, {"distinct_range": 2074677887089784800, "num_eq": 8394649033428314987, "num_range": 2074677887089784884, "upper_bound": "0.20643921196460724"}, {"distinct_range": 5205435061029106000, "num_eq": 0, "num_range": 6063766574285120485, "upper_bound": "0.4543229937553406"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 20, "upper_bound": "0.5168222784996033"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 6169107615026353576, "row_count": 8277827564545904686}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2923238528523372083, "histo_buckets": [{"distinct_range": 0, "num_eq": 2992378593333882932, "num_range": 0, "upper_bound": "03:16:36.249479+08:00:00"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 400, "upper_bound": "03:11:04.73954+03:06:00"}, {"distinct_range": 7467937511994235000, "num_eq": 50000000, "num_range": 8231533719054921961, "upper_bound": "08:20:12.181365+04:05:00"}, {"distinct_range": 800000, "num_eq": 1018372647040028223, "num_range": 800000, "upper_bound": "19:26:40.852639+09:27:00"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 1000, "upper_bound": "11:51:41.195737+01:25:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 8277827564545904686}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5210980292152731920, "histo_buckets": [{"distinct_range": 0, "num_eq": 822293405236260330, "num_range": 0, "upper_bound": ""}, {"distinct_range": 2289765.8366869586, "num_eq": 1000000000, "num_range": 6000000000, "upper_bound": "&m"}, {"distinct_range": 7259648959703318000, "num_eq": 20000, "num_range": 7259648959703317191, "upper_bound": ")[\\u001bM k\\u0017\\u0013*"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5138771064386188432, "upper_bound": "/ +K"}, {"distinct_range": 6023785299254441000, "num_eq": 50, "num_range": 6023785299254441348, "upper_bound": "6*)\\u0014^:KWd"}, {"distinct_range": 1768046691372512500, "num_eq": 6899180932946546239, "num_range": 1768046691372512533, "upper_bound": "8^B1\\u0006\\u000e6"}, {"distinct_range": 0, "num_eq": 800, "num_range": 40000, "upper_bound": "}\\u000fa\\u0005o\\u00013\\u000c-"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 5305037117389724862, "row_count": 8277827564545904686}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6455614239483465050, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "1980-11-03 00:00:17.000085"}, {"distinct_range": 624178772558566900, "num_eq": 9000000, "num_range": 859146542920824705, "upper_bound": "1991-07-02 03:00:16.000639"}, {"distinct_range": 60, "num_eq": 8166693016139466938, "num_range": 60, "upper_bound": "1994-06-10 07:30:56.000621"}, {"distinct_range": 2551693.264105763, "num_eq": 1171225107700204908, "num_range": 100000000, "upper_bound": "2021-11-16 12:19:14.000652"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 8277827564545904686}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_7) REFERENCES table3 (col3_2);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('uyeuq');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('bwowt', 'mwttd', 'k', 'v', 'mnbu');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('ih', 'crkmp', 'me', 'bguiti', 'ig');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@81a2c26a104fa8cc7e8b530b837ffb6ff85ddc5a:

        test_1        |             CREATE INDEX ON table2 (col2_0 ASC, col2_3 ASC, col2_5 ASC) INCLUDE (col2_2, col2_7);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_4 DESC) INCLUDE (col2_1, col2_2, col2_3, col2_5, col2_7);
        test_1        |             CREATE INDEX ON table2 (col2_1);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_0 ASC, col2_3, col2_8 ASC, col2_1 ASC, col2_7 DESC, col2_5 DESC, col2_6, col2_2 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_5 ASC, col2_6 ASC) INCLUDE (col2_1, col2_3, col2_4);
        test_1        |             CREATE TABLE table3 (col3_0 REGPROCEDURE, col3_1 TIME NOT NULL, col3_2 REGNAMESPACE NOT NULL, col3_3 REGCLASS NULL, col3_4 INT8, PRIMARY KEY (col3_2, col3_1));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1, col3_2 ASC, col3_4, col3_3 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_2, col3_1, col3_4) INCLUDE (col3_0, col3_3);
        test_1        |             CREATE TABLE table4 (col4_0 BOX2D NOT NULL, col4_1 REGTYPE NOT NULL, col4_2 TEXT NOT NULL, col4_3 INT8, col4_4 CHAR NOT NULL, col4_5 TIMESTAMPTZ NOT NULL, col4_6 INTERVAL NOT NULL, col4_7 CHAR NOT NULL, col4_8 INET NOT NULL, col4_9 BIT(18), col4_10 DATE NOT NULL, col4_11 CHAR, col4_12 "char" NULL, col4_13 TIMETZ NULL, col4_14 REGPROC NOT NULL, col4_15 REGNAMESPACE NOT NULL, col4_16 REGTYPE NOT NULL, col4_17 TIMESTAMP NOT NULL, col4_18 INT8 NOT NULL, PRIMARY KEY (col4_7, col4_2, col4_1, col4_14, col4_8, col4_18, col4_5, col4_15, col4_0, col4_4, col4_10, col4_6, col4_16));
        test_1        |             CREATE INDEX ON table4 (col4_2 DESC, col4_11, col4_15 DESC, col4_1 DESC, col4_12, col4_5, col4_13) INCLUDE (col4_3);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_18 ASC, col4_0 DESC, col4_7, col4_6 ASC, col4_10 DESC, col4_11 DESC, col4_4 DESC, col4_9 ASC, col4_8, col4_12, col4_5 DESC, col4_16 ASC, col4_2 DESC, col4_15, col4_14 ASC, col4_3 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_2 ASC, col4_0, col4_4, col4_18 DESC, col4_1 DESC, col4_9, col4_7 ASC, col4_6 ASC, col4_17 DESC, col4_12 DESC) INCLUDE (col4_3, col4_11, col4_13);
        test_1        |             CREATE INDEX ON table4 (col4_11 ASC, col4_4, col4_9 ASC, col4_8, col4_6, col4_2 ASC, col4_0, col4_13 ASC, col4_5 DESC, col4_15, col4_17, col4_14 ASC, col4_12, col4_16 ASC) INCLUDE (col4_3);
        test_1        |             CREATE INDEX ON table4 (col4_17, col4_4 DESC, col4_1, col4_5 ASC, col4_2 DESC, col4_0 ASC, col4_10 ASC, col4_8, col4_6, col4_13 ASC, col4_14 ASC, col4_3 ASC, col4_11 DESC, col4_12 ASC, col4_15, col4_16 DESC) INCLUDE (col4_9);
        test_1        |             CREATE INDEX ON table4 (col4_8 ASC, col4_6 DESC, col4_4 DESC, col4_14 ASC, col4_13 ASC, col4_17 ASC, col4_9 DESC, col4_2 ASC, col4_12, col4_3 ASC, col4_5, col4_11, col4_10, col4_16, col4_18 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_11, col4_10, col4_2 ASC, col4_4 ASC, col4_0, col4_9 DESC, col4_17, col4_13 ASC, col4_12 DESC, col4_6 ASC, col4_1 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('au', 'lrnfo', 'oowjwo');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('dimsc', 'gphphj', 'f');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('wi', 'jujflt', 'fs');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('w', 'j', 'vvawd', 'xicklq', 'mxj');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.57s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 TIME NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_2 BYTES NOT NULL, col1_3 NAME NOT NULL, col1_4 REGPROCEDURE, col1_5 TIME NOT NULL, col1_6 BIT(18) NOT NULL, col1_7 INTERVAL NOT NULL, PRIMARY KEY (col1_3, col1_7 ASC, col1_2, col1_0 DESC, col1_1 ASC, col1_6 DESC), INDEX (col1_0, col1_6, col1_7 DESC, col1_2 ASC) WHERE (table1.col1_2 >= '\x27':::BYTES) OR (table1.col1_0 = '24:00:00':::TIME), INDEX (col1_1 ASC, col1_7 DESC, col1_2, col1_6, col1_0, col1_5 DESC) WHERE ((table1.col1_3 < e'\'':::STRING) OR (table1.col1_0 = '24:00:00':::TIME)) AND (table1.col1_2 <= '\x58':::BYTES), UNIQUE (col1_0 ASC, col1_4 DESC) STORING (col1_5), INDEX (col1_3 ASC, col1_5 ASC, col1_4 DESC, col1_2 DESC, col1_1 ASC, col1_0 ASC, col1_6), UNIQUE (col1_7 DESC, col1_0 ASC, col1_4 ASC, col1_2 ASC, col1_1), FAMILY (col1_1, col1_4), FAMILY (col1_2, col1_7, col1_5, col1_0), FAMILY (col1_3), FAMILY (col1_6));
        test_1        |             CREATE TABLE table2 (col1_3 NAME NOT NULL, col1_7 INTERVAL NOT NULL, col1_2 BYTES NOT NULL, col1_0 TIME NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_6 BIT(18) NOT NULL, col2_6 REGNAMESPACE, col2_7 TIME NULL, col2_8 INT4 NOT NULL, col2_9 REGPROCEDURE NULL, col2_10 OID, col2_11 REGTYPE NULL, col2_12 TIME, col2_13 STRING, col2_14 REGNAMESPACE NULL, col2_15 REGNAMESPACE NOT NULL, col2_16 INT8, col2_17 TIMESTAMPTZ NOT NULL, col2_18 OID NOT NULL, col2_19 INT2, col2_20 BOX2D NULL, col2_21 REGCLASS, col2_22 REGCLASS, col2_23 FLOAT4, PRIMARY KEY (col1_3, col1_7 ASC, col1_2, col1_0 DESC, col1_1 ASC, col1_6 DESC, col2_11 ASC), INDEX (col2_13 ASC, col2_6, col1_3, col2_9 ASC, col2_22, col2_7 ASC, col2_23, col2_10 ASC, col1_7, col1_2 DESC, col2_14 DESC, col2_11 ASC, col2_8, col1_1 ASC, col2_17 DESC, col2_19, col2_16, col2_12, col2_15 DESC, col1_6, col2_20 ASC) WHERE (((((table2.col1_1 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col2_13 < '"':::STRING)) AND (table2.col2_8 != (-128):::INT8)) OR (table2.col2_16 >= (-1):::INT8)) AND (table2.col2_23 <= '+Inf':::FLOAT8)) AND (table2.col2_7 != '24:00:00':::TIME), INDEX (col2_6 DESC, col2_13, col2_14 DESC, col2_20 DESC, col2_22, col2_17 DESC, col2_16, col2_21 ASC, col2_9) STORING (col2_7, col2_10, col2_12, col2_15) WHERE table2.col1_0 < '24:00:00':::TIME, INDEX (col2_16 DESC, col2_6 ASC, col2_17, col2_13, col2_18 DESC, col1_0, col2_20 DESC, col1_1 DESC, col2_11) STORING (col2_9, col2_10, col2_12, col2_14, col2_15, col2_19, col2_21, col2_22, col2_23), INDEX (col1_1, col2_19 DESC, col2_9 ASC, col2_7 DESC, col1_0, col2_23 DESC, col2_12) STORING (col2_6, col2_10, col2_14, col2_15, col2_17, col2_20, col2_21, col2_22), UNIQUE (col2_19, col2_10 DESC, col2_11, col2_17 ASC, col2_18 DESC, col2_14 DESC, col2_21) STORING (col2_6, col2_7, col2_8, col2_9, col2_12, col2_13, col2_16, col2_20, col2_22, col2_23), UNIQUE (col2_10, col2_9, col2_18, col1_7, col1_3 DESC, col1_6, col2_8 ASC, col2_20 DESC, col1_1 DESC, col2_21, col2_17, col2_16 ASC, col2_15 ASC, col1_2, col2_6 DESC, col2_11 ASC, col1_0) STORING (col2_12, col2_14, col2_23), UNIQUE (col2_11 DESC, col2_22 DESC, col2_15, col2_12, col1_2 DESC, col2_8 DESC, col2_17 DESC, col2_21 ASC, col2_16, col2_9 ASC, col1_6 DESC, col1_0 DESC, col2_20 DESC, col1_1 ASC) STORING (col2_7, col2_14, col2_18, col2_19) WHERE (((((table2.col1_2 > '\x00':::BYTES) OR (table2.col1_0 <= '24:00:00':::TIME)) OR (table2.col2_8 != (-1):::INT8)) OR (table2.col2_19 >= 0:::INT8)) OR (table2.col1_3 < e'\'':::STRING)) AND (table2.col2_16 <= 9223372036854775807:::INT8), INDEX (col2_7) STORING (col2_8, col2_12, col2_13, col2_19, col2_23) WHERE ((((table2.col2_17 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ) AND (table2.col1_0 = '24:00:00':::TIME)) AND (table2.col1_2 < '\xe29883':::BYTES)) AND (table2.col2_19 = (-1):::INT8)) AND (table2.col2_16 > 127:::INT8), INDEX (col1_2 ASC, col2_9 ASC, col2_18 ASC, col2_10, col2_12, col2_21 DESC, col2_15, col1_0, col1_6 DESC, col2_14 ASC, col2_6 ASC, col2_22, col2_23 ASC) WHERE (((((((((((table2.col2_17 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) OR (table2.col1_1 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col1_2 < '\xe29883':::BYTES)) AND (table2.col2_23 > '+Inf':::FLOAT8)) OR (table2.col2_13 = 'X':::STRING)) OR (table2.col1_3 >= e'\U00002603':::STRING)) AND (table2.col2_19 < 1:::INT8)) AND (table2.col2_8 <= 1:::INT8)) OR (table2.col2_12 < '24:00:00':::TIME)) AND (table2.col2_16 < (-32768):::INT8)) OR (table2.col1_0 > '24:00:00':::TIME)) OR (table2.col2_7 > '00:00:00':::TIME)) INTERLEAVE IN PARENT table1 (col1_3, col1_7, col1_2, col1_0, col1_1, col1_6);
        test_1        |             CREATE TABLE table3 (col1_3 NAME NOT NULL, col1_7 INTERVAL NOT NULL, col1_2 BYTES NOT NULL, col1_0 TIME NOT NULL, col1_1 TIMESTAMPTZ NOT NULL, col1_6 BIT(18) NOT NULL, col3_6 REGPROCEDURE NULL, col3_7 TIMESTAMP NOT NULL, col3_8 TIMESTAMPTZ NOT NULL, col3_9 REGNAMESPACE NULL, col3_10 REGCLASS NOT NULL, col3_11 REGTYPE NULL, col3_12 INTERVAL, col3_13 "char" NOT NULL, col3_14 INT8 NOT NULL, col3_15 TIME NULL, col3_16 STRING NOT NULL, col3_17 REGNAMESPACE NOT NULL, col3_18 DATE, PRIMARY KEY (col1_3, col1_7 ASC, col1_2, col1_0 DESC, col1_1 ASC, col1_6 DESC, col3_7 DESC, col3_9 ASC), UNIQUE (col3_13 ASC, col1_7, col3_11 ASC, col3_12, col3_8 ASC, col1_6 ASC, col3_18, col3_14, col3_10, col3_6 ASC, col1_1 ASC, col3_7 DESC, col3_17, col1_3, col3_16 DESC, col1_0 DESC, col3_15, col3_9, col1_2 DESC) WHERE ((((((((((table3.col3_18 < '5874897-12-31':::DATE) AND (table3.col3_13 != e'\'':::STRING)) OR (table3.col3_14 != (-128):::INT8)) OR (table3.col3_8 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col1_3 > e'\x00':::STRING)) OR (table3.col3_16 != 'X':::STRING)) OR (table3.col1_1 != '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col1_0 >= '00:00:00':::TIME)) AND (table3.col3_15 < '24:00:00':::TIME)) AND (table3.col1_2 > '\x27':::BYTES)) OR (table3.col3_7 <= '3000-01-01 00:00:00':::TIMESTAMP), INDEX (col3_14 DESC, col1_3 DESC, col1_0 ASC, col3_10, col3_7 DESC, col3_16 DESC, col1_1 DESC, col3_9 ASC, col3_18 ASC, col3_11 ASC, col3_12 DESC, col1_6 ASC, col3_13 ASC, col3_6 DESC, col1_7 DESC, col1_2 DESC, col3_8 ASC, col3_15), INDEX (col1_7 DESC, col3_6 ASC) STORING (col3_8, col3_10, col3_13, col3_14, col3_15) WHERE table3.col3_14 > 1:::INT8, UNIQUE (col3_15 ASC, col3_11, col3_7 DESC, col1_7 DESC, col3_13 ASC, col3_16 DESC, col3_6 DESC, col1_3 ASC, col3_8 DESC, col3_10, col3_9, col3_17 ASC, col1_2 ASC, col3_18, col1_0 DESC, col1_6, col1_1 ASC), INDEX (col3_18 ASC, col3_12 ASC, col1_0, col1_3 ASC, col3_9 ASC, col3_13, col3_10 DESC, col3_15 DESC, col1_6, col3_17, col3_14 DESC, col1_1, col1_2, col3_11 DESC, col3_8 DESC) WHERE ((((((((((table3.col1_3 >= 'X':::STRING) AND (table3.col1_1 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table3.col3_16 > '':::STRING)) OR (table3.col3_8 > '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_7 <= '3000-01-01 00:00:00':::TIMESTAMP)) OR (table3.col3_14 < (-9223372036854775807):::INT8)) OR (table3.col3_18 <= '1970-01-01':::DATE)) OR (table3.col1_0 < '00:00:00':::TIME)) OR (table3.col3_15 >= '24:00:00':::TIME)) AND (table3.col3_13 >= e'\U00002603':::STRING)) OR (table3.col1_2 < '\xff':::BYTES), INDEX (col1_0 DESC, col1_3 DESC) STORING (col3_6, col3_8, col3_12) WHERE ((((((((((table3.col3_16 >= e'\U00002603':::STRING) OR (table3.col3_14 != 127:::INT8)) AND (table3.col1_2 < '\x':::BYTES)) AND (table3.col3_18 > '4714-11-24 BC':::DATE)) OR (table3.col3_7 >= '3000-01-01 00:00:00':::TIMESTAMP)) OR (table3.col3_13 < 'X':::STRING)) OR (table3.col3_15 >= '24:00:00':::TIME)) OR (table3.col1_1 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col1_0 = '24:00:00':::TIME)) OR (table3.col3_8 < '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col1_3 = e'\'':::STRING), INDEX (col1_3 ASC, col3_7, col3_12 DESC, col3_18 DESC, col1_2 DESC) STORING (col3_8, col3_10, col3_11, col3_13, col3_16) WHERE ((((((((((table3.col3_16 = e'\'':::STRING) AND (table3.col3_13 <= e'\U00002603':::STRING)) AND (table3.col3_7 != '-2000-01-01 00:00:00':::TIMESTAMP)) OR (table3.col1_3 >= e'\x00':::STRING)) AND (table3.col1_0 != '24:00:00':::TIME)) AND (table3.col3_18 > 'infinity':::DATE)) AND (table3.col1_1 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table3.col3_15 >= '00:00:00':::TIME)) AND (table3.col1_2 < '\xe29883':::BYTES)) OR (table3.col3_8 >= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_14 <= (-32768):::INT8), INDEX (col3_18 ASC, col3_11 DESC, col3_8 ASC, col3_17, col1_2, col1_6 DESC, col3_9 ASC, col1_0 DESC, col3_10 ASC, col3_6, col3_15 ASC, col3_12, col1_3 DESC) WHERE ((table3.col1_0 != '24:00:00':::TIME) AND (table3.col3_14 >= (-128):::INT8)) OR (table3.col3_8 < '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col3_18, col1_2, col3_15 ASC, col1_6 ASC, col3_16, col3_13, col1_3 ASC, col1_0 ASC, col3_14 ASC, col3_7 DESC, col3_11 ASC, col3_8 DESC, col3_12) STORING (col3_10, col3_17) WHERE ((((((((((table3.col3_7 >= '-2000-01-01 00:00:00':::TIMESTAMP) AND (table3.col1_1 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_8 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_18 <= '4714-11-24 BC':::DATE)) AND (table3.col1_3 != e'\U00002603':::STRING)) AND (table3.col3_14 >= (-9223372036854775807):::INT8)) OR (table3.col3_13 = 'X':::STRING)) OR (table3.col3_16 >= e'\x00':::STRING)) AND (table3.col1_2 >= '\x58':::BYTES)) AND (table3.col3_15 < '24:00:00':::TIME)) OR (table3.col1_0 != '24:00:00':::TIME), FAMILY (col1_7), FAMILY (col3_6, col3_12, col3_15, col1_3), FAMILY (col3_7, col3_18), FAMILY (col1_0), FAMILY (col3_10, col1_6), FAMILY (col3_13), FAMILY (col3_14), FAMILY (col1_2), FAMILY (col3_9), FAMILY (col3_17), FAMILY (col3_16), FAMILY (col3_11, col1_1), FAMILY (col3_8)) INTERLEAVE IN PARENT table1 (col1_3, col1_7, col1_2, col1_0, col1_1, col1_6);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 573331, "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": 560599, "histo_buckets": [{"distinct_range": 0, "num_eq": 5590483145246831566, "num_range": 0, "upper_bound": "-63 years -2 mons -737 days -02:44:40.42645"}, {"distinct_range": 1255675173263688700, "num_eq": 6000000000, "num_range": 1255675173263688689, "upper_bound": "4 years 10 mons 402 days 08:31:55.30698"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 5139727588341763775, "upper_bound": "44 years 10 mons 872 days 00:19:38.914257"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157255, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "12:17:49.293298"}, {"distinct_range": 40000, "num_eq": 4564384687381271133, "num_range": 40000, "upper_bound": "17:40:57.831317"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 70, "upper_bound": "19:42:20.216911"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 1014342163288421197, "upper_bound": "22:35:25.099421"}, {"distinct_range": 0, "num_eq": 10, "num_range": 10, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 235961, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 9000000000, "num_eq": 10000, "num_range": 9000000000, "upper_bound": "1970-05-05 02:56:36.000331+00:00"}, {"distinct_range": 0, "num_eq": 200, "num_range": 100000000000, "upper_bound": "1977-03-05 13:06:53.000292+00:00"}, {"distinct_range": 300, "num_eq": 1373105974386741788, "num_range": 300, "upper_bound": "1978-09-07 21:36:54.00056+00:00"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 3000000, "upper_bound": "2000-06-19 13:49:19.000562+00:00"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "2000-10-07 04:09:05.000156+00:00"}, {"distinct_range": 4000, "num_eq": 300000000, "num_range": 4000, "upper_bound": "2010-09-18 16:55:23.000562+00:00"}, {"distinct_range": 0, "num_eq": 3012495730663853660, "num_range": 100, "upper_bound": "2017-09-10 11:40:08.000276+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372164, "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": 251049, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "]\\u001d"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271436, "histo_col_type": "", "name": "__auto__", "null_count": 92480, "row_count": 600000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3807845473427356943, "histo_col_type": "", "name": "__auto__", "null_count": 82555695190049589, "row_count": 8571238728128130130}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3889124496062029410, "histo_buckets": [{"distinct_range": 0, "num_eq": 7395147135880983652, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 3522160519487620039, "num_range": 8360714390181658307, "upper_bound": "?\\u000b\\u0006\\u0015"}, {"distinct_range": 464187.60492968676, "num_eq": 6697255166151128410, "num_range": 1000000, "upper_bound": "C\\u0010P\\u000f"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 100000000, "upper_bound": "I.\\\\*h"}, {"distinct_range": 1094680359130415900, "num_eq": 800000000, "num_range": 4899003010665235557, "upper_bound": "R\\u000cON1"}, {"distinct_range": 1957122751981858800, "num_eq": 8540723713721564893, "num_range": 2813655043700018373, "upper_bound": "h"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3298693351911429913, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7850268582800907718, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 8000000, "num_eq": 400, "num_range": 8000000, "upper_bound": "153689497"}, {"distinct_range": 7031346024884151000, "num_eq": 1030102955298230895, "num_range": 7031346024884150839, "upper_bound": "485701558"}, {"distinct_range": 34063225629.90314, "num_eq": 3000000000, "num_range": 40000000000, "upper_bound": "2288090138"}, {"distinct_range": 1459816.7642494275, "num_eq": 7000, "num_range": 5000000, "upper_bound": "2314776485"}, {"distinct_range": 6344729226671277000, "num_eq": 9000000000, "num_range": 6344729226671276631, "upper_bound": "4211756774"}, {"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "4232572152"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 4045657862668590409, "row_count": 8571238728128130130}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5356426550636819219, "histo_col_type": "STRING", "name": "__auto__", "null_count": 104218423056095092, "row_count": 8571238728128130130}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1093711078715518877, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7819028163351156708, "histo_col_type": "", "name": "__auto__", "null_count": 7118666754697533433, "row_count": 8571238728128130130}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5443373356614540166, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5771186105237049954, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5568158635856492511, "histo_col_type": "", "name": "__auto__", "null_count": 163347229206166338, "row_count": 8571238728128130130}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 508184896056924622, "histo_col_type": "", "name": "__auto__", "null_count": 3862204316959503308, "row_count": 8571238728128130130}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5060473713728164921, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7658533430641448754, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3474832790475741437, "histo_col_type": "OID", "name": "__auto__", "null_count": 2887932249130065873, "row_count": 8571238728128130130}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1281307121348625476, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6210264266287365556, "histo_col_type": "", "name": "__auto__", "null_count": 1191022700148947380, "row_count": 8571238728128130130}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5329656589209755977, "histo_col_type": "", "name": "__auto__", "null_count": 851016465951688639, "row_count": 8571238728128130130}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 537378925927628187, "histo_buckets": [{"distinct_range": 0, "num_eq": 4783917580899011827, "num_range": 0, "upper_bound": "33369709641724962"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 6602107449252920711, "row_count": 8571238728128130130}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4041251518238645456, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "-17730"}, {"distinct_range": 8890518082.16548, "num_eq": 500, "num_range": 40000000000, "upper_bound": "-17208"}, {"distinct_range": 231165526866456350, "num_eq": 5664350197077551020, "num_range": 2328020224962464103, "upper_bound": "27122"}, {"distinct_range": 0, "num_eq": 7499292641025268122, "num_range": 2000000000, "upper_bound": "28054"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 5668741670616155598, "row_count": 8571238728128130130}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8552063230374131504, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x08af"}, {"distinct_range": 448.71734383988706, "num_eq": 601679939587571461, "num_range": 500, "upper_bound": "\\\\x22"}, {"distinct_range": 0, "num_eq": 300, "num_range": 7763902361781288258, "upper_bound": "\\\\x765b364ce16f5716"}, {"distinct_range": 1000000000, "num_eq": 40000, "num_range": 1000000000, "upper_bound": "\\\\xd9f23291de"}, {"distinct_range": 80000, "num_eq": 700000000, "num_range": 80000, "upper_bound": "\\\\xdd61c5e8f69b830b"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 300, "upper_bound": "\\\\xf3141107c3"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 515866615624591081, "histo_buckets": [{"distinct_range": 0, "num_eq": 4974627389210662526, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 5527226957845980731, "num_range": 8902335278842738355, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 6099514758223278268, "upper_bound": "1973-07-22 11:20:02.00013+00:00"}, {"distinct_range": 836317310378850800, "num_eq": 2000, "num_range": 836317310378850781, "upper_bound": "1994-11-18 13:14:09.000606+00:00"}, {"distinct_range": 200, "num_eq": 8066832305146178331, "num_range": 200, "upper_bound": "1999-05-06 12:49:58.000329+00:00"}, {"distinct_range": 0, "num_eq": 7744948441284209285, "num_range": 1318588613286974274, "upper_bound": "2019-01-17 18:59:47.00082+00:00"}, {"distinct_range": 0, "num_eq": 4713398806956232170, "num_range": 2354261630641066059, "upper_bound": "2021-11-26 14:15:26.000733+00:00"}, {"distinct_range": 90, "num_eq": 4127016338176917238, "num_range": 90, "upper_bound": "2022-03-13 17:07:09.000571+00:00"}, {"distinct_range": 80000000, "num_eq": 1469026426679328746, "num_range": 80000000, "upper_bound": "2028-03-13 04:25:50.000484+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 8571238728128130130}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7294458193390853941, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 10000, "num_eq": 1051793623441558159, "num_range": 10000, "upper_bound": "236782027"}, {"distinct_range": 0, "num_eq": 814432638427110164, "num_range": 8632532365998141693, "upper_bound": "305831096"}, {"distinct_range": 4064664646045413400, "num_eq": 543679654344633485, "num_range": 6907412297631862646, "upper_bound": "595282727"}, {"distinct_range": 7877835785371613000, "num_eq": 0, "num_range": 7877835785371612793, "upper_bound": "1735304500"}, {"distinct_range": 7111.59793552079, "num_eq": 2722622874867194659, "num_range": 8000, "upper_bound": "2242286618"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 172441437685785633, "row_count": 8571238728128130130}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5184774965386464579, "histo_buckets": [{"distinct_range": 0, "num_eq": 8509076346969619912, "num_range": 0, "upper_bound": "02:05:49.134719"}, {"distinct_range": 1453975067314194700, "num_eq": 10000, "num_range": 1453975067314194735, "upper_bound": "08:22:07.542533"}, {"distinct_range": 83636.3667753091, "num_eq": 288548224757226354, "num_range": 900000, "upper_bound": "09:14:30.712641"}, {"distinct_range": 82089224.81264375, "num_eq": 725559403245501188, "num_range": 90000000, "upper_bound": "12:17:28.221088"}, {"distinct_range": 641003335.467503, "num_eq": 90000000000, "num_range": 800000000, "upper_bound": "18:23:57.957551"}, {"distinct_range": 2729.185165809116, "num_eq": 200000000, "num_range": 3000, "upper_bound": "19:49:19.988695"}, {"distinct_range": 3344.334776776309, "num_eq": 2284260022259082920, "num_range": 30000, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 3939124625896793614, "row_count": 8571238728128130130}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1042298219668195717, "histo_col_type": "", "name": "__auto__", "null_count": 2776999882451110577, "row_count": 8571238728128130130}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 334591486, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "-55 years -7 mons -619 days -21:35:22.243436"}, {"distinct_range": 91818082.30840869, "num_eq": 90000000, "num_range": 4000000000, "upper_bound": "-24 years -11 mons -906 days -17:55:37.741833"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 5001112629142757744, "upper_bound": "00:00:00"}, {"distinct_range": 0, "num_eq": 9110120242261776987, "num_range": 90000000000, "upper_bound": "1 year 3 mons 311 days 05:58:53.066649"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 650835480, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 779635071, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 794204829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8124157, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 701203164, "histo_col_type": "", "name": "__auto__", "null_count": 203964862, "row_count": 800000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 413655410, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107798691, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 653548775, "histo_buckets": [{"distinct_range": 0, "num_eq": 1681172233626105608, "num_range": 0, "upper_bound": "-976446786547120702"}, {"distinct_range": 1053075179644724200, "num_eq": 500000000, "num_range": 1053075179644724182, "upper_bound": "4399560499771435250"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 4652547575208462707, "upper_bound": "5005202463216062334"}, {"distinct_range": 0, "num_eq": 2441714151771160048, "num_range": 24503942029936038, "upper_bound": "5375904445338990817"}, {"distinct_range": 8146404893400601000, "num_eq": 853261653230929911, "num_range": 8146404893400600511, "upper_bound": "7618215854851149369"}, {"distinct_range": 0, "num_eq": 3121845656185056758, "num_range": 773210506130964542, "upper_bound": "8100687232056886931"}, {"distinct_range": 0, "num_eq": 4534741405058897407, "num_range": 764655398131123196, "upper_bound": "8649398297152461605"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 664996315, "histo_buckets": [{"distinct_range": 0, "num_eq": 6265095625676523537, "num_range": 0, "upper_bound": "\\u00165"}, {"distinct_range": 30000000, "num_eq": 4114039430350953499, "num_range": 30000000, "upper_bound": "\\""}, {"distinct_range": 14366434.432569439, "num_eq": 80000000000, "num_range": 40000000, "upper_bound": "#"}, {"distinct_range": 657697220598574500, "num_eq": 60000000000, "num_range": 657697220598574448, "upper_bound": ":\\u0015"}, {"distinct_range": 42008.326342473025, "num_eq": 200000000, "num_range": 100000, "upper_bound": "[\\u0013q+n"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673360794, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 622909914, "histo_col_type": "", "name": "__auto__", "null_count": 670246238, "row_count": 800000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 722239360, "histo_col_type": "", "name": "__auto__", "null_count": 30257094, "row_count": 800000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 420820614, "histo_col_type": "", "name": "__auto__", "null_count": 450847317, "row_count": 800000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 642380348, "histo_buckets": [{"distinct_range": 0, "num_eq": 1717048843047712652, "num_range": 0, "upper_bound": "03:40:57.522128"}, {"distinct_range": 600000000, "num_eq": 0, "num_range": 600000000, "upper_bound": "16:33:14.458223"}, {"distinct_range": 50000000000, "num_eq": 1596151006296167794, "num_range": 50000000000, "upper_bound": "18:48:06.845565"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 454070323, "row_count": 800000000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673594014, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124483069, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 0, "num_eq": 4035433864267171667, "num_range": 191273162945289616, "upper_bound": "1972-05-09"}, {"distinct_range": 34115865.38982884, "num_eq": 6127448210907215281, "num_range": 60000000, "upper_bound": "1973-02-12"}, {"distinct_range": 834.0790847301184, "num_eq": 3063658292574748420, "num_range": 9000, "upper_bound": "1975-01-15"}, {"distinct_range": 8000, "num_eq": 0, "num_range": 8000, "upper_bound": "1980-11-11"}, {"distinct_range": 700000000, "num_eq": 8000000, "num_range": 700000000, "upper_bound": "1984-09-19"}, {"distinct_range": 2713.5736812373007, "num_eq": 6587930574751117756, "num_range": 6000, "upper_bound": "1989-11-23"}, {"distinct_range": 1565457552852541000, "num_eq": 100000, "num_range": 5556249481514712897, "upper_bound": "1993-03-25"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 251115110, "row_count": 800000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 141253805, "histo_buckets": [{"distinct_range": 0, "num_eq": 4444797191237839699, "num_range": 0, "upper_bound": "04:47:04.722424"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 8443285091116820690, "upper_bound": "10:36:11.648763"}, {"distinct_range": 6000, "num_eq": 90000000000, "num_range": 6000, "upper_bound": "11:57:16.739722"}, {"distinct_range": 100, "num_eq": 500, "num_range": 100, "upper_bound": "15:36:39.185995"}, {"distinct_range": 603702785482773200, "num_eq": 100000, "num_range": 603702785482773310, "upper_bound": "21:45:02.74425"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 800000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69757742, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "&"}, {"distinct_range": 5629751748014307000, "num_eq": 5652002853714197288, "num_range": 5629751748014306927, "upper_bound": "6"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 800000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('g', 'gaovmw', 'fclxu');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('gfxl', 'pkge', 'gjfzs', 'i');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('v', 'oh');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('zr', 'jskub', 'uqhayq', 'udsy', 'xf');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('l');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@0e98670c8fcec566937e899fdf77d2a68c702d62:

        test_1        |             CREATE INDEX ON table2 (col2_6 ASC, col2_2 ASC, col2_4, col2_3 DESC) STORING (col2_1, col2_5, col2_11);
        test_1        |             CREATE INDEX ON table2 (col2_7 ASC, col2_5 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_8 ASC, col2_6 DESC, col2_9 DESC) STORING (col2_1, col2_3, col2_5, col2_7, col2_11);
        test_1        |             CREATE INDEX ON table2 (col2_0, col2_1 ASC, col2_7 DESC, col2_9 DESC, col2_10 ASC, col2_3 ASC, col2_5 ASC, col2_11) STORING (col2_6);
        test_1        |             CREATE INDEX ON table2 (col2_8 ASC, col2_3) STORING (col2_4, col2_5, col2_6, col2_9);
        test_1        |             CREATE TABLE table3 (col1_4 TIMESTAMPTZ NOT NULL, col1_3 BOOL NOT NULL, col1_5 REGNAMESPACE NOT NULL, col1_0 NAME NOT NULL, col3_4 TIMESTAMPTZ NOT NULL, col3_5 REGCLASS NULL, col3_6 REGPROCEDURE NULL, col3_7 UUID NOT NULL, col3_8 REGPROCEDURE NOT NULL, col3_9 REGTYPE, col3_10 OID, col3_11 DATE NULL, col3_12 BYTES, PRIMARY KEY (col1_4, col1_3, col1_5, col1_0, col3_9, col3_7, col3_4, col3_11, col3_12), FAMILY (col3_9, col1_4), FAMILY (col3_10), FAMILY (col1_0, col1_5), FAMILY (col3_6), FAMILY (col3_4, col3_12), FAMILY (col3_5, col3_7, col1_3), FAMILY (col3_11), FAMILY (col3_8)) INTERLEAVE IN PARENT table1 (col1_4, col1_3, col1_5, col1_0);
        test_1        |             CREATE INDEX ON table3 (col3_6 ASC, col1_0 ASC, col1_5, col3_12, col3_5 DESC, col3_10 DESC, col1_3 ASC, col3_7 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_5 DESC, col3_4 DESC, col3_12, col1_0 ASC, col3_10, col1_4 ASC) STORING (col3_8);
        test_1        |             CREATE INDEX ON table3 (col3_10, col3_7 ASC, col1_0, col3_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_11) STORING (col3_5, col3_8, col3_10);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_5 DESC, col3_5, col3_12 ASC, col3_7 DESC, col3_9, col3_8 ASC, col3_11 ASC, col1_3 ASC, col3_10 DESC, col1_0, col3_6 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_6 DESC, col3_9 DESC, col3_11 DESC, col3_12 ASC, col1_0, col1_5) STORING (col3_5);
        test_1        |             CREATE INDEX ON table3 (col3_6 DESC, col3_5 ASC, col1_5 ASC, col1_0) STORING (col3_8, col3_10);
        test_1        |             CREATE INDEX ON table3 (col1_3 ASC, col1_4 ASC, col3_8 ASC, col3_4 DESC, col3_10 ASC, col1_0 DESC, col3_9 ASC, col3_6 DESC, col3_12 DESC, col3_11 DESC, col1_5 ASC, col3_5 ASC, col3_7 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_6 DESC, col3_8 DESC, col3_5 ASC, col1_3 DESC, col1_5 ASC);
        test_1        |             CREATE TABLE table4 (col4_0 VARCHAR NOT NULL, col4_1 UUID NOT NULL, col4_2 "char", col4_3 REGTYPE NOT NULL, col4_4 DECIMAL NULL, col4_5 STRING NOT NULL, col4_6 INT2, col4_7 OID NOT NULL, col4_8 FLOAT4 NOT NULL, col4_9 TIMETZ[], PRIMARY KEY (col4_8, col4_3, col4_1), FAMILY (col4_8), FAMILY (col4_2), FAMILY (col4_6), FAMILY (col4_1, col4_3, col4_4), FAMILY (col4_0), FAMILY (col4_7, col4_9), FAMILY (col4_5));
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_5 ASC, col4_6 ASC) STORING (col4_2, col4_4);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_2 ASC, col4_1 ASC, col4_8, col4_3 DESC, col4_4);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_7, col4_1 ASC, col4_5, col4_3 ASC) STORING (col4_4, col4_6);
        test_1        |             CREATE INDEX ON table4 (col4_0 DESC);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 448744095691528097, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 1000000, "num_eq": 8000, "num_range": 1000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 1677291323235284787}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432652683838440669, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "1970-04-10 19:20:51.000114+00:00"}, {"distinct_range": 0, "num_eq": 5331459971024270761, "num_range": 80, "upper_bound": "1974-05-17 00:37:25.000483+00:00"}, {"distinct_range": 109496494138702080, "num_eq": 3184698255257811648, "num_range": 653418608142161864, "upper_bound": "1978-08-15 05:05:06.000386+00:00"}, {"distinct_range": 50000000000, "num_eq": 400000000, "num_range": 50000000000, "upper_bound": "1992-11-02 07:59:23.000861+00:00"}, {"distinct_range": 238229015468677440, "num_eq": 168227974146463458, "num_range": 238229015468677454, "upper_bound": "1997-02-17 03:17:34.000718+00:00"}, {"distinct_range": 8271151037083227000, "num_eq": 2751218444949473143, "num_range": 8271151037083227360, "upper_bound": "2010-03-24 02:28:38.000553+00:00"}, {"distinct_range": 100000, "num_eq": 10000, "num_range": 100000, "upper_bound": "2024-09-16 03:43:27.000218+00:00"}, {"distinct_range": 727614189731428000, "num_eq": 1000000000, "num_range": 2970379772073232710, "upper_bound": "2031-11-08 14:42:43.000794+00:00"}, {"distinct_range": 0, "num_eq": 8632268798653659742, "num_range": 10000000000, "upper_bound": "294276-12-31 23:59:59.999999+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 1677291323235284787}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1573723811052104218, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1677291323235284787}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 783318601278401382, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 1.4330858738340608, "num_eq": 700000000, "num_range": 30, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 552938327332120957, "row_count": 1677291323235284787}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 347844669053438896, "histo_buckets": [{"distinct_range": 0, "num_eq": 5326260151196241765, "num_range": 0, "upper_bound": ""}, {"distinct_range": 50455150.39328714, "num_eq": 7413664098121390886, "num_range": 300000000, "upper_bound": "\\tAwm\\u0008W"}, {"distinct_range": 0, "num_eq": 8137269167883553877, "num_range": 70, "upper_bound": "\\r>\\u0015\\u0006"}, {"distinct_range": 0, "num_eq": 900, "num_range": 2373713611499494569, "upper_bound": "\\u000f"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 40000, "upper_bound": ";dM~\\u0016\\u001bNJv"}, {"distinct_range": 3470915772.7585716, "num_eq": 900000, "num_range": 7000000000, "upper_bound": "FY"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 6170969553234908027, "upper_bound": "Pg"}, {"distinct_range": 20000000000, "num_eq": 60, "num_range": 20000000000, "upper_bound": "VnF"}, {"distinct_range": 459850934147956030, "num_eq": 5629946996132852537, "num_range": 459850934147956038, "upper_bound": "d*\\u0014X\\u0005De3"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 1677291323235284787}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1122082382208407686, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 1318990436405600566, "row_count": 1677291323235284787}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 553214615529243855, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "667927526"}, {"distinct_range": 0, "num_eq": 7602490992954609984, "num_range": 0, "upper_bound": "1217254310"}, {"distinct_range": 80000000000, "num_eq": 9127337364064369468, "num_range": 80000000000, "upper_bound": "1289456111"}, {"distinct_range": 0, "num_eq": 4839431800149165323, "num_range": 3000000, "upper_bound": "2745703517"}, {"distinct_range": 7288660140.857782, "num_eq": 1000, "num_range": 8000000000, "upper_bound": "3634838573"}, {"distinct_range": 295147947178656960, "num_eq": 70000000, "num_range": 2791776005005788516, "upper_bound": "3791584347"}, {"distinct_range": 0, "num_eq": 2448569804275313994, "num_range": 400000000, "upper_bound": "3848373533"}, {"distinct_range": 40000, "num_eq": 0, "num_range": 40000, "upper_bound": "3867640008"}, {"distinct_range": 8902050556456572000, "num_eq": 60000, "num_range": 8902050556456572132, "upper_bound": "4190134075"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 1406133407007283259, "row_count": 1677291323235284787}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"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_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_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "15:50:48.842978+05:37:00"}], "histo_col_type": "TIMETZ", "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": 100000, "num_range": 0, "upper_bound": "-0.6853147149085999"}, {"distinct_range": 0, "num_eq": 5355780343751009636, "num_range": 3056515409355433130, "upper_bound": "0.1477014571428299"}, {"distinct_range": 4269274.432143122, "num_eq": 6017782001318048864, "num_range": 10000000, "upper_bound": "0.21425770223140717"}, {"distinct_range": 40000000, "num_eq": 2000000, "num_range": 40000000, "upper_bound": "0.5912001729011536"}], "histo_col_type": "FLOAT4", "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_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "10:06:36.543958"}, {"distinct_range": 0, "num_eq": 4011567656962732115, "num_range": 6000000, "upper_bound": "10:11:54.906904"}, {"distinct_range": 385.01817724934244, "num_eq": 3739364871685609035, "num_range": 8000, "upper_bound": "13:49:20.375475"}, {"distinct_range": 157087711839489800, "num_eq": 5657971532167695570, "num_range": 1376737155666762588, "upper_bound": "18:47:47.500789"}], "histo_col_type": "TIME", "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_buckets": [{"distinct_range": 0, "num_eq": 7952076540741735135, "num_range": 0, "upper_bound": "07:38:04.296316"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4816173336007199359, "upper_bound": "08:34:42.34987"}, {"distinct_range": 35780.04986790805, "num_eq": 50000000, "num_range": 40000, "upper_bound": "08:57:17.494225"}, {"distinct_range": 719981504.2690027, "num_eq": 8012973505339272476, "num_range": 10000000000, "upper_bound": "13:41:43.378353"}, {"distinct_range": 1000, "num_eq": 50, "num_range": 1000, "upper_bound": "19:33:47.616882"}, {"distinct_range": 0, "num_eq": 90, "num_range": 1000000000, "upper_bound": "21:54:07.574872"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 30000000000, "upper_bound": "23:08:25.82282"}, {"distinct_range": 35687629.12796215, "num_eq": 5370639048564416145, "num_range": 80000000, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "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_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "08:55:58.335695+06:59:00"}], "histo_col_type": "TIMETZ", "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_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": ["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_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}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 89717821325543835, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 204386332879137778, "histo_col_type": "", "name": "__auto__", "null_count": 58188988702476105, "row_count": 227814416554873368}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 106829726575190413, "histo_buckets": [{"distinct_range": 0, "num_eq": 6645462571717555767, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 400000000, "upper_bound": "2138349382"}, {"distinct_range": 2312473243572028400, "num_eq": 8809558006323837380, "num_range": 2312473243572028270, "upper_bound": "3581288758"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 196259022253600756, "row_count": 227814416554873368}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 216902740668628978, "histo_col_type": "", "name": "__auto__", "null_count": 205468753801029561, "row_count": 227814416554873368}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 163302439558842234, "histo_buckets": [{"distinct_range": 0, "num_eq": 4917291158390260127, "num_range": 0, "upper_bound": "1970-07-07 05:44:51.000065+00:00"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 1000000, "upper_bound": "1979-03-11 11:11:59.000845+00:00"}, {"distinct_range": 5402491227751381000, "num_eq": 5373062099771122313, "num_range": 5718330481738957689, "upper_bound": "1981-12-12 22:25:58.000036+00:00"}, {"distinct_range": 80000000, "num_eq": 4566525809169103936, "num_range": 80000000, "upper_bound": "1992-11-01 02:34:11.000641+00:00"}, {"distinct_range": 7409969108674474000, "num_eq": 30000, "num_range": 7409969108674473994, "upper_bound": "2027-08-11 23:42:24.000996+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 101889335193752064, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 164943016803233087, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32185567625767124, "histo_buckets": [{"distinct_range": 0, "num_eq": 4606583803784158684, "num_range": 0, "upper_bound": "213821010"}, {"distinct_range": 3702774742212037000, "num_eq": 70, "num_range": 3702774742212037091, "upper_bound": "1707998280"}, {"distinct_range": 1179299722391554800, "num_eq": 300, "num_range": 1179299722391554740, "upper_bound": "3014436679"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 191063708570909535, "row_count": 227814416554873368}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 188343807887271437, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "1971-02-07"}, {"distinct_range": 114553613847144740, "num_eq": 70000000000, "num_range": 179702257060713933, "upper_bound": "1982-07-27"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 185213925674653368, "row_count": 227814416554873368}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19645755188976753, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85274230068867827, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "3080961268"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84991201471335752, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 3412550392369931000, "num_eq": 0, "num_range": 3412550392369930603, "upper_bound": "374300959"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 80000000000, "upper_bound": "2134215444"}, {"distinct_range": 3321329710.033676, "num_eq": 20, "num_range": 10000000000, "upper_bound": "3323754261"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 100000000000, "upper_bound": "4219046473"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 158238472482112357, "row_count": 227814416554873368}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74366815358230169, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 227814416554873368}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1566143, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "\\u0002"}, {"distinct_range": 2075811445732112000, "num_eq": 30000, "num_range": 3123751024652586447, "upper_bound": "\\""}, {"distinct_range": 40000, "num_eq": 8234432178064835684, "num_range": 40000, "upper_bound": "e"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3206415, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2152801, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "k"}, {"distinct_range": 2927119662907398700, "num_eq": 50000, "num_range": 4593635143722987486, "upper_bound": "s"}, {"distinct_range": 73531930.83423291, "num_eq": 8402122524478549038, "num_range": 300000000, "upper_bound": "x"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 4139448, "row_count": 6000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1586017, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2395749, "histo_col_type": "", "name": "__auto__", "null_count": 1374042, "row_count": 6000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5689151, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1124113, "histo_col_type": "", "name": "__auto__", "null_count": 4248711, "row_count": 6000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5475472, "histo_col_type": "", "name": "__auto__", "null_count": 3444618, "row_count": 6000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1800836, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "1097727940"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 6168985973089818789, "upper_bound": "1157509157"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 6000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3798899, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "-0.2995868921279907"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 6000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('n', 'fo', 'jumj');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ssyryr', 'jfphi', 'pbvs', 'xm', 'dyee');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.27s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 INET NOT NULL, col1_1 REGTYPE NOT NULL, col1_2 STRING NULL, col1_3 TIME NOT NULL, col1_4 OID NOT NULL, col1_5 BIT(13) NOT NULL, col1_6 BIT(2) NOT NULL, col1_7 NAME NOT NULL, col1_8 INT2 NOT NULL, col1_9 DECIMAL NOT NULL, col1_10 FLOAT4 NOT NULL, col1_11 TIMESTAMPTZ NOT NULL, col1_12 TIME NOT NULL, PRIMARY KEY (col1_0 DESC, col1_7, col1_8 ASC, col1_1 ASC, col1_3 DESC, col1_6, col1_12 ASC, col1_9, col1_11 DESC, col1_10 DESC, col1_5), INDEX (col1_9, col1_5) WHERE (((((((table1.col1_3 >= '00:00:00':::TIME) AND (table1.col1_8 > 0:::INT8)) AND (table1.col1_7 < e'\x00':::STRING)) OR (table1.col1_10 <= '+Inf':::FLOAT8)) AND (table1.col1_2 != '':::STRING)) AND (table1.col1_11 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table1.col1_9 >= 1:::DECIMAL)) AND (table1.col1_12 > '00:00:00':::TIME), FAMILY (col1_7), FAMILY (col1_1), FAMILY (col1_5, col1_6), FAMILY (col1_8, col1_12), FAMILY (col1_4), FAMILY (col1_11), FAMILY (col1_9, col1_10, col1_0, col1_3), FAMILY (col1_2));
        test_1        |             CREATE TABLE table2 (col1_0 INET NOT NULL, col1_7 NAME NOT NULL, col1_8 INT2 NOT NULL, col1_1 REGTYPE NOT NULL, col1_3 TIME NOT NULL, col1_6 BIT(2) NOT NULL, col1_12 TIME NOT NULL, col1_9 DECIMAL NOT NULL, col1_11 TIMESTAMPTZ NOT NULL, col1_10 FLOAT4 NOT NULL, col1_5 BIT(13) NOT NULL, col2_11 DATE NOT NULL, col2_12 DECIMAL NULL, col2_13 REGPROCEDURE NULL, col2_14 INET NULL, col2_15 TIMESTAMP NOT NULL, col2_16 TIMETZ NULL, col2_17 TIMESTAMP, PRIMARY KEY (col1_0 DESC, col1_7, col1_8 ASC, col1_1 ASC, col1_3 DESC, col1_6, col1_12 ASC, col1_9, col1_11 DESC, col1_10 DESC, col1_5, col2_11, col2_16 ASC, col2_12 ASC, col2_15 ASC, col2_13 DESC), INDEX (col1_1 ASC, col1_12 DESC, col2_14, col1_10 DESC, col1_6 DESC, col2_12 DESC, col1_5 DESC, col2_17 ASC, col1_9, col1_3, col1_7, col1_0 ASC) WHERE (((((((((((table2.col2_11 > '4714-11-24 BC':::DATE) OR (table2.col2_17 <= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table2.col2_15 = '0001-01-01 00:00:00':::TIMESTAMP)) AND (table2.col1_12 = '00:00:00':::TIME)) AND (table2.col1_7 >= e'\'':::STRING)) OR (table2.col1_8 < 1:::INT8)) AND (table2.col1_3 >= '24:00:00':::TIME)) OR (table2.col1_11 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_16 >= '24:00:00-15:59:00':::TIMETZ)) OR (table2.col1_10 = 'NaN':::FLOAT8)) OR (table2.col2_12 != 'Infinity':::DECIMAL)) AND (table2.col1_9 != 0:::DECIMAL)) INTERLEAVE IN PARENT table1 (col1_0, col1_7, col1_8, col1_1, col1_3, col1_6, col1_12, col1_9, col1_11, col1_10, col1_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1189, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6834, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "231.82.166.37/2"}, {"distinct_range": 0, "num_eq": 3142756618207936644, "num_range": 800000, "upper_bound": "69.123.68.125/30"}, {"distinct_range": 20000, "num_eq": 5136009785066782114, "num_range": 20000, "upper_bound": "b87b:b47d:d693:68cd:5888:bc4f:2afe:ca08/10"}, {"distinct_range": 600000000, "num_eq": 6000000000, "num_range": 600000000, "upper_bound": "e32:3844:8a22:86d1:e:674c:7f06:6b3e/36"}, {"distinct_range": 2936720990974331000, "num_eq": 80000000000, "num_range": 6493211418778560894, "upper_bound": "994:d4fe:441a:2926:2b4e:8087:f4e3:507f/66"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6016, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4213, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2227, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5600, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5190, "histo_buckets": [{"distinct_range": 0, "num_eq": 8372208730220954313, "num_range": 0, "upper_bound": "-8.314250813919075488E+24"}, {"distinct_range": 323161231443483200, "num_eq": 100000, "num_range": 1275288054131931251, "upper_bound": "-2901747903353413.133"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5780, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8892, "histo_col_type": "", "name": "__auto__", "null_count": 1950, "row_count": 10000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8679, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3864, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4333, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1930, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3022, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1107, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1413, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3659, "histo_col_type": "", "name": "__auto__", "null_count": 4348, "row_count": 5000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4320, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2379, "histo_col_type": "", "name": "__auto__", "null_count": 3141, "row_count": 5000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 940, "histo_col_type": "", "name": "__auto__", "null_count": 4730, "row_count": 5000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1018, "histo_buckets": [{"distinct_range": 0, "num_eq": 8908442070575797984, "num_range": 0, "upper_bound": "117.254.114.158/3"}, {"distinct_range": 200000000, "num_eq": 90000, "num_range": 200000000, "upper_bound": "248.5.132.155/11"}, {"distinct_range": 0, "num_eq": 700, "num_range": 60000000000, "upper_bound": "145.189.131.51/22"}, {"distinct_range": 2690200503455499300, "num_eq": 8754220886226894067, "num_range": 3627871909430863631, "upper_bound": "38a:61c:f049:ce1c:efb8:14e5:f42c:ec49/89"}, {"distinct_range": 0, "num_eq": 3844768664672394992, "num_range": 0, "upper_bound": "b98c:a2b:e5c1:a01e:e678:3fe6:5dfc:71a0/109"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1248, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "1677332928"}, {"distinct_range": 0, "num_eq": 300, "num_range": 8435442437672948387, "upper_bound": "2379289033"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 1345094538371960054, "upper_bound": "2821687951"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2020, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4122, "histo_col_type": "", "name": "__auto__", "null_count": 2750, "row_count": 5000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2364, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4322, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4104, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4310, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4374, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1888, "histo_col_type": "", "name": "__auto__", "null_count": 1748, "row_count": 5000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('jm');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@5b33e6dfc47000de831745a851e3bf9e2cf7fd95:

        test_1        |     --- FAIL: TestCompare/postgres (1.12s)
        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        |             CREATE TABLE table1 (col1_0 CHAR NOT NULL, col1_1 CHAR[], col1_2 FLOAT8 NULL, col1_3 FLOAT4 NULL, col1_4 TIMESTAMPTZ NOT NULL, col1_5 REGPROCEDURE NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_7 TIMESTAMPTZ, col1_8 INET, col1_9 BYTES NOT NULL, col1_10 NAME NOT NULL, col1_11 VARCHAR NULL, col1_12 REGNAMESPACE, PRIMARY KEY (col1_10, col1_0, col1_9, col1_6, col1_4));
        test_1        |             CREATE INDEX ON table1 (col1_2, col1_3 DESC, col1_0) STORING (col1_5, col1_7);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0 DESC, col1_10 DESC, col1_4 DESC, col1_11 DESC) STORING (col1_2, col1_3, col1_5, col1_7, col1_8);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_12) STORING (col1_1, col1_2, col1_7, col1_8);
        test_1        |             CREATE INDEX ON table1 (col1_10 ASC, col1_2 ASC, col1_12, col1_9 ASC, col1_6 ASC, col1_3 ASC, col1_8, col1_11 ASC, col1_5 DESC, col1_0 DESC, col1_4 DESC, col1_7 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_5, col1_10 ASC, col1_3 ASC, col1_8 ASC, col1_7 DESC, col1_0, col1_9 ASC, col1_11, col1_2 ASC, col1_12);
        test_1        |             CREATE INDEX ON table1 (col1_4, col1_7, col1_2 ASC) STORING (col1_1, col1_3, col1_8);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_6, col1_11 ASC, col1_5 ASC, col1_9 DESC, col1_8 ASC, col1_3 ASC, col1_0 DESC) STORING (col1_12);
        test_1        |             CREATE INDEX ON table1 (col1_3, col1_8 ASC);
        test_1        |             CREATE TABLE table2 (col1_10 NAME NOT NULL, col1_0 CHAR NOT NULL, col1_9 BYTES NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_4 TIMESTAMPTZ NOT NULL, col2_5 NAME NOT NULL, col2_6 REGNAMESPACE NULL, col2_7 INET NULL, col2_8 NAME NOT NULL, col2_9 INT8, col2_10 REGPROC NOT NULL, col2_11 DECIMAL NULL, PRIMARY KEY (col1_10, col1_0, col1_9, col1_6, col1_4, col2_9, col2_11, col2_8, col2_6, col2_7, col2_10), FAMILY (col1_6, col2_9), FAMILY (col2_10, col1_4), FAMILY (col2_11), FAMILY (col2_8), FAMILY (col2_6, col2_7), FAMILY (col2_5, col1_0), FAMILY (col1_9), FAMILY (col1_10)) INTERLEAVE IN PARENT table1 (col1_10, col1_0, col1_9, col1_6, col1_4);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_5 ASC, col2_11 ASC, col2_7 ASC, col2_6 ASC, col2_8 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_10 ASC, col2_6 ASC, col2_7 ASC, col2_9, col2_11 ASC) STORING (col2_5);
        test_1        |             CREATE TABLE table3 (col3_0 INET NOT NULL, col3_1 INT2, col3_2 BOX2D NOT NULL, col3_3 BOX2D, col3_4 REGCLASS NOT NULL, col3_5 BYTES, col3_6 DECIMAL NULL, col3_7 BOOL NOT NULL, col3_8 BOOL NOT NULL, col3_9 INT8 NOT NULL, col3_10 OID NOT NULL, PRIMARY KEY (col3_7, col3_9, col3_10, col3_8, col3_4));
        test_1        |             CREATE INDEX ON table3 (col3_5, col3_3);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_5 DESC, col3_6 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_3 DESC, col3_4 DESC, col3_6 DESC, col3_2 DESC, col3_8) STORING (col3_0, col3_1, col3_5);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 ASC, col3_7 DESC) STORING (col3_2, col3_3, col3_6);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_3, col3_5 ASC, col3_1 ASC, col3_6 ASC, col3_10, col3_8) STORING (col3_0, col3_2);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col3_6 DESC) STORING (col3_0, col3_5);
        test_1        |             CREATE INDEX ON table3 (col3_4, col3_2, col3_7, col3_8, col3_3) STORING (col3_0, col3_1, col3_5, col3_6);
        test_1        |             CREATE TABLE table4 (col3_7 BOOL NOT NULL, col3_9 INT8 NOT NULL, col3_10 OID NOT NULL, col3_8 BOOL NOT NULL, col3_4 REGCLASS NOT NULL, col4_5 BYTES NOT NULL, col4_6 REGPROCEDURE NULL, col4_7 INT8 NOT NULL, col4_8 INT2 NOT NULL, col4_9 INET, col4_10 INT8 NOT NULL, col4_11 "char" NOT NULL, col4_12 BOX2D NULL, col4_13 INET NULL, col4_14 CHAR NOT NULL, PRIMARY KEY (col3_7, col3_9, col3_10, col3_8, col3_4, col4_12, col4_6, col4_13, col4_8, col4_11, col4_7, col4_9, col4_10), FAMILY (col3_7, col4_6), FAMILY (col3_10), FAMILY (col4_14, col4_11, col4_9), FAMILY (col4_7, col3_9, col3_8), FAMILY (col4_10), FAMILY (col3_4), FAMILY (col4_13), FAMILY (col4_12, col4_8), FAMILY (col4_5)) INTERLEAVE IN PARENT table3 (col3_7, col3_9, col3_10, col3_8, col3_4);
        test_1        |             CREATE INDEX ON table4 (col3_7, col3_4 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_14 ASC, col4_6 DESC, col4_7 DESC, col3_4 ASC, col4_13 ASC, col4_10, col4_5, col4_12, col4_8, col3_7 DESC, col3_8, col3_10 DESC, col4_11 DESC, col3_9 DESC, col4_9 ASC);
        test_1        |             CREATE INDEX ON table4 (col4_10 DESC);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 214279015, "histo_col_type": "", "name": "__auto__", "null_count": 139255235, "row_count": 500000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53859005, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12906322, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "\\t"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2562520752440142772, "upper_bound": "\\u000c"}, {"distinct_range": 0, "num_eq": 3341050191655091164, "num_range": 6366760203832717253, "upper_bound": "$"}, {"distinct_range": 1920144175338712600, "num_eq": 80000, "num_range": 1920144175338712504, "upper_bound": "2"}, {"distinct_range": 900000000, "num_eq": 5000000, "num_range": 900000000, "upper_bound": "8"}, {"distinct_range": 4659376759712910000, "num_eq": 8814329177986219476, "num_range": 4659376759712910096, "upper_bound": "O"}, {"distinct_range": 300650790823536960, "num_eq": 1713338901415235136, "num_range": 300650790823536986, "upper_bound": "i"}, {"distinct_range": 0, "num_eq": 4156641004579449642, "num_range": 2744174733034350049, "upper_bound": "r"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 485814603, "histo_buckets": [{"distinct_range": 0, "num_eq": 479301801295261470, "num_range": 0, "upper_bound": "-0.10336146503686905"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 9106278, "row_count": 500000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379749168, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8917750, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "1970-09-24 12:57:26.000831+00:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 10000000, "upper_bound": "1975-03-12 21:20:42.000666+00:00"}, {"distinct_range": 0, "num_eq": 500, "num_range": 6923448768189571152, "upper_bound": "1984-09-05 13:00:51.000574+00:00"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 70000000000, "upper_bound": "1990-03-08 23:25:48.000977+00:00"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "2017-07-01 01:14:23.000624+00:00"}, {"distinct_range": 0, "num_eq": 600, "num_range": 2771863570664895291, "upper_bound": "2028-06-04 06:09:37.00052+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142188523, "histo_col_type": "", "name": "__auto__", "null_count": 413394110, "row_count": 500000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 200749124, "histo_buckets": [{"distinct_range": 0, "num_eq": 3447790843924106257, "num_range": 0, "upper_bound": "612341307"}, {"distinct_range": 0, "num_eq": 1782464160656286718, "num_range": 0, "upper_bound": "2233390730"}, {"distinct_range": 0, "num_eq": 100, "num_range": 7285892840411156773, "upper_bound": "2496828671"}, {"distinct_range": 898.809518492832, "num_eq": 0, "num_range": 1000, "upper_bound": "2544076175"}, {"distinct_range": 0, "num_eq": 26694498467824708, "num_range": 8182294006253767658, "upper_bound": "3887127864"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 81277590, "row_count": 500000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 200702549, "histo_col_type": "", "name": "__auto__", "null_count": 86208489, "row_count": 500000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140513480, "histo_buckets": [{"distinct_range": 0, "num_eq": 5368822285675604009, "num_range": 0, "upper_bound": "-0.3019578823996033"}, {"distinct_range": 14.619495270485523, "num_eq": 200000, "num_range": 900, "upper_bound": "-0.20100067989321957"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "0.20769570203783427"}, {"distinct_range": 0, "num_eq": 6945575215439522459, "num_range": 3000000000, "upper_bound": "0.46580402246778585"}, {"distinct_range": 0, "num_eq": 7237232774153289275, "num_range": 8958694721193437873, "upper_bound": "0.8220139281634192"}, {"distinct_range": 15781216.383510517, "num_eq": 10000000, "num_range": 60000000, "upper_bound": "1.0"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 700000000, "upper_bound": "1.1071665509411286"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 2000000000, "upper_bound": "1.3996889992970578"}, {"distinct_range": 2538648.6994608804, "num_eq": 20000, "num_range": 6000000, "upper_bound": "1.4363869079144642"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 54916179, "row_count": 500000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157895439, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "1980-09-22 14:18:57.000267+00:00"}, {"distinct_range": 0, "num_eq": 6500439839562171722, "num_range": 6000, "upper_bound": "1983-09-04 20:01:18.000382+00:00"}, {"distinct_range": 153320177.81498298, "num_eq": 8000000, "num_range": 600000000, "upper_bound": "2024-11-09 18:41:25.000178+00:00"}, {"distinct_range": 0, "num_eq": 3054448021629451664, "num_range": 0, "upper_bound": "2031-09-20 14:58:02.000507+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 207462868, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "\\u0006"}, {"distinct_range": 3255667499116801000, "num_eq": 3569830122226462519, "num_range": 3255667499116800974, "upper_bound": "\\u000e"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000, "upper_bound": "-\\"lhCK:"}, {"distinct_range": 2569271.0513508706, "num_eq": 200, "num_range": 3000000, "upper_bound": "9"}, {"distinct_range": 4228703844981390300, "num_eq": 1303218033948183235, "num_range": 4228703844981390476, "upper_bound": "F\\u0003\\u00070"}, {"distinct_range": 2471790.2447195477, "num_eq": 1551238922952972792, "num_range": 9000000, "upper_bound": "[SFS3q"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 90144922, "histo_col_type": "", "name": "__auto__", "null_count": 424852821, "row_count": 500000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558556, "histo_col_type": "", "name": "__auto__", "null_count": 908850, "row_count": 1000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 616258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34704, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589035, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 806500, "histo_col_type": "", "name": "__auto__", "null_count": 982350, "row_count": 1000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47257, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 249219, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1004305919"}, {"distinct_range": 895715454416407800, "num_eq": 1771060000627880677, "num_range": 895715454416407866, "upper_bound": "1935259677"}, {"distinct_range": 0, "num_eq": 40, "num_range": 30000000, "upper_bound": "2148649332"}, {"distinct_range": 0, "num_eq": 1415678149278849824, "num_range": 3000000000, "upper_bound": "2148984213"}, {"distinct_range": 80, "num_eq": 80, "num_range": 80, "upper_bound": "3077190078"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12129, "histo_buckets": [{"distinct_range": 0, "num_eq": 2671816447897157064, "num_range": 0, "upper_bound": "\\u00017"}, {"distinct_range": 1904312032527162400, "num_eq": 20, "num_range": 4883817358418211620, "upper_bound": "\\t.40\\u0008r|\\u0015"}, {"distinct_range": 533323963.10486907, "num_eq": 0, "num_range": 1000000000, "upper_bound": "\\u0018\\n\\u0003"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 6756423680167052920, "upper_bound": "%"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 800000, "upper_bound": "\'"}, {"distinct_range": 37240.550389994816, "num_eq": 90000000, "num_range": 60000, "upper_bound": "F"}, {"distinct_range": 5908630165703887000, "num_eq": 3231800867433087775, "num_range": 5908630165703886748, "upper_bound": "P\\u001d"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 2150747778560955331, "upper_bound": "Xiu\\nnN\\u0001 "}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27742, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 403939, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\u0006L"}, {"distinct_range": 2420647411863988000, "num_eq": 2948329072045778533, "num_range": 2708849528961737796, "upper_bound": "\\t.p\\u000e "}, {"distinct_range": 0, "num_eq": 694888111596663162, "num_range": 5000000, "upper_bound": "\\r..\'>`"}, {"distinct_range": 1847.887118034213, "num_eq": 5226533566632514089, "num_range": 8000, "upper_bound": "\\u001e-iw3\\u000eP"}, {"distinct_range": 4.945624117591082, "num_eq": 1372098228220247606, "num_range": 10, "upper_bound": "7h\\u001cL2z\\u001f#"}, {"distinct_range": 630740090051706200, "num_eq": 4874233394861014894, "num_range": 741027237375572895, "upper_bound": "Si\\u001c"}, {"distinct_range": 2241263907542999800, "num_eq": 600, "num_range": 8648687348801639550, "upper_bound": "l\\t."}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 357824, "histo_col_type": "", "name": "__auto__", "null_count": 469680, "row_count": 1000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 951248, "histo_col_type": "", "name": "__auto__", "null_count": 826384, "row_count": 1000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 4402294175155868065, "num_range": 0, "upper_bound": "142.152.216.143/7"}, {"distinct_range": 6024191614307893000, "num_eq": 9194158307250998479, "num_range": 6024191614307893421, "upper_bound": "88.172.222.234/23"}, {"distinct_range": 0, "num_eq": 6171624705750781483, "num_range": 100, "upper_bound": "32.117.240.178/24"}, {"distinct_range": 0, "num_eq": 7553118349113880933, "num_range": 80000000, "upper_bound": "9250:7f00:126b:3c4e:1e1d:51a:d242:309d/8"}, {"distinct_range": 4410880833058989000, "num_eq": 1461661451275499652, "num_range": 4410880833058989102, "upper_bound": "fece:4ffc:7571:260a:64ef:68f0:8b10:870b/41"}, {"distinct_range": 3704.3159803030367, "num_eq": 7954464286610945676, "num_range": 4000, "upper_bound": "8994:8aeb:fad6:f607:8da1:e702:1652:b488/57"}, {"distinct_range": 0, "num_eq": 8123444476308069953, "num_range": 5906896439694701879, "upper_bound": "ba98:bc78:7e10:8fe:fb64:bc9e:fca5:75d8/74"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "BOX(-2.128941416367994 -0.4956503057501799,1.0753884381917316 1.4154985317276094)"}, {"distinct_range": 0, "num_eq": 8558010264542877739, "num_range": 1467039814868626750, "upper_bound": "BOX(-0.08004818562222937 0.7358960734603501,0.5542339265455931 0.7984422659308742)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "\\\\x2992559d3c98b0"}, {"distinct_range": 1596949714978650400, "num_eq": 50000, "num_range": 1910115973202538125, "upper_bound": "\\\\x900c78"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 20, "row_count": 30}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_col_type": "", "name": "__auto__", "null_count": 19, "row_count": 30}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "BOX(-1.4339078939254146 -1.1784108759271656,0.250856299879931 1.8109823765010298)"}, {"distinct_range": 846687799756003500, "num_eq": 50000000000, "num_range": 846687799756003493, "upper_bound": "BOX(-0.5952483059865132 0.14194680890308758,1.346881588582848 1.0295045891719499)"}, {"distinct_range": 19955.586343724975, "num_eq": 8000000000, "num_range": 70000, "upper_bound": "BOX(0.6150912643734858 -1.1188805297465056,0.7477387981150097 2.032667893982911)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 16, "row_count": 30}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6000000, "num_eq": 0, "num_range": 6000000, "upper_bound": "2852855091"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 5000, "upper_bound": "3328568464"}, {"distinct_range": 7865127086261765000, "num_eq": 1000000000, "num_range": 7865127086261764830, "upper_bound": "3410679536"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 22, "row_count": 30}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_buckets": [{"distinct_range": 0, "num_eq": 8919671709147078577, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 6542883624363810265, "num_range": 10000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 30}, {"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": 30}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3359162165503056953, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6466419618468398266, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5351388798391357617, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1159395845874272062, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 2027682924401866465, "num_range": 100000000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1094154036122018494, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1974323802388877516, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4001371510708948877, "histo_col_type": "", "name": "__auto__", "null_count": 5847447152334312084, "row_count": 6946489844068915438}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2860542548401816901, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1324199167953579696, "histo_col_type": "", "name": "__auto__", "null_count": 5226545291413185113, "row_count": 6946489844068915438}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 622050336597963997, "histo_buckets": [{"distinct_range": 0, "num_eq": 5275864831852887270, "num_range": 0, "upper_bound": "-7922042345605643706"}, {"distinct_range": 997359108481324900, "num_eq": 4113145773045216659, "num_range": 2977785926969395751, "upper_bound": "-3820795409638204157"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 8000000, "upper_bound": "8981180254688493159"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1374006920194888703, "histo_col_type": "", "name": "__auto__", "null_count": 6089493500841514488, "row_count": 6946489844068915438}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2140801111157868869, "histo_buckets": [{"distinct_range": 0, "num_eq": 4001909043164767047, "num_range": 0, "upper_bound": "\\u0001"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 0, "upper_bound": ")"}, {"distinct_range": 100, "num_eq": 400000, "num_range": 100, "upper_bound": "*"}, {"distinct_range": 800000, "num_eq": 10000000, "num_range": 800000, "upper_bound": "."}, {"distinct_range": 0, "num_eq": 8775585018725422292, "num_range": 40000000000, "upper_bound": "?"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1825598218571475723, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 916567284581742168, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6946489844068915438}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1179305703364618576, "histo_col_type": "", "name": "__auto__", "null_count": 4392007868648412163, "row_count": 6946489844068915438}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('muxbsm', 'ssxala', 'jtgpa', 'fheelr', 'xpuse');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('isqdak', 'l', 'x');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('zpkzck', 'owfmft', 'i', 'lo', 'hn');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@7853fd32de8b6dea869f2a2a92dcd7506f4a8998:

        test_1        |             CREATE INDEX ON table2 (col2_7 ASC, col2_0 DESC, col2_3 ASC, col2_4 DESC, col2_8 ASC, col2_1 DESC, col2_11 DESC, col2_9 ASC, col2_5 ASC, col2_2 DESC) STORING (col2_6);
        test_1        |             CREATE INDEX ON table2 (col2_5 ASC, col2_3, col2_7);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_9 DESC, col2_2, col2_6, col2_11, col2_8 ASC, col2_4 DESC, col2_3 DESC, col2_1 ASC, col2_5, col2_0 ASC, col2_10 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_7 DESC, col2_3 ASC, col2_5);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_3, col2_11 ASC, col2_10 ASC, col2_5 ASC, col2_1, col2_2, col2_7 DESC, col2_6 ASC, col2_9 DESC, col2_8 ASC, col2_0 ASC, col2_4 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_3 DESC, col2_7, col2_1, col2_6 ASC, col2_10, col2_9);
        test_1        |             CREATE TABLE table3 (col1_14 "char" NOT NULL, col1_6 BOX2D NOT NULL, col1_12 REGNAMESPACE NOT NULL, col1_13 REGPROCEDURE NOT NULL, col1_1 TIMESTAMP NOT NULL, col1_7 REGPROCEDURE NOT NULL, col1_15 UUID NOT NULL, col3_7 INT8 NOT NULL, col3_8 VARCHAR NOT NULL, col3_9 BYTES NOT NULL, col3_10 BOOL, col3_11 REGPROCEDURE NULL, col3_12 VARCHAR, col3_13 UUID NULL, PRIMARY KEY (col1_14, col1_6, col1_12, col1_13, col1_1, col1_7, col1_15, col3_12, col3_9, col3_11, col3_7, col3_8, col3_13), FAMILY (col3_12), FAMILY (col3_10, col3_9, col1_13, col3_8, col1_12, col1_15, col3_11), FAMILY (col1_1, col3_13), FAMILY (col1_6), FAMILY (col1_7, col3_7, col1_14)) INTERLEAVE IN PARENT table1 (col1_14, col1_6, col1_12, col1_13, col1_1, col1_7, col1_15);
        test_1        |             CREATE INDEX ON table3 (col1_14 DESC, col1_12 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_10, col1_15 DESC, col1_6 ASC, col3_7 DESC, col1_13 DESC, col1_7, col3_8 ASC, col3_12 ASC, col1_1 ASC, col1_14 DESC, col1_12, col3_11);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_13, col1_14 DESC, col1_13 ASC, col3_10 ASC, col3_12 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_11 ASC, col1_13 ASC, col1_12 ASC, col1_14 DESC, col1_1, col1_7 DESC, col1_15, col1_6 ASC, col3_7 ASC, col3_13 ASC, col3_9, col3_12, col3_10 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_12 ASC, col1_1 DESC, col1_12 DESC, col3_11, col3_8, col3_7 DESC, col1_14 DESC, col3_13 DESC, col1_13 DESC, col1_15 ASC, col1_6 DESC, col1_7, col3_9 DESC) STORING (col3_10);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_1, col3_11 DESC, col1_7, col1_13, col3_13);
        test_1        |             CREATE INDEX ON table3 (col3_10, col3_11 ASC, col1_15 ASC, col3_8, col3_12 DESC, col3_9, col1_12 ASC, col3_7 DESC);
        test_1        |             CREATE INDEX ON table3 (col1_7 ASC, col3_10 DESC, col1_14 DESC, col1_12, col3_8 ASC, col3_7, col3_12 ASC, col1_13 ASC);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "000001010000011110001"}, {"distinct_range": 30000000, "num_eq": 8000000, "num_range": 30000000, "upper_bound": "000001101101001001100"}, {"distinct_range": 2189998267408620000, "num_eq": 4388163932047933695, "num_range": 2189998267408620087, "upper_bound": "000100111011011001000"}, {"distinct_range": 66.74136160224045, "num_eq": 4158284868270808567, "num_range": 900, "upper_bound": "010100010001001100100"}, {"distinct_range": 300, "num_eq": 4514158222465627722, "num_range": 300, "upper_bound": "110111111111001010111"}], "histo_col_type": "BIT(21)", "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": "BIT(8)", "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_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": ["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_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_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_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": ["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_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6481105046830160352, "num_range": 0, "upper_bound": "2"}, {"distinct_range": 2928074340566967000, "num_eq": 5494178332813911097, "num_range": 2928074340566966850, "upper_bound": "<"}, {"distinct_range": 0, "num_eq": 5279204435883890004, "num_range": 1000000000, "upper_bound": "M"}, {"distinct_range": 7000, "num_eq": 90000, "num_range": 7000, "upper_bound": "O"}, {"distinct_range": 0, "num_eq": 6485238037188779988, "num_range": 70000000000, "upper_bound": "U"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 3150373305662788346, "num_range": 0, "upper_bound": "-26610"}, {"distinct_range": 5640196837774938000, "num_eq": 8652437497804129102, "num_range": 7426993986122726600, "upper_bound": "20995"}], "histo_col_type": "INT2", "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_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 158750.3561530345, "num_eq": 320284888085105723, "num_range": 200000, "upper_bound": "1813728184"}], "histo_col_type": "REGPROCEDURE", "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}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_buckets": [{"distinct_range": 0, "num_eq": 2817541098020288881, "num_range": 0, "upper_bound": "215526836"}, {"distinct_range": 1850222628082845000, "num_eq": 70000000, "num_range": 3038949437072991267, "upper_bound": "508151153"}, {"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "1237525547"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 77, "row_count": 100}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_buckets": [{"distinct_range": 0, "num_eq": 7814082031077855004, "num_range": 0, "upper_bound": "1980-09-26"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_buckets": [{"distinct_range": 0, "num_eq": 5096841032816223031, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 60, "num_eq": 200, "num_range": 60, "upper_bound": "02:37:56.052211"}, {"distinct_range": 6102021646380653, "num_eq": 6181661908823111754, "num_range": 6893832489600972, "upper_bound": "15:46:30.785978"}, {"distinct_range": 0, "num_eq": 300, "num_range": 4162705313736932008, "upper_bound": "18:49:30.809379"}, {"distinct_range": 0, "num_eq": 384169019741754382, "num_range": 0, "upper_bound": "19:35:58.641417"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "00000010011101"}, {"distinct_range": 8921038510614585000, "num_eq": 40000000000, "num_range": 8930899496415837856, "upper_bound": "01011101000001"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 7314227735138747547, "upper_bound": "01101100110000"}, {"distinct_range": 0, "num_eq": 5038448636523645101, "num_range": 0, "upper_bound": "10100101000011"}, {"distinct_range": 58207.591246663236, "num_eq": 9000000, "num_range": 60000, "upper_bound": "11000110000001"}, {"distinct_range": 8643500114107373000, "num_eq": 7651729475817096626, "num_range": 8643500114107372620, "upper_bound": "11011010010111"}, {"distinct_range": 19362448.24030227, "num_eq": 300000000, "num_range": 200000000, "upper_bound": "11011011001110"}], "histo_col_type": "BIT(14)", "name": "__auto__", "null_count": 18, "row_count": 100}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_col_type": "", "name": "__auto__", "null_count": 12, "row_count": 100}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "000000000000000000000000000000000000"}, {"distinct_range": 0, "num_eq": 200, "num_range": 600000000, "upper_bound": "010001011110100111110100101010101011"}, {"distinct_range": 2583950964049852400, "num_eq": 100, "num_range": 3344189708609063559, "upper_bound": "010101011001011010001111100101001101"}, {"distinct_range": 4930.267202947971, "num_eq": 80, "num_range": 9000, "upper_bound": "100110110011001111111101000000110101"}, {"distinct_range": 0, "num_eq": 3381903307255201165, "num_range": 7000, "upper_bound": "101001101111111110000100100110000101"}, {"distinct_range": 6790622969083372000, "num_eq": 200000, "num_range": 8764462664722673703, "upper_bound": "110001000110001010100110010100000000"}, {"distinct_range": 0, "num_eq": 7094616918071045062, "num_range": 7585914028719778084, "upper_bound": "110101100110111011011110001111101011"}], "histo_col_type": "BIT(36)", "name": "__auto__", "null_count": 43, "row_count": 100}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5020, "histo_buckets": [{"distinct_range": 0, "num_eq": 4066118526019577675, "num_range": 0, "upper_bound": "2009-02-25 07:45:26.000834"}, {"distinct_range": 7229663976274903000, "num_eq": 8000, "num_range": 8478026852715270040, "upper_bound": "2022-08-14 19:45:20.000548"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5448, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 798837670503644086, "upper_bound": "3905346505"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3947, "histo_buckets": [{"distinct_range": 0, "num_eq": 1780285635547626826, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 2674, "row_count": 8000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5683, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7086, "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": 154, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "1024649805"}, {"distinct_range": 2363652.014339078, "num_eq": 8503469070633858904, "num_range": 3000000, "upper_bound": "1384397914"}, {"distinct_range": 5603963045135683000, "num_eq": 6232051924190345386, "num_range": 5603963045135682806, "upper_bound": "1733322413"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 9014583596589276632, "upper_bound": "2023092478"}, {"distinct_range": 0, "num_eq": 338823223457465789, "num_range": 800000000, "upper_bound": "2140892836"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 9000, "upper_bound": "2961123194"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 6000, "upper_bound": "3458092349"}, {"distinct_range": 7604366.449716715, "num_eq": 0, "num_range": 10000000, "upper_bound": "3610377155"}, {"distinct_range": 0, "num_eq": 300, "num_range": 7232016847870932276, "upper_bound": "3955397418"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 755, "row_count": 8000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6123, "histo_buckets": [{"distinct_range": 0, "num_eq": 3879539362456106532, "num_range": 0, "upper_bound": "(S1i\\u0011N\\u001c\'"}, {"distinct_range": 3935922947425760000, "num_eq": 8294193202862550718, "num_range": 3935922947425760183, "upper_bound": "7?`$"}, {"distinct_range": 780305892.9102318, "num_eq": 7264271835694453992, "num_range": 1000000000, "upper_bound": "?e\\u000c"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 2870, "row_count": 8000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3705, "histo_buckets": [{"distinct_range": 0, "num_eq": 5904436497454190397, "num_range": 0, "upper_bound": "03421afc-0930-4480-a318-afabe0816af3"}, {"distinct_range": 100000, "num_eq": 5094494444211076142, "num_range": 100000, "upper_bound": "29c7bb6a-9a38-4434-b1a5-b4a073dee4d6"}, {"distinct_range": 0, "num_eq": 757640558629725457, "num_range": 10000, "upper_bound": "4d44452b-3c33-4648-9e07-c7f25f684e06"}, {"distinct_range": 4364864022561665500, "num_eq": 70000000, "num_range": 4364864022561665486, "upper_bound": "7a97cfce-efdd-4971-b193-88504d860b19"}, {"distinct_range": 215092709335049400, "num_eq": 100000000, "num_range": 215092709335049398, "upper_bound": "d1919f37-f338-4496-806b-d0fc09ce4c2c"}, {"distinct_range": 14711472700.413948, "num_eq": 600000000, "num_range": 70000000000, "upper_bound": "d73b4fc8-664c-470b-9b70-bd878b449d36"}, {"distinct_range": 253241.72379917366, "num_eq": 5453839236061980965, "num_range": 300000, "upper_bound": "fa142999-7172-4572-b7eb-1d8ecbfe6181"}, {"distinct_range": 427254.11534943554, "num_eq": 1842818806715420881, "num_range": 500000, "upper_bound": "fe05453a-3c7a-4bb3-a331-8e0ba1a7d313"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 713, "row_count": 8000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2941, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2809, "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": 6184, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2028, "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": 2415, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 352, "histo_buckets": [{"distinct_range": 0, "num_eq": 3221296891854155391, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 59453868.67403484, "num_eq": 3881668314241680217, "num_range": 80000000, "upper_bound": "q"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 8000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('xv', 'aaobxy', 'wsogp', 'tdlet', 'l', 'hye');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('jy', 'umixs', 'mrly', 'kqmq', 'cp', 'vqdain');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        |     --- FAIL: TestCompare/mutators (0.28s)
        test_1        |         compare_test.go:129: 
        test_1        |                     SET CLUSTER SETTING sql.stats.automatic_collection.enabled = false;
        test_1        |                     SET CLUSTER SETTING sql.stats.histogram_collection.enabled = false;
        test_1        |                 CREATE TABLE table1 (col1_0 OID NOT NULL, col1_1 CHAR NOT NULL, col1_2 REGCLASS NOT NULL, col1_3 TIMETZ NOT NULL, col1_4 INT2 NOT NULL, col1_5 INTERVAL NOT NULL, col1_6 REGNAMESPACE NOT NULL, col1_7 "char" NOT NULL, col1_8 NAME NOT NULL, col1_9 BYTES NOT NULL, col1_10 VARCHAR NOT NULL, col1_11 BIT(12) NOT NULL, col1_12 DECIMAL NOT NULL, col1_13 REGCLASS NOT NULL, col1_14 DATE NOT NULL, col1_15 BIT(44) NOT NULL, col1_16 TIMESTAMPTZ NOT NULL, col1_17 INTERVAL NOT NULL, col1_18 INTERVAL NOT NULL, PRIMARY KEY (col1_13 DESC, col1_1 ASC, col1_5 ASC, col1_4 ASC, col1_2 DESC, col1_10, col1_3, col1_15 DESC, col1_16 DESC, col1_7, col1_8, col1_18, col1_11 ASC, col1_12 ASC, col1_6 ASC, col1_17, col1_9 DESC, col1_14 ASC, col1_0), INDEX (col1_4, col1_12 ASC, col1_10, col1_3, col1_2 DESC, col1_7 ASC, col1_1 DESC, col1_13 ASC, col1_14 ASC, col1_0, col1_18 ASC, col1_17, col1_11 DESC, col1_6 ASC, col1_16 ASC, col1_9 ASC, col1_5 ASC) WHERE ((((((table1.col1_9 > '\x00':::BYTES) AND (table1.col1_3 = '00:00:00+15:59:00':::TIMETZ)) OR (table1.col1_12 != 'Infinity':::DECIMAL)) OR (table1.col1_14 < '5874897-12-31':::DATE)) OR (table1.col1_7 = '"':::STRING)) OR (table1.col1_8 = e'\U00002603':::STRING)) OR (table1.col1_10 >= 'X':::STRING), INDEX (col1_6, col1_0 DESC, col1_9 ASC, col1_5 ASC, col1_11 ASC, col1_2, col1_7 ASC), FAMILY (col1_7), FAMILY (col1_15), FAMILY (col1_3, col1_5, col1_8), FAMILY (col1_1, col1_17), FAMILY (col1_18), FAMILY (col1_13), FAMILY (col1_2), FAMILY (col1_16, col1_11, col1_4), FAMILY (col1_9), FAMILY (col1_10, col1_12, col1_6), FAMILY (col1_0), FAMILY (col1_14));
        test_1        |             CREATE TABLE table2 (col2_0 VARCHAR NULL, col2_1 REGCLASS NULL, col2_2 VARCHAR NULL, col2_3 REGTYPE NOT NULL, col2_4 REGPROC NOT NULL, col2_5 VARCHAR NULL, col2_6 INT4 NOT NULL, col2_7 REGCLASS NULL, col2_8 INTERVAL NOT NULL, col2_9 TIMESTAMPTZ NULL, col2_10 FLOAT4 NOT NULL, col2_11 "char", col2_12 INT4 NOT NULL, col2_13 OID NULL, col2_14 FLOAT4 NOT NULL, col2_15 REGPROC NOT NULL, PRIMARY KEY (col2_6), UNIQUE (col2_13 DESC, col2_5 ASC, col2_0 ASC, col2_14 DESC, col2_8, col2_9, col2_3 DESC, col2_7 ASC) STORING (col2_4, col2_10, col2_12, col2_15) WHERE ((((((((table2.col2_5 > e'\x00':::STRING) AND (table2.col2_0 = '':::STRING)) OR (table2.col2_11 > e'\x00':::STRING)) OR (table2.col2_14 >= 3.4028234663852886e+38:::FLOAT8)) AND (table2.col2_10 < 'NaN':::FLOAT8)) AND (table2.col2_9 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_12 >= (-32768):::INT8)) AND (table2.col2_2 <= 'X':::STRING)) AND (table2.col2_6 < 1:::INT8), INDEX (col2_11, col2_13 ASC, col2_0 ASC, col2_9 DESC, col2_3 DESC, col2_1 DESC, col2_14 ASC, col2_2 DESC, col2_12 DESC) WHERE ((((((((table2.col2_0 >= e'\U00002603':::STRING) AND (table2.col2_11 <= 'X':::STRING)) OR (table2.col2_14 < 3.4028234663852886e+38:::FLOAT8)) AND (table2.col2_5 != e'\x00':::STRING)) OR (table2.col2_10 >= '+Inf':::FLOAT8)) AND (table2.col2_2 < e'\U00002603':::STRING)) AND (table2.col2_12 < (-1):::INT8)) AND (table2.col2_9 > '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table2.col2_6 >= 1:::INT8));
        test_1        |             CREATE TABLE table3 (col1_13 REGCLASS NOT NULL, col1_1 CHAR NOT NULL, col1_5 INTERVAL NOT NULL, col1_4 INT2 NOT NULL, col1_2 REGCLASS NOT NULL, col1_10 VARCHAR NOT NULL, col1_3 TIMETZ NOT NULL, col1_15 BIT(44) NOT NULL, col1_16 TIMESTAMPTZ NOT NULL, col1_7 "char" NOT NULL, col1_8 NAME NOT NULL, col1_18 INTERVAL NOT NULL, col1_11 BIT(12) NOT NULL, col1_12 DECIMAL NOT NULL, col1_6 REGNAMESPACE NOT NULL, col1_17 INTERVAL NOT NULL, col1_9 BYTES NOT NULL, col1_14 DATE NOT NULL, col1_0 OID NOT NULL, col3_19 INET, col3_20 FLOAT8 NULL, col3_21 REGNAMESPACE NULL, col3_22 "char", col3_23 CHAR NULL, col3_24 INT4 NULL, PRIMARY KEY (col1_13 DESC, col1_1 ASC, col1_5 ASC, col1_4 ASC, col1_2 DESC, col1_10, col1_3, col1_15 DESC, col1_16 DESC, col1_7, col1_8, col1_18, col1_11 ASC, col1_12 ASC, col1_6 ASC, col1_17, col1_9 DESC, col1_14 ASC, col1_0, col3_20, col3_23), FAMILY (col1_11), FAMILY (col1_12), FAMILY (col3_20, col1_9, col1_14), FAMILY (col1_2), FAMILY (col1_17, col1_7), FAMILY (col1_10, col1_15), FAMILY (col1_3, col1_18), FAMILY (col3_22), FAMILY (col3_23), FAMILY (col1_4, col3_21, col1_13, col3_19, col1_8, col3_24), FAMILY (col1_0), FAMILY (col1_6), FAMILY (col1_16), FAMILY (col1_5, col1_1)) INTERLEAVE IN PARENT table1 (col1_13, col1_1, col1_5, col1_4, col1_2, col1_10, col1_3, col1_15, col1_16, col1_7, col1_8, col1_18, col1_11, col1_12, col1_6, col1_17, col1_9, col1_14, col1_0);
        test_1        |             CREATE TABLE table4 (col4_0 INT8, col4_1 FLOAT8 NOT NULL, col4_2 TIMESTAMPTZ NOT NULL, PRIMARY KEY (col4_2), INDEX (col4_1 ASC, col4_0 DESC) WHERE (table4.col4_0 != 127:::INT8) AND (table4.col4_1 != 5e-324:::FLOAT8), INDEX (col4_2 DESC) STORING (col4_0) WHERE (table4.col4_1 >= 1.401298464324817e-45:::FLOAT8) OR (table4.col4_0 < (-128):::INT8), INDEX (col4_1), INDEX (col4_0 DESC) WHERE (table4.col4_1 != 1.401298464324817e-45:::FLOAT8) OR (table4.col4_0 = (-1):::INT8), UNIQUE (col4_2 DESC, col4_0 DESC) WHERE ((table4.col4_0 >= (-1):::INT8) OR (table4.col4_2 > '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table4.col4_1 != 0.0:::FLOAT8), INDEX (col4_1 ASC) WHERE table4.col4_2 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ, INDEX (col4_0 DESC, col4_1 ASC), INDEX (col4_1 DESC, col4_0 ASC, col4_2 ASC), INDEX (col4_1 DESC) WHERE ((table4.col4_2 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) AND (table4.col4_0 >= (-2147483648):::INT8)) AND (table4.col4_1 <= 1.0:::FLOAT8));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2678515685664458262, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3046195429909876610, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3231963881444918399, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 691813654510863351, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1289208624381118630, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1485078475088015807, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 934913409124647833, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3353545579565924136, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3094613503525451480, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2409428498770677306, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1912134784618035980, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1351265609979843257, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1298510235286047886, "histo_buckets": [{"distinct_range": 0, "num_eq": 6252250038405107146, "num_range": 0, "upper_bound": "-25963"}, {"distinct_range": 0, "num_eq": 191139407457524795, "num_range": 90000, "upper_bound": "2195"}, {"distinct_range": 42498666.00076179, "num_eq": 700, "num_range": 50000000, "upper_bound": "15958"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1148875505489787500, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2366361816312090559, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2554936017418439385, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1630382114787905226, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3434062089623689295, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "50763241"}, {"distinct_range": 0, "num_eq": 8335418351024445609, "num_range": 4856824130899544099, "upper_bound": "903246018"}, {"distinct_range": 1848450071192845800, "num_eq": 80, "num_range": 7804301348552464273, "upper_bound": "964828051"}, {"distinct_range": 0, "num_eq": 6492828003093371711, "num_range": 800000, "upper_bound": "1105340408"}, {"distinct_range": 50000000, "num_eq": 0, "num_range": 50000000, "upper_bound": "1715863645"}, {"distinct_range": 70000, "num_eq": 9000, "num_range": 70000, "upper_bound": "2989838548"}, {"distinct_range": 27201970.859696418, "num_eq": 70000000, "num_range": 30000000, "upper_bound": "3612397567"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 1000, "upper_bound": "3630718435"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 195453459099099969, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3696846535959704087}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 641054, "histo_buckets": [{"distinct_range": 0, "num_eq": 4743689128076661526, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 5502597753556755967, "upper_bound": "\\u0001"}, {"distinct_range": 0, "num_eq": 7039610113298834697, "num_range": 2000000, "upper_bound": "\\u0015"}, {"distinct_range": 0, "num_eq": 5346654183733122221, "num_range": 2797548560671339135, "upper_bound": "!"}, {"distinct_range": 47.38023848496275, "num_eq": 1278452636605404527, "num_range": 400, "upper_bound": "+"}, {"distinct_range": 2581327533145872000, "num_eq": 2622487249936569580, "num_range": 2581327533145872088, "upper_bound": "_"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 50000000, "upper_bound": "m"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 649897, "row_count": 800000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 603206, "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": 197355, "histo_col_type": "", "name": "__auto__", "null_count": 155048, "row_count": 800000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 657916, "histo_col_type": "", "name": "__auto__", "null_count": 300440, "row_count": 800000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 741224, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-953145294"}, {"distinct_range": 845176268.203251, "num_eq": 1000, "num_range": 4000000000, "upper_bound": "135041788"}, {"distinct_range": 3759995.264066119, "num_eq": 0, "num_range": 4000000, "upper_bound": "182563075"}, {"distinct_range": 411895756778027650, "num_eq": 1018246830610299162, "num_range": 1290917060396470228, "upper_bound": "656441521"}, {"distinct_range": 829727222796734800, "num_eq": 50000000, "num_range": 1226464175381078205, "upper_bound": "1199348749"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 749234, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 368829, "histo_col_type": "", "name": "__auto__", "null_count": 155232, "row_count": 800000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 152945, "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": 254091, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 175986, "histo_col_type": "", "name": "__auto__", "null_count": 453963, "row_count": 800000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 685971, "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": 695287, "histo_col_type": "", "name": "__auto__", "null_count": 161403, "row_count": 800000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 781401, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "3399575760"}, {"distinct_range": 853782599640181400, "num_eq": 1000, "num_range": 5899877185998302693, "upper_bound": "4262464097"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 112936, "row_count": 800000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 703761, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56465, "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": 489831, "histo_col_type": "", "name": "__auto__", "null_count": 28220, "row_count": 800000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 319343398677855684, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509843730855992250, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64802797854051991, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 265912410122978230, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col3_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220696637696883427, "histo_col_type": "", "name": "__auto__", "null_count": 162875704337859203, "row_count": 561971739998679797}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75138055255209258, "histo_buckets": [{"distinct_range": 0, "num_eq": 5659557082308523004, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 8913041039387272000, "num_eq": 0, "num_range": 8913041039387271873, "upper_bound": "674920350"}, {"distinct_range": 0, "num_eq": 6386718873493358731, "num_range": 4618589973380444954, "upper_bound": "1368927988"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 2197383183429023427, "upper_bound": "1888455700"}, {"distinct_range": 2351068951878439000, "num_eq": 9068161548915116438, "num_range": 8119927384480807444, "upper_bound": "4127946112"}, {"distinct_range": 13027.970699413961, "num_eq": 900000000, "num_range": 70000, "upper_bound": "4187152806"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241699814772019544, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 552559611939545301, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489246924144620715, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 264452673656567144, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col3_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 212425919810917521, "histo_col_type": "", "name": "__auto__", "null_count": 20206374017471396, "row_count": 561971739998679797}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 441657986380381123, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 202911066537468631, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125643235958000401, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 216524070021890034, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 553282105109180186, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 252795555443657071, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 201123471857524563, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 257661781320309154, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 552440989405334606, "histo_col_type": "", "name": "__auto__", "null_count": 159743867357115211, "row_count": 561971739998679797}, {"columns": ["col3_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27959586761936337, "histo_col_type": "", "name": "__auto__", "null_count": 308492575077616826, "row_count": 561971739998679797}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504148579571050461, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 254089726176742047, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 561971739998679797}, {"columns": ["col3_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 162587133268467964, "histo_col_type": "", "name": "__auto__", "null_count": 168392222387281468, "row_count": 561971739998679797}, {"columns": ["col3_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 249976052403467923, "histo_col_type": "", "name": "__auto__", "null_count": 414861019862406449, "row_count": 561971739998679797}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 541605060522236588, "histo_buckets": [{"distinct_range": 0, "num_eq": 1425572094560759069, "num_range": 0, "upper_bound": "-4701960017407491431"}, {"distinct_range": 6814332155206355000, "num_eq": 8248350145570707041, "num_range": 6814332155206355348, "upper_bound": "-4280181280762270247"}, {"distinct_range": 0, "num_eq": 2383378913597559077, "num_range": 7326307642260149575, "upper_bound": "2210502443702421579"}, {"distinct_range": 4780527079503846000, "num_eq": 800000, "num_range": 5388406872519510466, "upper_bound": "3468248109925426279"}, {"distinct_range": 400000000, "num_eq": 5836303161277215192, "num_range": 400000000, "upper_bound": "3908255175251636566"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 600000000, "upper_bound": "5690461816414129750"}, {"distinct_range": 0, "num_eq": 3510641185842179106, "num_range": 0, "upper_bound": "7835762651390279048"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 3262969888661615641, "row_count": 6676059651204348869}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1881380406576759855, "histo_buckets": [{"distinct_range": 0, "num_eq": 4849582894382161121, "num_range": 0, "upper_bound": "-1.4368113354179974"}, {"distinct_range": 9635.685037978463, "num_eq": 5576040803296882659, "num_range": 50000, "upper_bound": "-1.0566125823908477"}, {"distinct_range": 1839260998.0699952, "num_eq": 6100030401244294923, "num_range": 2000000000, "upper_bound": "1.2023845129554094"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 6676059651204348869}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1452221567602991812, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "1993-06-23 23:35:45.0006+00:00"}, {"distinct_range": 0, "num_eq": 10, "num_range": 300, "upper_bound": "2000-11-10 00:20:04.000521+00:00"}, {"distinct_range": 742459.1989793727, "num_eq": 1318980867668022513, "num_range": 800000, "upper_bound": "2006-11-16 09:52:08.000295+00:00"}, {"distinct_range": 881407385675912200, "num_eq": 20000000, "num_range": 1037648742136230760, "upper_bound": "2010-06-17 23:34:29.00092+00:00"}, {"distinct_range": 0, "num_eq": 100, "num_range": 10000, "upper_bound": "2026-09-05 15:17:40.000655+00:00"}, {"distinct_range": 26.70591928055307, "num_eq": 5776916167894290312, "num_range": 100, "upper_bound": "2031-10-12 01:31:54.00026+00:00"}, {"distinct_range": 5780093157887261000, "num_eq": 5000, "num_range": 5780093157887260916, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 6676059651204348869}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('ycz', 'wmbyyz');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('mbxii', 'd', 'nyui', 'n', 'mbj');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('hxcdaf', 'nhhn');
        test_1        |             
        test_1        |         compare_test.go:130: cockroach1: exec: ERROR: interleaved tables and interleaved indexes are disabled due to the sql.defaults.interleaved_tables.enabled cluster setting. Note that interleaved tables and interleaved indexes will be removed in a future release. For details, see https://www.cockroachlabs.com/docs/releases/v20.2.0#deprecations (SQLSTATE 01P01)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@9f1d67ae30f149fba017c67fb5b7d0cc56dfe21d:


        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_3 DESC, col4_12 DESC, col4_13 ASC, col4_6 ASC, col4_7, col4_18, col4_1 DESC, col4_8 DESC, col4_4 ASC, col4_5, col4_17, col4_9, col4_0 ASC, col4_11 ASC, col4_2 DESC, col4_16 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_7 ASC, col4_2, col4_12 ASC, col4_9, col4_18 ASC, col4_13 ASC, col4_6 ASC, col4_16 DESC, col4_15, col4_1, col4_0, col4_5, col4_11 DESC, col4_8, col4_3 DESC, col4_4 ASC, col4_17 ASC) INCLUDE (col4_10);
        test_1        |             CREATE INDEX ON table4 (col4_8 ASC, col4_11 DESC, col4_9 DESC, col4_13);
        test_1        |             CREATE INDEX ON table4 (col4_11 ASC, col4_15) INCLUDE (col4_14);
        test_1        |             CREATE INDEX ON table4 (col4_17 ASC, col4_0 DESC, col4_13 ASC, col4_16 ASC, col4_6, col4_15, col4_11 DESC, col4_5, col4_8, col4_9 ASC, col4_7 ASC, col4_12, col4_4, col4_1) INCLUDE (col4_14);
        test_1        |             CREATE INDEX ON table4 (col4_5, col4_6 DESC, col4_8, col4_1 ASC, col4_13 ASC, col4_15, col4_7 ASC, col4_11 ASC, col4_4 ASC, col4_9 DESC, col4_16, col4_2 DESC, col4_17);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('s', 'q', 'gom', 'bvini');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ikdgmq', 'fet', 'uhnkq');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.96s)
        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 INT2, col1_1 CHAR NOT NULL, col1_2 OID, col1_3 INT2, col1_4 REGPROCEDURE NOT NULL, col1_5 CHAR NOT NULL, col1_6 FLOAT4, col1_7 REGPROCEDURE NOT NULL, col1_8 NAME, col1_9 INT8 NOT NULL, col1_10 BYTES NOT NULL, FAMILY (col1_0), FAMILY (col1_10, col1_8), FAMILY (col1_4), FAMILY (col1_5, col1_6, col1_2), FAMILY (col1_3), FAMILY (col1_1), FAMILY (col1_7, col1_9));
        test_1        |             CREATE TABLE table2 (col2_0 REGNAMESPACE, col2_1 BYTES NOT NULL, col2_2 INT4 NULL, col2_3 STRING, col2_4 NAME NOT NULL, col2_5 BIT(46) NULL, col2_6 REGPROC NOT NULL, col2_7 STRING NOT NULL, col2_8 DATE NOT NULL, col2_9 REGNAMESPACE, col2_10 FLOAT8 NOT NULL, col2_11 TIMETZ NOT NULL, col2_12 INTERVAL NOT NULL, PRIMARY KEY (col2_7 DESC, col2_11 DESC, col2_1 ASC, col2_4), INDEX (col2_8 DESC) STORING (col2_3, col2_6, col2_10, col2_12) WHERE ((((table2.col2_2 < -128) OR (table2.col2_10 = -1.0)) AND (table2.col2_8 <= '1970-01-01')) AND (table2.col2_1 > '\x27')) OR (table2.col2_4 > e'\U00002603'), FAMILY (col2_2, col2_7), FAMILY (col2_6), FAMILY (col2_1, col2_3), FAMILY (col2_12, col2_4, col2_11), FAMILY (col2_9), FAMILY (col2_8), FAMILY (col2_5, col2_10), FAMILY (col2_0));
        test_1        |             CREATE TABLE table3 (col3_0 BIT(29) NOT NULL, col3_1 REGTYPE NULL, col3_2 REGTYPE NOT NULL, col3_3 INT4 NOT NULL, col3_4 BIT(5) NOT NULL, col3_5 CHAR NULL, col3_6 NAME NOT NULL, col3_7 INT4 NOT NULL, col3_8 BOX2D NOT NULL, col3_9 REGTYPE NOT NULL, col3_10 UUID NOT NULL, col3_11 FLOAT8 NOT NULL, col3_12 "char" NOT NULL, PRIMARY KEY (col3_7 DESC, col3_8 DESC, col3_6 ASC, col3_2 ASC, col3_4 ASC, col3_9 DESC, col3_11, col3_10 ASC), FAMILY (col3_3, col3_0), FAMILY (col3_11, col3_2), FAMILY (col3_8), FAMILY (col3_7), FAMILY (col3_1, col3_10), FAMILY (col3_9), FAMILY (col3_12, col3_6, col3_4), FAMILY (col3_5));
        test_1        |             CREATE TABLE table4 (col3_7 INT4 NOT NULL, col3_8 BOX2D NOT NULL, col3_6 NAME NOT NULL, col3_2 REGTYPE NOT NULL, col3_4 BIT(5) NOT NULL, col3_9 REGTYPE NOT NULL, col3_11 FLOAT8 NOT NULL, col3_10 UUID NOT NULL, col4_8 TIMETZ NOT NULL, col4_9 VARCHAR, col4_10 INT2, col4_11 INT4 NULL, col4_12 BIT(11) NULL, col4_13 VARCHAR, col4_14 REGTYPE NULL, col4_15 NAME, col4_16 INT4 NULL, col4_17 TIMESTAMPTZ, col4_18 NAME, col4_19 BYTES NULL, col4_20 INT2, col4_21 BYTES NULL, col4_22 INTERVAL NOT NULL, col4_23 BIT(41) NULL, col4_24 INET NOT NULL, col4_25 REGPROCEDURE, col4_26 BYTES NULL, PRIMARY KEY (col3_7 DESC, col3_8 DESC, col3_6 ASC, col3_2 ASC, col3_4 ASC, col3_9 DESC, col3_11, col3_10 ASC, col4_19 ASC, col4_11 ASC, col4_26 DESC, col4_15 DESC, col4_18 DESC, col4_25 ASC, col4_10 DESC, col4_12 ASC, col4_23, col4_8 DESC, col4_9 ASC, col4_21, col4_16 ASC, col4_17, col4_20, col4_14 DESC), UNIQUE (col3_4, col4_21, col4_19, col3_11 DESC, col3_6 DESC, col4_24, col3_8, col4_16 DESC) STORING (col4_13), INDEX (col3_9 DESC, col3_6 DESC, col3_8 DESC, col4_25, col4_15 DESC, col4_12 DESC, col4_16, col4_18 DESC, col4_26 DESC, col4_11 ASC, col4_20 ASC, col4_8 ASC, col4_17, col3_11 ASC, col3_10 DESC, col4_21) STORING (col4_22) WHERE (((((((((((((((table4.col3_11 < '-Inf':::FLOAT8) OR (table4.col4_20 > 0:::INT8)) OR (table4.col4_15 != 'X':::STRING)) OR (table4.col4_13 != e'\x00':::STRING)) OR (table4.col3_7 < (-128):::INT8)) AND (table4.col4_19 <= e'\\xff':::BYTES)) OR (table4.col4_9 < '':::STRING)) OR (table4.col4_8 <= '24:00:00-15:59:00':::TIMETZ)) OR (table4.col3_6 < e'\U00002603':::STRING)) AND (table4.col4_16 < 1:::INT8)) AND (table4.col4_10 = (-32768):::INT8)) OR (table4.col4_17 >= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table4.col4_18 != 'X':::STRING)) AND (table4.col4_11 > (-1):::INT8)) OR (table4.col4_21 <= e'\\x00':::BYTES)) AND (table4.col4_26 >= e'\\x58':::BYTES), UNIQUE (col4_18 ASC, col3_6, col3_10 ASC, col3_11 DESC, col4_11 ASC, col3_7, col4_8 ASC, col4_16 DESC, col4_9, col3_4 DESC, col4_15, col4_17 DESC, col4_21, col4_23, col4_14 ASC, col4_13) STORING (col4_22) WHERE (((table4.col4_9 < e'\x00':::STRING) AND (table4.col4_15 < '':::STRING)) OR (table4.col4_16 > (-2147483648):::INT8)) OR (table4.col4_21 < e'\\x22':::BYTES), UNIQUE (col4_22 DESC, col3_10, col4_11 ASC, col4_10, col4_15 ASC, col3_7 DESC, col4_9 DESC, col4_17 DESC, col4_19, col4_25 ASC, col3_8 DESC, col3_11 ASC, col4_23, col3_2 ASC, col4_14 ASC, col4_21 ASC, col4_13 DESC, col4_16 DESC, col4_26 ASC, col4_20 DESC, col4_24 DESC, col3_9 DESC) WHERE (((((((((((((((table4.col4_8 != '24:00:00-15:59:00') AND (table4.col4_19 = '\xff')) AND (table4.col4_18 = e'\'')) AND (table4.col4_11 != 1)) AND (table4.col3_11 = -Inf)) OR (table4.col4_13 >= '"')) OR (table4.col4_16 > -32768)) OR (table4.col3_7 <= 1)) OR (table4.col4_9 = '')) AND (table4.col4_21 > '\xe29883')) AND (table4.col4_15 < '"')) OR (table4.col4_26 < '\x58')) OR (table4.col4_20 = -1)) OR (table4.col3_6 != '')) OR (table4.col4_10 <= -1)) AND (table4.col4_17 <= '-4713-11-24 00:00:00+00:00'), UNIQUE (col4_21 ASC) WHERE (((((((((((((((table4.col3_7 < (-1):::INT8) AND (table4.col4_10 >= 0:::INT8)) OR (table4.col4_17 <= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table4.col4_26 > e'\\xff':::BYTES)) OR (table4.col4_15 = '':::STRING)) AND (table4.col3_6 > '"':::STRING)) AND (table4.col4_20 > (-1):::INT8)) AND (table4.col4_16 >= (-128):::INT8)) AND (table4.col4_19 != e'\\x00':::BYTES)) OR (table4.col4_8 >= '24:00:00-15:59:00':::TIMETZ)) AND (table4.col4_13 >= '"':::STRING)) AND (table4.col4_11 < 1:::INT8)) OR (table4.col4_21 = e'\\x00':::BYTES)) OR (table4.col3_11 > 1.7976931348623157e+308:::FLOAT8)) OR (table4.col4_9 != e'\'':::STRING)) OR (table4.col4_18 > e'\'':::STRING), INDEX (col3_10 DESC, col4_9, col4_24 ASC, col4_10 ASC, col4_18 ASC, col4_12 ASC, col4_14 ASC, col4_21 ASC, col4_13, col3_9, col4_15 ASC, col3_7, col3_2 ASC, col3_4, col4_20 DESC, col4_8 DESC, col4_19, col3_6 ASC, col4_23 ASC, col3_8 DESC, col4_17 DESC, col4_26, col4_22 DESC, col4_16 ASC, col4_11 ASC, col4_25) WHERE (((((((((((table4.col4_21 <= e'\\x58':::BYTES) OR (table4.col3_11 != 1.7976931348623157e+308:::FLOAT8)) OR (table4.col4_15 > 'X':::STRING)) OR (table4.col4_20 != 1:::INT8)) OR (table4.col4_19 != e'\\x22':::BYTES)) AND (table4.col4_8 = '00:00:00+15:59:00':::TIMETZ)) AND (table4.col4_26 >= e'\\xe29883':::BYTES)) AND (table4.col4_17 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table4.col4_10 = 0:::INT8)) AND (table4.col4_16 >= (-1):::INT8)) AND (table4.col4_13 >= e'\x00':::STRING)) OR (table4.col4_18 >= 'X':::STRING), UNIQUE (col4_24, col4_10 DESC, col4_17) WHERE ((table4.col4_17 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table4.col3_6 = e'\U00002603':::STRING)) AND (table4.col4_20 > (-128):::INT8), UNIQUE (col4_17, col4_24, col4_10, col4_20 DESC, col3_9 ASC, col3_10 DESC) STORING (col4_13, col4_22), FAMILY (col4_20, col3_7), FAMILY (col4_12), FAMILY (col4_16), FAMILY (col3_2, col4_23), FAMILY (col4_22, col4_14), FAMILY (col4_24, col3_6), FAMILY (col4_18, col4_21), FAMILY (col4_11), FAMILY (col4_19), FAMILY (col4_9), FAMILY (col4_10, col3_9, col4_26), FAMILY (col3_8, col4_8), FAMILY (col4_25), FAMILY (col4_15, col3_10, col4_17), FAMILY (col3_11, col4_13, col3_4)) INTERLEAVE IN PARENT table3 (col3_7, col3_8, col3_6, col3_2, col3_4, col3_9, col3_11, col3_10);
        test_1        |             CREATE TABLE table5 (col3_7 INT4 NOT NULL, col3_8 BOX2D NOT NULL, col3_6 NAME NOT NULL, col3_2 REGTYPE NOT NULL, col3_4 BIT(5) NOT NULL, col3_9 REGTYPE NOT NULL, col3_11 FLOAT8 NOT NULL, col3_10 UUID NOT NULL, col5_8 BIT(49) NULL, col5_9 STRING NOT NULL, col5_10 REGNAMESPACE, col5_11 TIMESTAMP NULL, col5_12 DATE, col5_13 INTERVAL NULL, col5_14 VARCHAR NULL, col5_15 INTERVAL NOT NULL, col5_16 REGCLASS NOT NULL, col5_17 UUID, col5_18 BIT(19), col5_19 REGPROCEDURE NOT NULL, col5_20 BIT(4) NULL, PRIMARY KEY (col3_7 DESC, col3_8 DESC, col3_6 ASC, col3_2 ASC, col3_4 ASC, col3_9 DESC, col3_11, col3_10 ASC, col5_13 DESC), INDEX (col5_13 DESC, col5_14 ASC, col5_8 ASC, col3_7 ASC, col3_9 ASC, col5_20, col5_12, col3_4 DESC, col3_2 ASC, col3_10 DESC, col3_11 ASC, col3_6, col5_9 DESC) STORING (col5_11, col5_15, col5_16, col5_17, col5_18) WHERE ((((((table5.col5_9 >= '':::STRING) AND (table5.col3_7 != 2147483647:::INT8)) OR (table5.col5_14 = 'X':::STRING)) OR (table5.col5_11 != '0001-01-01 00:00:00':::TIMESTAMP)) AND (table5.col3_11 < 5e-324:::FLOAT8)) AND (table5.col5_12 != '-infinity':::DATE)) OR (table5.col3_6 != '':::STRING), UNIQUE (col5_18 DESC, col5_11, col3_9, col5_19 DESC, col5_20, col5_14, col3_6) STORING (col5_9, col5_10, col5_12, col5_15, col5_16) WHERE (table5.col3_6 < '':::STRING) OR (table5.col3_11 < 1.401298464324817e-45:::FLOAT8), INDEX (col5_17 ASC, col3_2 DESC, col5_10 ASC, col5_9, col5_12, col5_20, col5_19 DESC, col3_6 DESC, col5_11 ASC, col5_18 DESC, col5_15 DESC, col3_4 DESC, col3_10 DESC, col5_16, col5_13 DESC, col3_9 ASC, col3_11 ASC, col5_14, col3_8 ASC, col5_8, col3_7 DESC) WHERE ((((((table5.col3_11 <= (-1.0):::FLOAT8) AND (table5.col3_6 <= e'\U00002603':::STRING)) AND (table5.col5_11 >= '0001-01-01 00:00:00':::TIMESTAMP)) OR (table5.col5_14 <= 'X':::STRING)) OR (table5.col5_12 != '4714-11-24 BC':::DATE)) AND (table5.col3_7 >= 2147483647:::INT8)) OR (table5.col5_9 > '"':::STRING), INDEX (col5_15, col5_10 DESC, col5_9, col5_18 DESC, col3_4 DESC, col5_12 DESC, col3_11, col5_11 DESC, col5_13 DESC, col3_9 DESC, col3_10 ASC) WHERE (table5.col5_12 >= '4714-11-24 BC':::DATE) AND (table5.col3_6 != '"':::STRING), UNIQUE (col5_18, col5_8, col3_6, col5_9, col3_2, col5_10, col3_8 DESC, col5_16 ASC, col3_7 DESC, col5_20 ASC, col3_4 DESC, col5_12, col5_13 ASC, col3_9, col3_11 ASC, col3_10, col5_17, col5_14 ASC, col5_11, col5_15 ASC), FAMILY (col5_15), FAMILY (col5_17, col3_2, col3_4), FAMILY (col5_10, col5_20), FAMILY (col5_8, col3_8), FAMILY (col5_13), FAMILY (col5_14, col3_10), FAMILY (col5_18), FAMILY (col3_7, col3_6), FAMILY (col5_19, col5_11, col3_9, col5_16), FAMILY (col5_12), FAMILY (col3_11, col5_9)) INTERLEAVE IN PARENT table3 (col3_7, col3_8, col3_6, col3_2, col3_4, col3_9, col3_11, col3_10);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1147674388, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16368612081, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28471958984, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24478113410, "histo_col_type": "", "name": "__auto__", "null_count": 28607724679, "row_count": 30000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20594514811, "histo_col_type": "", "name": "__auto__", "null_count": 149139925, "row_count": 30000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7767679140, "histo_col_type": "", "name": "__auto__", "null_count": 23454194000, "row_count": 30000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6074834779, "histo_col_type": "", "name": "__auto__", "null_count": 13359217000, "row_count": 30000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19146832870, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21632211833, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25886737111, "histo_col_type": "", "name": "__auto__", "null_count": 4954001320, "row_count": 30000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4139288483, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 813592897, "histo_col_type": "", "name": "__auto__", "null_count": 936730468, "row_count": 2000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 549493692, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1610217936, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1778609847, "histo_buckets": [{"distinct_range": 0, "num_eq": 8648899508958174692, "num_range": 0, "upper_bound": "1981-03-26"}, {"distinct_range": 1018008.9014071604, "num_eq": 2823780379335883894, "num_range": 2000000, "upper_bound": "1985-12-02"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "infinity"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 755502311, "histo_col_type": "", "name": "__auto__", "null_count": 1620991327, "row_count": 2000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1751325169, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 565759025, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1414814104, "histo_col_type": "", "name": "__auto__", "null_count": 645762140, "row_count": 2000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 989766194, "histo_col_type": "", "name": "__auto__", "null_count": 284688211, "row_count": 2000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1560458498, "histo_buckets": [{"distinct_range": 0, "num_eq": 559438137478243716, "num_range": 0, "upper_bound": "\\u001a\\u0010TG>\\u0008Wg6"}, {"distinct_range": 2398199008348604000, "num_eq": 6000000000, "num_range": 2398199008348604158, "upper_bound": "<"}, {"distinct_range": 16.17847034943926, "num_eq": 4288168042881835338, "num_range": 40, "upper_bound": "=]0\\u000eP\\u0017gZ\\u0005"}, {"distinct_range": 0, "num_eq": 0, "num_range": 532627604074492462, "upper_bound": "Q@vCI[\\u001co"}, {"distinct_range": 10000000000, "num_eq": 800, "num_range": 10000000000, "upper_bound": "g"}, {"distinct_range": 1000000000, "num_eq": 60000, "num_range": 1000000000, "upper_bound": "s!`+"}, {"distinct_range": 4175249561917303000, "num_eq": 7000000, "num_range": 4175249561917302951, "upper_bound": "uJ]\\\\\\u0014\\u0008\\u0019\\t"}, {"distinct_range": 38.882738152387816, "num_eq": 8499963900256645932, "num_range": 200, "upper_bound": "~"}, {"distinct_range": 0, "num_eq": 5786931203211704217, "num_range": 800000, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1875118489, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24233969, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 742669934, "histo_col_type": "", "name": "__auto__", "null_count": 1996000247, "row_count": 2000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"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_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": ["col3_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": ["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_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": ["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_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7750137431182652002, "num_range": 0, "upper_bound": "-2147483648"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 50000, "upper_bound": "-32768"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 8000000000, "upper_bound": "-128"}, {"distinct_range": 7052072127.933181, "num_eq": 743767593360931736, "num_range": 30000000000, "upper_bound": "-1"}, {"distinct_range": 6000000000, "num_eq": 500, "num_range": 6000000000, "upper_bound": "972322278"}, {"distinct_range": 5807930209899678000, "num_eq": 4498460262857071086, "num_range": 8795099000638174262, "upper_bound": "1778275313"}], "histo_col_type": "INT4", "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_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_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_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": ["col3_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": ["col3_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}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 202293994887474107, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-1634954473"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 646694309627127798, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "171ac7c3-661f-4251-88bb-30a3a10c6efc"}, {"distinct_range": 1932500025564450800, "num_eq": 600000000, "num_range": 1932500025564450880, "upper_bound": "4829a1e4-5db3-4a9a-883b-47e7dbefa2d3"}, {"distinct_range": 5000000000, "num_eq": 9091777330946140332, "num_range": 5000000000, "upper_bound": "6a18ff98-e7b9-4c62-8a7c-4d9dbc7e17da"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 8000, "upper_bound": "7779c7d1-da33-489d-b1a7-3b34ba4bc628"}, {"distinct_range": 577690652922848500, "num_eq": 2051186163747736588, "num_range": 8753416113397790197, "upper_bound": "b307638c-8972-4339-93a2-58658407afbc"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "e2a221a4-e4e8-4fb7-82c2-f692462a337e"}, {"distinct_range": 10000, "num_eq": 700000000, "num_range": 10000, "upper_bound": "e8bc7f62-688b-4add-a0ca-3080b557b5b7"}, {"distinct_range": 5870616528593958000, "num_eq": 30, "num_range": 6910615438163090162, "upper_bound": "f3aa9d5d-78e3-4ddc-834e-026cbee54951"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 416147742215435499, "histo_col_type": "", "name": "__auto__", "null_count": 95820735460154689, "row_count": 745810823327323660}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 365101293828689825, "histo_col_type": "", "name": "__auto__", "null_count": 560800714319001227, "row_count": 745810823327323660}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 693516920160712008, "histo_buckets": [{"distinct_range": 0, "num_eq": 27815775849413323, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 7533704317531583536, "num_range": 7000000, "upper_bound": "1980-12-09 00:19:41.000367+00:00"}, {"distinct_range": 225072301838302180, "num_eq": 1392676344811095235, "num_range": 4937112822172470414, "upper_bound": "1988-07-17 13:24:09.000413+00:00"}, {"distinct_range": 200, "num_eq": 4468438631544115278, "num_range": 200, "upper_bound": "1990-11-11 00:34:48.000948+00:00"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 1000000, "upper_bound": "1992-07-25 11:34:33.000162+00:00"}, {"distinct_range": 0, "num_eq": 4868194382336613549, "num_range": 8847362967839599910, "upper_bound": "2028-11-27 19:16:52.000718+00:00"}, {"distinct_range": 8046729786634200000, "num_eq": 0, "num_range": 8046729786634200360, "upper_bound": "2029-05-11 20:43:33.000636+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 554901844997134543, "row_count": 745810823327323660}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489493526149274099, "histo_col_type": "", "name": "__auto__", "null_count": 192196066402239348, "row_count": 745810823327323660}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 198360099190166198, "histo_col_type": "", "name": "__auto__", "null_count": 316649548055632943, "row_count": 745810823327323660}, {"columns": ["col4_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 469923202623440823, "histo_col_type": "", "name": "__auto__", "null_count": 59798350754012832, "row_count": 745810823327323660}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 450678841277226416, "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 348511112689746322, "histo_col_type": "", "name": "__auto__", "null_count": 423784573909706227, "row_count": 745810823327323660}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108386142481393920, "histo_col_type": "", "name": "__auto__", "null_count": 577074473287730617, "row_count": 745810823327323660}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 502381663111905360, "histo_buckets": [{"distinct_range": 0, "num_eq": 2667273582000928108, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 1146629691277794600, "num_eq": 1465659299927266610, "num_range": 3333161851866188502, "upper_bound": "\\\\x036419de88f7c419"}, {"distinct_range": 6187185.751667369, "num_eq": 80000, "num_range": 10000000, "upper_bound": "\\\\x8b"}, {"distinct_range": 44130.48625971286, "num_eq": 6909960821122635864, "num_range": 90000, "upper_bound": "\\\\xea02f82fc8ee0397b4"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 292022400169423360, "row_count": 745810823327323660}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 452041039359806335, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 691065436830672984, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 426654470048364909, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 369402445721741903, "histo_col_type": "", "name": "__auto__", "null_count": 210324867629288726, "row_count": 745810823327323660}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258085454237824560, "histo_buckets": [{"distinct_range": 0, "num_eq": 8685364041358411779, "num_range": 0, "upper_bound": "-28 years -6 mons -526 days -23:45:22.104509"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 300000000, "upper_bound": "-27 years -5 mons -744 days -01:03:08.163132"}, {"distinct_range": 0, "num_eq": 1974922855547306105, "num_range": 900, "upper_bound": "-12 years -3 mons -193 days -04:08:28.771941"}, {"distinct_range": 810627.1350406992, "num_eq": 5795236768225589273, "num_range": 1000000, "upper_bound": "-6 mons -233 days -10:58:14.570193"}, {"distinct_range": 20000, "num_eq": 0, "num_range": 20000, "upper_bound": "4 years 6 mons 277 days 12:13:33.159395"}, {"distinct_range": 2743317838210162700, "num_eq": 3235107601813553918, "num_range": 2743317838210162728, "upper_bound": "64 years 709 days 24:22:45.923887"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 320517534244724079, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 263180144043729096, "histo_col_type": "", "name": "__auto__", "null_count": 704732866543208739, "row_count": 745810823327323660}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577067637159746106, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 326189893496296806, "histo_col_type": "", "name": "__auto__", "null_count": 80456652640509996, "row_count": 745810823327323660}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 345924035764132039, "histo_col_type": "NAME", "name": "__auto__", "null_count": 119380365360734208, "row_count": 745810823327323660}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296760554953430113, "histo_col_type": "", "name": "__auto__", "null_count": 642294070032945899, "row_count": 745810823327323660}, {"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154296123950748212, "histo_col_type": "", "name": "__auto__", "null_count": 444788675953826986, "row_count": 745810823327323660}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285505728481505558, "histo_buckets": [{"distinct_range": 0, "num_eq": 8877843100980782816, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 417.66333949948495, "num_eq": 80000000000, "num_range": 500, "upper_bound": "158.114.104.239/20"}, {"distinct_range": 5726070846574624000, "num_eq": 1019349162776136927, "num_range": 5726070846574624139, "upper_bound": "230.150.92.228/29"}, {"distinct_range": 1665793841096222700, "num_eq": 6712437188447631175, "num_range": 1665793841096222845, "upper_bound": "73.14.61.221/31"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "99.102.92.47"}, {"distinct_range": 7235705.639346855, "num_eq": 7910805458054792874, "num_range": 90000000, "upper_bound": "99ec:d648:a4dd:388f:5a3:b5a4:1bf2:a738/30"}, {"distinct_range": 3697616378711240000, "num_eq": 5000000000, "num_range": 4754694020634257875, "upper_bound": "9d3b:3ff:b9d3:3684:acbf:2254:a72a:5c9c/34"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 190387356773438913, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 5000000, "upper_bound": "4090687098"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 745810823327323660}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 541080517401657965, "histo_col_type": "", "name": "__auto__", "null_count": 483212419603796863, "row_count": 745810823327323660}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 394, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 301, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_col_type": "", "name": "__auto__", "null_count": 282, "row_count": 400}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339, "histo_buckets": [{"distinct_range": 0, "num_eq": 2315074804113182374, "num_range": 0, "upper_bound": "-76 years -3 mons -876 days -22:34:57.574262"}, {"distinct_range": 5893583860874008000, "num_eq": 293205547391834167, "num_range": 5893583860874007755, "upper_bound": "68 years 6 mons 173 days 08:01:03.214614"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 329, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 235, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 337, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 226, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "-43 years -5 mons -282 days -00:37:21.130529"}, {"distinct_range": 3773056676125686000, "num_eq": 7076376150583244266, "num_range": 6521352521146403256, "upper_bound": "-29 years -2 mons -750 days -07:05:28.752057"}, {"distinct_range": 400000000, "num_eq": 60000, "num_range": 400000000, "upper_bound": "-19 years -6 mons -503 days -08:07:19.397246"}, {"distinct_range": 6285508984052868000, "num_eq": 600, "num_range": 6285508984052867855, "upper_bound": "5 years 5 mons 291 days 11:11:54.312741"}, {"distinct_range": 500, "num_eq": 8000000000, "num_range": 500, "upper_bound": "17 years 6 mons 627 days 04:13:56.175333"}, {"distinct_range": 2009344759780204000, "num_eq": 21832026394579677, "num_range": 2379933527532748862, "upper_bound": "38 years 9 mons 966 days 22:36:26.450685"}, {"distinct_range": 951938.5973822661, "num_eq": 0, "num_range": 2000000, "upper_bound": "42 years 6 mons 312 days 00:42:34.119782"}, {"distinct_range": 424.7206808978613, "num_eq": 0, "num_range": 4000, "upper_bound": "56 years 5 mons 862 days 04:10:25.343045"}, {"distinct_range": 3070827749675945000, "num_eq": 6000, "num_range": 3070827749675945101, "upper_bound": "79 years 8 mons 534 days 09:19:13.238027"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 2, "row_count": 400}, {"columns": ["col5_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 226, "histo_col_type": "", "name": "__auto__", "null_count": 332, "row_count": 400}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 249, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 369, "histo_col_type": "", "name": "__auto__", "null_count": 161, "row_count": 400}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 242, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "0100111111011110000"}, {"distinct_range": 0, "num_eq": 1905503516009673957, "num_range": 60000000000, "upper_bound": "0110001111011110010"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 9161585051219070122, "upper_bound": "1010111001000011001"}, {"distinct_range": 4641083754047115000, "num_eq": 20000, "num_range": 6989535183146118961, "upper_bound": "1011110010010110100"}, {"distinct_range": 70000000000, "num_eq": 80, "num_range": 70000000000, "upper_bound": "1101001010111101000"}], "histo_col_type": "BIT(19)", "name": "__auto__", "null_count": 284, "row_count": 400}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 380, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 286, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 245, "histo_col_type": "", "name": "__auto__", "null_count": 227, "row_count": 400}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 259, "histo_col_type": "", "name": "__auto__", "null_count": 334, "row_count": 400}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 386, "histo_col_type": "", "name": "__auto__", "null_count": 42, "row_count": 400}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239, "histo_buckets": [{"distinct_range": 0, "num_eq": 7955451209755103797, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 3321818012636495638, "num_range": 80000000000, "upper_bound": "4f0b91ef-5823-48af-9381-e7296f8768ca"}, {"distinct_range": 331483032.8939263, "num_eq": 0, "num_range": 1000000000, "upper_bound": "7716b71e-91be-4bed-a527-3a424f8db33e"}, {"distinct_range": 0, "num_eq": 6405037187525878903, "num_range": 300000000, "upper_bound": "7cb93488-3ae5-4b76-8857-6141a8f894f5"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 6492928428116872262, "upper_bound": "8af25b5e-c7aa-4c08-9ff9-aeb2d18413ee"}, {"distinct_range": 1173248702953672000, "num_eq": 5557196100037328705, "num_range": 8372730318716403844, "upper_bound": "a14d7583-5f12-47de-a474-02406515f8cc"}, {"distinct_range": 0, "num_eq": 3100709667599986332, "num_range": 4737654359151249685, "upper_bound": "ca599223-3e55-44df-a971-a9f79767ed41"}, {"distinct_range": 2668163213559644000, "num_eq": 7489978817842755950, "num_range": 2668163213559643968, "upper_bound": "d7af22ce-5865-4114-8ef3-2aa863124a82"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 64, "row_count": 400}, {"columns": ["col5_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169, "histo_buckets": [{"distinct_range": 0, "num_eq": 4810630315641726780, "num_range": 0, "upper_bound": "-1500346436"}, {"distinct_range": 900000000, "num_eq": 6484362871752771482, "num_range": 900000000, "upper_bound": "-1019782188"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 1000000000, "upper_bound": "267008329"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 8903834638066059986, "upper_bound": "308462677"}, {"distinct_range": 33072874623.95393, "num_eq": 6809785131126999205, "num_range": 60000000000, "upper_bound": "852021322"}, {"distinct_range": 0, "num_eq": 400, "num_range": 8657493003633139941, "upper_bound": "1094952213"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 400}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('wasyfx', 'ejmu', 'l', 'd', 'mafqo', 'eizj');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('bkxbzt');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('lup', 'oid');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5584557811, "histo_col_type": "", "name": "__auto__", "null_count": 1470831197, "row_count": 6000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1119008067, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1735357646, "histo_col_type": "", "name": "__auto__", "null_count": 5580192184, "row_count": 6000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2661733458, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4769861157, "histo_col_type": "", "name": "__auto__", "null_count": 254897903, "row_count": 6000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4469890715, "histo_col_type": "", "name": "__auto__", "null_count": 55119213, "row_count": 6000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180957882, "histo_col_type": "", "name": "__auto__", "null_count": 1684599989, "row_count": 6000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4331425210, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3099793051, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3762878617, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2333266302, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28710, "histo_col_type": "", "name": "__auto__", "null_count": 3411, "row_count": 40000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39504, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10632, "histo_col_type": "", "name": "__auto__", "null_count": 39377, "row_count": 40000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9348, "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": 23147, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17964, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6218, "histo_col_type": "", "name": "__auto__", "null_count": 35460, "row_count": 40000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16777, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7947, "histo_col_type": "", "name": "__auto__", "null_count": 9172, "row_count": 40000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12750, "histo_buckets": [{"distinct_range": 0, "num_eq": 9205356000154030614, "num_range": 0, "upper_bound": "\\tfU\\u0007\\u000f\\u001bj\\u001e"}, {"distinct_range": 0, "num_eq": 20, "num_range": 5000000, "upper_bound": "2"}, {"distinct_range": 3504294007088061000, "num_eq": 3874644527402740734, "num_range": 4239997342332340408, "upper_bound": "=Rr[t"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5489, "histo_buckets": [{"distinct_range": 0, "num_eq": 5985131664479326478, "num_range": 0, "upper_bound": "1986-10-13"}, {"distinct_range": 42.38010541790827, "num_eq": 0, "num_range": 300, "upper_bound": "1992-01-09"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34111, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27328, "histo_col_type": "", "name": "__auto__", "null_count": 39342, "row_count": 40000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4996, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18171, "histo_col_type": "", "name": "__auto__", "null_count": 4573, "row_count": 30000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26120, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13066, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "-900782587"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 3078285610146923133, "upper_bound": "-857048174"}, {"distinct_range": 849253257719491500, "num_eq": 3918515373118260872, "num_range": 1392002692701143777, "upper_bound": "-831598274"}, {"distinct_range": 0, "num_eq": 5690574291777394068, "num_range": 0, "upper_bound": "-638004715"}, {"distinct_range": 3254324046157084000, "num_eq": 6000000, "num_range": 7175469854698335333, "upper_bound": "232223641"}, {"distinct_range": 0, "num_eq": 4883607737355058273, "num_range": 30000000, "upper_bound": "682532140"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 5192014497253444788, "upper_bound": "1160024579"}, {"distinct_range": 1537140072786345500, "num_eq": 200, "num_range": 2848153294540962325, "upper_bound": "1337861726"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10299, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24828, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11684, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 24358, "row_count": 30000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10618, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13934, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4322, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13604, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 685, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1870885862852683123, "histo_col_type": "", "name": "__auto__", "null_count": 138841333289080995, "row_count": 3646500332026053377}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 870744398385822948, "histo_col_type": "", "name": "__auto__", "null_count": 1304775553361077785, "row_count": 3646500332026053377}, {"columns": ["col4_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 132150980869858409, "histo_col_type": "", "name": "__auto__", "null_count": 1425762450682297628, "row_count": 3646500332026053377}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3318631531558356095, "histo_col_type": "", "name": "__auto__", "null_count": 648751759293018201, "row_count": 3646500332026053377}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338064624591805907, "histo_col_type": "", "name": "__auto__", "null_count": 1559155600822502700, "row_count": 3646500332026053377}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3633739376035969451, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140396680079384291, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "134235887"}, {"distinct_range": 0, "num_eq": 4479604606859315109, "num_range": 3383171672869434149, "upper_bound": "1359352188"}, {"distinct_range": 5411261168.747589, "num_eq": 3663412862578452906, "num_range": 10000000000, "upper_bound": "2950415586"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3343481104506050183, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2902984655026428808, "histo_col_type": "", "name": "__auto__", "null_count": 1263845097600119497, "row_count": 3646500332026053377}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2689202557659068677, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 523638052293852900, "histo_col_type": "", "name": "__auto__", "null_count": 713516450467827802, "row_count": 3646500332026053377}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1226119978791011069, "histo_buckets": [{"distinct_range": 0, "num_eq": 7334749280035503653, "num_range": 0, "upper_bound": "-50 years -10 mons -26 days -24:02:11.449938"}, {"distinct_range": 1285594448543304200, "num_eq": 5282269741744023768, "num_range": 2535239172073886664, "upper_bound": "-28 years -8 mons -840 days -03:22:45.581692"}, {"distinct_range": 0, "num_eq": 9057701281378209159, "num_range": 60000000000, "upper_bound": "1 day"}, {"distinct_range": 247713796063160740, "num_eq": 6301355471719069260, "num_range": 955060441590181722, "upper_bound": "6 years 3 mons 19 days 24:14:28.452586"}, {"distinct_range": 0, "num_eq": 3308559915011840438, "num_range": 7000, "upper_bound": "29 years 9 mons 389 days 20:31:14.736344"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1523570897714337510, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2572155455564905389, "histo_col_type": "", "name": "__auto__", "null_count": 1177791723736863026, "row_count": 3646500332026053377}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3026373434901137729, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3630041176523081081, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "14e6aad8-d48c-4146-b1ab-9557c4a919d6"}, {"distinct_range": 800000000, "num_eq": 20, "num_range": 800000000, "upper_bound": "6f23b17e-ae5d-4b50-9f87-b05f80d9fc69"}, {"distinct_range": 1304162.303438846, "num_eq": 3629107529855407825, "num_range": 9000000, "upper_bound": "78dee2e9-b61a-4572-aac1-47a8fc643c20"}, {"distinct_range": 176992792478049440, "num_eq": 5606745247041565170, "num_range": 400481447762048065, "upper_bound": "7d10e082-9a0e-4c75-92bc-12e41dfb8622"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 3187602909323518603, "upper_bound": "95f49f4a-ca0f-4460-a5c6-6a8047a15b5f"}, {"distinct_range": 0, "num_eq": 7619200075917875789, "num_range": 6000, "upper_bound": "a63dc168-d688-4942-b25a-0b1339bd3ab7"}, {"distinct_range": 1225276068101434000, "num_eq": 2374652347847544461, "num_range": 1225276068101434090, "upper_bound": "b4dcd304-d1f8-487c-83eb-e54b56fa0120"}, {"distinct_range": 1466059383914931000, "num_eq": 10000000000, "num_range": 5742485437266310214, "upper_bound": "b9666557-05c1-496f-8ef4-8ca2f48de8b5"}, {"distinct_range": 754.6096020454878, "num_eq": 700, "num_range": 800, "upper_bound": "d5151345-2180-4137-90fc-120a79d266ac"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3595869617577196007, "histo_col_type": "", "name": "__auto__", "null_count": 2036438746490737581, "row_count": 3646500332026053377}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1918094757802348899, "histo_col_type": "", "name": "__auto__", "null_count": 1026425257851869547, "row_count": 3646500332026053377}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2486825775442205318, "histo_buckets": [{"distinct_range": 0, "num_eq": 695798777915901664, "num_range": 0, "upper_bound": "128.10.123.198/29"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1317807289103347140, "histo_col_type": "", "name": "__auto__", "null_count": 3326903398439283439, "row_count": 3646500332026053377}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 500897699591726164, "histo_col_type": "", "name": "__auto__", "null_count": 2960107357499820433, "row_count": 3646500332026053377}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1431017254201889110, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "\\u0012hi7{\\u000b\\u000c"}, {"distinct_range": 22900234059788804, "num_eq": 5000000000, "num_range": 22900234059788803, "upper_bound": "9*4!VX\\u0006"}, {"distinct_range": 1256078886279783400, "num_eq": 6327860789146494125, "num_range": 3613414551655384657, "upper_bound": "?/wY\' v{"}, {"distinct_range": 4000, "num_eq": 9000, "num_range": 4000, "upper_bound": "X"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 410188420927706607, "row_count": 3646500332026053377}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1370239536872622364, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "00000"}, {"distinct_range": 0, "num_eq": 500, "num_range": 1366644243673100020, "upper_bound": "01010"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "01011"}, {"distinct_range": 8000, "num_eq": 229952255904225293, "num_range": 8000, "upper_bound": "10001"}, {"distinct_range": 16904291172214250, "num_eq": 3695951707935197943, "num_range": 48975443088514626, "upper_bound": "10110"}, {"distinct_range": 2036830198678655500, "num_eq": 8000000000, "num_range": 2077470339683198912, "upper_bound": "11011"}, {"distinct_range": 21068217.56091483, "num_eq": 8000, "num_range": 80000000, "upper_bound": "11111"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 556216872444620388, "histo_col_type": "", "name": "__auto__", "null_count": 2353522115452633970, "row_count": 3646500332026053377}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3577763147703779745, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 360214326.4375017, "num_eq": 6043606548787621233, "num_range": 900000000, "upper_bound": "1974-06-08 07:18:12.000069+00:00"}, {"distinct_range": 5553207053133563000, "num_eq": 100000, "num_range": 5553207053133562792, "upper_bound": "1976-11-21 08:18:50.000822+00:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4689015727075279619, "upper_bound": "1986-06-25 16:57:13.000642+00:00"}, {"distinct_range": 90000000000, "num_eq": 10000000000, "num_range": 90000000000, "upper_bound": "2011-03-31 01:14:34.000575+00:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 100000, "upper_bound": "2018-12-15 03:34:32.000003+00:00"}, {"distinct_range": 0, "num_eq": 1413319653755263216, "num_range": 50000000000, "upper_bound": "2030-12-17 07:29:12.000998+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 334908831304472114, "row_count": 3646500332026053377}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 158928346232060481, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "\\\\x22"}, {"distinct_range": 5486082843611874000, "num_eq": 5982247680049284705, "num_range": 5486082843611874602, "upper_bound": "\\\\x27"}, {"distinct_range": 0, "num_eq": 5707448055103052172, "num_range": 0, "upper_bound": "\\\\x28f172"}, {"distinct_range": 0, "num_eq": 8154529463054512669, "num_range": 70000000, "upper_bound": "\\\\x44c4e094"}, {"distinct_range": 0, "num_eq": 10, "num_range": 4817805401641772173, "upper_bound": "\\\\x48"}, {"distinct_range": 0, "num_eq": 400, "num_range": 2198137688862516320, "upper_bound": "\\\\x83d76231a18d8084"}, {"distinct_range": 0, "num_eq": 300, "num_range": 30000, "upper_bound": "\\\\xf44d18ae63f0"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 3572601345454512087, "row_count": 3646500332026053377}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2356935773964158845, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "-1946983378"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 6192873808312614784, "upper_bound": "-250563787"}, {"distinct_range": 37988.16234408571, "num_eq": 5745750057511358544, "num_range": 50000, "upper_bound": "0"}, {"distinct_range": 430.35225885507487, "num_eq": 600, "num_range": 800, "upper_bound": "485541818"}, {"distinct_range": 50000, "num_eq": 5676697612569418655, "num_range": 50000, "upper_bound": "1048358470"}, {"distinct_range": 0, "num_eq": 6239073644513494200, "num_range": 20000000, "upper_bound": "1309260179"}, {"distinct_range": 1677192.8680662017, "num_eq": 10000, "num_range": 2000000, "upper_bound": "1458866247"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 3646500332026053377}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2804180953254611307, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7532791439393324645}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5865111483938613232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7532791439393324645}, {"columns": ["col5_9"]
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@57de93a997db31d97cd7e23fb866fe0e44f90de2:


        test_1        |             CREATE INDEX ON table2 (col2_15, col2_19, col2_11 DESC, col1_3 ASC, col2_14 DESC, col1_6 DESC, col2_13 DESC, col1_2, col2_12, col2_16 DESC, col1_0, col2_8, col1_5 DESC, col1_1 DESC, col2_18 DESC, col2_17 DESC, col2_10, col1_4 DESC, col2_9 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_16, col2_13 ASC, col1_0 DESC, col2_11 DESC, col1_1, col2_18 ASC, col1_6, col2_9 ASC, col1_7 DESC, col1_2 DESC, col2_19 DESC, col2_12, col2_10, col2_17 ASC, col1_4 ASC);
        test_1        |             CREATE INDEX ON table2 (col2_17, col2_12 DESC, col2_14 DESC, col2_8 DESC, col2_10 DESC, col2_13, col1_0 ASC, col1_1, col2_16 ASC, col2_19, col1_4, col2_9 ASC, col1_7 DESC, col2_18, col1_2 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_7, col1_0, col1_2);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_7, col1_0, col1_2) REFERENCES table2 (col1_7, col1_0, col1_2) ON UPDATE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('fhrvav');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('hhicoc', 'edfhk', 'odcocc');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.75s)
        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 CHAR NULL, col1_1 REGPROC NOT NULL, col1_2 BYTES NOT NULL, col1_3 NAME NULL, col1_4 OID NOT NULL, col1_5 FLOAT8 NULL, col1_6 TIME, col1_7 "char" NOT NULL, col1_8 BIT(36) NULL, col1_9 STRING NULL, PRIMARY KEY (col1_4 ASC, col1_2 DESC, col1_1), INDEX (col1_2 DESC, col1_1) STORING (col1_0, col1_5, col1_6, col1_8) WHERE ((((((table1.col1_7 <= '"') AND (table1.col1_2 != '\x22')) OR (table1.col1_5 < NaN)) OR (table1.col1_0 = e'\'')) OR (table1.col1_3 <= 'X')) AND (table1.col1_9 != '"')) OR (table1.col1_6 = '00:00:00'), UNIQUE (col1_9 ASC, col1_0 DESC, col1_6 DESC, col1_7 ASC, col1_2, col1_3 ASC, col1_8, col1_4, col1_5, col1_1) WHERE ((((((table1.col1_2 >= '\xe29883') OR (table1.col1_7 <= e'\U00002603')) AND (table1.col1_3 > 'X')) AND (table1.col1_5 <= -1.0)) AND (table1.col1_0 <= e'\x00')) OR (table1.col1_6 > '00:00:00')) AND (table1.col1_9 = e'\''), INDEX (col1_1 ASC) WHERE (((table1.col1_6 = '24:00:00':::TIME) AND (table1.col1_5 = (-1.0):::FLOAT8)) OR (table1.col1_0 <= '"':::STRING)) AND (table1.col1_7 <= 'X':::STRING), UNIQUE (col1_5 DESC, col1_1 ASC, col1_9, col1_6 DESC, col1_4 DESC, col1_7 DESC, col1_2 ASC, col1_8, col1_0, col1_3 DESC), INDEX (col1_5 DESC, col1_9 ASC, col1_4, col1_1, col1_8 ASC) STORING (col1_0, col1_3), UNIQUE (col1_2 ASC) STORING (col1_6) WHERE ((table1.col1_9 <= 'X':::STRING) AND (table1.col1_7 != e'\x00':::STRING)) OR (table1.col1_2 > e'\\xff':::BYTES), UNIQUE (col1_0, col1_2 DESC, col1_9, col1_4) STORING (col1_5, col1_6, col1_7, col1_8) WHERE ((table1.col1_7 <= e'\'') OR (table1.col1_0 < e'\x00')) OR (table1.col1_5 < -Inf), UNIQUE (col1_5 ASC, col1_9) STORING (col1_0, col1_7, col1_8), INDEX (col1_6 DESC) STORING (col1_3, col1_5, col1_7, col1_8) WHERE (((((table1.col1_6 = '24:00:00') AND (table1.col1_5 = -Inf)) OR (table1.col1_9 < '')) AND (table1.col1_2 < '\x27')) OR (table1.col1_3 >= e'\x00')) AND (table1.col1_0 = e'\U00002603'), FAMILY (col1_7), FAMILY (col1_3, col1_2), FAMILY (col1_4), FAMILY (col1_1, col1_8, col1_6, col1_5), FAMILY (col1_9, col1_0));
        test_1        |             CREATE TABLE table2 (col2_0 FLOAT8 NOT NULL, col2_1 DECIMAL NOT NULL, col2_2 REGNAMESPACE NOT NULL, PRIMARY KEY (col2_0 ASC, col2_2, col2_1), UNIQUE (col2_2 ASC) WHERE (table2.col2_0 > 5e-324) AND (table2.col2_1 != -1.234E+401), UNIQUE (col2_1 DESC, col2_2, col2_0), UNIQUE (col2_1 ASC, col2_2, col2_0 ASC) WHERE table2.col2_1 <= (-1.234E+401):::DECIMAL, INDEX (col2_1, col2_2 ASC) WHERE (table2.col2_1 = 1:::DECIMAL) OR (table2.col2_0 > 'NaN':::FLOAT8), INDEX (col2_0 ASC), UNIQUE (col2_2 DESC, col2_1 DESC) WHERE (table2.col2_0 != 5e-324:::FLOAT8) AND (table2.col2_1 > (-1.234E+401):::DECIMAL), INDEX (col2_0 DESC, col2_1 DESC, col2_2 DESC) WHERE (table2.col2_0 < (-1.0):::FLOAT8) AND (table2.col2_1 > '-Infinity':::DECIMAL), UNIQUE (col2_2) WHERE table2.col2_0 > '+Inf':::FLOAT8, UNIQUE (col2_1 ASC, col2_0 ASC) WHERE (table2.col2_1 <= (-1.234E+401):::DECIMAL) AND (table2.col2_0 < 3.4028234663852886e+38:::FLOAT8), FAMILY (col2_1), FAMILY (col2_2, col2_0));
        test_1        |             CREATE TABLE table3 (col1_4 OID NOT NULL, col1_2 BYTES NOT NULL, col1_1 REGPROC NOT NULL, col3_3 INTERVAL NULL, col3_4 BOX2D NOT NULL, col3_5 FLOAT4 NULL, col3_6 REGTYPE NULL, col3_7 TIMESTAMP NOT NULL, col3_8 INT8 NOT NULL, col3_9 INT8 NOT NULL, col3_10 INT8, col3_11 BOOL NULL, col3_12 UUID NULL, PRIMARY KEY (col1_4 ASC, col1_2 DESC, col1_1, col3_10 ASC, col3_12 DESC), INDEX (col3_11 ASC, col3_5 DESC, col3_3, col3_4 DESC, col3_6 DESC, col3_7, col3_10 ASC, col1_1 DESC, col3_12 ASC, col3_8, col3_9 ASC) WHERE (((((table3.col3_5 >= 3.4028234663852886e+38:::FLOAT8) AND (table3.col3_9 != (-2147483648):::INT8)) OR table3.col3_11) OR (table3.col3_8 > 127:::INT8)) OR (table3.col1_2 = e'\\x':::BYTES)) OR (table3.col3_10 >= 1:::INT8), INDEX (col3_11 DESC, col3_12 DESC, col3_7, col1_2 DESC, col1_1, col1_4 DESC, col3_4 DESC, col3_6, col3_8 ASC, col3_10 DESC) WHERE ((((table3.col3_9 != (-128):::INT8) AND table3.col3_11) OR (table3.col3_8 = (-128):::INT8)) AND (table3.col3_7 > '0001-01-01 00:00:00':::TIMESTAMP)) AND (table3.col3_10 != 32767:::INT8), INDEX (col1_2, col3_11, col1_1 DESC, col3_6, col3_4 ASC, col3_9, col1_4 DESC, col3_12 DESC) WHERE table3.col3_5 >= 0.0:::FLOAT8, UNIQUE (col3_11, col3_8 DESC, col1_4 DESC, col3_4, col3_7 ASC, col3_6 DESC, col3_10 ASC), UNIQUE (col1_4) STORING (col3_4, col3_6, col3_7, col3_9) WHERE ((((((table3.col1_2 < '\x') OR (table3.col3_9 >= -32768)) AND (table3.col3_7 < '-2000-01-01 00:00:00')) AND (table3.col3_8 > -1)) AND (table3.col3_10 <= -128)) AND (table3.col3_5 <= +Inf)) OR table3.col3_11, FAMILY (col3_3, col3_4), FAMILY (col3_9), FAMILY (col1_4), FAMILY (col3_5), FAMILY (col1_2, col3_12), FAMILY (col3_8), FAMILY (col3_11, col3_7, col1_1, col3_10), FAMILY (col3_6)) INTERLEAVE IN PARENT table1 (col1_4, col1_2, col1_1);
        test_1        |             CREATE TABLE table4 (col4_0 TIME NOT NULL, col4_1 INET NOT NULL, col4_2 BOX2D NOT NULL, col4_3 INT4 NOT NULL, col4_4 TIME NOT NULL, PRIMARY KEY (col4_3, col4_1 DESC, col4_4, col4_2 DESC), INDEX (col4_3) STORING (col4_0), INDEX (col4_1, col4_4 ASC, col4_3 DESC, col4_2, col4_0) WHERE ((table4.col4_4 = '24:00:00') OR (table4.col4_0 = '00:00:00')) OR (table4.col4_3 < 32767), UNIQUE (col4_4, col4_3 ASC, col4_2) STORING (col4_0) WHERE (table4.col4_4 = '24:00:00':::TIME) AND (table4.col4_0 < '24:00:00':::TIME), INDEX (col4_1 ASC), INDEX (col4_0 DESC, col4_1, col4_4 ASC, col4_2 DESC) WHERE ((table4.col4_3 <= 32767) AND (table4.col4_0 < '00:00:00')) AND (table4.col4_4 = '00:00:00'), FAMILY (col4_0), FAMILY (col4_3, col4_1, col4_4, col4_2));
        test_1        |             CREATE TABLE table5 (col5_0 REGNAMESPACE NOT NULL, col5_1 INT4 NOT NULL, col5_2 NAME, col5_3 DECIMAL NOT NULL, col5_4 VARCHAR NOT NULL, col5_5 INT2 NOT NULL, col5_6 UUID NOT NULL, col5_7 FLOAT8 NULL, col5_8 DECIMAL NOT NULL, PRIMARY KEY (col5_3 ASC, col5_6 ASC, col5_0 ASC, col5_4, col5_8 ASC, col5_1 DESC), UNIQUE (col5_4, col5_7, col5_0 DESC, col5_2, col5_3 DESC), INDEX (col5_6 DESC, col5_1 ASC, col5_0, col5_7 DESC, col5_8 DESC, col5_3 ASC, col5_5 DESC, col5_4) WHERE (table5.col5_1 != (-32768):::INT8) AND (table5.col5_3 < 'Infinity':::DECIMAL), INDEX (col5_6 DESC, col5_4) STORING (col5_5, col5_7) WHERE ((((table5.col5_2 >= e'\U00002603':::STRING) OR (table5.col5_3 >= (-1):::DECIMAL)) OR (table5.col5_8 < (-1.234E+401):::DECIMAL)) AND (table5.col5_5 >= 127:::INT8)) OR (table5.col5_4 > '"':::STRING), UNIQUE (col5_1 ASC, col5_2 DESC, col5_3 DESC, col5_0 ASC, col5_6) STORING (col5_5) WHERE ((((((table5.col5_2 < e'\x00':::STRING) AND (table5.col5_8 < (-1):::DECIMAL)) AND (table5.col5_1 < 1:::INT8)) OR (table5.col5_3 >= 'NaN':::DECIMAL)) AND (table5.col5_5 <= 0:::INT8)) AND (table5.col5_4 = 'X':::STRING)) OR (table5.col5_7 = 1.0:::FLOAT8), UNIQUE (col5_7) STORING (col5_2, col5_5), FAMILY (col5_4), FAMILY (col5_7), FAMILY (col5_2, col5_1), FAMILY (col5_3), FAMILY (col5_0, col5_6, col5_8), FAMILY (col5_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48293584, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51068608, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x68db194bd4"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34474131, "histo_col_type": "", "name": "__auto__", "null_count": 16326983, "row_count": 60000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24062555, "histo_buckets": [{"distinct_range": 0, "num_eq": 3784586614968399734, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1739921.406113917, "num_eq": 500, "num_range": 30000000, "upper_bound": "785238421"}, {"distinct_range": 4926748001823779000, "num_eq": 1000000000, "num_range": 5179700991253474078, "upper_bound": "2206801638"}, {"distinct_range": 50, "num_eq": 100000, "num_range": 50, "upper_bound": "2763957242"}, {"distinct_range": 54568578.594363056, "num_eq": 345010327974837796, "num_range": 60000000, "upper_bound": "3331823030"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39759385, "histo_buckets": [{"distinct_range": 0, "num_eq": 3017338264515596744, "num_range": 0, "upper_bound": "01:26:50.808801"}, {"distinct_range": 0, "num_eq": 2309767441527128161, "num_range": 5878606462847227724, "upper_bound": "03:45:40.395943"}, {"distinct_range": 1000, "num_eq": 68740431129424967, "num_range": 1000, "upper_bound": "17:43:56.917351"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 54050712, "row_count": 60000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45639975, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51877380, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": ""}, {"distinct_range": 7622601283.402488, "num_eq": 1488294547691859760, "num_range": 10000000000, "upper_bound": "\\u0017a\\u001a\\u0017\\u001b"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "\\u001d\\u0001\\u0016\\u0001j\\u0011;\\u00075"}, {"distinct_range": 0, "num_eq": 6308587815940695647, "num_range": 300, "upper_bound": "\\u001eH\\"\\"Yr"}, {"distinct_range": 0, "num_eq": 6948845202765365042, "num_range": 5523724753281843821, "upper_bound": "\\""}, {"distinct_range": 70000, "num_eq": 40000, "num_range": 70000, "upper_bound": "$K\\u0018\'p\\u000bq1"}, {"distinct_range": 1000000, "num_eq": 70000, "num_range": 1000000, "upper_bound": "&g"}, {"distinct_range": 1660195069893544400, "num_eq": 300000, "num_range": 1660195069893544373, "upper_bound": "riVmvw\\n"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 35348786, "row_count": 60000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46920374, "histo_buckets": [{"distinct_range": 0, "num_eq": 3553966875409573027, "num_range": 0, "upper_bound": "\\u0002"}, {"distinct_range": 350.75910959677844, "num_eq": 400, "num_range": 6000, "upper_bound": ","}, {"distinct_range": 1611500993287469000, "num_eq": 7537653705796516717, "num_range": 1611500993287469060, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "G"}, {"distinct_range": 0, "num_eq": 100, "num_range": 800000, "upper_bound": "L"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 58618334, "row_count": 60000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24448551, "histo_buckets": [{"distinct_range": 0, "num_eq": 8043384558079995613, "num_range": 0, "upper_bound": "-0.2983224932020795"}, {"distinct_range": 47.39767024736654, "num_eq": 1319724545098756903, "num_range": 80, "upper_bound": "-0.24808425761426117"}, {"distinct_range": 100000, "num_eq": 30000, "num_range": 100000, "upper_bound": "0.05624345637578426"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 400000000, "upper_bound": "0.060051203224489036"}, {"distinct_range": 30000000, "num_eq": 60, "num_range": 30000000, "upper_bound": "1.109544677948865"}, {"distinct_range": 0, "num_eq": 30, "num_range": 1501029389313847114, "upper_bound": "1.67771945794135"}, {"distinct_range": 0, "num_eq": 667158076250815400, "num_range": 100, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 39358963, "row_count": 60000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20746476, "histo_col_type": "", "name": "__auto__", "null_count": 39485012, "row_count": 60000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 902257814845942557, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 3808251309809347508, "upper_bound": "0.07956960062096968"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 3919664850896956514}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1254788864041485417, "histo_buckets": [{"distinct_range": 0, "num_eq": 7245242132353837076, "num_range": 0, "upper_bound": "-9639405021744.08933"}, {"distinct_range": 10000000, "num_eq": 3771746830639449301, "num_range": 10000000, "upper_bound": "148360.8371949596104"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 5477971645821730914, "upper_bound": "385648436376.0337556"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 3919664850896956514}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2149270040114897798, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 3919664850896956514}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 912, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1366, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1484, "histo_col_type": "", "name": "__auto__", "null_count": 1012, "row_count": 2000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 182, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "\\\\x26df8b84dd"}, {"distinct_range": 4434104509988408000, "num_eq": 80000, "num_range": 4867934474555478089, "upper_bound": "\\\\x39faf0759bd998"}, {"distinct_range": 445057460.67769367, "num_eq": 0, "num_range": 500000000, "upper_bound": "\\\\x5a08c1e4c45869c6"}, {"distinct_range": 0, "num_eq": 400, "num_range": 4484527799179682313, "upper_bound": "\\\\xb2a1ac"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 1000000, "upper_bound": "\\\\xbf66c8292c75"}, {"distinct_range": 2736610667421951000, "num_eq": 0, "num_range": 6357798232645869025, "upper_bound": "\\\\xf7247c00"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 692, "histo_col_type": "", "name": "__auto__", "null_count": 857, "row_count": 2000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 887, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 1299, "row_count": 2000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1908, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1512, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 1251, "row_count": 2000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1696, "histo_buckets": [{"distinct_range": 0, "num_eq": 5429273757678118588, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 32837647496.1073, "num_eq": 2060605838376101327, "num_range": 90000000000, "upper_bound": "301853891"}, {"distinct_range": 4719755710931635000, "num_eq": 8437058065949929644, "num_range": 4719755710931634732, "upper_bound": "655928384"}, {"distinct_range": 614822176.1512501, "num_eq": 4000000000, "num_range": 700000000, "upper_bound": "670270980"}, {"distinct_range": 1725288955271823600, "num_eq": 5826450681440659148, "num_range": 8005447348747573951, "upper_bound": "2347345942"}, {"distinct_range": 0, "num_eq": 110493788171282647, "num_range": 50000000000, "upper_bound": "2404372151"}, {"distinct_range": 5226.092221714258, "num_eq": 70, "num_range": 9000, "upper_bound": "2514553162"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "2991067114"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1660, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1595, "histo_col_type": "", "name": "__auto__", "null_count": 168, "row_count": 2000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1062, "histo_col_type": "", "name": "__auto__", "null_count": 1204, "row_count": 2000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2342124894189111295, "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 2552164709173650844}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2455266008558203800, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "e3ee:17b4:495e:9469:3e31:4d5f:e0e6:ca95/71"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 2552164709173650844}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2047682363211278599, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2552164709173650844}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1368766903439439706, "histo_buckets": [{"distinct_range": 0, "num_eq": 7128675585592818068, "num_range": 0, "upper_bound": "-154966078"}, {"distinct_range": 48823053.121388555, "num_eq": 200000000, "num_range": 500000000, "upper_bound": "1241632734"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 388712870991547227, "upper_bound": "1887598996"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 2552164709173650844}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 974775611912559052, "histo_buckets": [{"distinct_range": 0, "num_eq": 6816195950963036811, "num_range": 0, "upper_bound": "15:50:26.581302"}, {"distinct_range": 2462460957964539400, "num_eq": 1118336134114856287, "num_range": 2462460957964539628, "upper_bound": "15:58:08.973133"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "18:12:04.789059"}, {"distinct_range": 2999137347864993300, "num_eq": 1829519072095845462, "num_range": 2999137347864993181, "upper_bound": "21:54:48.634793"}, {"distinct_range": 1050613389855602600, "num_eq": 8288006183377377011, "num_range": 4013107376073422638, "upper_bound": "23:01:41.846517"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 2552164709173650844}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 513451039401751087, "histo_buckets": [{"distinct_range": 0, "num_eq": 428240511688942020, "num_range": 0, "upper_bound": "0191e677-bbbd-447c-9389-ae3ad27b1a0a"}, {"distinct_range": 2555011538536424000, "num_eq": 900000000, "num_range": 3951601381518274395, "upper_bound": "24c34a4f-8131-4cb5-9426-8c5e1b37349c"}, {"distinct_range": 4834238523214208000, "num_eq": 50, "num_range": 4834238523214208039, "upper_bound": "2c161f4b-60fb-4f0a-a05c-c19ba2d00914"}, {"distinct_range": 1310652751637461000, "num_eq": 6179728345444411327, "num_range": 2942111892022492618, "upper_bound": "3bd320e6-c351-46bc-bc59-fd38add3522a"}, {"distinct_range": 430192084180344600, "num_eq": 100000, "num_range": 2383670506545133175, "upper_bound": "b4f049ea-0ce3-463c-a4b7-04a2c4e6cc2b"}, {"distinct_range": 0, "num_eq": 2648752051031350466, "num_range": 5196314781885508141, "upper_bound": "beac2c04-aeb1-4bf6-a722-8032578edf84"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 740118240896932622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157903752440985816, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 567766468372783094, "histo_col_type": "", "name": "__auto__", "null_count": 856461997545780373, "row_count": 933334413034165206}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 576592456069059732, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191137047404422177, "histo_buckets": [{"distinct_range": 0, "num_eq": 8312143394083516102, "num_range": 0, "upper_bound": "0.026028423517778787"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 30, "upper_bound": "2.3752880392823714"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 855208315461367565, "row_count": 933334413034165206}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50061279192106672, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 923640193486873598, "histo_buckets": [{"distinct_range": 0, "num_eq": 544188967108672213, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 700000, "upper_bound": "-7.912182138507187622E+35"}, {"distinct_range": 1793174960.7322927, "num_eq": 7648785888468886302, "num_range": 8000000000, "upper_bound": "-6.59078141337049535E+31"}, {"distinct_range": 0, "num_eq": 3978905362458220668, "num_range": 6559364450125997103, "upper_bound": "-8.072946629599308546E+25"}, {"distinct_range": 90, "num_eq": 800, "num_range": 90, "upper_bound": "-538604666547394.3447"}, {"distinct_range": 446361565448477900, "num_eq": 6000000000, "num_range": 6929912122903846793, "upper_bound": "0.301983031676058385"}, {"distinct_range": 0, "num_eq": 6202705126906345284, "num_range": 5436301167540580071, "upper_bound": "8.21593642198136366"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 418042375944691692, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 4481427927452103088, "num_range": 8000, "upper_bound": "Ad\\"s3X%^"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 10000000000, "upper_bound": "[\\u000biv"}, {"distinct_range": 700, "num_eq": 8014122774467313706, "num_range": 700, "upper_bound": "`^g@\\u0006fI"}, {"distinct_range": 304690508676449600, "num_eq": 8000000000, "num_range": 929929418346643222, "upper_bound": "g\\u0008/Q)u:\\u0013"}, {"distinct_range": 788084554.7277807, "num_eq": 50000, "num_range": 2000000000, "upper_bound": "n"}, {"distinct_range": 4595008548860664300, "num_eq": 8665768086491083558, "num_range": 4595008548860664084, "upper_bound": "u_yVY"}, {"distinct_range": 0, "num_eq": 5860363309908990661, "num_range": 900000, "upper_bound": "{~\\u0019&L?\\u000e0d"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 933334413034165206}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('lu', 'gsgz', 'z');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('jueh', 'in', 'la');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('ub', 'acljdv', 'hna');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_buckets": [{"distinct_range": 0, "num_eq": 1919445021961967435, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 8228257447602953482, "upper_bound": "1353255522"}, {"distinct_range": 2185469798541373400, "num_eq": 2854780758141331000, "num_range": 3232871155855087235, "upper_bound": "1606849469"}, {"distinct_range": 0, "num_eq": 900, "num_range": 6000, "upper_bound": "2658558158"}, {"distinct_range": 0, "num_eq": 7237147019830233348, "num_range": 8298664654984790778, "upper_bound": "2774801127"}, {"distinct_range": 1560407435328793300, "num_eq": 400000, "num_range": 3791006694648272604, "upper_bound": "2827020779"}, {"distinct_range": 8011443383854509000, "num_eq": 9000, "num_range": 8011443383854509301, "upper_bound": "3716601923"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1528867709"}, {"distinct_range": 8054730817333117000, "num_eq": 6000000, "num_range": 8054730817333117354, "upper_bound": "1863940929"}, {"distinct_range": 0, "num_eq": 8807405486922431423, "num_range": 0, "upper_bound": "4007443747"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-1.1654177123280745"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 8000, "upper_bound": "-0.8222586954027029"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 25, "row_count": 60}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "TIME", "name": "__auto__", "null_count": 22, "row_count": 60}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": ""}, {"distinct_range": 100000000, "num_eq": 373356770166489685, "num_range": 100000000, "upper_bound": "\\u0001#f?@K"}, {"distinct_range": 0, "num_eq": 2763530040755073432, "num_range": 400000, "upper_bound": "\\u0004)S"}, {"distinct_range": 0, "num_eq": 0, "num_range": 200000, "upper_bound": "\\u001e@\\""}, {"distinct_range": 1000000000, "num_eq": 2876790364605902492, "num_range": 1000000000, "upper_bound": "\\""}, {"distinct_range": 862774537663765900, "num_eq": 100000, "num_range": 2666396346337674285, "upper_bound": "b\\u0010@;"}, {"distinct_range": 4304533648953181700, "num_eq": 2473405988236051049, "num_range": 4304533648953181780, "upper_bound": "c\\u0008b:C\\u00024\\u0002\\u000b"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 31, "row_count": 60}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_buckets": [{"distinct_range": 0, "num_eq": 9033620231899806894, "num_range": 0, "upper_bound": "\\u0007"}, {"distinct_range": 0, "num_eq": 5126360495380280957, "num_range": 2499257979655147483, "upper_bound": "\\r"}, {"distinct_range": 0, "num_eq": 100, "num_range": 7337167916822353768, "upper_bound": "\\u0013"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 4000000000, "upper_bound": "$"}, {"distinct_range": 94732487955169040, "num_eq": 8243240827183254232, "num_range": 155545904694184507, "upper_bound": "\'"}, {"distinct_range": 2000000, "num_eq": 6329126377813045283, "num_range": 2000000, "upper_bound": ")"}, {"distinct_range": 2110172324539039200, "num_eq": 5050210277526034481, "num_range": 2539396328574259345, "upper_bound": "G"}, {"distinct_range": 80.66957045110642, "num_eq": 700000000, "num_range": 90, "upper_bound": "Z"}, {"distinct_range": 500000000, "num_eq": 968203240274224592, "num_range": 500000000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 15, "row_count": 60}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_buckets": [{"distinct_range": 0, "num_eq": 3828357312110834625, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 3241679409113629851, "num_range": 0, "upper_bound": "\\\\x588f445d8576bd7c"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 400000000, "upper_bound": "\\\\xa89347f7d6"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33, "histo_col_type": "", "name": "__auto__", "null_count": 54, "row_count": 60}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 34, "row_count": 60}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1060, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "-3.735750410986688127E+29"}, {"distinct_range": 30.05516384079056, "num_eq": 592813184291028333, "num_range": 5000, "upper_bound": "-7.88769763602986528E+26"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 5345073412058909123, "upper_bound": "7.016770023897100508"}, {"distinct_range": 6353638986468059000, "num_eq": 8000, "num_range": 6353638986468058807, "upper_bound": "63570.04396802960308"}, {"distinct_range": 3770275764014558000, "num_eq": 30000, "num_range": 3770275764014558462, "upper_bound": "8354570214.215888322"}, {"distinct_range": 11834546071.484129, "num_eq": 800, "num_range": 40000000000, "upper_bound": "6.387220507719085772E+32"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 503, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "573514619"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2251, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 3000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5074714, "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2504513, "histo_buckets": [{"distinct_range": 0, "num_eq": 3995325271835730127, "num_range": 0, "upper_bound": "\\\\x0326"}, {"distinct_range": 4432587904255770600, "num_eq": 6569877908428021921, "num_range": 7130851699479503337, "upper_bound": "\\\\x27"}, {"distinct_range": 5000000, "num_eq": 10000, "num_range": 5000000, "upper_bound": "\\\\x30b5"}, {"distinct_range": 255866.26896305988, "num_eq": 3851821221756411553, "num_range": 300000, "upper_bound": "\\\\x3c3a8d0befb35ea7"}, {"distinct_range": 2361879484814592000, "num_eq": 0, "num_range": 2361879484814592097, "upper_bound": "\\\\x7f62523b652170"}, {"distinct_range": 177789175732394340, "num_eq": 3710570630123508148, "num_range": 522773879858148160, "upper_bound": "\\\\x9e"}, {"distinct_range": 9036.21440804441, "num_eq": 9180253368896811662, "num_range": 10000, "upper_bound": "\\\\xa4eb5fb7"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 3948884287892214332, "upper_bound": "\\\\xe2895419f0"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13422372, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17587715, "histo_col_type": "", "name": "__auto__", "null_count": 12584588, "row_count": 20000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16370805, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17854220, "histo_col_type": "", "name": "__auto__", "null_count": 17423668, "row_count": 20000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16623478, "histo_col_type": "", "name": "__auto__", "null_count": 16941818, "row_count": 20000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13627055, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 2467582999112651593, "num_range": 3021400966379735113, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 9653212, "row_count": 20000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17716999, "histo_col_type": "", "name": "__auto__", "null_count": 1611286, "row_count": 20000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10287095, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2928498, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18852052, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15598101, "histo_col_type": "", "name": "__auto__", "null_count": 3648021, "row_count": 20000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "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": "00:38:02.772723"}, {"distinct_range": 0, "num_eq": 41642979172175296, "num_range": 3443445002137921734, "upper_bound": "10:38:05.729219"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 10000000000, "upper_bound": "11:15:58.099903"}, {"distinct_range": 8548891171559399000, "num_eq": 70000, "num_range": 8548891171559399561, "upper_bound": "22:27:51.762629"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "129.165.94.241/6"}, {"distinct_range": 5641378441227689000, "num_eq": 6056205095898915850, "num_range": 5641378441227689174, "upper_bound": "3a6e:4ff0:442f:a89f:eff0:b991:ef8d:1de8/5"}, {"distinct_range": 0, "num_eq": 9131185701348271059, "num_range": 0, "upper_bound": "e88c:d438:7dea:377c:2ae8:ca7b:68a4:86da/51"}, {"distinct_range": 1000000, "num_eq": 400, "num_range": 1000000, "upper_bound": "2634:b6f2:9ee9:2201:41cc:9ade:9de8:287b/58"}, {"distinct_range": 3988760189849150000, "num_eq": 7394450120821136969, "num_range": 6018348720031733300, "upper_bound": "7669:82e3:b1db:a535:2941:2ad7:80a6:92f5/65"}, {"distinct_range": 1000000000, "num_eq": 600000, "num_range": 1000000000, "upper_bound": "832c:2b9d:fee8:8844:f498:7467:c2be:2831/97"}, {"distinct_range": 747528748.4057741, "num_eq": 7000000000, "num_range": 1000000000, "upper_bound": "9dc2:7158:cfc0:4dc9:23a2:96ab:fc8c:62e5/124"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "02:13:19.677526"}, {"distinct_range": 500000, "num_eq": 5000000000, "num_range": 500000, "upper_bound": "04:02:18.509372"}, {"distinct_range": 60000, "num_eq": 900000000, "num_range": 60000, "upper_bound": "04:50:07.695949"}, {"distinct_range": 6405252354.113585, "num_eq": 300000000, "num_range": 8000000000, "upper_bound": "06:37:33.742964"}, {"distinct_range": 1904349151080614700, "num_eq": 80, "num_range": 2990197787191408815, "upper_bound": "08:14:39.142688"}, {"distinct_range": 1000000000, "num_eq": 2132655381804708692, "num_range": 1000000000, "upper_bound": "08:36:56.224588"}, {"distinct_range": 50000, "num_eq": 500000, "num_range": 50000, "upper_bound": "11:56:09.152132"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 4159431622300601380, "upper_bound": "15:26:44.663216"}, {"distinct_range": 2645880781376813000, "num_eq": 80000000000, "num_range": 2854064775865584711, "upper_bound": "16:18:35.790899"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 0}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2645, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 100000000, "num_eq": 1562908240365048317, "num_range": 100000000, "upper_bound": "\\u001flel>"}, {"distinct_range": 2557395015444109000, "num_eq": 0, "num_range": 5148122672868811843, "upper_bound": "+^Mz\\u0004.l\\u0018z"}, {"distinct_range": 20.765057138749093, "num_eq": 4672455847038214835, "num_range": 200, "upper_bound": "7X"}, {"distinct_range": 62.26523544716125, "num_eq": 184319247206867495, "num_range": 90, "upper_bound": "B\\u0019G_\\u0004"}, {"distinct_range": 589798103931838200, "num_eq": 1000000000, "num_range": 5333800628886159820, "upper_bound": "h"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 7976214662377035675, "upper_bound": "sn(\\u0001q"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 40000, "upper_bound": "x"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 100000, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1146, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 2178591404549604275, "num_range": 7000583761296108230, "upper_bound": "21658bfb-18d4-4ee0-b254-ec26b15573aa"}, {"distinct_range": 528185379202278500, "num_eq": 6702404341612769783, "num_range": 528185379202278510, "upper_bound": "81c73ee6-80d6-4248-9b5f-fc5917f643e8"}, {"distinct_range": 1000000000, "num_eq": 3752791747031919101, "num_range": 1000000000, "upper_bound": "8f5aed41-32f0-4272-8764-2df98e775b25"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 600, "upper_bound": "a3951098-e0ad-4049-a297-cb9f1939534b"}, {"distinct_range": 4770756323415049000, "num_eq": 50000000, "num_range": 6651169731581655951, "upper_bound": "c2992bf2-7cfa-4f13-99ab-97a4722d0274"}, {"distinct_range": 1634868129020758300, "num_eq": 2000000000, "num_range": 1634868129020758272, "upper_bound": "c29fed2f-4d0f-4401-ab2e-444503706346"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3334, "histo_buckets": [{"distinct_range": 0, "num_eq": 3280469325039344282, "num_range": 0, "upper_bound": "-0.8647175685856731"}, {"distinct_range": 3000, "num_eq": 9000000, "num_range": 3000, "upper_bound": "-0.6693520977723963"}, {"distinct_range": 0, "num_eq": 264915399868990335, "num_range": 7483630632324492517, "upper_bound": "-0.5746015692760237"}, {"distinct_range": 1769.9565655780066, "num_eq": 100, "num_range": 4000, "upper_bound": "-0.3993068520781587"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1333, "row_count": 4000}, {"columns": ["col5_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3852, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3964, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "-1765114229"}, {"distinct_range": 25976.12209270608, "num_eq": 50000000000, "num_range": 100000, "upper_bound": "-1706073463"}, {"distinct_range": 592702436471642600, "num_eq": 8630881629491508192, "num_range": 2557733160784869531, "upper_bound": "-1112030921"}, {"distinct_range": 0, "num_eq": 7159029684728574901, "num_range": 6000, "upper_bound": "-1093165468"}, {"distinct_range": 0, "num_eq": 6360448733462554582, "num_range": 4229556907899228005, "upper_bound": "-953957034"}, {"distinct_range": 600, "num_eq": 307252265437579769, "num_range": 600, "upper_bound": "-686674077"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 8000, "upper_bound": "1530134999"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 100, "upper_bound": "1776914036"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148, "histo_col_type": "", "name": "__auto__", "null_count": 2633, "row_count": 4000}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2812, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "-0.02140939124748890175"}, {"distinct_range": 4478541845425275400, "num_eq": 6350139677277413730, "num_range": 4478541845425275483, "upper_bound": "-0.00463667805594865582"}, {"distinct_range": 669534800892655600, "num_eq": 40000, "num_range": 3116711845115558509, "upper_bound": "0"}, {"distinct_range": 2111440511612356400, "num_eq": 5678244721529866485, "num_range": 2996308782901718216, "upper_bound": "0.0902399717933827366"}, {"distinct_range": 4000000000, "num_eq": 8331446769045110944, "num_range": 4000000000, "upper_bound": "545537515096607431.2"}, {"distinct_range": 4527435191839892000, "num_eq": 6676732919919744986, "num_range": 4527435191839891928, "upper_bound": "4.618785501132298921E+20"}, {"distinct_range": 1289426975577508000, "num_eq": 70, "num_range": 1289426975577508065, "upper_bound": "1.620662346221221265E+26"}, {"distinct_range": 2094475876686669600, "num_eq": 3315967915641134240, "num_range": 2094475876686669552, "upper_bound": "3.173151667696547768E+33"}, {"distinct_range": 650566.067560372, "num_eq": 4182538505368163330, "num_range": 800000, "upper_bound": "8.18398416281072647E+35"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 909, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_2) REFERENCES table3 (col1_4) ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2813086784184023269, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 800, "num_range": 4416623192464260611, "upper_bound": "0"}, {"distinct_range": 855702269.4919037, "num_eq": 50000, "num_range": 10000000000, "upper_bound": "N"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 5153215386150304255, "row_count": 7081165066906209596}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1685797535561567774, "histo_buckets": [{"distinct_range": 0, "num_eq": 4330586500292655083, "num_range": 0, "upper_bound": "-1.7852782336642534"}, {"distinct_range": 2628482757585093000, "num_eq": 5645649145931011847, "num_range": 2628482757585093102, "upper_bound": "-1.0431684745179193"}, {"distinct_range": 4000000, "num_eq": 1234967280127898429, "num_range": 4000000, "upper_bound": "-0.6701806383937174"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 70000000000, "upper_bound": "-0.618148936409907"}, {"distinct_range": 90, "num_eq": 3729125681110314106, "num_range": 90, "upper_bound": "0.13072328951865458"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 3024907807504023634, "row_count": 7081165066906209596}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3606175983252840505, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7081165066906209596}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 788069810869616550, "histo_col_type": "", "name": "__auto__", "null_count": 4596936686516626639, "row_count": 7081165066906209596}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 422680919886615063, "histo_col_type": "STRING", "name": "__auto__", "null_count": 1516703201078681342, "row_count": 7081165066906209596}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1375388920589470578, "histo_buckets": [{"distinct_range": 0, "num_eq": 5297830248485761773, "num_range": 0, "upper_bound": "1356570863"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 7081165066906209596}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5273485190428296051, "histo_buckets": [{"distinct_range": 0, "num_eq": 5413253918926269226, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 60000000, "num_eq": 10000, "num_range": 60000000, "upper_bound": "\\\\x2aa45e958f63f173"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 9000, "upper_bound": "\\\\x407460"}, {"distinct_range": 8187070931580318000, "num_eq": 2977325252925979051, "num_range": 8187070931580317660, "upper_bound": "\\\\x48df62"}, {"distinct_range": 50000, "num_eq": 900, "num_range": 50000, "upper_bound": "\\\\xace304d86a80d3b7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 7081165066906209596}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2352171695186466837, "histo_col_type": "", "name": "__auto__", "null_count": 4706684864391345183, "row_count": 7081165066906209596}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 447189704140868585, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "135934359"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 700000000, "upper_bound": "958065904"}, {"distinct_range": 622.0344172448666, "num_eq": 7496076330777170272, "num_range": 10000, "upper_bound": "1875465848"}, {"distinct_range": 5000000000, "num_eq": 0, "num_range": 5000000000, "upper_bound": "2887434268"}, {"distinct_range": 7555574086937059000, "num_eq": 1000000000, "num_range": 7555574086937059670, "upper_bound": "3711741573"}, {"distinct_range": 5591547894478134000, "num_eq": 600, "num_range": 5591547894478134327, "upper_bound": "3965712096"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 7081165066906209596}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169378118081696448, "histo_buckets": [{"distinct_range": 0, "num_eq": 1160638332461342597, "num_range": 0, "upper_bound": "02:57:30.639605"}, {"distinct_range": 59675.95403361119, "num_eq": 1000, "num_range": 90000, "upper_bound": "08:03:09.96542"}, {"distinct_range": 8391945587585000000, "num_eq": 1000000, "num_range": 8391945587585000809, "upper_bound": "09:05:41.017932"}, {"distinct_range": 700000, "num_eq": 171641943227687023, "num_range": 700000, "upper_bound": "09:52:53.767485"}, {"distinct_range": 9018712258673156000, "num_eq": 1262207558275015230, "num_range": 9018712258673156451, "upper_bound": "20:10:17.744806"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 2596181560059865178, "row_count": 7081165066906209596}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1631831, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000000, "num_range": 0, "upper_bound": "-1.3384872054325803"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 100000, "upper_bound": "-1.1376765358727425"}, {"distinct_range": 10000000000, "num_eq": 2137485904325319502, "num_range": 10000000000, "upper_bound": "-0.4005829557935946"}, {"distinct_range": 4750241379539623000, "num_eq": 7896569617610773342, "num_range": 4750241379539622409, "upper_bound": "2.272994217179054"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1183118, "histo_buckets": [{"distinct_range": 0, "num_eq": 6688751670928106278, "num_range": 0, "upper_bound": "-6.747180343728508962E+36"}, {"distinct_range": 70000000, "num_eq": 8250943607739128150, "num_range": 70000000, "upper_bound": "-5.76076756297398689E+23"}, {"distinct_range": 7397891253696808000, "num_eq": 0, "num_range": 7722086933416972159, "upper_bound": "-3.268307617967356693E+22"}, {"distinct_range": 10000000000, "num_eq": 80, "num_range": 10000000000, "upper_bound": "-23610.92028799385337"}, {"distinct_range": 2000, "num_eq": 1000000, "num_range": 2000, "upper_bound": "887013840982809953.5"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1523271, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "766661467"}, {"distinct_range": 0, "num_eq": 600, "num_range": 1000000, "upper_bound": "2380320139"}, {"distinct_range": 6642199060766096000, "num_eq": 8000000, "num_range": 6642199060766096610, "upper_bound": "3875957169"}, {"distinct_range": 100000000000, "num_eq": 1244445034090920591, "num_range": 100000000000, "upper_bound": "3901268037"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 7000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1980589896347742515, "histo_col_type": "", "name": "__auto__", "null_count": 2168980048420891318, "row_count": 4253482300855963091}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3667222181457467869, "histo_col_type": "", "name": "__auto__", "null_count": 3209824698281717456, "row_count": 4253482300855963091}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4156584294938500057, "histo_col_type": "", "name": "__auto__", "null_count": 1921878728246763331, "row_count": 4253482300855963091}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2259142840057104679, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 300000000, "num_eq": 50, "num_range": 300000000, "upper_bound": "395536499"}, {"distinct_range": 0, "num_eq": 2853413864550023690, "num_range": 3000000000, "upper_bound": "2134501556"}, {"distinct_range": 1095.5146280769122, "num_eq": 1323045570265097523, "num_range": 5000, "upper_bound": "3933520571"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2369648616830505522, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "\\\\x1458"}, {"distinct_range": 551760293434242240, "num_eq": 6000, "num_range": 551760293434242218, "upper_bound": "\\\\x52abf88a7c72f4be0f"}, {"distinct_range": 406452675599866400, "num_eq": 4000000000, "num_range": 1497709240968777839, "upper_bound": "\\\\x5a31516a833f9b61"}, {"distinct_range": 6130984485407479000, "num_eq": 3000000000, "num_range": 6130984485407478408, "upper_bound": "\\\\x7184fb1f5d"}, {"distinct_range": 3000000, "num_eq": 3411631923695750274, "num_range": 3000000, "upper_bound": "\\\\xadbe40a1838f13570c"}, {"distinct_range": 8602887171730138000, "num_eq": 100000, "num_range": 8602887171730137927, "upper_bound": "\\\\xbdadcf"}, {"distinct_range": 0, "num_eq": 7482811599965455158, "num_range": 0, "upper_bound": "\\\\xe29883"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1576322580286348702, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1120249553106137956, "histo_col_type": "", "name": "__auto__", "null_count": 2611574278778187013, "row_count": 4253482300855963091}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2897280233357763306, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1063051463155790504, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 3135286585830311670, "row_count": 4253482300855963091}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3777429497443124040, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4155042107669579988, "histo_col_type": "", "name": "__auto__", "null_count": 832486568538086525, "row_count": 4253482300855963091}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1402790788913318500, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3298670596297660210, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4253482300855963091}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2935988008830743903, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8866354461008642112}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1366919473885055196, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "-858586299"}, {"distinct_range": 413915200826668160, "num_eq": 2000000, "num_range": 413915200826668180, "upper_bound": "-546534110"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 5749855081888547099, "upper_bound": "1162383082"}, {"distinct_range": 0, "num_eq": 0, "num_range": 90000, "upper_bound": "1510382004"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 8866354461008642112}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52728838580782330, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "05:49:59.429122"}, {"distinct_range": 100000000, "num_eq": 9162806505673182377, "num_range": 100000000, "upper_bound": "21:57:28.374555"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 8866354461008642112}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1979703706822131643, "histo_buckets": [{"distinct_range": 0, "num_eq": 6567750592963269740, "num_range": 0, "upper_bound": "01:17:07.603547"}, {"distinct_range": 50.25564289722668, "num_eq": 4866799604560016022, "num_range": 100, "upper_bound": "04:08:23.430533"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 1249472517557762261, "upper_bound": "07:01:36.007249"}, {"distinct_range": 3000000000, "num_eq": 70, "num_range": 3000000000, "upper_bound": "11:49:53.521126"}, {"distinct_range": 377240336.8319479, "num_eq": 50000000, "num_range": 500000000, "upper_bound": "13:03:11.718631"}, {
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@e9e372122a2e3db7090b5705da07128f828e2441:


        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
        test_1        | --- FAIL: TestCompare (1.35s)
        test_1        |     --- FAIL: TestCompare/postgres (0.75s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.60s)
        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 TIMETZ NULL, col1_2 REGCLASS, col1_3 INET NOT NULL, col1_4 BOX2D NOT NULL, col1_5 REGNAMESPACE NOT NULL, col1_6 DATE NOT NULL, col1_7 DECIMAL, col1_8 OID, col1_9 INT2 NULL, col1_10 DECIMAL, col1_11 REGCLASS, PRIMARY KEY (col1_5 DESC, col1_6 ASC), INDEX (col1_5 ASC, col1_1 DESC, col1_3 DESC, col1_2 ASC) STORING (col1_7, col1_10), INDEX (col1_9, col1_5 ASC) STORING (col1_1, col1_2, col1_4, col1_7, col1_8), INDEX (col1_1, col1_3, col1_10, col1_2, col1_5, col1_4, col1_0 DESC, col1_11 DESC, col1_9 DESC) STORING (col1_7), INDEX (col1_2, col1_9 DESC), UNIQUE (col1_4 ASC, col1_9 ASC, col1_8 ASC, col1_1 DESC, col1_11, col1_3, col1_0 DESC, col1_6 ASC, col1_7 ASC, col1_2, col1_10 ASC, col1_5), UNIQUE (col1_2, col1_5) WHERE (((table1.col1_7 != 1) OR (table1.col1_10 < NaN)) AND (table1.col1_1 > '00:00:00+15:59:00')) OR (table1.col1_0 <= '\xff'), FAMILY (col1_5), FAMILY (col1_3, col1_0, col1_11, col1_1, col1_2, col1_10), FAMILY (col1_4), FAMILY (col1_9), FAMILY (col1_8), FAMILY (col1_6, col1_7));
        test_1        |             CREATE TABLE table2 (col1_5 REGNAMESPACE NOT NULL, col1_6 DATE NOT NULL, col2_2 TIMESTAMP NOT NULL, col2_3 BIT(3) NULL, col2_4 FLOAT8 NULL, col2_5 INT4 NOT NULL, col2_6 INT2 NULL, col2_7 REGPROC NULL, col2_8 FLOAT8 NULL, col2_9 BOOL NOT NULL, PRIMARY KEY (col1_5 DESC, col1_6 ASC, col2_6, col2_3 ASC, col2_5, col2_8 ASC, col2_4, col2_9 ASC, col2_2), INDEX (col2_2 ASC, col2_6, col1_5 ASC, col2_9, col2_7 DESC) WHERE ((((((table2.col2_6 >= (-128):::INT8) AND (table2.col2_8 >= (-1.0):::FLOAT8)) AND (table2.col1_6 > '5874897-12-31':::DATE)) OR (table2.col2_5 > (-32768):::INT8)) AND (table2.col2_4 >= '-Inf':::FLOAT8)) AND (table2.col2_2 < '3000-01-01 00:00:00':::TIMESTAMP)) AND table2.col2_9, UNIQUE (col2_6, col1_5 DESC, col2_9 ASC, col1_6 ASC, col2_4 DESC, col2_7 ASC) WHERE ((table2.col2_4 > '+Inf':::FLOAT8) OR (table2.col2_2 >= '0001-01-01 00:00:00':::TIMESTAMP)) AND (table2.col1_6 != '5874897-12-31':::DATE), UNIQUE (col2_7 DESC, col2_6 DESC, col1_5 ASC, col2_8 ASC, col2_2 DESC, col2_3 ASC) WHERE (((table2.col2_5 >= 127:::INT8) OR (table2.col2_8 > 1.7976931348623157e+308:::FLOAT8)) OR (table2.col2_6 = (-1):::INT8)) AND (table2.col1_6 >= '-infinity':::DATE), FAMILY (col1_5), FAMILY (col2_7, col2_9, col2_6), FAMILY (col2_4, col2_5, col1_6, col2_8), FAMILY (col2_2), FAMILY (col2_3), UNIQUE (col2_9, col1_5) WHERE (((table2.col2_8 <= 5e-324) OR (table2.col2_2 < '0001-01-01 00:00:00')) AND (table2.col2_4 <= -1.0)) AND (table2.col2_6 = 0)) INTERLEAVE IN PARENT table1 (col1_5, col1_6);
        test_1        |             CREATE TABLE table3 (col1_5 REGNAMESPACE NOT NULL, col1_6 DATE NOT NULL, col2_6 INT2 NULL, col2_3 BIT(3) NULL, col2_5 INT4 NOT NULL, col2_8 FLOAT8 NULL, col2_4 FLOAT8 NULL, col2_9 BOOL NOT NULL, col2_2 TIMESTAMP NOT NULL, col3_9 FLOAT8, col3_10 VARCHAR NULL, col3_11 REGCLASS, col3_12 INT8, col3_13 DECIMAL, col3_14 REGCLASS NULL, col3_15 TIMESTAMP, col3_16 UUID NULL, col3_17 REGTYPE, col3_18 OID NULL, col3_19 INT4 NULL, PRIMARY KEY (col1_5 DESC, col1_6 ASC, col2_6, col2_3 ASC, col2_5, col2_8 ASC, col2_4, col2_9 ASC, col2_2, col3_19 ASC, col3_17 ASC, col3_16, col3_12 DESC, col3_10 ASC, col3_15, col3_11), UNIQUE (col3_12 DESC, col3_11 ASC, col3_19 ASC, col3_14 ASC, col2_3 DESC, col3_15, col2_8, col3_16 DESC, col3_10 DESC) STORING (col3_18), UNIQUE (col2_9, col2_3 ASC, col3_19, col2_5 DESC, col3_12 DESC, col3_10, col3_9, col1_6 DESC, col3_18, col2_2, col3_13, col1_5 DESC, col2_8 ASC) WHERE ((((((((((((table3.col2_5 >= 1:::INT8) AND (table3.col3_15 > '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table3.col2_8 >= 1.401298464324817e-45:::FLOAT8)) OR (table3.col3_13 > '-Infinity':::DECIMAL)) OR (table3.col2_4 < 'NaN':::FLOAT8)) OR (table3.col3_12 < 1:::INT8)) AND (table3.col2_6 <= 1:::INT8)) AND (table3.col2_2 >= '3000-01-01 00:00:00':::TIMESTAMP)) OR (table3.col3_10 = 'X':::STRING)) AND (NOT table3.col2_9)) AND (table3.col1_6 > '4714-11-24 BC':::DATE)) AND (table3.col3_19 >= 1:::INT8)) OR (table3.col3_9 >= 3.4028234663852886e+38:::FLOAT8), INDEX (col3_18, col3_13 ASC, col2_3 ASC, col3_19 ASC, col3_12 DESC, col1_6 DESC, col3_14 ASC) STORING (col3_9) WHERE ((((((((table3.col2_9 OR (table3.col3_13 > 'Infinity':::DECIMAL)) AND (table3.col1_6 != 'infinity':::DATE)) AND (table3.col3_9 >= 1.7976931348623157e+308:::FLOAT8)) AND (table3.col2_4 != (-1.0):::FLOAT8)) OR (table3.col2_5 < 32767:::INT8)) AND (table3.col2_6 != 32767:::INT8)) AND (table3.col3_12 > 0:::INT8)) AND (table3.col2_8 < 3.4028234663852886e+38:::FLOAT8)) AND (table3.col2_2 > '-2000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col3_12, col2_4, col2_9 DESC, col2_8 DESC, col3_17 DESC, col3_13, col3_15 ASC) STORING (col3_9, col3_14) WHERE ((((((((((((table3.col3_10 <= e'\x00':::STRING) AND (table3.col2_5 <= 1:::INT8)) AND (table3.col2_2 = '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table3.col2_4 >= (-1.0):::FLOAT8)) OR (table3.col1_6 >= 'infinity':::DATE)) OR (table3.col3_9 <= 1.401298464324817e-45:::FLOAT8)) OR (table3.col3_15 = '0001-01-01 00:00:00':::TIMESTAMP)) AND (table3.col2_6 != 0:::INT8)) AND (table3.col3_13 < 1:::DECIMAL)) AND (NOT table3.col2_9)) OR (table3.col2_8 >= '-Inf':::FLOAT8)) OR (table3.col3_19 > (-1):::INT8)) OR (table3.col3_12 <= 2147483647:::INT8), FAMILY (col2_6, col3_14), FAMILY (col3_16), FAMILY (col3_17), FAMILY (col3_18, col3_12, col3_11), FAMILY (col3_9), FAMILY (col2_9), FAMILY (col2_4, col3_19), FAMILY (col1_5, col2_8, col1_6, col2_5, col3_13, col3_15), FAMILY (col3_10), FAMILY (col2_3, col2_2)) INTERLEAVE IN PARENT table2 (col1_5, col1_6, col2_6, col2_3, col2_5, col2_8, col2_4, col2_9, col2_2);
        test_1        |             CREATE TABLE table4 (col4_0 OID, col4_1 STRING NOT NULL, col4_2 DECIMAL, col4_3 NAME NULL, col4_4 VARCHAR NOT NULL, col4_5 REGCLASS, col4_6 REGTYPE NOT NULL, col4_7 BIT(3) NULL, col4_8 TIME NOT NULL, col4_9 NAME, col4_10 BIT(18), col4_11 FLOAT8 NOT NULL, col4_12 FLOAT4 NULL, col4_13 TIME, col4_14 INT2 NOT NULL, col4_15 "char" NULL, col4_16 TIMESTAMP NOT NULL, PRIMARY KEY (col4_14 DESC), UNIQUE (col4_10 DESC, col4_2 ASC, col4_0 DESC, col4_3 DESC, col4_16 DESC), INDEX (col4_5, col4_2, col4_13 ASC, col4_12 ASC, col4_11 ASC, col4_0, col4_6, col4_15 DESC, col4_1 DESC, col4_9 DESC, col4_3, col4_14 ASC) STORING (col4_4, col4_10) WHERE (((table4.col4_11 <= +Inf) AND (table4.col4_15 != '')) OR (table4.col4_14 = -1)) OR (table4.col4_9 = 'X'), UNIQUE (col4_5 ASC, col4_1, col4_7 ASC, col4_16 ASC, col4_4 ASC, col4_13, col4_6 ASC, col4_9 ASC, col4_0, col4_15 DESC) WHERE (((table4.col4_4 < 'X':::STRING) AND (table4.col4_8 <= '24:00:00':::TIME)) AND (table4.col4_12 <= 3.4028234663852886e+38:::FLOAT8)) OR (table4.col4_13 >= '24:00:00':::TIME), UNIQUE (col4_6 ASC, col4_12 ASC, col4_15 ASC, col4_13 DESC, col4_9 ASC, col4_2 ASC, col4_8 DESC, col4_1, col4_10 ASC, col4_3, col4_16, col4_0, col4_5, col4_14 DESC, col4_4 ASC, col4_7) STORING (col4_11) WHERE (((((table4.col4_11 >= -Inf) OR (table4.col4_12 = 3.4028234663852886e+38)) OR (table4.col4_1 < e'\x00')) OR (table4.col4_8 > '24:00:00')) OR (table4.col4_14 >= -1)) AND (table4.col4_4 <= ''), FAMILY (col4_3, col4_9), FAMILY (col4_11), FAMILY (col4_1), FAMILY (col4_4), FAMILY (col4_12, col4_6, col4_0, col4_5, col4_16, col4_10), FAMILY (col4_15, col4_13), FAMILY (col4_8, col4_14), FAMILY (col4_2), FAMILY (col4_7));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_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": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "808472237"}, {"distinct_range": 0, "num_eq": 3830721199854395252, "num_range": 1000000000, "upper_bound": "1075982625"}, {"distinct_range": 80000000000, "num_eq": 800000000, "num_range": 80000000000, "upper_bound": "1205239969"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 4967142901342706857, "upper_bound": "2662194439"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 1351295726185407314, "upper_bound": "2953034764"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 7128563381411827033, "upper_bound": "3603343609"}, {"distinct_range": 0, "num_eq": 6048433420434203921, "num_range": 0, "upper_bound": "4280805276"}], "histo_col_type": "REGNAMESPACE", "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_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_buckets": [{"distinct_range": 0, "num_eq": 4394718025663571194, "num_range": 0, "upper_bound": "-2301"}, {"distinct_range": 200000, "num_eq": 7351883394508710818, "num_range": 200000, "upper_bound": "1"}, {"distinct_range": 3000000000, "num_eq": 5327922423853557846, "num_range": 3000000000, "upper_bound": "6177"}, {"distinct_range": 0, "num_eq": 7098182537625389033, "num_range": 3000000, "upper_bound": "10354"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 3000000000, "upper_bound": "11897"}, {"distinct_range": 1000000000, "num_eq": 6794006537810237645, "num_range": 1000000000, "upper_bound": "17868"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 7616851658586522780, "upper_bound": "30515"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 800000, "upper_bound": "30728"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_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": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 5439974556065030872, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 61398.72390173821, "num_eq": 100000000, "num_range": 90000, "upper_bound": "08:13:40.92422+02:15:00"}, {"distinct_range": 8400575790844614000, "num_eq": 60000000000, "num_range": 8400575790844613178, "upper_bound": "03:14:15.727535-05:23:00"}, {"distinct_range": 400000000, "num_eq": 10000, "num_range": 400000000, "upper_bound": "09:25:25.712768-00:31:00"}, {"distinct_range": 121733176594900940, "num_eq": 20000000, "num_range": 3454239705495086129, "upper_bound": "03:25:03.235743-07:34:00"}, {"distinct_range": 5242154910831188000, "num_eq": 8857022345800302060, "num_range": 5242154910831187552, "upper_bound": "04:04:05.74654-07:25:00"}, {"distinct_range": 100000000, "num_eq": 8792640210764848656, "num_range": 100000000, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "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_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "956266216"}, {"distinct_range": 7670309008742187000, "num_eq": 800, "num_range": 7670309008742187149, "upper_bound": "1461677835"}, {"distinct_range": 5364123330955929000, "num_eq": 60, "num_range": 5797324791659561460, "upper_bound": "1548419689"}, {"distinct_range": 213490672544799550, "num_eq": 2904985463653084701, "num_range": 6767687842708788429, "upper_bound": "3125438710"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 60000000, "upper_bound": "3253917974"}, {"distinct_range": 1000000, "num_eq": 1000000, "num_range": 1000000, "upper_bound": "3993370993"}, {"distinct_range": 547072180932765600, "num_eq": 2818711149593984610, "num_range": 8606885810410439511, "upper_bound": "4005669243"}, {"distinct_range": 368620858785233800, "num_eq": 8622799026839208124, "num_range": 368620858785233799, "upper_bound": "4180607096"}], "histo_col_type": "REGCLASS", "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_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7641298804575634270, "num_range": 0, "upper_bound": "BOX(-0.25491811433336853 -1.0603475706792416,0.4001866922099572 -0.30242575837335794)"}, {"distinct_range": 0, "num_eq": 4029788177551175147, "num_range": 8728432820630755555, "upper_bound": "BOX(0.03321589898568217 0.7558004316673639,1.6269021788683884 1.73188211765134)"}, {"distinct_range": 6000000, "num_eq": 4859295491473879773, "num_range": 6000000, "upper_bound": "BOX(0.6620385372047657 -0.5679831078476245,1.7777041880911233 -0.32547081771295105)"}, {"distinct_range": 2952596686086966000, "num_eq": 2000, "num_range": 7256858152975974483, "upper_bound": "BOX(0.9087296756336952 -1.0721303752926032,1.5900623275808083 -0.6224120566520751)"}], "histo_col_type": "BOX2D", "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}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41947534283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22142662500, "histo_col_type": "", "name": "__auto__", "null_count": 22993410832, "row_count": 90000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42918263409, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25924722385, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 353649657278277000, "num_eq": 100, "num_range": 3759852110547857346, "upper_bound": "302848750"}, {"distinct_range": 0, "num_eq": 3049563700782591779, "num_range": 4485960607891081652, "upper_bound": "882021908"}, {"distinct_range": 0, "num_eq": 20, "num_range": 2000, "upper_bound": "1043840868"}, {"distinct_range": 0, "num_eq": 3925790946887383775, "num_range": 5691833704371501577, "upper_bound": "2317550979"}, {"distinct_range": 6722809811261613000, "num_eq": 2000000, "num_range": 6722809811261612791, "upper_bound": "2516695130"}, {"distinct_range": 400145612421066400, "num_eq": 9000000, "num_range": 400145612421066364, "upper_bound": "3867574920"}, {"distinct_range": 10000000000, "num_eq": 700, "num_range": 10000000000, "upper_bound": "4222195967"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 25958255014, "row_count": 90000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17935322097, "histo_col_type": "", "name": "__auto__", "null_count": 52291104857, "row_count": 90000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15281521302, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54446215076, "histo_buckets": [{"distinct_range": 0, "num_eq": 3426794410131161433, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 10000000, "num_eq": 0, "num_range": 10000000, "upper_bound": "2748109051"}, {"distinct_range": 6748757181265811000, "num_eq": 40, "num_range": 6748757181265811026, "upper_bound": "3592079628"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63976881545, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000, "num_range": 0, "upper_bound": "1981-06-02 10:27:53.000296"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 253883181744551595, "upper_bound": "1985-02-11 09:02:10.000518"}, {"distinct_range": 5000000, "num_eq": 100000, "num_range": 5000000, "upper_bound": "1999-12-28 20:20:38.000311"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3528276724934616571, "upper_bound": "2009-06-13 03:51:55.000358"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "2025-07-31 01:21:32.000082"}, {"distinct_range": 50000000000, "num_eq": 30000000, "num_range": 50000000000, "upper_bound": "294276-12-31 23:59:59.999999"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69082307468, "histo_col_type": "", "name": "__auto__", "null_count": 27343127038, "row_count": 90000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65094724689, "histo_buckets": [{"distinct_range": 0, "num_eq": 50, "num_range": 0, "upper_bound": "24320"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 61639159758, "row_count": 90000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_col_type": "", "name": "__auto__", "null_count": 50, "row_count": 60}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "INT8", "name": "__auto__", "null_count": 17, "row_count": 60}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31, "histo_col_type": "", "name": "__auto__", "null_count": 52, "row_count": 60}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 58, "row_count": 60}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 60}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_buckets": [{"distinct_range": 0, "num_eq": 8427250320004884762, "num_range": 0, "upper_bound": "431723514"}, {"distinct_range": 603616108913562600, "num_eq": 9048447560532856567, "num_range": 603616108913562590, "upper_bound": "1520350704"}, {"distinct_range": 1300454348.5444262, "num_eq": 7000000000, "num_range": 3000000000, "upper_bound": "2971901576"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_col_type": "", "name": "__auto__", "null_count": 1, "row_count": 60}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 19, "row_count": 60}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 31, "row_count": 60}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 26, "row_count": 60}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 47, "row_count": 60}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39, "histo_buckets": [{"distinct_range": 0, "num_eq": 2447404154397327719, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31, "histo_col_type": "", "name": "__auto__", "null_count": 1, "row_count": 60}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 60}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6671134283254789000, "num_eq": 5291064442440078846, "num_range": 6671134283254788831, "upper_bound": "467071922"}, {"distinct_range": 644998439265691500, "num_eq": 7760967589613667774, "num_range": 1789080837441974404, "upper_bound": "877877512"}, {"distinct_range": 1054410116397686500, "num_eq": 6891945033534979365, "num_range": 6632347496135116179, "upper_bound": "3225943195"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 54, "row_count": 60}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 52, "row_count": 60}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430308368101427219, "histo_col_type": "", "name": "__auto__", "null_count": 5075082431427954990, "row_count": 6110373083440437850}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4124636151432704038, "histo_buckets": [{"distinct_range": 0, "num_eq": 7465565497717839192, "num_range": 0, "upper_bound": "-29015"}, {"distinct_range": 8061617634748549000, "num_eq": 2000000, "num_range": 8061617634748549560, "upper_bound": "-20763"}, {"distinct_range": 558233078822478200, "num_eq": 300000, "num_range": 653483561967022720, "upper_bound": "-16725"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 5477416176049982382, "upper_bound": "-7301"}, {"distinct_range": 20000000, "num_eq": 80000, "num_range": 20000000, "upper_bound": "-128"}, {"distinct_range": 4000000000, "num_eq": 3267922298922510127, "num_range": 4000000000, "upper_bound": "9930"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 1000000000, "upper_bound": "12406"}, {"distinct_range": 6000000000, "num_eq": 2000000, "num_range": 6000000000, "upper_bound": "25096"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3071786496727964969, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2136759721682817545, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1612328484881631678, "histo_col_type": "", "name": "__auto__", "null_count": 3787329612527035997, "row_count": 6110373083440437850}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2050354000662282211, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5568617095140253214, "histo_col_type": "", "name": "__auto__", "null_count": 5970154401262970985, "row_count": 6110373083440437850}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2895224943931458610, "histo_col_type": "", "name": "__auto__", "null_count": 2783892368947720201, "row_count": 6110373083440437850}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3204400621354147797, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 5645547706074442755, "num_range": 3731560963321444760, "upper_bound": "312151467"}, {"distinct_range": 1220739737.534284, "num_eq": 100000000, "num_range": 3000000000, "upper_bound": "644702328"}, {"distinct_range": 0, "num_eq": 100, "num_range": 8000000, "upper_bound": "898250796"}, {"distinct_range": 11275065174318318, "num_eq": 5771974330922954340, "num_range": 8399870976145323501, "upper_bound": "3409089650"}, {"distinct_range": 3539506278166041000, "num_eq": 60000, "num_range": 3539506278166040919, "upper_bound": "4113771514"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1771628935073080844, "histo_col_type": "", "name": "__auto__", "null_count": 805124268919153947, "row_count": 6110373083440437850}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4923416675078148908, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "211341092"}, {"distinct_range": 70000000000, "num_eq": 90, "num_range": 70000000000, "upper_bound": "286233480"}, {"distinct_range": 2609003991849403000, "num_eq": 751588015839435466, "num_range": 2609003991849402836, "upper_bound": "453932774"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 4735972407178024034, "upper_bound": "1361472565"}, {"distinct_range": 2918182307468541000, "num_eq": 584195113687694940, "num_range": 2918182307468540983, "upper_bound": "1378586676"}, {"distinct_range": 8366321337568561000, "num_eq": 1851947490456301633, "num_range": 8366321337568560801, "upper_bound": "1814881922"}, {"distinct_range": 0, "num_eq": 6388147176618957540, "num_range": 418457436177011174, "upper_bound": "2635527731"}, {"distinct_range": 1000000000, "num_eq": 6801340892024418444, "num_range": 1000000000, "upper_bound": "3115100175"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 1374894038142764340, "row_count": 6110373083440437850}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2010621369160297417, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 609259932387434403, "histo_col_type": "", "name": "__auto__", "null_count": 500031636045360798, "row_count": 6110373083440437850}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 728877832716014958, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6110373083440437850}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4699957365767273110, "histo_col_type": "", "name": "__auto__", "null_count": 27730012891411144, "row_count": 6110373083440437850}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 432838230223237534, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "000001101101101011"}, {"distinct_range": 0, "num_eq": 2446963256158264534, "num_range": 2295759178886720432, "upper_bound": "011111111111111111"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "111110100101101110"}], "histo_col_type": "BIT(18)", "name": "__auto__", "null_count": 2023865460957545787, "row_count": 6110373083440437850}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2783929290925752893, "histo_col_type": "", "name": "__auto__", "null_count": 2838379158722022910, "row_count": 6110373083440437850}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('dm', 'ao', 'b', 'orig', 'fdjy', 'rpyaxl');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('oll', 'xie');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('mgvqce', 'v', 'libr', 'chghjp', 'sd');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2526555026381633180, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1074888930"}, {"distinct_range": 6709306381850634000, "num_eq": 600000, "num_range": 8642419351367659302, "upper_bound": "3704375365"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 5342498882816186007}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2647918052564258797, "histo_col_type": "", "name": "__auto__", "null_count": 5065783248476823215, "row_count": 5342498882816186007}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4233344338489089118, "histo_col_type": "", "name": "__auto__", "null_count": 2826917503836820428, "row_count": 5342498882816186007}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1281153546081065199, "histo_buckets": [{"distinct_range": 0, "num_eq": 6677280764472392806, "num_range": 0, "upper_bound": "-20218"}, {"distinct_range": 3088917116964407300, "num_eq": 5193776591923474282, "num_range": 3088917116964407128, "upper_bound": "-20194"}, {"distinct_range": 1187.1474920612022, "num_eq": 10000000000, "num_range": 200000, "upper_bound": "-9451"}, {"distinct_range": 0, "num_eq": 8170127493829975243, "num_range": 0, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 600, "num_range": 4268688028002661277, "upper_bound": "4371"}, {"distinct_range": 5436385548926779000, "num_eq": 3902179120905835046, "num_range": 6146773052198845453, "upper_bound": "16900"}, {"distinct_range": 4000, "num_eq": 8000000, "num_range": 4000, "upper_bound": "20911"}, {"distinct_range": 0, "num_eq": 600, "num_range": 20000, "upper_bound": "25927"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 10000000, "upper_bound": "28450"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 5134943473333115472, "row_count": 5342498882816186007}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3980450864030111478, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5342498882816186007}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 826343536070166288, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 3383581000278978540, "row_count": 5342498882816186007}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3405123063295395283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5342498882816186007}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 926201164456055917, "histo_buckets": [{"distinct_range": 0, "num_eq": 858182333899056788, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 586.5704056035851, "num_eq": 5032191688313326064, "num_range": 80000, "upper_bound": "BOX(-1.1807750514058286 -0.7754043007767661,-1.1049478285242629 0.3302771300707715)"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 6000000, "upper_bound": "BOX(-0.8319678263632475 -1.8314825991663675,0.5477701314244479 -1.0355132678848449)"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 1000, "upper_bound": "BOX(-0.3306658164872447 -0.7958832336074604,-0.03381557392523721 1.5112567483524586)"}, {"distinct_range": 4591231837522286000, "num_eq": 5308885163570345232, "num_range": 6541887689415936406, "upper_bound": "BOX(0.4941966680290569 0.8230097508699468,0.545170038150707 1.732855399238052)"}, {"distinct_range": 0, "num_eq": 5792959910650340793, "num_range": 755884388026716780, "upper_bound": "BOX(0.5359840817329582 -1.1506167904429687,0.7994232088789206 -0.978055554328265)"}, {"distinct_range": 90472.92410721321, "num_eq": 100000, "num_range": 300000, "upper_bound": "BOX(1.922961805213617 -0.7409694498593341,2.07917705013677 0.09821810998615371)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 5342498882816186007}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2332699835437518913, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5342498882816186007}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3144406490060594244, "histo_col_type": "", "name": "__auto__", "null_count": 596831921189073752, "row_count": 5342498882816186007}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1872116867922584348, "histo_col_type": "", "name": "__auto__", "null_count": 2357713769094460286, "row_count": 5342498882816186007}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 137672093200095396, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "01:33:14.450112+14:30:00"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 900000000, "upper_bound": "08:40:38.49442+03:28:00"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 200, "upper_bound": "18:04:06.556179+06:09:00"}, {"distinct_range": 10000000, "num_eq": 40000000, "num_range": 10000000, "upper_bound": "12:39:06.538816-08:16:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 378775012844098550, "row_count": 5342498882816186007}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8286220757678567372, "histo_buckets": [{"distinct_range": 0, "num_eq": 8245147373965754144, "num_range": 0, "upper_bound": "1911273423"}, {"distinct_range": 0, "num_eq": 8914692460089469203, "num_range": 6462866024211230181, "upper_bound": "3525035347"}, {"distinct_range": 90000000000, "num_eq": 4491095988435551154, "num_range": 90000000000, "upper_bound": "3753153617"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 8643803094895515653}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3558771175742774977, "histo_col_type": "", "name": "__auto__", "null_count": 4218206621089617281, "row_count": 8643803094895515653}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1399331457928120221, "histo_col_type": "", "name": "__auto__", "null_count": 2257759433137210439, "row_count": 8643803094895515653}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5923857145723403636, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 3959356346618696927, "row_count": 8643803094895515653}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6328134808799006684, "histo_col_type": "", "name": "__auto__", "null_count": 6883008631724348732, "row_count": 8643803094895515653}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1926823618577480639, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8643803094895515653}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3855066735384492276, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8643803094895515653}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5179196495317793853, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "1981-06-16 02:23:12.000559"}, {"distinct_range": 316479706662280000, "num_eq": 5289073274080183919, "num_range": 471628008222488244, "upper_bound": "1987-03-22 07:20:02.000154"}, {"distinct_range": 6274114496939897000, "num_eq": 8074302182903613227, "num_range": 7227487412388106658, "upper_bound": "2003-08-23 22:31:41.000132"}, {"distinct_range": 2274165980943903500, "num_eq": 1955438809256009964, "num_range": 2274165980943903384, "upper_bound": "2025-08-26 12:41:02.000486"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 8643803094895515653}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 889159358960649120, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8643803094895515653}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2967162395162738642, "histo_buckets": [{"distinct_range": 0, "num_eq": 8415350705426477095, "num_range": 0, "upper_bound": "-28687"}, {"distinct_range": 3652669215410046000, "num_eq": 9049351570616872241, "num_range": 4050977021589611898, "upper_bound": "-7462"}, {"distinct_range": 0, "num_eq": 3658424447107460145, "num_range": 30000, "upper_bound": "-3467"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 100, "upper_bound": "-128"}, {"distinct_range": 1348000907725055000, "num_eq": 8774196851135009739, "num_range": 6883933544085403677, "upper_bound": "7511"}, {"distinct_range": 4048155162465959000, "num_eq": 4960030735457087406, "num_range": 5836138806013954908, "upper_bound": "18940"}, {"distinct_range": 5.121581184120711, "num_eq": 5000, "num_range": 10, "upper_bound": "21824"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 2114488186366156928, "row_count": 8643803094895515653}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1219, "histo_col_type": "", "name": "__auto__", "null_count": 1118, "row_count": 10000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9455, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 70000000, "num_eq": 3257264985234022484, "num_range": 70000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1554, "histo_col_type": "", "name": "__auto__", "null_count": 4913, "row_count": 10000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 530, "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": 2734, "histo_col_type": "", "name": "__auto__", "null_count": 6390, "row_count": 10000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 530, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "384398059"}, {"distinct_range": 1402092563358658800, "num_eq": 3862989372790969169, "num_range": 4981065622733290882, "upper_bound": "3129942887"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 2372036001511858347, "upper_bound": "3210316745"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 2323, "row_count": 10000}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7100, "histo_col_type": "", "name": "__auto__", "null_count": 8019, "row_count": 10000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1523, "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": 7339, "histo_col_type": "", "name": "__auto__", "null_count": 5887, "row_count": 10000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1620, "histo_col_type": "", "name": "__auto__", "null_count": 6228, "row_count": 10000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5018, "histo_col_type": "", "name": "__auto__", "null_count": 7974, "row_count": 10000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4001, "histo_col_type": "", "name": "__auto__", "null_count": 8636, "row_count": 10000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2027, "histo_col_type": "", "name": "__auto__", "null_count": 7510, "row_count": 10000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7207, "histo_buckets": [{"distinct_range": 0, "num_eq": 5173271722062918815, "num_range": 0, "upper_bound": "-6811533962710777028"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 100000, "upper_bound": "-3295549059102592390"}, {"distinct_range": 0, "num_eq": 1470538824759786510, "num_range": 90, "upper_bound": "-2457391741330623031"}, {"distinct_range": 25.77131612396305, "num_eq": 30000000000, "num_range": 50, "upper_bound": "2042942708792098285"}, {"distinct_range": 19118887.82762225, "num_eq": 9051433438499153338, "num_range": 30000000, "upper_bound": "2046302705641701170"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 4489498820214089031, "upper_bound": "4721802544458510468"}, {"distinct_range": 30000, "num_eq": 4414474195953676881, "num_range": 30000, "upper_bound": "6966194362777526481"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 9781, "row_count": 10000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2104, "histo_col_type": "", "name": "__auto__", "null_count": 1993, "row_count": 10000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3321, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 0, "num_range": 40000000000, "upper_bound": "300981567"}, {"distinct_range": 0, "num_eq": 6343812043987479027, "num_range": 90000000000, "upper_bound": "1443317473"}, {"distinct_range": 0, "num_eq": 6886611726412109049, "num_range": 4000000, "upper_bound": "1652348109"}, {"distinct_range": 456917268.09218466, "num_eq": 1988212769606881286, "num_range": 1000000000, "upper_bound": "2553184845"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4980, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7098, "histo_col_type": "", "name": "__auto__", "null_count": 5908, "row_count": 10000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4352, "histo_col_type": "", "name": "__auto__", "null_count": 437, "row_count": 10000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4473, "histo_col_type": "", "name": "__auto__", "null_count": 2190, "row_count": 10000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5109554, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2929262, "histo_col_type": "", "name": "__auto__", "null_count": 1345172, "row_count": 8000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4770348, "histo_col_type": "", "name": "__auto__", "null_count": 2771262, "row_count": 8000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 610331, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "010100111001001101"}, {"distinct_range": 0, "num_eq": 4848787445506704243, "num_range": 6227745541622899597, "upper_bound": "011010101110111110"}, {"distinct_range": 0, "num_eq": 1870592522461933714, "num_range": 0, "upper_bound": "100000000100010100"}, {"distinct_range": 1870876117784083700, "num_eq": 80000, "num_range": 3243074072693218886, "upper_bound": "100010100101000111"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 7731956976385491183, "upper_bound": "100011000001100111"}, {"distinct_range": 10000000, "num_eq": 5689888503476280416, "num_range": 10000000, "upper_bound": "100101011000001001"}], "histo_col_type": "BIT(18)", "name": "__auto__", "null_count": 6972093, "row_count": 8000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5710198, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7146608, "histo_col_type": "", "name": "__auto__", "null_count": 1024546, "row_count": 8000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6379243, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4621623, "histo_col_type": "", "name": "__auto__", "null_count": 4709211, "row_count": 8000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7845712, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 526297335314554556, "num_range": 7408466884601521778, "upper_bound": "388180045"}, {"distinct_range": 28933.31949713854, "num_eq": 8607904961523265161, "num_range": 50000, "upper_bound": "611388808"}, {"distinct_range": 461725784143659840, "num_eq": 8000000, "num_range": 1455781295374412518, "upper_bound": "1952792368"}, {"distinct_range": 3000, "num_eq": 2000000000, "num_range": 3000, "upper_bound": "2062720340"}, {"distinct_range": 0, "num_eq": 7762617083743139738, "num_range": 900, "upper_bound": "2478967535"}, {"distinct_range": 3435276615566373000, "num_eq": 800, "num_range": 4157441880877800794, "upper_bound": "2704198051"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 20000000, "upper_bound": "3383382371"}, {"distinct_range": 7402.312125419993, "num_eq": 50000000000, "num_range": 9000, "upper_bound": "4294678286"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 656597, "row_count": 8000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2224499, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "291127400"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1756748171815857289, "upper_bound": "1596896286"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 485913, "histo_buckets": [{"distinct_range": 0, "num_eq": 4211450169297668115, "num_range": 0, "upper_bound": "-26955"}, {"distinct_range": 60000000000, "num_eq": 139748889109317386, "num_range": 60000000000, "upper_bound": "-11810"}, {"distinct_range": 1000000000, "num_eq": 700, "num_range": 1000000000, "upper_bound": "-11337"}, {"distinct_range": 38824.18512998976, "num_eq": 10000000, "num_range": 90000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 8000000000, "upper_bound": "9172"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 70000, "upper_bound": "10198"}, {"distinct_range": 906.1292591197252, "num_eq": 800, "num_range": 4000, "upper_bound": "27382"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5422111, "histo_col_type": "", "name": "__auto__", "null_count": 2247268, "row_count": 8000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7430656, "histo_col_type": "", "name": "__auto__", "null_count": 5056953, "row_count": 8000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4184762, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3654662, "histo_col_type": "", "name": "__auto__", "null_count": 1107550, "row_count": 8000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7139372, "histo_col_type": "", "name": "__auto__", "null_count": 6647274, "row_count": 8000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7499236, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}]';
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col2_9, col3_11) REFERENCES table2 (col2_9, col1_5) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col1_5, col2_7) REFERENCES table1 (col1_2, col1_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 176, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "7597"}, {"distinct_range": 50000000, "num_eq": 100000000, "num_range": 50000000, "upper_bound": "17797"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 263, "row_count": 400}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 100, "histo_col_type": "", "name": "__auto__", "null_count": 291, "row_count": 400}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 400}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "BOX(-1.4598871272543992 -0.20914099692939642,0.3059470945130899 0.27884663351114114)"}, {"distinct_range": 2555114296452390000, "num_eq": 3611340823853176808, "num_range": 2555114296452389704, "upper_bound": "BOX(-1.1385974026568184 0.8407620106462445,0.16633462690794487 1.4236042529631288)"}, {"distinct_range": 8023591229300097000, "num_eq": 2802579136861146361, "num_range": 8023591229300097129, "upper_bound": "BOX(-0.7394121126269573 0.5885066639071967,-0.3533594515241113 0.6048663582951439)"}, {"distinct_range": 1928803801062003000, "num_eq": 0, "num_range": 3874437593904964241, "upper_bound": "BOX(-0.2876452475512603 -0.4158744545523163,1.586585301138787 0.7192908363241979)"}, {"distinct_range": 5691558679616762000, "num_eq": 1783021970168220425, "num_range": 5691558679616761911, "upper_bound": "BOX(-0.2539471168138313 -0.9672827283573417,0.20131456938746128 -0.3122173541316617)"}, {"distinct_range": 174.55942848531777, "num_eq": 0, "num_range": 700, "upper_bound": "BOX(-0.1739649809642796 -2.515124999564232,1.2590124728420597 1.272591560263539)"}, {"distinct_range": 0, "num_eq": 80, "num_range": 2835220065808343307, "upper_bound": "BOX(0.05597043628350595 0.31695423313285215,2.0700321602484184 0.3853620351790524)"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 3104174583056111725, "upper_bound": "BOX(0.25604066268486136 0.04290986418098615,0.5316351118859863 0.09300968861854497)"}, {"distinct_range": 900, "num_eq": 2416367916741096321, "num_range": 900, "upper_bound": "BOX(0.5737586464807045 -1.0115811252379536,0.8026223154700979 -0.4319995810689134)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 318, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 400}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108, "histo_col_type": "", "name": "__auto__", "null_count": 196, "row_count": 400}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 227, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "00:56:23.682949-03:53:00"}, {"distinct_range": 6866547391589646000, "num_eq": 5447569824268328897, "num_range": 6866547391589646802, "upper_bound": "09:26:34.70687+02:27:00"}, {"distinct_range": 0, "num_eq": 6630712462771057877, "num_range": 400000, "upper_bound": "00:42:00.931392-10:24:00"}, {"distinct_range": 822204513089367000, "num_eq": 6040260355780639574, "num_range": 857280019363551711, "upper_bound": "08:49:27.282274-04:02:00"}, {"distinct_range": 0, "num_eq": 7122890893833999956, "num_range": 0, "upper_bound": "16:41:44.238012-09:04:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 193, "row_count": 400}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_buckets": [{"distinct_range": 0, "num_eq": 6392537948018084422, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4062349609544356000, "num_eq": 8000000000, "num_range": 7802091083175372630, "upper_bound": "2533067375"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6000000000, "upper_bound": "2589621323"}, {"distinct_range": 3147564268840592000, "num_eq": 300000, "num_range": 5720381743902786591, "upper_bound": "2723465455"}, {"distinct_range": 3180378577309690400, "num_eq": 100, "num_range": 3180378577309690254, "upper_bound": "2766360743"}, {"distinct_range": 43.24555091762849, "num_eq": 5198653928997541477, "num_range": 100, "upper_bound": "2842831172"}, {"distinct_range": 8000, "num_eq": 3298204035938308989, "num_range": 8000, "upper_bound": "2919064612"}, {"distinct_range": 60000000000, "num_eq": 6114496702003665484, "num_range": 60000000000, "upper_bound": "3137432689"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 281, "row_count": 400}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 384, "histo_buckets": [{"distinct_range": 0, "num_eq": 6697905899279805146, "num_range": 0, "upper_bound": "4242038330"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 400}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 595, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 100, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "-27456"}, {"distinct_range": 382657398265856900, "num_eq": 50, "num_range": 1306661992955069207, "upper_bound": "-24489"}, {"distinct_range": 95908052.80056615, "num_eq": 1000, "num_range": 100000000, "upper_bound": "-23459"}, {"distinct_range": 200000000, "num_eq": 70000, "num_range": 200000000, "upper_bound": "-21741"}, {"distinct_range": 0, "num_eq": 1758746066150434755, "num_range": 0, "upper_bound": "127"}, {"distinct_range": 2708058321328720400, "num_eq": 6567338530112490535, "num_range": 6213968767631246095, "upper_bound": "4833"}, {"distinct_range": 3000000000, "num_eq": 30, "num_range": 3000000000, "upper_bound": "10283"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 1000000, "upper_bound": "25795"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 403, "row_count": 900}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107, "histo_buckets": [{"distinct_range": 0, "num_eq": 7321194801648446954, "num_range": 0, "upper_bound": "3478528705"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 580, "row_count": 900}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 658, "row_count": 900}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 399, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 526, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "2019-02-07 09:00:22.000568"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 525, "histo_col_type": "", "name": "__auto__", "null_count": 682, "row_count": 900}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 851, "histo_col_type": "", "name": "__auto__", "null_count": 321, "row_count": 900}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 554, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 708, "histo_buckets": [{"distinct_range": 0, "num_eq": 7499071990319809401, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 5625629905021228196, "num_range": 491805611040800925, "upper_bound": "1023985893"}, {"distinct_range": 0, "num_eq": 1476707331507649375, "num_range": 10000000, "upper_bound": "1300475286"}, {"distinct_range": 7455325005006647000, "num_eq": 400000000, "num_range": 7455325005006647088, "upper_bound": "2470034263"}, {"distinct_range": 90000, "num_eq": 5274411369045714040, "num_range": 90000, "upper_bound": "3397092656"}], "histo_col_ty
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@ba1a1440714b8c514f8a994b0a82c426c3ee6e99:

        cockroach1_1  | webui:               http://cockroach1:8080
        cockroach1_1  | sql:                 postgresql://root@cockroach1:26257?sslmode=disable
        cockroach1_1  | RPC client flags:    /cockroach/cockroach <client cmd> --host=cockroach1:26257 --insecure
        cockroach1_1  | logs:                /cockroach-data/logs
        cockroach1_1  | temp dir:            /cockroach-data/cockroach-temp416683368
        cockroach1_1  | external I/O path:   /cockroach-data/extern
        cockroach1_1  | store[0]:            path=/cockroach-data
        cockroach1_1  | storage engine:      pebble
        cockroach1_1  | status:              initialized new cluster
        cockroach1_1  | clusterID:           e7dd8345-0b04-496f-baf5-1ff8a6bf68ca
        cockroach1_1  | nodeID:              1
        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-02-13 06:12:22.070 UTC [48] LOG:  received fast shutdown request
        postgres_1    | .2021-02-13 06:12:22.072 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-02-13 06:12:22.075 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-02-13 06:12:22.079 UTC [50] LOG:  shutting down
        postgres_1    | 2021-02-13 06:12:22.186 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-02-13 06:12:22.281 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-13 06:12:22.281 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-13 06:12:22.284 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-13 06:12:22.298 UTC [85] LOG:  database system was shut down at 2021-02-13 06:12:22 UTC
        postgres_1    | 2021-02-13 06:12:22.303 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (602.56s)
        test_1        |     --- FAIL: TestCompare/postgres (1.43s)
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@9969862335cf501c1aa67a4aaf018ad5dc8e85e8:

        test_1        |         compare_test.go:155: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("fC"),
        test_1        |             +   string("falseC"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT (false::BOOL || 'C'::TEXT::TEXT)::TEXT AS col_33829) AS tab_20266
        test_1        |             ORDER BY
        test_1        |                 col_33829 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.98s)
        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 INT4 NULL, col1_1 REGPROC NULL, col1_2 INT8 NOT NULL, col1_3 REGCLASS NOT NULL, col1_4 REGPROCEDURE NOT NULL, col1_5 BOX2D NULL, col1_6 REGTYPE NOT NULL, PRIMARY KEY (col1_6 ASC), INDEX (col1_1 ASC, col1_4 DESC) STORING (col1_0, col1_2, col1_3, col1_5) WHERE (table1.col1_2 <= 0:::INT8) AND (table1.col1_0 < 1:::INT8), UNIQUE (col1_6 ASC) STORING (col1_0, col1_1, col1_3), FAMILY (col1_2), FAMILY (col1_3), FAMILY (col1_4), FAMILY (col1_6, col1_0, col1_5), FAMILY (col1_1));
        test_1        |             CREATE TABLE table2 (col1_6 REGTYPE NOT NULL, col2_1 TIMESTAMP NULL, col2_2 BOOL, col2_3 BIT(31), col2_4 INT8, col2_5 FLOAT4 NOT NULL, col2_6 CHAR NOT NULL, PRIMARY KEY (col1_6 ASC, col2_2 DESC), FAMILY (col2_3), FAMILY (col2_2), FAMILY (col2_6), FAMILY (col1_6), FAMILY (col2_4), FAMILY (col2_1, col2_5), UNIQUE (col2_2) WHERE ((table2.col2_4 = 127) AND (table2.col2_1 >= '294276-12-31 23:59:59.999999')) OR (table2.col2_5 < -1.0)) INTERLEAVE IN PARENT table1 (col1_6);
        test_1        |             CREATE TABLE table3 (col1_6 REGTYPE NOT NULL, col2_2 BOOL, col3_2 REGCLASS, col3_3 UUID, col3_4 DATE NULL, col3_5 REGNAMESPACE NULL, col3_6 STRING, col3_7 BIT NOT NULL, col3_8 REGTYPE, col3_9 REGCLASS NULL, col3_10 TIME, col3_11 BIT(18), PRIMARY KEY (col1_6 ASC, col2_2 DESC, col3_10 DESC, col3_7, col3_3, col3_8), UNIQUE (col3_11 ASC, col3_4, col3_5 DESC) WHERE (((table3.col3_10 <= '24:00:00':::TIME) OR (NOT table3.col2_2)) OR (table3.col3_6 != '':::STRING)) OR (table3.col3_4 <= 'infinity':::DATE), INDEX (col3_3 ASC, col3_4 DESC, col3_10 ASC, col1_6 ASC, col3_11, col3_6 DESC, col3_8, col2_2, col3_7), FAMILY (col3_6), FAMILY (col3_11, col3_4, col3_7), FAMILY (col3_9), FAMILY (col2_2, col3_10), FAMILY (col3_8, col3_2), FAMILY (col3_5), FAMILY (col3_3), FAMILY (col1_6)) INTERLEAVE IN PARENT table2 (col1_6, col2_2);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9206, "histo_col_type": "", "name": "__auto__", "null_count": 5713, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8729, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 1066, "row_count": 10000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3728, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4659, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2676, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8397, "histo_col_type": "", "name": "__auto__", "null_count": 2803, "row_count": 10000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8819, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "1101281046"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 4791709429273422997, "upper_bound": "1244596352"}, {"distinct_range": 7751370413597031000, "num_eq": 3922408712879861370, "num_range": 7751370413597031894, "upper_bound": "1654037998"}, {"distinct_range": 232557.40789041264, "num_eq": 2559233314101574471, "num_range": 1000000, "upper_bound": "1833766908"}, {"distinct_range": 1333608217127042300, "num_eq": 700, "num_range": 2949207025054157062, "upper_bound": "2486222516"}, {"distinct_range": 5971068097316223000, "num_eq": 898620002534028268, "num_range": 5971068097316222552, "upper_bound": "2867564768"}, {"distinct_range": 0, "num_eq": 7390459483296935928, "num_range": 2000, "upper_bound": "3056579867"}, {"distinct_range": 0, "num_eq": 118348618541089883, "num_range": 7074210998685678641, "upper_bound": "3127178664"}, {"distinct_range": 80000000, "num_eq": 200000000, "num_range": 80000000, "upper_bound": "3250627629"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 10000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4690487283262214020, "histo_buckets": [{"distinct_range": 0, "num_eq": 3559443060576834420, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5666229048271959108}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2648512664513535860, "histo_col_type": "", "name": "__auto__", "null_count": 4456461119011975055, "row_count": 5666229048271959108}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3499275810303907505, "histo_col_type": "", "name": "__auto__", "null_count": 1859804684206881991, "row_count": 5666229048271959108}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4034586777132549836, "histo_col_type": "", "name": "__auto__", "null_count": 4138891898522042866, "row_count": 5666229048271959108}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3553187726836154468, "histo_col_type": "", "name": "__auto__", "null_count": 5114519857219643156, "row_count": 5666229048271959108}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1311449394399013869, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5666229048271959108}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4754103061553568427, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5666229048271959108}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8786938, "histo_col_type": "", "name": "__auto__", "null_count": 9674361, "row_count": 40000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38015692, "histo_col_type": "", "name": "__auto__", "null_count": 17305760, "row_count": 40000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3359033, "histo_col_type": "", "name": "__auto__", "null_count": 26796817, "row_count": 40000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2896411, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14325663, "histo_col_type": "", "name": "__auto__", "null_count": 28334591, "row_count": 40000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35992863, "histo_col_type": "", "name": "__auto__", "null_count": 8273614, "row_count": 40000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17896387, "histo_col_type": "", "name": "__auto__", "null_count": 17702097, "row_count": 40000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1541972, "histo_col_type": "", "name": "__auto__", "null_count": 13531177, "row_count": 40000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21521685, "histo_buckets": [{"distinct_range": 0, "num_eq": 5465923340763628967, "num_range": 0, "upper_bound": "000100100011100001"}, {"distinct_range": 7.948402306477992, "num_eq": 7807637851950251544, "num_range": 10, "upper_bound": "001001110101110100"}, {"distinct_range": 3866920590672980000, "num_eq": 3007731172808586576, "num_range": 5124659258988205747, "upper_bound": "001111101000000001"}, {"distinct_range": 0, "num_eq": 8024867313776349449, "num_range": 0, "upper_bound": "011111111111111111"}, {"distinct_range": 0, "num_eq": 3869583284577754680, "num_range": 600000000, "upper_bound": "111111000100011100"}], "histo_col_type": "BIT(18)", "name": "__auto__", "null_count": 7860220, "row_count": 40000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33056625, "histo_col_type": "", "name": "__auto__", "null_count": 16201109, "row_count": 40000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4009265, "histo_buckets": [{"distinct_range": 0, "num_eq": 2848255430548590033, "num_range": 0, "upper_bound": "1152001272"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 70000, "upper_bound": "1339301232"}, {"distinct_range": 100, "num_eq": 50000000000, "num_range": 100, "upper_bound": "1688529796"}, {"distinct_range": 80000000, "num_eq": 0, "num_range": 80000000, "upper_bound": "2009000061"}, {"distinct_range": 3036761650.7361665, "num_eq": 1000000000, "num_range": 8000000000, "upper_bound": "3046316750"}, {"distinct_range": 62.597319241790515, "num_eq": 90000, "num_range": 1000, "upper_bound": "3643293041"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 40000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17077165, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "a1225bd9-4065-46b5-b412-9973dbb9c35a"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 13465782, "row_count": 40000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('jbbn', 'yr');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('htrq', 'bnr', 'lw', 'lh');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('mbq', 'm', 'g', 'yzhs', 'te');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('ohlk', 'fpcm', 'stos');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4636579, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1097231, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3606550, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 503102, "histo_col_type": "", "name": "__auto__", "null_count": 4747544, "row_count": 9000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8356086, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8737321, "histo_col_type": "", "name": "__auto__", "null_count": 1742073, "row_count": 9000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8421880, "histo_buckets": [{"distinct_range": 0, "num_eq": 2726921767008171036, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6919387765583428000, "num_eq": 90000, "num_range": 6919387765583427344, "upper_bound": "454794134"}, {"distinct_range": 0, "num_eq": 7636227594057361143, "num_range": 1436712170707575606, "upper_bound": "2132453638"}, {"distinct_range": 743767864.4538817, "num_eq": 20000000, "num_range": 4000000000, "upper_bound": "2599163337"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 7328011274917841889, "upper_bound": "2671964399"}, {"distinct_range": 3122574583117516000, "num_eq": 3633008070958976199, "num_range": 5561723520971390587, "upper_bound": "3551197993"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 2841580, "row_count": 9000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1077334467765637723, "histo_col_type": "", "name": "__auto__", "null_count": 1283415105778720925, "row_count": 1927492194863825850}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108331954897343799, "histo_col_type": "", "name": "__auto__", "null_count": 1859829211899297343, "row_count": 1927492194863825850}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 947534719405846903, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1927492194863825850}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1383287778352055002, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1927492194863825850}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1008724608623422404, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 1927492194863825850}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1555505382767371096, "histo_col_type": "", "name": "__auto__", "null_count": 1377329877683347314, "row_count": 1927492194863825850}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1554655202378061156, "histo_col_type": "", "name": "__auto__", "null_count": 162818689175147955, "row_count": 1927492194863825850}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1117, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "442179203"}, {"distinct_range": 0, "num_eq": 1770431318096079300, "num_range": 3288885944512805734, "upper_bound": "1114165263"}, {"distinct_range": 2685603482566153000, "num_eq": 90000000000, "num_range": 3488595159818425486, "upper_bound": "2573845144"}, {"distinct_range": 977781.0207514707, "num_eq": 50000000, "num_range": 1000000, "upper_bound": "2922588222"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "3330938172"}, {"distinct_range": 0, "num_eq": 4195617256446236146, "num_range": 400000, "upper_bound": "3618709560"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2081, "histo_col_type": "", "name": "__auto__", "null_count": 1974, "row_count": 3000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1290, "histo_col_type": "", "name": "__auto__", "null_count": 670, "row_count": 3000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2238, "histo_buckets": [{"distinct_range": 0, "num_eq": 2032115638535544609, "num_range": 0, "upper_bound": "3359e605-9738-43ff-9097-a744a7feaa0d"}, {"distinct_range": 166912422520372380, "num_eq": 7000000000, "num_range": 976351687659808041, "upper_bound": "5e95fb13-2b5d-4f9e-a0d2-8463066de370"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1573, "row_count": 3000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 341, "histo_col_type": "", "name": "__auto__", "null_count": 1424, "row_count": 3000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60, "histo_col_type": "", "name": "__auto__", "null_count": 323, "row_count": 3000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1451, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2495, "histo_col_type": "", "name": "__auto__", "null_count": 2900, "row_count": 3000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 789, "histo_col_type": "", "name": "__auto__", "null_count": 622, "row_count": 3000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1410, "histo_col_type": "", "name": "__auto__", "null_count": 73, "row_count": 3000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 618, "histo_col_type": "", "name": "__auto__", "null_count": 2803, "row_count": 3000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 348, "histo_buckets": [{"distinct_range": 0, "num_eq": 84807841857375212, "num_range": 0, "upper_bound": "001010100011000001"}, {"distinct_range": 3.8331518356891863, "num_eq": 300000, "num_range": 80, "upper_bound": "010010101100001011"}, {"distinct_range": 400, "num_eq": 8130638717681861886, "num_range": 400, "upper_bound": "011111111111111111"}, {"distinct_range": 0, "num_eq": 700, "num_range": 20000, "upper_bound": "100010111110111011"}, {"distinct_range": 90000, "num_eq": 40, "num_range": 90000, "upper_bound": "101100101011111000"}, {"distinct_range": 0, "num_eq": 5268234804054200100, "num_range": 9105275454166845760, "upper_bound": "101110101111010000"}, {"distinct_range": 145294739485876030, "num_eq": 70000000, "num_range": 908636063141089282, "upper_bound": "110110100110110100"}, {"distinct_range": 271567882029121540, "num_eq": 7062915969286192888, "num_range": 378890334829077231, "upper_bound": "111011101101110011"}], "histo_col_type": "BIT(18)", "name": "__auto__", "null_count": 2494, "row_count": 3000}]';
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col2_2) REFERENCES table2 (col2_2) ON DELETE CASCADE ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 40}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_buckets": [{"distinct_range": 0, "num_eq": 3273775529110683668, "num_range": 0, "upper_bound": "2465287657"}, {"distinct_range": 0, "num_eq": 4180099832555120397, "num_range": 7000, "upper_bound": "3498953830"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 40}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 40}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 4, "row_count": 40}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2822260693038196111, "histo_buckets": [{"distinct_range": 0, "num_eq": 2945978239400410463, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 27573.30822086418, "num_eq": 10000, "num_range": 70000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 985941477492157298, "row_count": 5375434431521706896}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1204689956516862006, "histo_col_type": "", "name": "__auto__", "null_count": 2982948381884690497, "row_count": 5375434431521706896}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5118202057114323460, "histo_col_type": "", "name": "__auto__", "null_count": 1629147675827176980, "row_count": 5375434431521706896}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1657826964899220549, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5375434431521706896}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 221306966313631889, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5375434431521706896}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3301891385329904482, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "1050696298"}, {"distinct_range": 0, "num_eq": 5540606796838961386, "num_range": 0, "upper_bound": "1680653296"}, {"distinct_range": 2447348161446350300, "num_eq": 3987669084253085258, "num_range": 3284988977296878491, "upper_bound": "2061312148"}, {"distinct_range": 0, "num_eq": 4265094362275816638, "num_range": 200000, "upper_bound": "4275967381"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5375434431521706896}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 177906370510973197, "histo_col_type": "", "name": "__auto__", "null_count": 4194271172852141723, "row_count": 5375434431521706896}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13391407166, "histo_buckets": [{"distinct_range": 0, "num_eq": 2143691163259110326, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 40, "num_eq": 8090848290730173509, "num_range": 40, "upper_bound": "60162585"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 8086079513998441341, "upper_bound": "488039372"}, {"distinct_range": 7000, "num_eq": 70000, "num_range": 7000, "upper_bound": "1005944975"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 5598882496494320962, "upper_bound": "1874298528"}, {"distinct_range": 0, "num_eq": 6887936734019435663, "num_range": 7055995581680176344, "upper_bound": "3510115046"}, {"distinct_range": 6882173879141192000, "num_eq": 7412094445287391443, "num_range": 7099588279073274978, "upper_bound": "3547738998"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12104203051, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 310943281039179300, "num_eq": 8000000, "num_range": 310943281039179358, "upper_bound": "2950c28d-383c-4e97-9e81-06f2768ba983"}, {"distinct_range": 4832033931998324000, "num_eq": 10000000, "num_range": 6726918537679769481, "upper_bound": "3b153476-d4bf-42e3-b5d1-a588e09d2538"}, {"distinct_range": 7186489721932492000, "num_eq": 200, "num_range": 7186489721932491812, "upper_bound": "5a926904-105b-42d3-89fc-f1e16f97eced"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "c410c4a6-f8bd-4191-bc4f-3a95b8362953"}, {"distinct_range": 57523.946394347804, "num_eq": 4561699883774966398, "num_range": 100000, "upper_bound": "d8bed886-a43b-4bf7-b797-c14b290be028"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 16308762837, "row_count": 20000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 693653703, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4744735076, "histo_col_type": "", "name": "__auto__", "null_count": 11210612643, "row_count": 20000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8975973873, "histo_col_type": "", "name": "__auto__", "null_count": 2731085767, "row_count": 20000000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5574981065, "histo_col_type": "", "name": "__auto__", "null_count": 8667067676, "row_count": 20000000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5701141456, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "001111000110000101"}, {"distinct_range": 80000000000, "num_eq": 30000, "num_range": 80000000000, "upper_bound": "011100010001110001"}, {"distinct_range": 3874728690392751000, "num_eq": 7069380994023862458, "num_range": 6499607793426209453, "upper_bound": "011111111111111111"}, {"distinct_range": 1966430266880827400, "num_eq": 6000000000, "num_range": 1966430266880827366, "upper_bound": "101010111101101001"}, {"distinct_range": 0, "num_eq": 300, "num_range": 6366390936243883278, "upper_bound": "111000001101110000"}, {"distinct_range": 0, "num_eq": 300, "num_range": 0, "upper_bound": "111101000000101100"}], "histo_col_type": "BIT(18)", "name": "__auto__", "null_count": 16414576151, "row_count": 20000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 362115533, "histo_col_type": "", "name": "__auto__", "null_count": 11883345138, "row_count": 20000000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11386098825, "histo_col_type": "", "name": "__auto__", "null_count": 3142047800, "row_count": 20000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9560874976, "histo_col_type": "", "name": "__auto__", "null_count": 9990845709, "row_count": 20000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3589967209, "histo_col_type": "", "name": "__auto__", "null_count": 11925019429, "row_count": 20000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18185698935, "histo_col_type": "", "name": "__auto__", "null_count": 10167867766, "row_count": 20000000000}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: there is no unique constraint matching given keys for referenced table table2 (SQLSTATE 23503)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@5971ecb9dd1a25c81cd6012d6be1ff922802eae5:

        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-02-15 06:12:29.490 UTC [48] LOG:  received fast shutdown request
        postgres_1    | .2021-02-15 06:12:29.492 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-02-15 06:12:29.494 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-02-15 06:12:29.499 UTC [50] LOG:  shutting down
        postgres_1    | 2021-02-15 06:12:29.585 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-02-15 06:12:29.600 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-15 06:12:29.600 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-15 06:12:29.604 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-15 06:12:29.620 UTC [85] LOG:  database system was shut down at 2021-02-15 06:12:29 UTC
        postgres_1    | 2021-02-15 06:12:29.625 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (1.11s)
        test_1        |     --- FAIL: TestCompare/postgres (0.63s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.49s)
        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 INT2, col1_1 "char" NOT NULL, col1_2 REGCLASS, col1_3 INT8 NULL, col1_4 UUID NOT NULL, col1_5 TIMETZ, col1_6 "char", col1_7 DECIMAL NOT NULL, col1_8 UUID, col1_9 TIMESTAMPTZ NOT NULL, col1_10 REGTYPE NULL, col1_11 DECIMAL NOT NULL, col1_12 INT2, col1_13 TIME, col1_14 INT4 NOT NULL, col1_15 BIT(46) NOT NULL, UNIQUE (col1_9 ASC, col1_13 DESC, col1_15, col1_1 ASC, col1_7 DESC, col1_12, col1_8 DESC, col1_2, col1_3 DESC, col1_0 DESC) STORING (col1_5, col1_6, col1_10, col1_11) WHERE table1.col1_12 <= 0:::INT8, UNIQUE (col1_10, col1_2 DESC, col1_9 DESC, col1_11 ASC, col1_7, col1_1, col1_13 ASC) WHERE ((((((((((table1.col1_0 != 32767) AND (table1.col1_7 > 1)) OR (table1.col1_12 > -1)) AND (table1.col1_6 >= '"')) AND (table1.col1_13 >= '00:00:00')) OR (table1.col1_5 < '00:00:00+15:59:00')) AND (table1.col1_14 <= 32767)) AND (table1.col1_3 < -32768)) OR (table1.col1_1 < '"')) OR (table1.col1_11 = Infinity)) AND (table1.col1_9 > '294276-12-31 23:59:59.999999+00:00'), UNIQUE (col1_7) WHERE table1.col1_1 <= '', FAMILY (col1_6, col1_14, col1_0), FAMILY (col1_10, col1_2), FAMILY (col1_4), FAMILY (col1_8), FAMILY (col1_15, col1_1), FAMILY (col1_7), FAMILY (col1_12), FAMILY (col1_11), FAMILY (col1_3, col1_13, col1_9), FAMILY (col1_5));
        test_1        |             CREATE TABLE table2 (col2_0 REGCLASS NOT NULL, col2_1 INT4[] NULL, col2_2 REGCLASS NOT NULL, col2_3 NAME, col2_4 DECIMAL NOT NULL, col2_5 TIMESTAMPTZ NULL, col2_6 INT2 NOT NULL, col2_7 INT2 NOT NULL, col2_8 FLOAT4 NULL, col2_9 STRING NULL, col2_10 DECIMAL NOT NULL, PRIMARY KEY (col2_2, col2_0, col2_10), INDEX (col2_8, col2_7 ASC, col2_2, col2_4 ASC) STORING (col2_5, col2_6) WHERE ((table2.col2_8 <= '+Inf':::FLOAT8) OR (table2.col2_6 = 0:::INT8)) AND (table2.col2_3 >= e'\U00002603':::STRING), INDEX (col2_5, col2_9 DESC, col2_3 DESC, col2_7 ASC, col2_4, col2_8, col2_6, col2_0 ASC, col2_10 DESC) WHERE table2.col2_10 > 'NaN':::DECIMAL, FAMILY (col2_10, col2_7), FAMILY (col2_1), FAMILY (col2_0), FAMILY (col2_3), FAMILY (col2_6), FAMILY (col2_9, col2_4), FAMILY (col2_8), FAMILY (col2_2), FAMILY (col2_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3764, "histo_col_type": "", "name": "__auto__", "null_count": 2585, "row_count": 6000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4627, "histo_col_type": "", "name": "__auto__", "null_count": 5491, "row_count": 6000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3046, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 527, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 446, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 15806.11898310995, "num_eq": 90, "num_range": 30000, "upper_bound": "1065433934"}, {"distinct_range": 0, "num_eq": 6695210471498299309, "num_range": 5000000000, "upper_bound": "1686731554"}, {"distinct_range": 627022210131616400, "num_eq": 957160643925452035, "num_range": 1343005151800722647, "upper_bound": "2558431918"}, {"distinct_range": 0, "num_eq": 3036736666799592457, "num_range": 70000, "upper_bound": "3998771518"}, {"distinct_range": 0, "num_eq": 9084928663705709564, "num_range": 3027427102342350953, "upper_bound": "4082893468"}, {"distinct_range": 0, "num_eq": 1838980425891087406, "num_range": 1112177107177093868, "upper_bound": "4206064024"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 4871, "row_count": 6000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 838, "histo_col_type": "", "name": "__auto__", "null_count": 4638, "row_count": 6000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1401, "histo_col_type": "", "name": "__auto__", "null_count": 4006, "row_count": 6000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2686, "histo_col_type": "", "name": "__auto__", "null_count": 4156, "row_count": 6000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3615, "histo_col_type": "", "name": "__auto__", "null_count": 1536, "row_count": 6000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4822, "histo_col_type": "", "name": "__auto__", "null_count": 4034, "row_count": 6000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4606, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "1977-03-18 06:48:35.000507+00:00"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "1987-07-02 21:48:02.000415+00:00"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 1868806498902405313, "upper_bound": "2000-11-15 05:46:22.000864+00:00"}, {"distinct_range": 0, "num_eq": 6030644609586893028, "num_range": 8996813698783017203, "upper_bound": "2005-04-20 05:07:22.000776+00:00"}, {"distinct_range": 0, "num_eq": 5626093048519976969, "num_range": 5908180001445574953, "upper_bound": "2018-11-28 22:11:55.000874+00:00"}, {"distinct_range": 4852955699351686000, "num_eq": 1578880028856949290, "num_range": 4852955699351685633, "upper_bound": "2019-05-04 09:49:59.000455+00:00"}, {"distinct_range": 277335580.91952413, "num_eq": 844420798913094242, "num_range": 400000000, "upper_bound": "2020-10-06 20:33:33.000401+00:00"}, {"distinct_range": 3694963032313938400, "num_eq": 90000000000, "num_range": 3694963032313938626, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2919, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3077, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2723, "histo_col_type": "", "name": "__auto__", "null_count": 1770, "row_count": 6000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4168, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5164, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3245551310125498117, "histo_buckets": [{"distinct_range": 0, "num_eq": 7421847512153744470, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 749790.5012054121, "num_eq": 3278448631189691190, "num_range": 800000, "upper_bound": "195012493"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 443308350153802014, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30469485212838547, "histo_col_type": "", "name": "__auto__", "null_count": 2191837531384383872, "row_count": 6663142969446362964}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5643774267389524484, "histo_buckets": [{"distinct_range": 0, "num_eq": 4310557108723511110, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 6000000, "upper_bound": "1990-04-15 03:38:25.000062+00:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1992-06-27 07:20:32.000101+00:00"}, {"distinct_range": 0, "num_eq": 8793547099653964275, "num_range": 0, "upper_bound": "1997-04-26 05:38:21.000635+00:00"}, {"distinct_range": 3798761645740662000, "num_eq": 2320389010820675014, "num_range": 3798761645740661773, "upper_bound": "2001-08-24 19:16:57.000538+00:00"}, {"distinct_range": 0, "num_eq": 40, "num_range": 1000000, "upper_bound": "2005-08-02 13:54:18.000444+00:00"}, {"distinct_range": 127755753370450460, "num_eq": 30000000000, "num_range": 2969044325092714009, "upper_bound": "2006-07-04 13:20:26.000249+00:00"}, {"distinct_range": 5000, "num_eq": 7629334918946974755, "num_range": 5000, "upper_bound": "2016-12-15 01:33:20.000686+00:00"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 4047485265143985195, "upper_bound": "2030-10-29 15:26:15.000644+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 366112225599091923, "row_count": 6663142969446362964}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74123961307593439, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2982255938044925276, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1779324930636591307, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "-3.6246416568756104"}, {"distinct_range": 0, "num_eq": 5703981058417747764, "num_range": 829390889121408437, "upper_bound": "-1.1546635627746582"}, {"distinct_range": 50, "num_eq": 9000000000, "num_range": 50, "upper_bound": "-1.0"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 481928835031977957, "upper_bound": "-0.5599135160446167"}, {"distinct_range": 630.8754287947296, "num_eq": 40, "num_range": 20000, "upper_bound": "-0.4644906222820282"}, {"distinct_range": 1000, "num_eq": 700000, "num_range": 1000, "upper_bound": "-0.17014740407466888"}, {"distinct_range": 19.534917074350243, "num_eq": 8000, "num_range": 30, "upper_bound": "0.6290709972381592"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 3701055953799232274, "row_count": 6663142969446362964}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1149906786789592909, "histo_col_type": "", "name": "__auto__", "null_count": 414657416384721734, "row_count": 6663142969446362964}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5394310236746772493, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 683661152271123725, "histo_col_type": "", "name": "__auto__", "null_count": 3255243311676397543, "row_count": 6663142969446362964}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5145300631349733191, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6663142969446362964}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('aam', 'enry', 'tkb', 'rw', 'des');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"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_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_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_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": ["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_10"], "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": "230329153"}, {"distinct_range": 412389506085677800, "num_eq": 7568697711230505904, "num_range": 412389506085677822, "upper_bound": "395991800"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 3783537000078200410, "upper_bound": "1229309930"}], "histo_col_type": "REGTYPE", "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_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": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "1979-03-26 07:52:35.000838+00:00"}, {"distinct_range": 1891096318266934500, "num_eq": 496454460806103483, "num_range": 4866434943460602384, "upper_bound": "2024-08-10 00:12:06.000991+00:00"}, {"distinct_range": 5000, "num_eq": 2794214512634870652, "num_range": 5000, "upper_bound": "2029-12-12 17:39:57.000401+00:00"}], "histo_col_type": "TIMESTAMPTZ", "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_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_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": ["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_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_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": ["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}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17848462420, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "111896214"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1660354816, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12334613463, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10535552847, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5699355303, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 900061686, "histo_col_type": "", "name": "__auto__", "null_count": 3868838487, "row_count": 20000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9201682245, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "1970-08-07 22:35:26.000224+00:00"}, {"distinct_range": 0, "num_eq": 5154009307280512692, "num_range": 20000000, "upper_bound": "1980-06-11 01:48:39.000886+00:00"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 10000000, "upper_bound": "1987-01-12 20:09:42.000386+00:00"}, {"distinct_range": 0, "num_eq": 8482292743864999781, "num_range": 3000000, "upper_bound": "1999-11-21 20:08:32.000587+00:00"}, {"distinct_range": 3796534066782892000, "num_eq": 3098252569360825598, "num_range": 4343692975687420645, "upper_bound": "2012-10-26 18:57:48.000404+00:00"}, {"distinct_range": 0, "num_eq": 8527006965276942903, "num_range": 8900378080833669315, "upper_bound": "2017-03-07 06:58:30.000156+00:00"}, {"distinct_range": 1261981332238394400, "num_eq": 1262230501074539487, "num_range": 1766235601878032117, "upper_bound": "2025-11-25 15:47:55.000191+00:00"}, {"distinct_range": 0, "num_eq": 3913868771544115024, "num_range": 8000000, "upper_bound": "2030-03-10 04:36:24.000738+00:00"}, {"distinct_range": 4425539317148428300, "num_eq": 20, "num_range": 8690069932241352438, "upper_bound": "2031-09-26 16:10:14.000335+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 3936959281, "row_count": 20000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7011586952, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "-1.5090677738189697"}, {"distinct_range": 118948949570856540, "num_eq": 8359039876739301476, "num_range": 124248858160724211, "upper_bound": "-0.8568615317344666"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3264412200247029652, "upper_bound": "-0.5050467252731323"}, {"distinct_range": 0, "num_eq": 20, "num_range": 800, "upper_bound": "0.2635083794593811"}, {"distinct_range": 0, "num_eq": 4006596495437031509, "num_range": 8857876444165227418, "upper_bound": "0.45774519443511963"}, {"distinct_range": 9000000, "num_eq": 8172371256976811785, "num_range": 9000000, "upper_bound": "0.4793725907802582"}, {"distinct_range": 7651.915355390597, "num_eq": 9123913802198319366, "num_range": 400000, "upper_bound": "0.7451812624931335"}, {"distinct_range": 898.2202300328657, "num_eq": 100000000000, "num_range": 400000, "upper_bound": "1.9069044589996338"}, {"distinct_range": 1301612094873003000, "num_eq": 1000, "num_range": 3538479954059333783, "upper_bound": "1.9179121255874634"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 341034859, "row_count": 20000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 911923116, "histo_col_type": "", "name": "__auto__", "null_count": 18065753822, "row_count": 20000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 115603072, "histo_col_type": "", "name": "__auto__", "null_count": 13085916677, "row_count": 20000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7776826799, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_4) REFERENCES table1 (col1_7);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1428260874402937838, "histo_col_type": "", "name": "__auto__", "null_count": 1142227144148624314, "row_count": 1580694485024041528}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296406734038139909, "histo_col_type": "", "name": "__auto__", "null_count": 1391473372413437189, "row_count": 1580694485024041528}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 444608906237732111, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 992702758017488089, "histo_col_type": "", "name": "__auto__", "null_count": 1411697811945558213, "row_count": 1580694485024041528}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1117891091163359156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285626254182765821, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1005887574551437814, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91735512718969986, "histo_col_type": "", "name": "__auto__", "null_count": 1364953003987920336, "row_count": 1580694485024041528}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 640418297598464113, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 767340560464600251, "histo_col_type": "", "name": "__auto__", "null_count": 1058087866338595900, "row_count": 1580694485024041528}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 353123553521597520, "histo_col_type": "", "name": "__auto__", "null_count": 1231072151006595101, "row_count": 1580694485024041528}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 135921977914068612, "histo_col_type": "", "name": "__auto__", "null_count": 1172636385474696575, "row_count": 1580694485024041528}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1542974125707201338, "histo_col_type": "", "name": "__auto__", "null_count": 1030462293304778022, "row_count": 1580694485024041528}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1485493583026468189, "histo_buckets": [{"distinct_range": 0, "num_eq": 5964369657294556388, "num_range": 0, "upper_bound": "2020-12-10 00:30:13.000587+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46171728347920986, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1124491.1398443251, "num_eq": 3014294087096222546, "num_range": 6000000, "upper_bound": "1602637787"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 330946675954427001, "upper_bound": "1863636530"}, {"distinct_range": 556.1573971030142, "num_eq": 80000, "num_range": 1000, "upper_bound": "2177722346"}, {"distinct_range": 55866.87559586845, "num_eq": 1000000000, "num_range": 100000, "upper_bound": "2178191077"}, {"distinct_range": 3033547043419467000, "num_eq": 2176011156508940946, "num_range": 3033547043419466828, "upper_bound": "2547862143"}, {"distinct_range": 50, "num_eq": 200, "num_range": 50, "upper_bound": "3833789990"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 1199205815884459993, "row_count": 1580694485024041528}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1449348634800038482, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1580694485024041528}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 577706856256741887, "histo_col_type": "", "name": "__auto__", "null_count": 707222861178473297, "row_count": 3197529909729375179}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 548811125549632430, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2605683162790146829, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1264535853285844856, "histo_buckets": [{"distinct_range": 0, "num_eq": 1696928259397660472, "num_range": 0, "upper_bound": "0.43036913871765137"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1284245171340058464, "row_count": 3197529909729375179}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2463627921449451019, "histo_col_type": "", "name": "__auto__", "null_count": 383522389160292340, "row_count": 3197529909729375179}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 320216271834164396, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 411111399349492577, "histo_col_type": "", "name": "__auto__", "null_count": 2426978984028793603, "row_count": 3197529909729375179}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 694912596401070105, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "3320058513"}, {"distinct_range": 0, "num_eq": 4579314985181773590, "num_range": 795747188520684413, "upper_bound": "4256031972"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2773828620951273727, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "0001-01-01 00:00:00+00:00"}, {"distinct_range": 10000, "num_eq": 2892843913388803710, "num_range": 10000, "upper_bound": "2000-10-29 03:03:54.000032+00:00"}, {"distinct_range": 600, "num_eq": 8808566331231653903, "num_range": 600, "upper_bound": "2021-07-20 04:31:43.000612+00:00"}, {"distinct_range": 920146081018700700, "num_eq": 90000000, "num_range": 920146081018700653, "upper_bound": "2023-06-27 10:51:52.000096+00:00"}, {"distinct_range": 176.11282822834602, "num_eq": 8000000000, "num_range": 800, "upper_bound": "294276-12-31 23:59:59.999999+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 1794354961522419574, "row_count": 3197529909729375179}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 146069714224139949, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2675348165658329143, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3197529909729375179}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "infinity" does not exist (SQLSTATE 42703)
        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_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@fe919cccf0aa8f400dbe9cce3e0dd1b401fd6dc5:

        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 DESC, col3_2 DESC, col3_1);
        test_1        |             CREATE INDEX ON table3 (col3_2 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_1 ASC, col3_2 ASC, col3_0 ASC);
        test_1        |             CREATE TABLE table4 (col4_0 TIMESTAMP NOT NULL, col4_1 BIT(47) NOT NULL, col4_2 BIT(3) NOT NULL, col4_3 CHAR NOT NULL, col4_4 INT8 NOT NULL, col4_5 BOX2D NOT NULL, col4_6 VARCHAR NOT NULL, col4_7 TEXT NOT NULL, col4_8 REGTYPE NOT NULL, col4_9 INT8 NOT NULL, col4_10 REGPROC NOT NULL, col4_11 INT8 NOT NULL, col4_12 DECIMAL NOT NULL, col4_13 BOOL NOT NULL, PRIMARY KEY (col4_3, col4_9, col4_12, col4_5, col4_11, col4_4, col4_6, col4_10, col4_0, col4_1, col4_8, col4_7, col4_13));
        test_1        |             CREATE INDEX ON table4 (col4_11 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_12, col4_5 DESC, col4_4 DESC, col4_10 DESC, col4_9 ASC, col4_1 DESC, col4_6 ASC, col4_3, col4_0, col4_7 DESC, col4_8 ASC, col4_13 DESC, col4_11 ASC, col4_2 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_13, col4_1, col4_12 DESC, col4_9, col4_4, col4_5 ASC, col4_10 DESC, col4_8 ASC, col4_2 DESC, col4_7);
        test_1        |             CREATE INDEX ON table4 (col4_1 ASC, col4_6, col4_11 ASC, col4_9 ASC, col4_12 ASC, col4_0 ASC, col4_2, col4_7, col4_13 ASC, col4_4 DESC, col4_5, col4_3 ASC, col4_10, col4_8);
        test_1        |             CREATE INDEX ON table4 (col4_4 ASC, col4_7 DESC, col4_10 ASC, col4_3 ASC, col4_6 DESC, col4_8 ASC, col4_1 ASC, col4_12 DESC, col4_9 DESC, col4_5);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_5, col4_0, col4_8);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0 DESC, col4_9 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_8);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_14) REFERENCES table4 (col4_8);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('d', 'dz');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('xx', 'jklueg', 'aqe', 'kkotq', 'xc', 'qlewp');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('v', 'ibd', 'j');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('uaaa', 'lzgb', 'qlrgp', 'dpgvkj', 'm');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (1.05s)
        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 CHAR NOT NULL, col1_1 BOX2D NOT NULL, col1_2 REGPROC NOT NULL, col1_3 INET NOT NULL, PRIMARY KEY (col1_1 DESC, col1_3 ASC, col1_2 DESC, col1_0), INDEX (col1_2, col1_3, col1_0) WHERE table1.col1_0 != e'\'':::STRING, INDEX (col1_1 DESC, col1_2 DESC, col1_0 ASC, col1_3 DESC) WHERE table1.col1_0 <= e'\U00002603', INDEX (col1_2) WHERE table1.col1_0 > e'\'':::STRING, UNIQUE (col1_2, col1_3 DESC, col1_1 DESC, col1_0) WHERE table1.col1_0 >= e'\'', UNIQUE (col1_0 DESC, col1_3, col1_1 DESC, col1_2 ASC) WHERE table1.col1_0 != e'\x00':::STRING, FAMILY (col1_0), FAMILY (col1_1, col1_3, col1_2));
        test_1        |             CREATE TABLE table2 (col1_1 BOX2D NOT NULL, col1_3 INET NOT NULL, col1_2 REGPROC NOT NULL, col1_0 CHAR NOT NULL, col2_4 BOOL NULL, col2_5 BOOL NULL, col2_6 TIMESTAMPTZ NULL, col2_7 DATE NOT NULL, col2_8 OID NULL, col2_9 REGPROC, PRIMARY KEY (col1_1 DESC, col1_3 ASC, col1_2 DESC, col1_0, col2_5, col2_6 ASC, col2_9 ASC, col2_4), INDEX (col2_7, col1_0 DESC, col1_1, col2_5 ASC, col2_8 DESC) WHERE NOT table2.col2_4, UNIQUE (col2_5 DESC, col2_4 ASC, col1_3 DESC, col1_0, col2_9 ASC, col1_1 DESC, col2_6) STORING (col2_7) WHERE ((((NOT table2.col2_5) OR (table2.col1_0 = 'X':::STRING)) AND (table2.col2_6 >= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_7 = '5874897-12-31':::DATE)) OR table2.col2_4, INDEX (col2_8 ASC, col2_6, col1_0 DESC, col2_4, col2_5, col1_1, col1_3 ASC, col2_7, col2_9 DESC) WHERE ((((table2.col2_6 >= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table2.col1_0 > '':::STRING)) AND table2.col2_5) AND (table2.col2_7 != '-infinity':::DATE)) AND table2.col2_4, UNIQUE (col2_4 DESC, col1_1 ASC, col1_0 DESC, col2_9 ASC, col2_6, col1_2) STORING (col2_7) WHERE ((((table2.col2_7 != '1970-01-01':::DATE) OR (table2.col2_6 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (NOT table2.col2_4)) OR table2.col2_5) OR (table2.col1_0 != '"':::STRING), UNIQUE (col1_1 DESC, col2_8 ASC, col1_0 DESC, col2_6 ASC, col2_4, col2_5, col1_2 DESC, col1_3, col2_7, col2_9) WHERE (((table2.col2_4 AND (table2.col2_6 != '3000-01-01 00:00:00+00:00')) OR (table2.col1_0 <= '"')) OR (table2.col2_7 = '-infinity')) AND (NOT table2.col2_5), INDEX (col1_0 ASC, col2_4 ASC, col2_5, col2_9 DESC, col2_6, col1_1 DESC) WHERE (table2.col2_7 >= '1970-01-01':::DATE) AND (table2.col1_0 > e'\U00002603':::STRING), INDEX (col1_3 ASC) STORING (col2_7) WHERE (NOT table2.col2_5) OR (NOT table2.col2_4), UNIQUE (col2_8 DESC, col2_9 ASC) WHERE ((((table2.col2_6 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) OR table2.col2_5) OR (table2.col1_0 = e'\x00':::STRING)) AND (NOT table2.col2_4)) AND (table2.col2_7 < 'infinity':::DATE), FAMILY (col2_6), FAMILY (col2_4), FAMILY (col2_7), FAMILY (col2_8), FAMILY (col1_3), FAMILY (col2_5), FAMILY (col1_2, col2_9), FAMILY (col1_1), FAMILY (col1_0), UNIQUE (col1_0) WHERE ((table2.col1_0 = e'\x00') OR (table2.col2_6 <= '-2000-01-01 00:00:00+00:00')) AND table2.col2_5) INTERLEAVE IN PARENT table1 (col1_1, col1_3, col1_2, col1_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2014096903609355272, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 5190525611828533029}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5032055933763161206, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "BOX(-1.65792621303487 -0.7776280538413537,1.6243867260343618 0.41634354064754076)"}, {"distinct_range": 30000, "num_eq": 7499878013297369396, "num_range": 30000, "upper_bound": "BOX(-1.294684786557224 -2.2339982968018957,0.6031340976356662 -0.7528798715735308)"}, {"distinct_range": 1332240922389810000, "num_eq": 80, "num_range": 7734862567278826609, "upper_bound": "BOX(-0.9910984110742099 -1.411189864744484,0.2635041553281683 -0.29617435472155385)"}, {"distinct_range": 200, "num_eq": 2038549219361433492, "num_range": 200, "upper_bound": "BOX(0.0790823165607677 -0.6378081631804554,0.683015019968148 -0.27593708849837273)"}, {"distinct_range": 0, "num_eq": 100, "num_range": 10000000000, "upper_bound": "BOX(0.2916888862608188 -1.0296629156449388,1.293220407481352 -0.35226056615900225)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 5190525611828533029}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1586603602813203132, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "1041588855"}, {"distinct_range": 0, "num_eq": 0, "num_range": 20000000000, "upper_bound": "1142881247"}, {"distinct_range": 627067171200958100, "num_eq": 5000000, "num_range": 2847448171775744060, "upper_bound": "1268871072"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 100, "upper_bound": "1362932449"}, {"distinct_range": 2878.4812786381663, "num_eq": 5000000000, "num_range": 7000, "upper_bound": "2997480932"}, {"distinct_range": 0, "num_eq": 77250955280619466, "num_range": 80000, "upper_bound": "3920104385"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 5190525611828533029}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1953096581806666237, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5190525611828533029}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2804283080994023604, "histo_buckets": [{"distinct_range": 0, "num_eq": 4941994904460962668, "num_range": 0, "upper_bound": "121.71.219.58/11"}, {"distinct_range": 345577.20072717563, "num_eq": 8875912753470937719, "num_range": 700000, "upper_bound": "205.138.226.220/14"}, {"distinct_range": 827219777795421700, "num_eq": 4891418960115604531, "num_range": 1932064843996058112, "upper_bound": "98.44.107.78/27"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 0, "upper_bound": "4692:213a:9fdf:1972:46e6:2835:dc17:a65a/104"}, {"distinct_range": 200050818854357730, "num_eq": 300, "num_range": 315374029629863390, "upper_bound": "6bfa:ca74:722c:9c2a:2351:a685:643e:44a7/111"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 3397526637260916534}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2336055027570432853, "histo_buckets": [{"distinct_range": 0, "num_eq": 2283911763927715272, "num_range": 0, "upper_bound": ")"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 3397526637260916534}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2845488018882373118, "histo_buckets": [{"distinct_range": 0, "num_eq": 3500252322979958628, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 30000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 1079191881937354687, "row_count": 3397526637260916534}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2335652377713052336, "histo_buckets": [{"distinct_range": 0, "num_eq": 960379605149112870, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 900, "num_range": 8231341639034573477, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 803496171077440591, "row_count": 3397526637260916534}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2676372857616301985, "histo_buckets": [{"distinct_range": 0, "num_eq": 1937059703594037684, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 4184684286197654500, "num_eq": 9000000000, "num_range": 4184684286197654578, "upper_bound": "1970-04-28"}, {"distinct_range": 10000000000, "num_eq": 300000000, "num_range": 10000000000, "upper_bound": "1971-10-21"}, {"distinct_range": 2872383138.661876, "num_eq": 7906084746536901194, "num_range": 4000000000, "upper_bound": "1977-09-04"}, {"distinct_range": 6191684720662722000, "num_eq": 867439821517066448, "num_range": 6805354821469539890, "upper_bound": "1977-11-10"}, {"distinct_range": 3924714144582132700, "num_eq": 2000000, "num_range": 3924714144582132678, "upper_bound": "1978-11-22"}, {"distinct_range": 180127.02438048957, "num_eq": 3000000000, "num_range": 500000, "upper_bound": "1982-12-18"}, {"distinct_range": 2525018031671511600, "num_eq": 10000000000, "num_range": 3104113307415598762, "upper_bound": "1984-01-29"}, {"distinct_range": 6000000, "num_eq": 1719125307080714149, "num_range": 6000000, "upper_bound": "1985-01-11"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 3397526637260916534}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2175006683496932421, "histo_col_type": "", "name": "__auto__", "null_count": 1382946751437022292, "row_count": 3397526637260916534}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2263657193350740638, "histo_buckets": [{"distinct_range": 0, "num_eq": 5781592364028458217, "num_range": 0, "upper_bound": "BOX(-0.3935737958805601 0.4584825932287444,0.024718540357561908 0.5456842017751837)"}, {"distinct_range": 74.14191595147705, "num_eq": 4071254025808119898, "num_range": 100, "upper_bound": "BOX(-0.35907176993657164 -1.3504594777579197,0.659716302854032 1.1853558789678331)"}, {"distinct_range": 8203648893241875000, "num_eq": 5650563895405760914, "num_range": 8203648893241875002, "upper_bound": "BOX(-0.22175311379684884 -0.19970759250862127,0.06448441368166069 0.18130401927756123)"}, {"distinct_range": 1645318456436819200, "num_eq": 2759895107570879988, "num_range": 1645318456436819092, "upper_bound": "BOX(-0.20651808582274409 -0.39370626245645923,0.6900577592058914 0.3776259200745516)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 3397526637260916534}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2132447149659743272, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3397526637260916534}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2289588731482275227, "histo_col_type": "", "name": "__auto__", "null_count": 2506303585829432548, "row_count": 3397526637260916534}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3059661844221460666, "histo_buckets": [{"distinct_range": 0, "num_eq": 4342168613045441300, "num_range": 0, "upper_bound": "585749006"}, {"distinct_range": 18731643735.614643, "num_eq": 100000, "num_range": 80000000000, "upper_bound": "625982721"}, {"distinct_range": 564305029.5627662, "num_eq": 70, "num_range": 40000000000, "upper_bound": "1228677488"}, {"distinct_range": 6.108890495248724, "num_eq": 2000, "num_range": 80, "upper_bound": "1790532966"}, {"distinct_range": 100000000, "num_eq": 20, "num_range": 100000000, "upper_bound": "1857832302"}, {"distinct_range": 1916284880.0381181, "num_eq": 548007991482568132, "num_range": 50000000000, "upper_bound": "2158177628"}, {"distinct_range": 40, "num_eq": 10000, "num_range": 40, "upper_bound": "2439245538"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 857952795172144590, "row_count": 3397526637260916534}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_0) REFERENCES table2 (col1_0) ON UPDATE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('le', 'vf', 'ey', 'widim');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('bieqt', 'quko', 'bfd', 'pgjq', 'esfesk');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('lqsya', 'vkdvta', 'bol', 'd', 'umfw', 'oytavv');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('um');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('baq');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "BOX(-1.658170508465302 0.09988072769598183,-0.585073548069762 0.5440623662993568)"}, {"distinct_range": 8000, "num_eq": 3214246778222455683, "num_range": 8000, "upper_bound": "BOX(-1.0696196225907844 0.14890640332142335,-0.6107320791189044 0.3453088368609018)"}, {"distinct_range": 2595074.96968132, "num_eq": 9000, "num_range": 7000000, "upper_bound": "BOX(-0.6821521459378291 0.6315977607824713,1.1385559629338138 0.6390716008958333)"}, {"distinct_range": 90000000, "num_eq": 6007790369544339369, "num_range": 90000000, "upper_bound": "BOX(-0.19544435993601592 -0.8886614986214241,1.003326006774133 0.4142851153972282)"}, {"distinct_range": 3994715363399886300, "num_eq": 30000, "num_range": 3994715363399886520, "upper_bound": "BOX(0.10349325038313817 -0.6395133741751116,0.5389188757681437 0.8752052297083199)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "2285652569"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1933, "histo_col_type": "", "name": "__auto__", "null_count": 1454, "row_count": 10000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7033, "histo_buckets": [{"distinct_range": 0, "num_eq": 8505538566930271223, "num_range": 0, "upper_bound": "11.80.115.25/2"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 100000, "upper_bound": "22.187.99.237/6"}, {"distinct_range": 1000000, "num_eq": 500, "num_range": 1000000, "upper_bound": "a862:e5fc:8434:b833:e72c:dc41:ec4e:aaf1/26"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 2000, "upper_bound": "4e91:18ab:d5e4:7665:29cf:dbee:99d4:be1f/55"}, {"distinct_range": 5889593626790484000, "num_eq": 1121101765298337640, "num_range": 8255787599951774896, "upper_bound": "2c38:ceec:1d19:6f61:e845:8cb0:7496:73b3/110"}, {"distinct_range": 0, "num_eq": 500, "num_range": 500000000, "upper_bound": "3c4d:b69c:7d47:9b45:4389:ca9e:8d3d:cbd7/124"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6482, "histo_buckets": [{"distinct_range": 0, "num_eq": 3180919282293034547, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 20000000000, "num_eq": 1000000, "num_range": 20000000000, "upper_bound": "@"}, {"distinct_range": 1000, "num_eq": 871357230820955886, "num_range": 1000, "upper_bound": "h"}, {"distinct_range": 0, "num_eq": 3013400161504455227, "num_range": 7017918577907582898, "upper_bound": "m"}, {"distinct_range": 800, "num_eq": 40, "num_range": 800, "upper_bound": "}"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2346, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 447201063024816640, "num_eq": 300000, "num_range": 447201063024816633, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 7271, "row_count": 10000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3832, "histo_buckets": [{"distinct_range": 0, "num_eq": 6616304201792324985, "num_range": 0, "upper_bound": "1970-03-01"}, {"distinct_range": 703793257498345100, "num_eq": 2237530207329562941, "num_range": 1890749999953214348, "upper_bound": "1970-12-08"}, {"distinct_range": 0, "num_eq": 900, "num_range": 2162969413714103568, "upper_bound": "1973-09-01"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 60000000000, "upper_bound": "1976-09-10"}, {"distinct_range": 0, "num_eq": 9096114495101326028, "num_range": 100, "upper_bound": "1978-09-28"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 8000, "upper_bound": "1987-04-24"}, {"distinct_range": 0, "num_eq": 7178661575446208763, "num_range": 160014898267942160, "upper_bound": "1997-05-09"}, {"distinct_range": 3674027029366289000, "num_eq": 200000000, "num_range": 3674027029366288695, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5377, "histo_buckets": [{"distinct_range": 0, "num_eq": 988906438276036977, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 234074512.6870758, "num_eq": 90, "num_range": 400000000, "upper_bound": "31903883"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 8875491983272066746, "upper_bound": "830184877"}, {"distinct_range": 9714690877.415836, "num_eq": 0, "num_range": 10000000000, "upper_bound": "924824040"}, {"distinct_range": 16699250579.49454, "num_eq": 20000000000, "num_range": 30000000000, "upper_bound": "957963270"}, {"distinct_range": 203688376.5298659, "num_eq": 1923144213420431143, "num_range": 300000000, "upper_bound": "2020667821"}, {"distinct_range": 242855225442624700, "num_eq": 3816664202777529437, "num_range": 7018229869664383004, "upper_bound": "3041580593"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 3381, "row_count": 10000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5187, "histo_col_type": "", "name": "__auto__", "null_count": 8885, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 648, "histo_buckets": [{"distinct_range": 0, "num_eq": 6009576906155629326, "num_range": 0, "upper_bound": "BOX(-1.5043680050397603 0.08968847333132857,-0.13973737128830188 0.2541332074611543)"}, {"distinct_range": 0, "num_eq": 7719210388993332140, "num_range": 100000000, "upper_bound": "BOX(-0.28384242649100344 1.0841358346072405,-0.12321174344423513 1.4071165761087912)"}, {"distinct_range": 177443565.90371472, "num_eq": 8713008389381950783, "num_range": 1000000000, "upper_bound": "BOX(-0.07183840400987407 -0.5939596542192114,0.6128242024108711 0.9011993460812315)"}, {"distinct_range": 7785219629610851000, "num_eq": 200000000, "num_range": 7785219629610850956, "upper_bound": "BOX(-0.07049113154950318 -0.742340328283842,0.08852866790514918 0.44558672952049294)"}, {"distinct_range": 17616136494.287666, "num_eq": 700000, "num_range": 50000000000, "upper_bound": "BOX(0.29357943833287903 -0.4731006379390934,1.3000501614352908 2.0113922984855606)"}, {"distinct_range": 50000000000, "num_eq": 7831390480065975492, "num_range": 50000000000, "upper_bound": "BOX(0.575757012403284 -0.4964086891575066,1.7531894174358298 0.6816370238234635)"}, {"distinct_range": 7394073847895684000, "num_eq": 1166592065259767554, "num_range": 7394073847895683950, "upper_bound": "BOX(0.8269324008425779 -0.12143423432459577,1.0869645698329276 1.0919614129464215)"}, {"distinct_range": 45844.5100129491, "num_eq": 5657193173021102993, "num_range": 60000, "upper_bound": "BOX(0.9040283693499402 0.6463663437320515,1.493544817936721 1.0910982445823214)"}, {"distinct_range": 0, "num_eq": 5826604497237752981, "num_range": 80, "upper_bound": "BOX(1.1527898455499344 -0.6961123260071097,1.200404403750035 1.5839121251358668)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6752, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3837, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 4065, "row_count": 10000}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7744939837558977378, "histo_buckets": [{"distinct_range": 0, "num_eq": 2951048501738269223, "num_range": 0, "upper_bound": "BOX(-2.0200706726919657 -1.6818717461940524,-1.3417180226584868 1.3055427250111875)"}, {"distinct_range": 7050138.576189045, "num_eq": 9205742453318272788, "num_range": 20000000, "upper_bound": "BOX(-0.7351921305936248 -1.6345260299280269,0.9767600950371073 -0.08710227058528752)"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 6391789913855832884, "upper_bound": "BOX(-0.7164961051226912 0.6379858891479271,1.6775478306932814 1.1550024363878355)"}, {"distinct_range": 0, "num_eq": 8486500835633434459, "num_range": 9000000000, "upper_bound": "BOX(-0.30989182211805355 -0.37689827560495515,1.623875113203181 -0.10294805576395238)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 8761222895278688571}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 637390296151389601, "histo_buckets": [{"distinct_range": 0, "num_eq": 6345618826534674517, "num_range": 0, "upper_bound": "253827936"}, {"distinct_range": 5773877866511900000, "num_eq": 0, "num_range": 8363673042792308926, "upper_bound": "353515775"}, {"distinct_range": 5590938302215093000, "num_eq": 200000000, "num_range": 5638650317829616749, "upper_bound": "1331475946"}, {"distinct_range": 1461390655578006800, "num_eq": 8408371664674596067, "num_range": 6828397710879809159, "upper_bound": "1483782194"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "2172003689"}, {"distinct_range": 0, "num_eq": 3986584237691969740, "num_range": 700000000, "upper_bound": "2645193096"}, {"distinct_range": 325954684084473300, "num_eq": 90000, "num_range": 325954684084473309, "upper_bound": "3132969804"}, {"distinct_range": 50000, "num_eq": 80000000000, "num_range": 50000, "upper_bound": "3555675837"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 300, "upper_bound": "4258932994"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 8761222895278688571}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2931068674326947620, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8761222895278688571}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5132901828234966190, "histo_buckets": [{"distinct_range": 0, "num_eq": 9141719778196160928, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 700, "num_range": 50000, "upper_bound": "\\u0008"}, {"distinct_range": 497691.9701318993, "num_eq": 1349050139397978518, "num_range": 1000000, "upper_bound": "\\u0019"}, {"distinct_range": 600000000, "num_eq": 40000000000, "num_range": 600000000, "upper_bound": "3"}, {"distinct_range": 10, "num_eq": 900000000, "num_range": 10, "upper_bound": ";"}, {"distinct_range": 348692224187767740, "num_eq": 3646881384580037962, "num_range": 1577848326443619363, "upper_bound": "M"}, {"distinct_range": 1877754247316264400, "num_eq": 10000, "num_range": 1877754247316264333, "upper_bound": "~"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 8761222895278688571}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5056741757425053240, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8582797576347861278}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 654958172515242551, "histo_buckets": [{"distinct_range": 0, "num_eq": 1325367323072655571, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6563581741719932000, "num_eq": 500000, "num_range": 6563581741719932178, "upper_bound": "51144658"}, {"distinct_range": 0, "num_eq": 8877442339922870676, "num_range": 4250305426146927094, "upper_bound": "433508597"}, {"distinct_range": 6000, "num_eq": 770809243257629925, "num_range": 6000, "upper_bound": "1696309299"}, {"distinct_range": 4448744.393823541, "num_eq": 9137447057533803027, "num_range": 7000000, "upper_bound": "2650680926"}, {"distinct_range": 5690942283407374000, "num_eq": 7444963205362780923, "num_range": 6598308267542632822, "upper_bound": "2720659094"}, {"distinct_range": 5000, "num_eq": 1251170026938049021, "num_range": 5000, "upper_bound": "3091438447"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 1954068532852014100, "row_count": 8582797576347861278}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1428954777235575842, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 0, "num_eq": 0, "num_range": 10000000, "upper_bound": "BOX(-2.076093391390872 -0.33219995731159657,0.4116974552834991 0.8449064719034043)"}, {"distinct_range": 90000000000, "num_eq": 50000, "num_range": 90000000000, "upper_bound": "BOX(-1.6352862809821214 -1.2033174630119836,-0.4397910289636614 0.7682342993898783)"}, {"distinct_range": 52818901.27549476, "num_eq": 5248024724857639054, "num_range": 80000000, "upper_bound": "BOX(-1.5564310415922944 -0.35004280538316124,-1.3955111835457323 0.025375492095107754)"}, {"distinct_range": 0, "num_eq": 6528876665718513317, "num_range": 4000000000, "upper_bound": "BOX(-0.5729582329471704 -1.2652801992624183,-0.5067532661027485 0.9091883795404848)"}, {"distinct_range": 0, "num_eq": 8389816124148043337, "num_range": 2000000, "upper_bound": "BOX(-0.510065726933381 -0.07195917195550044,-0.05990017587978813 0.7008787270103598)"}, {"distinct_range": 0, "num_eq": 8115563341871979052, "num_range": 700, "upper_bound": "BOX(-0.07441582937900346 0.3661451989282919,0.023608279613894112 1.3940201781087576)"}, {"distinct_range": 7451726974641609000, "num_eq": 8017847573695272667, "num_range": 7451726974641608876, "upper_bound": "BOX(0.21303067893861555 -0.6054240455372333,0.33942070011176084 0.028001483784849734)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 8582797576347861278}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1932642692002398830, "histo_buckets": [{"distinct_range": 0, "num_eq": 5123211424122020265, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 7242440365637249000, "num_eq": 0, "num_range": 7242440365637248655, "upper_bound": "8fb:29b1:57ec:b770:fe27:fd39:8204:3178/10"}, {"distinct_range": 6803862251999834000, "num_eq": 400000, "num_range": 6803862251999834505, "upper_bound": "e045:3cf7:7e7f:8f71:31a6:456f:8eb3:7ef1/90"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 8582797576347861278}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1673904228459340363, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "\\u0001"}, {"distinct_range": 0, "num_eq": 6702550609829621134, "num_range": 500000, "upper_bound": "\\u0004"}, {"distinct_range": 0, "num_eq": 5760241822308349374, "num_range": 6000000000, "upper_bound": "\\n"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5706097607684488463, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 1338120905527889538, "num_range": 1000000000, "upper_bound": "N"}, {"distinct_range": 900, "num_eq": 7026980666431043327, "num_range": 900, "upper_bound": "k"}, {"distinct_range": 3.2945412184354956, "num_eq": 4124344716010416388, "num_range": 10, "upper_bound": "o"}, {"distinct_range": 438348.49628068483, "num_eq": 5926430805375365034, "num_range": 40000000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 8582797576347861278}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 694336444166471962, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 7414553039591234975, "row_count": 8582797576347861278}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2655222358247362660, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 246457356106328480, "num_eq": 7000000000, "num_range": 885253212542308543, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 4686059048729281834, "row_count": 8582797576347861278}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 792588541342959901, "histo_col_type": "", "name": "__auto__", "null_count": 3960769351674064769, "row_count": 8582797576347861278}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7841338794008566952, "histo_buckets": [{"distinct_range": 0, "num_eq": 4990577627311986995, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 0, "num_eq": 70, "num_range": 3694772707310026969, "upper_bound": "1981-09-22"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "1989-05-05"}, {"distinct_range": 0, "num_eq": 400, "num_range": 20, "upper_bound": "1990-11-22"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 100000000, "upper_bound": "infinity"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 8582797576347861278}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6474792097236823421, "histo_col_type": "", "name": "__auto__", "null_count": 2017636038829600271, "row_count": 8582797576347861278}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: there is no unique constraint matching given keys for referenced table table2 (SQLSTATE 23503)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@fdfcf2335e9743ecec1d944f8924982d6f64ccd6:


        test_1        |             CREATE TABLE table4 (col1_15 TIMETZ NOT NULL, col1_9 BIT(17) NOT NULL, col1_14 UUID NOT NULL, col1_10 TIMESTAMP NOT NULL, col1_7 FLOAT8 NOT NULL, col1_6 TIMESTAMP NOT NULL, col1_1 CHAR NOT NULL, col1_16 CHAR NOT NULL, col3_20 VARCHAR NOT NULL, col3_19 FLOAT8 NOT NULL, col3_16 REGTYPE NOT NULL, col3_18 DATE, col3_14 TIMETZ NOT NULL, col3_12 TIME, col3_10 TIMETZ, col3_13 DECIMAL NOT NULL, col4_16 NAME NOT NULL, col4_17 REGCLASS, col4_18 TIMESTAMP, col4_19 DECIMAL NOT NULL, col4_20 DATE, col4_21 TIMESTAMPTZ, col4_22 TIMESTAMPTZ NULL, col4_23 REGPROCEDURE NULL, col4_24 TIMESTAMP NULL, col4_25 "char" NULL, col4_26 BYTEA NULL, PRIMARY KEY (col1_15, col1_9, col1_14, col1_10, col1_7, col1_6, col1_1, col1_16, col3_20, col3_19, col3_16, col3_18, col3_14, col3_12, col3_10, col3_13, col4_26, col4_23));
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_22 ASC, col4_20 DESC, col3_14, col1_9, col4_25, col4_21 DESC, col4_26 ASC, col3_20, col3_10, col1_10 DESC, col3_19 ASC, col1_7 DESC, col4_16, col1_16, col1_15, col1_14, col4_18 DESC, col3_12 ASC, col4_19 ASC, col3_18 DESC, col4_24 ASC, col1_1 DESC);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_8) REFERENCES table3 (col3_9) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col1_15) REFERENCES table1 (col1_12);
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_0, col2_1) REFERENCES table3 (col3_8, col1_1) ON DELETE SET DEFAULT ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col3_18, col3_19, col1_10) REFERENCES table3 (col3_18, col1_7, col1_10) ON UPDATE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('f', 'zczsfr', 'fj');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: foreign key constraint "table2_col2_0_fkey" cannot be implemented (SQLSTATE 42804)
        test_1        |     --- FAIL: TestCompare/mutators (1.24s)
        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 VARCHAR NOT NULL, col1_3 STRING NULL, col1_4 FLOAT8, col1_5 BOOL, col1_6 "char" NOT NULL, col1_7 VARCHAR NOT NULL, col1_8 INET NOT NULL, col1_9 TIMESTAMPTZ[] NULL, col1_10 REGNAMESPACE NOT NULL, col1_11 REGNAMESPACE NOT NULL, col1_12 REGPROC NOT NULL, col1_13 INTERVAL NOT NULL, col1_14 FLOAT4 NOT NULL, col1_15 VARCHAR[] NOT NULL, col1_16 DATE NOT NULL, PRIMARY KEY (col1_14 ASC, col1_6 ASC, col1_12, col1_16, col1_1 DESC, col1_10 DESC, col1_8, col1_13 ASC, col1_0 ASC, col1_7, col1_2 ASC), UNIQUE (col1_2 ASC) STORING (col1_5, col1_9, col1_11) WHERE ((((((table1.col1_0 < '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table1.col1_3 <= 'X':::STRING)) OR (table1.col1_4 != 5e-324:::FLOAT8)) AND (table1.col1_2 = e'\'':::STRING)) OR (table1.col1_1 > 5e-324:::FLOAT8)) OR (table1.col1_16 != '1970-01-01':::DATE)) AND (table1.col1_7 <= e'\'':::STRING), UNIQUE (col1_12 DESC, col1_13 ASC, col1_16) STORING (col1_4, col1_9) WHERE (((((((table1.col1_2 > '"') OR (table1.col1_6 < e'\U00002603')) OR (NOT table1.col1_5)) AND (table1.col1_7 < '')) AND (table1.col1_16 > '4714-11-24 BC')) AND (table1.col1_0 != '0001-01-01 00:00:00+00:00')) OR (table1.col1_14 < 0.0)) AND (table1.col1_1 > 5e-324), FAMILY (col1_12, col1_15), FAMILY (col1_10), FAMILY (col1_6, col1_2), FAMILY (col1_4), FAMILY (col1_8, col1_11), FAMILY (col1_5, col1_14, col1_0), FAMILY (col1_9), FAMILY (col1_16, col1_13), FAMILY (col1_7), FAMILY (col1_3, col1_1));
        test_1        |             CREATE TABLE table2 (col2_0 TIMESTAMP NULL, col2_1 INTERVAL NOT NULL, col2_2 REGCLASS NOT NULL, col2_3 TIME NOT NULL, PRIMARY KEY (col2_2 DESC, col2_1 ASC, col2_3 ASC), INDEX (col2_1 DESC, col2_0 ASC, col2_2 DESC) WHERE table2.col2_0 > '-4713-11-24 00:00:00', INDEX (col2_2 ASC) WHERE (table2.col2_3 > '24:00:00':::TIME) AND (table2.col2_0 != '3000-01-01 00:00:00':::TIMESTAMP), UNIQUE (col2_2), FAMILY (col2_0, col2_2), FAMILY (col2_1, col2_3));
        test_1        |             CREATE TABLE table3 (col3_0 BYTES NOT NULL, col3_1 BYTES[] NOT NULL, col3_2 STRING NOT NULL, col3_3 INT8 NOT NULL, col3_4 INT2, col3_5 REGTYPE NOT NULL, col3_6 DECIMAL NOT NULL, col3_7 FLOAT4 NOT NULL, col3_8 INET NOT NULL, col3_9 FLOAT8 NOT NULL, col3_10 FLOAT4 NOT NULL, col3_11 DATE[] NOT NULL, col3_12 INT8 NOT NULL, col3_13 TIMESTAMPTZ NOT NULL, col3_14 REGTYPE NOT NULL, col3_15 TIMESTAMPTZ, col3_16 TIMETZ NOT NULL, col3_17 REGCLASS NOT NULL, PRIMARY KEY (col3_10, col3_9 ASC, col3_3, col3_16, col3_14 DESC, col3_8, col3_0, col3_6 ASC, col3_7, col3_17, col3_13, col3_2 ASC, col3_5), INDEX (col3_9 ASC) STORING (col3_1, col3_15) WHERE (((((((((((table3.col3_13 != '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table3.col3_6 <= (-1.234E+401):::DECIMAL)) AND (table3.col3_3 > (-128):::INT8)) OR (table3.col3_0 = e'\\xff':::BYTES)) OR (table3.col3_15 > '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col3_16 >= '24:00:00-15:59:00':::TIMETZ)) OR (table3.col3_9 != '+Inf':::FLOAT8)) OR (table3.col3_7 < 1.401298464324817e-45:::FLOAT8)) OR (table3.col3_4 < 1:::INT8)) OR (table3.col3_2 <= '':::STRING)) AND (table3.col3_12 < 9223372036854775807:::INT8)) AND (table3.col3_10 >= 3.4028234663852886e+38:::FLOAT8), INDEX (col3_10, col3_7 ASC, col3_12 DESC, col3_14, col3_3 DESC, col3_2 ASC, col3_5 ASC, col3_17 ASC, col3_15 ASC, col3_13 ASC, col3_4 DESC) STORING (col3_1, col3_11) WHERE table3.col3_7 > -1.0, FAMILY (col3_11), FAMILY (col3_15), FAMILY (col3_9, col3_8), FAMILY (col3_0), FAMILY (col3_17), FAMILY (col3_16), FAMILY (col3_1, col3_13), FAMILY (col3_14), FAMILY (col3_5), FAMILY (col3_7), FAMILY (col3_3), FAMILY (col3_6, col3_2, col3_12, col3_10), FAMILY (col3_4));
        test_1        |             CREATE TABLE table4 (col1_14 FLOAT4 NOT NULL, col1_6 "char" NOT NULL, col1_12 REGPROC NOT NULL, col1_16 DATE NOT NULL, col1_1 FLOAT8 NOT NULL, col1_10 REGNAMESPACE NOT NULL, col1_8 INET NOT NULL, col1_13 INTERVAL NOT NULL, col1_0 TIMESTAMPTZ NOT NULL, col1_7 VARCHAR NOT NULL, col1_2 VARCHAR NOT NULL, col4_11 BOOL NOT NULL, col4_12 BIT(28) NULL, col4_13 TIMETZ NULL, col4_14 REGTYPE, col4_15 TIMETZ NOT NULL, col4_16 VARCHAR NULL, col4_17 FLOAT4 NOT NULL, col4_18 REGNAMESPACE NOT NULL, col4_19 FLOAT8 NULL, PRIMARY KEY (col1_14 ASC, col1_6 ASC, col1_12, col1_16, col1_1 DESC, col1_10 DESC, col1_8, col1_13 ASC, col1_0 ASC, col1_7, col1_2 ASC, col4_16 DESC, col4_14, col4_11 ASC), INDEX (col4_18 ASC, col1_8, col1_10, col1_0 ASC, col1_1 DESC, col1_14, col1_16 ASC, col4_19 DESC, col1_13, col4_17 DESC, col1_12 DESC, col4_13 DESC, col4_14 DESC, col1_6 ASC, col4_12 ASC, col1_7 ASC, col4_15, col4_16, col4_11), INDEX (col4_17 DESC, col1_16 DESC, col4_19 DESC, col4_13, col1_7, col1_2, col4_11 DESC) WHERE ((((((((((((table4.col4_13 > '00:00:00+15:59:00':::TIMETZ) AND (table4.col4_19 < 1.0:::FLOAT8)) AND (NOT table4.col4_11)) AND (table4.col1_2 < e'\'':::STRING)) AND (table4.col1_16 <= 'infinity':::DATE)) OR (table4.col4_16 = '"':::STRING)) OR (table4.col1_7 < '"':::STRING)) OR (table4.col1_14 < 0.0:::FLOAT8)) OR (table4.col4_17 < '-Inf':::FLOAT8)) OR (table4.col4_15 < '24:00:00-15:59:00':::TIMETZ)) AND (table4.col1_6 < e'\'':::STRING)) OR (table4.col1_0 = '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table4.col1_1 >= 0.0:::FLOAT8), UNIQUE (col1_7 DESC, col1_16, col4_14, col4_15 ASC, col4_11 ASC, col1_0, col4_13 DESC, col1_8 DESC, col4_18 DESC, col1_2, col4_16 ASC, col1_14, col1_13, col4_17) WHERE ((((((((table4.col4_16 <= e'\'':::STRING) OR (table4.col1_7 != e'\'':::STRING)) OR (table4.col4_13 > '00:00:00+15:59:00':::TIMETZ)) AND (table4.col1_1 = '-Inf':::FLOAT8)) OR table4.col4_11) OR (table4.col1_16 <= '1970-01-01':::DATE)) AND (table4.col1_14 != 0.0:::FLOAT8)) OR (table4.col4_17 < 0.0:::FLOAT8)) OR (table4.col1_0 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col1_1 ASC, col1_12 DESC, col1_16 ASC, col4_13 DESC, col1_6 DESC) STORING (col4_15, col4_18, col4_19) WHERE (((table4.col4_11 AND (table4.col1_7 <= e'\'':::STRING)) AND (table4.col1_6 = 'X':::STRING)) AND (table4.col4_13 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col1_0 != '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col4_14 DESC, col1_1 ASC, col1_6 ASC, col1_2, col1_12, col1_14 ASC, col1_16) STORING (col4_17) WHERE (((((((table4.col1_1 >= '-Inf':::FLOAT8) AND (table4.col4_16 < '':::STRING)) AND (table4.col1_14 = 0.0:::FLOAT8)) AND (table4.col4_19 = 1.7976931348623157e+308:::FLOAT8)) OR (table4.col1_0 > '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table4.col1_16 != '5874897-12-31':::DATE)) AND (table4.col1_2 > 'X':::STRING)) OR (table4.col1_6 = 'X':::STRING), FAMILY (col4_17, col4_19, col4_16), FAMILY (col1_14), FAMILY (col4_11), FAMILY (col1_0), FAMILY (col1_7), FAMILY (col4_18), FAMILY (col1_10), FAMILY (col1_8), FAMILY (col4_15, col1_12, col1_1, col1_16, col4_12), FAMILY (col1_13), FAMILY (col4_13), FAMILY (col1_6), FAMILY (col4_14, col1_2), UNIQUE (col1_6, col1_7) STORING (col4_12, col4_17, col4_18, col4_19) WHERE (((((((table4.col1_7 > e'\'') AND (table4.col4_16 < e'\x00')) AND (table4.col1_0 >= '0001-01-01 00:00:00+00:00')) OR (table4.col1_6 != 'X')) AND (table4.col4_13 <= '24:00:00-15:59:00')) OR (table4.col4_19 > +Inf)) OR (table4.col1_14 < 1.401298464324817e-45)) OR (table4.col1_2 >= '"')) INTERLEAVE IN PARENT table1 (col1_14, col1_6, col1_12, col1_16, col1_1, col1_10, col1_8, col1_13, col1_0, col1_7, col1_2);
        test_1        |             CREATE TABLE table5 (col1_14 FLOAT4 NOT NULL, col1_6 "char" NOT NULL, col1_12 REGPROC NOT NULL, col1_16 DATE NOT NULL, col1_1 FLOAT8 NOT NULL, col1_10 REGNAMESPACE NOT NULL, col1_8 INET NOT NULL, col1_13 INTERVAL NOT NULL, col1_0 TIMESTAMPTZ NOT NULL, col1_7 VARCHAR NOT NULL, col1_2 VARCHAR NOT NULL, col5_11 REGPROC NULL, col5_12 TIME NOT NULL, col5_13 BOX2D, col5_14 "char", col5_15 INET, col5_16 DECIMAL, col5_17 BIT(30) NOT NULL, col5_18 REGPROC NOT NULL, col5_19 REGNAMESPACE NULL, col5_20 INT2 NOT NULL, col5_21 INET NULL, col5_22 INT2 NOT NULL, col5_23 FLOAT4 NOT NULL, col5_24 FLOAT4 NULL, PRIMARY KEY (col1_14 ASC, col1_6 ASC, col1_12, col1_16, col1_1 DESC, col1_10 DESC, col1_8, col1_13 ASC, col1_0 ASC, col1_7, col1_2 ASC, col5_17 ASC, col5_12, col5_21 ASC, col5_14, col5_18 DESC, col5_13 DESC, col5_22, col5_16 ASC, col5_20, col5_11 DESC, col5_19 DESC, col5_15 ASC), FAMILY (col1_10), FAMILY (col5_20, col1_16, col5_15), FAMILY (col5_19), FAMILY (col1_14), FAMILY (col1_7, col1_6), FAMILY (col1_0), FAMILY (col1_13, col1_8), FAMILY (col5_14, col1_2), FAMILY (col5_21, col1_12, col5_22), FAMILY (col5_23), FAMILY (col5_11), FAMILY (col5_13, col5_12, col5_16), FAMILY (col5_18, col1_1, col5_24), FAMILY (col5_17)) INTERLEAVE IN PARENT table1 (col1_14, col1_6, col1_12, col1_16, col1_1, col1_10, col1_8, col1_13, col1_0, col1_7, col1_2);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2310575749555499727, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 608597942129745904, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 326033592992012484, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 100000000000, "num_eq": 200000000, "num_range": 100000000000, "upper_bound": "0.344734787940979"}, {"distinct_range": 0, "num_eq": 6388929058083158013, "num_range": 200000000, "upper_bound": "1.156491756439209"}, {"distinct_range": 10, "num_eq": 50000000000, "num_range": 10, "upper_bound": "1.9676094055175781"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589826521071249749, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1543095233171422985, "histo_col_type": "", "name": "__auto__", "null_count": 195420185331612257, "row_count": 2684338147266972377}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1479177390596964274, "histo_col_type": "", "name": "__auto__", "null_count": 1287561538608469494, "row_count": 2684338147266972377}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1132419401087529872, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1585855807431094868, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1564793305578192440, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504917625577069370, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 914151327107818764, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1751872310582094750, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 546503261507158121, "histo_buckets": [{"distinct_range": 0, "num_eq": 2270891403795252190, "num_range": 0, "upper_bound": "\\u000e\\u0012\\\\\\u000b3"}, {"distinct_range": 5410033163805823000, "num_eq": 30000000, "num_range": 5410033163805823483, "upper_bound": "\\u001cn{\\u0014\\u00084"}, {"distinct_range": 4865044800629188000, "num_eq": 120734529159394528, "num_range": 4865044800629187141, "upper_bound": "7]@\\u0008hs"}, {"distinct_range": 8133758488469304000, "num_eq": 90, "num_range": 8133758488469304491, "upper_bound": "A,"}, {"distinct_range": 3535374.1215885123, "num_eq": 8011496370979907865, "num_range": 4000000, "upper_bound": "S~dg\\u0007[u&"}, {"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "e5"}, {"distinct_range": 0, "num_eq": 2167872811226173884, "num_range": 6901041867995468130, "upper_bound": "kh-\\u0005"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1004095979976742150, "histo_col_type": "", "name": "__auto__", "null_count": 1948317242093492922, "row_count": 2684338147266972377}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2034238520165475841, "histo_col_type": "", "name": "__auto__", "null_count": 1682441990838426625, "row_count": 2684338147266972377}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1330078793045336010, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2330694792958663717, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "1174525576"}, {"distinct_range": 1347661430276232400, "num_eq": 8618083241483847553, "num_range": 2901073228235623629, "upper_bound": "2231997373"}, {"distinct_range": 700000, "num_eq": 6020665365572162783, "num_range": 700000, "upper_bound": "2505172199"}, {"distinct_range": 0, "num_eq": 1310107804011200011, "num_range": 6220511940831948053, "upper_bound": "2560357213"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "3023940596"}, {"distinct_range": 5120.062541737859, "num_eq": 700000000, "num_range": 6000, "upper_bound": "3240120773"}, {"distinct_range": 500, "num_eq": 2058788708493102733, "num_range": 500, "upper_bound": "3522750949"}, {"distinct_range": 8937637.85376089, "num_eq": 3000000, "num_range": 20000000, "upper_bound": "3523665229"}, {"distinct_range": 20, "num_eq": 4000000000, "num_range": 20, "upper_bound": "3603722297"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 2684338147266972377}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2358647027622363581, "histo_col_type": "", "name": "__auto__", "null_count": 21170995730686760, "row_count": 6459207599754715710}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1122435364507456991, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "1 mon 1 day"}, {"distinct_range": 1002364.821205181, "num_eq": 2203496677113037051, "num_range": 9000000, "upper_bound": "51 years 5 mons 414 days 01:33:17.400441"}, {"distinct_range": 2118141549760549000, "num_eq": 1553286195315730408, "num_range": 2118141549760549152, "upper_bound": "76 years 4 mons 701 days 19:01:01.511055"}, {"distinct_range": 80000000, "num_eq": 3000000, "num_range": 80000000, "upper_bound": "79 years 4 mons 12 days 15:44:58.890576"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 6459207599754715710}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4036267722269463857, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "1264499373"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 6459207599754715710}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5293748888049720160, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6459207599754715710}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 965133808474384429, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4047480174318875585, "histo_buckets": [{"distinct_range": 0, "num_eq": 2641706106225589372, "num_range": 0, "upper_bound": "-0.624363124370575"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 283157257549335263, "upper_bound": "-0.2066689133644104"}, {"distinct_range": 794793852728309900, "num_eq": 100000000000, "num_range": 967132966970422065, "upper_bound": "-0.06183040142059326"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 3798794913946077890, "upper_bound": "-0.028696469962596893"}, {"distinct_range": 5453936.352261231, "num_eq": 6646901316580596926, "num_range": 90000000, "upper_bound": "0.20200365781784058"}, {"distinct_range": 0, "num_eq": 3028022806399800540, "num_range": 1923263742588828029, "upper_bound": "1.3445348739624023"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3754964895211120923, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1082487041231265011, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1033276439152589160, "histo_col_type": "", "name": "__auto__", "null_count": 5030707781494473528, "row_count": 5616980124644572995}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2517110433524491591, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4359021462897911245, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5564551683206389437, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "2.3777672028831525"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1093919510718211827, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4560025863968087575, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4227216235137514461, "histo_col_type": "", "name": "__auto__", "null_count": 1443086245236238748, "row_count": 5616980124644572995}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1108681265277154512, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1174025202209778135, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3540261480944453434, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3497915133395496085, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1309356613435236328, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3621527897177738603, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 890539939231019207, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5616980124644572995}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1064098695732743603, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2430389639249911950, "histo_col_type": "", "name": "__auto__", "null_count": 4666765370023416446, "row_count": 5974473588768956450}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 847406449138122304, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5643319941921081347, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 506645621728328486, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3533106336942342463, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 769391754766369982, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5949496014655511367, "histo_col_type": "", "name": "__auto__", "null_count": 3341143389488920912, "row_count": 5974473588768956450}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3932650626115644222, "histo_col_type": "", "name": "__auto__", "null_count": 2414930414515546189, "row_count": 5974473588768956450}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4173900221505067754, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1764333070005594458, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2746920231733626391, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 965209354387868356, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4594326492117872086, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3353495275376552210, "histo_buckets": [{"distinct_range": 0, "num_eq": 7479789285262061573, "num_range": 0, "upper_bound": "-0.5959458947181702"}, {"distinct_range": 597908.9108372596, "num_eq": 1667468286312020207, "num_range": 7000000, "upper_bound": "-0.4039437770843506"}, {"distinct_range": 20, "num_eq": 1165050791308458508, "num_range": 20, "upper_bound": "-0.36417829990386963"}, {"distinct_range": 0, "num_eq": 2077349391304342970, "num_range": 4461651794261370255, "upper_bound": "-0.053577203303575516"}, {"distinct_range": 1072256994728970800, "num_eq": 800000, "num_range": 1072256994728970795, "upper_bound": "0.015880882740020752"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 3468148397595620839, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5241079793797890094, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-0.9245904684066772"}, {"distinct_range": 0, "num_eq": 6170320620405243000, "num_range": 7562327905276212180, "upper_bound": "0.02493995614349842"}, {"distinct_range": 0, "num_eq": 393710786405927598, "num_range": 1541327460868791457, "upper_bound": "1.3095595836639404"}, {"distinct_range": 1040808421657982500, "num_eq": 3000000000, "num_range": 4910029256956964388, "upper_bound": "1.4120553731918335"}, {"distinct_range": 2265478885.497625, "num_eq": 20000000, "num_range": 30000000000, "upper_bound": "1.4886128902435303"}, {"distinct_range": 7000000000, "num_eq": 800, "num_range": 7000000000, "upper_bound": "1.648205041885376"}, {"distinct_range": 3932.1270828365996, "num_eq": 50, "num_range": 10000, "upper_bound": "1.869255542755127"}, {"distinct_range": 24279842.22388363, "num_eq": 60000000000, "num_range": 100000000, "upper_bound": "2.006828784942627"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2585485231791814026, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5926800075596968326, "histo_buckets": [{"distinct_range": 0, "num_eq": 2879983223393060696, "num_range": 0, "upper_bound": "2055878562"}, {"distinct_range": 341495925.76652205, "num_eq": 0, "num_range": 500000000, "upper_bound": "3131445787"}, {"distinct_range": 0, "num_eq": 4518908702944129301, "num_range": 0, "upper_bound": "4065080522"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 2759227637232033995, "row_count": 5974473588768956450}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2260285842627552057, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5974473588768956450}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4359380551397356752, "histo_col_type": "", "name": "__auto__", "null_count": 900895932329098211, "row_count": 5974473588768956450}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3274759156395308921, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3606446561052015353, "histo_col_type": "", "name": "__auto__", "null_count": 5282510672959609187, "row_count": 5425931237741300064}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3301124027604486610, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2291189774059681731, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1334114000554184673, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3791640195246427074, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2818380611361039969, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4517924749060711526, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1008647417432885766, "histo_col_type": "", "name": "__auto__", "null_count": 5039564841453445470, "row_count": 5425931237741300064}, {"columns": ["col5_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4286369652847957724, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4991767230089277330, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2094870055352427560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5301472814708573920, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3374312674075364644, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3055274245024226876, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2092885810467765243, "histo_col_type": "", "name": "__auto__", "null_count": 714859958370193211, "row_count": 5425931237741300064}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5046229336250430578, "histo_col_type": "", "name": "__auto__", "null_count": 4295535448023476879, "row_count": 5425931237741300064}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 456130709577354489, "histo_col_type": "", "name": "__auto__", "null_count": 156161571085040855, "row_count": 5425931237741300064}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5421096866521931730, "histo_col_type": "", "name": "__auto__", "null_count": 2384849752580652268, "row_count": 5425931237741300064}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4616015281764439107, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "-1.2988814115524292"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1293465175093323254, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4479394141065266580, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2812717040501814252, "histo_col_type": "", "name": "__auto__", "null_count": 3319185221175136199, "row_count": 5425931237741300064}, {"columns": ["col5_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1525548466330077267, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5425931237741300064}, {"columns": ["col5_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1726153846688003691, "histo_col_type": "", "name": "__auto__", "null_count": 2246131669826253359, "row_count": 5425931237741300064}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2, col1_7) REFERENCES table4 (col1_6, col1_7);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_11) REFERENCES table2 (col2_2) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('wvtw');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('lakb', 'e', 'h', 'vbtt', 'huxtgu');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"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_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2275438632260850207, "num_range": 0, "upper_bound": "#>\\u0013Q*\\u0002.Bc"}, {"distinct_range": 28357.631645018784, "num_eq": 4582337305097261689, "num_range": 100000, "upper_bound": ",0\\u0001\\u001f\\u001e\\\\9\\""}, {"distinct_range": 973397035105540200, "num_eq": 235244881072157160, "num_range": 7618004816910417610, "upper_bound": "7^OmC\\u001d\\u0010N>"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 800000000, "upper_bound": ";\\u001c"}, {"distinct_range": 4254246833772306400, "num_eq": 7425112431046431368, "num_range": 8111962035432255147, "upper_bound": "hsT\\u001a\\t^9b5"}], "histo_col_type": "VARCHAR", "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_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_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_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "1301337260"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_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": ["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_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_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": ["col1_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": ["col1_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": ["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_14"], "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": "0.6476607918739319"}, {"distinct_range": 0, "num_eq": 1482815444039665630, "num_range": 7582961552411390833, "upper_bound": "0.7155643701553345"}], "histo_col_type": "FLOAT4", "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_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_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}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 10, "row_count": 50}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-77 years -6 mons -998 days -11:45:22.523906"}, {"distinct_range": 800000000, "num_eq": 1658064114841846540, "num_range": 800000000, "upper_bound": "-70 years -7 mons -815 days -20:40:26.508139"}, {"distinct_range": 3720875570.318071, "num_eq": 50, "num_range": 4000000000, "upper_bound": "-60 years -11 mons -866 days -16:16:23.285601"}, {"distinct_range": 0, "num_eq": 6012075648616778424, "num_range": 0, "upper_bound": "-17 years -10 mons -792 days -08:07:44.733028"}, {"distinct_range": 400, "num_eq": 0, "num_range": 400, "upper_bound": "-14 years -475 days -08:22:44.455291"}, {"distinct_range": 9122072562285756000, "num_eq": 2340336767497104584, "num_range": 9122072562285755926, "upper_bound": "00:00:00"}, {"distinct_range": 455118418869211840, "num_eq": 156024468120108410, "num_range": 877487169222693050, "upper_bound": "3 years 4 mons 449 days 11:46:35.816149"}, {"distinct_range": 1113134747440875400, "num_eq": 3967231586732307190, "num_range": 1113134747440875377, "upper_bound": "4 years 8 mons 960 days 19:10:56.756558"}, {"distinct_range": 100000000000, "num_eq": 0, "num_range": 100000000000, "upper_bound": "77 years 8 mons 94 days 04:29:58.391404"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2979766, "histo_col_type": "", "name": "__auto__", "null_count": 516234, "row_count": 4000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1301478, "histo_buckets": [{"distinct_range": 0, "num_eq": 8938627216587297331, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 1948065860565280500, "num_eq": 70, "num_range": 1948065860565280540, "upper_bound": "-1.6283267736434937"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 9000000000, "upper_bound": "-0.7607542276382446"}, {"distinct_range": 0, "num_eq": 3789037848052160205, "num_range": 2642481879261483877, "upper_bound": "-0.6446517705917358"}, {"distinct_range": 0, "num_eq": 7034746787742484279, "num_range": 700000000, "upper_bound": "-0.5448095798492432"}, {"distinct_range": 0, "num_eq": 3990851919794780194, "num_range": 0, "upper_bound": "-0.257279634475708"}, {"distinct_range": 530840652153993600, "num_eq": 4520862382343810051, "num_range": 6597058987681432575, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1994172, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977555, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589121, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3570600, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1709790, "histo_col_type": "", "name": "__auto__", "null_count": 1094956, "row_count": 4000000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2304221, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1252792, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3253811, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 83077, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3333600, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1117875, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3510348, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "0.9805267199015952"}, {"distinct_range": 100000, "num_eq": 2603130575923630317, "num_range": 100000, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3381955, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 630239, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1312125, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1676187, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29744825402, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10299454242, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20263398326, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "\\u000f~\\r"}, {"distinct_range": 6030359954121064000, "num_eq": 6434848238430982564, "num_range": 7602027182173856914, "upper_bound": ":dQ=9n"}], "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": 30520975301, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34542950926, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11159190640, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "492601740"}, {"distinct_range": 0, "num_eq": 50, "num_range": 30000000, "upper_bound": "571648761"}, {"distinct_range": 0, "num_eq": 7010693005149035247, "num_range": 200, "upper_bound": "667984422"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 700000000, "upper_bound": "1132545624"}, {"distinct_range": 4318782914749694500, "num_eq": 40, "num_range": 6406936767909957818, "upper_bound": "1861606145"}, {"distinct_range": 3607973560381179400, "num_eq": 10000000, "num_range": 3607973560381179323, "upper_bound": "3088416373"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 2708569284027373907, "upper_bound": "3345323838"}, {"distinct_range": 56495.531262293516, "num_eq": 8000000000, "num_range": 60000, "upper_bound": "4242495201"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 30354103887, "row_count": 50000000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22337210936, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49945753979, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24182271786, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 500000, "num_eq": 70000000, "num_range": 500000, "upper_bound": "1199221332"}, {"distinct_range": 6000, "num_eq": 0, "num_range": 6000, "upper_bound": "1659007242"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 8000000, "upper_bound": "2145070763"}, {"distinct_range": 304910869167923300, "num_eq": 1000000, "num_range": 321942687751745957, "upper_bound": "3635067452"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40885766916, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43541370426, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11662349777, "histo_col_type": "", "name": "__auto__", "null_count": 15929871959, "row_count": 50000000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35174799711, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44958329794, "histo_buckets": [{"distinct_range": 0, "num_eq": 4101621442016477528, "num_range": 0, "upper_bound": "\\u0008"}, {"distinct_range": 65362673911161250, "num_eq": 4895846029566951177, "num_range": 2361790641439507724, "upper_bound": "\\u001b"}, {"distinct_range": 0, "num_eq": 6120010809234320377, "num_range": 0, "upper_bound": ","}, {"distinct_range": 80, "num_eq": 0, "num_range": 80, "upper_bound": "S"}, {"distinct_range": 50, "num_eq": 8000, "num_range": 50, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 3122372641755742233, "upper_bound": "["}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19336128539, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11116452788, "histo_col_type": "", "name": "__auto__", "null_count": 28350966601, "row_count": 50000000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16199752734, "histo_col_type": "", "name": "__auto__", "null_count": 17334385470, "row_count": 50000000000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38178800501, "histo_buckets": [{"distinct_range": 0, "num_eq": 4845508726134444221, "num_range": 0, "upper_bound": "-2.253985643386841"}, {"distinct_range": 4238443685201346600, "num_eq": 3365918225706200385, "num_range": 4238443685201346314, "upper_bound": "-1.0566800832748413"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 90000000000, "upper_bound": "-0.603903591632843"}, {"distinct_range": 1406600821745517800, "num_eq": 900, "num_range": 7287699173957648908, "upper_bound": "-0.33364933729171753"}, {"distinct_range": 40000, "num_eq": 6000000000, "num_range": 40000, "upper_bound": "0.0"}, {"distinct_range": 2940783912714742300, "num_eq": 100, "num_range": 2940783912714742124, "upper_bound": "0.3208156228065491"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 50000000000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14519926086, "histo_col_type": "", "name": "__auto__", "null_count": 30980757251, "row_count": 50000000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9333170303, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "-0.5055456161499023"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 50000000000}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 16, "row_count": 90}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 41, "row_count": 90}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 78, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27, "histo_col_type": "", "name": "__auto__", "null_count": 46, "row_count": 90}, {"columns": ["col5_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_col_type": "", "name": "__auto__", "null_count": 62, "row_count": 90}, {"columns": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"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": 90}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71, "histo_col_type": "", "name": "__auto__", "null_count": 89, "row_count": 90}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 4, "row_count": 90}, {"columns": ["col5_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60, "histo_col_type": "", "name": "__auto__", "null_count": 71, "row_count": 90}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "-1.2123686075210571"}, {"distinct_range": 0, "num_eq": 7372382868107395493, "num_range": 2000000000, "upper_bound": "-1.0556572675704956"}, {"distinct_range": 0, "num_eq": 3579595115980031517, "num_range": 700000, "upper_bound": "-0.527361273765564"}, {"distinct_range": 40883581641285790, "num_eq": 1000000, "num_range": 502805710838661334, "upper_bound": "-0.36311259865760803"}, {"distinct_range": 10000000000, "num_eq": 40000000000, "num_range": 10000000000, "upper_bound": "0.2792329788208008"}, {"distinct_range": 1944007654732068600, "num_eq": 3721523819626151933, "num_range": 1944007654732068537, "upper_bound": "0.7776670455932617"}, {"distinct_range": 4000, "num_eq": 2000000000, "num_range": 4000, "upper_bound": "1.1724185943603516"}, {"distinct_range": 6242861186654001000, "num_eq": 5331197748958070648, "num_range": 7896562083508964682, "upper_bound": "1.329123616218567"}, {"distinct_range": 2223039948554335700, "num_eq": 100000000, "num_range": 2223039948554335848, "upper_bound": "1.5785433053970337"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col5_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_col_type": "", "name": "__auto__", "null_count": 17, "row_count": 90}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 204397, "histo_buckets": [{"distinct_range": 0, "num_eq": 8314361627146340235, "num_range": 0, "upper_bound": ">\\u0006\'?yK"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2332122136351187548, "upper_bound": "I.r)s"}, {"distinct_range": 8179425103456025000, "num_eq": 30000, "num_range": 8179425103456024995, "upper_bound": "X+\\u000egQc"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 60000, "upper_bound": "pwibWf"}, {"distinct_range": 4029865709622605300, "num_eq": 500000000, "num_range": 4029865709622605285, "upper_bound": "}psr2\\u0014"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6892656, "histo_col_type": "", "name": "__auto__", "null_count": 230426, "row_count": 8000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2577513, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5381456, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1443993, "histo_col_type": "", "name": "__auto__", "null_count": 3729015, "row_count": 8000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4275464, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1828233, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "d
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@3c223f5f5162103110a790743b687ef2bf952489:

        cockroach2_1  | webui:               http://cockroach2:8080
        cockroach2_1  | sql:                 postgresql://root@cockroach2:26257?sslmode=disable
        cockroach2_1  | RPC client flags:    /cockroach/cockroach <client cmd> --host=cockroach2:26257 --insecure
        cockroach2_1  | logs:                /cockroach-data/logs
        cockroach2_1  | temp dir:            /cockroach-data/cockroach-temp147169251
        cockroach2_1  | external I/O path:   /cockroach-data/extern
        cockroach2_1  | store[0]:            path=/cockroach-data
        cockroach2_1  | storage engine:      pebble
        cockroach2_1  | status:              initialized new cluster
        cockroach2_1  | clusterID:           078ae173-1b72-4a88-94a8-5a0e1af408dd
        cockroach2_1  | nodeID:              1
        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-02-18 06:14:16.984 UTC [48] LOG:  received fast shutdown request
        postgres_1    | .2021-02-18 06:14:16.987 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-02-18 06:14:16.988 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-02-18 06:14:16.997 UTC [50] LOG:  shutting down
        postgres_1    | 2021-02-18 06:14:17.107 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-02-18 06:14:17.197 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-18 06:14:17.197 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-18 06:14:17.202 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-18 06:14:17.217 UTC [85] LOG:  database system was shut down at 2021-02-18 06:14:17 UTC
        postgres_1    | 2021-02-18 06:14:17.223 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (602.14s)
        test_1        |     --- FAIL: TestCompare/postgres (1.46s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2: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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@83e70ce84b740e27e721c3b73c38a4b8b515094a:


        test_1        | --- FAIL: TestCompare (3.19s)
        test_1        |     --- FAIL: TestCompare/postgres (2.06s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (1.13s)
        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 REGTYPE NOT NULL, col1_2 OID NOT NULL, col1_3 OID NOT NULL, col1_4 CHAR NULL, col1_5 INTERVAL NOT NULL, col1_6 NAME NOT NULL, col1_7 TIMETZ NOT NULL, col1_8 BIT(6)[] NULL, col1_9 NAME NOT NULL, col1_10 BIT(25) NULL, col1_11 CHAR NOT NULL, col1_12 FLOAT4 NOT NULL, col1_13 CHAR, PRIMARY KEY (col1_11 ASC, col1_12 DESC, col1_9 DESC, col1_0, col1_3 DESC, col1_1 ASC, col1_5 ASC, col1_7 ASC), INDEX (col1_11, col1_5 ASC, col1_4 DESC, col1_13 DESC, col1_3 DESC, col1_9, col1_6) STORING (col1_2) WHERE (table1.col1_0 <= e'\x00':::STRING) AND (table1.col1_6 != 'X':::STRING), INDEX (col1_3) WHERE (((table1.col1_11 = e'\U00002603':::STRING) AND (table1.col1_0 >= e'\'':::STRING)) AND (table1.col1_13 = e'\x00':::STRING)) AND (table1.col1_12 < 0.0:::FLOAT8), INDEX (col1_4 DESC, col1_9 DESC, col1_12 ASC, col1_3, col1_1 ASC, col1_2, col1_6 DESC, col1_10 ASC, col1_5 DESC) STORING (col1_8, col1_13) WHERE (((((((table1.col1_7 <= '00:00:00+15:59:00':::TIMETZ) OR (table1.col1_13 < e'\x00':::STRING)) AND (table1.col1_4 = 'X':::STRING)) OR (table1.col1_12 != 'NaN':::FLOAT8)) OR (table1.col1_0 = '':::STRING)) OR (table1.col1_11 < e'\x00':::STRING)) OR (table1.col1_9 != 'X':::STRING)) AND (table1.col1_6 <= e'\x00':::STRING), INDEX (col1_3 DESC, col1_4 ASC, col1_13 DESC, col1_9 DESC, col1_2 DESC) WHERE (((((((table1.col1_0 > e'\'':::STRING) OR (table1.col1_9 = '':::STRING)) OR (table1.col1_6 < e'\'':::STRING)) AND (table1.col1_7 != '24:00:00-15:59:00':::TIMETZ)) OR (table1.col1_13 <= '"':::STRING)) AND (table1.col1_4 > '"':::STRING)) OR (table1.col1_12 < '+Inf':::FLOAT8)) OR (table1.col1_11 = 'X':::STRING), UNIQUE (col1_0, col1_12, col1_7, col1_4 ASC) STORING (col1_2, col1_6, col1_8, col1_10, col1_13) WHERE (((((((table1.col1_11 != e'\'':::STRING) AND (table1.col1_12 = 0.0:::FLOAT8)) OR (table1.col1_7 >= '00:00:00+15:59:00':::TIMETZ)) OR (table1.col1_6 <= e'\x00':::STRING)) AND (table1.col1_4 != '':::STRING)) AND (table1.col1_9 >= e'\U00002603':::STRING)) AND (table1.col1_13 >= '':::STRING)) AND (table1.col1_0 != '"':::STRING), UNIQUE (col1_7, col1_0, col1_1 DESC, col1_3, col1_2 ASC, col1_4, col1_6, col1_9) STORING (col1_8), FAMILY (col1_5, col1_9), FAMILY (col1_13, col1_7, col1_11, col1_0, col1_3), FAMILY (col1_12), FAMILY (col1_1, col1_10), FAMILY (col1_4), FAMILY (col1_6, col1_2), FAMILY (col1_8), UNIQUE (col1_12));
        test_1        |             CREATE TABLE table2 (col2_0 NAME NOT NULL, col2_1 TIMESTAMPTZ, col2_2 BIT(25) NOT NULL, col2_3 INET NULL, col2_4 REGNAMESPACE, col2_5 FLOAT8, col2_6 "char" NOT NULL, FAMILY (col2_4, col2_2), FAMILY (col2_1), FAMILY (col2_0), FAMILY (col2_6), FAMILY (col2_3, col2_5));
        test_1        |             CREATE TABLE table3 (col3_0 TIMESTAMP[], col3_1 BYTES NOT NULL, col3_2 OID NOT NULL, col3_3 UUID NOT NULL, col3_4 TIME NOT NULL, col3_5 TIMESTAMP NOT NULL, col3_6 INT4 NOT NULL, col3_7 CHAR NOT NULL, col3_8 TIME NOT NULL, col3_9 TIMESTAMP NULL, col3_10 REGCLASS NOT NULL, col3_11 INET NOT NULL, col3_12 TIMESTAMP NULL, col3_13 REGNAMESPACE NULL, col3_14 TIMETZ, col3_15 "char" NOT NULL, col3_16 REGCLASS NOT NULL, PRIMARY KEY (col3_6, col3_8 DESC, col3_11, col3_3 ASC, col3_1 ASC, col3_15 DESC, col3_5 DESC, col3_7 ASC, col3_16, col3_4 DESC, col3_10 DESC, col3_2), INDEX (col3_13, col3_15 ASC, col3_3, col3_1 ASC, col3_14, col3_16 ASC) STORING (col3_0, col3_9) WHERE (((((((table3.col3_15 <= e'\'') OR (table3.col3_1 < '\xe29883')) OR (table3.col3_5 != '3000-01-01 00:00:00')) OR (table3.col3_7 = e'\'')) AND (table3.col3_9 > '-2000-01-01 00:00:00')) OR (table3.col3_14 != '24:00:00-15:59:00')) AND (table3.col3_6 >= 0)) OR (table3.col3_8 != '24:00:00'), INDEX (col3_12 DESC, col3_7, col3_14 ASC, col3_3 ASC, col3_13, col3_5 ASC) STORING (col3_9) WHERE ((((table3.col3_1 < '\x58') OR (table3.col3_8 > '00:00:00')) OR (table3.col3_5 < '-4713-11-24 00:00:00')) OR (table3.col3_15 <= '"')) OR (table3.col3_4 = '24:00:00'), FAMILY (col3_4), FAMILY (col3_9), FAMILY (col3_13), FAMILY (col3_16), FAMILY (col3_7, col3_2, col3_12, col3_1), FAMILY (col3_3, col3_5, col3_8), FAMILY (col3_15), FAMILY (col3_6, col3_10), FAMILY (col3_14), FAMILY (col3_0, col3_11));
        test_1        |             CREATE TABLE table4 (col4_0 UUID NOT NULL, col4_1 TIMESTAMP NOT NULL, col4_2 FLOAT8[] NULL, col4_3 FLOAT8, col4_4 STRING NULL, col4_5 "char", col4_6 INET NOT NULL, col4_7 INT4, col4_8 DATE NOT NULL, col4_9 REGPROC, col4_10 REGCLASS, col4_11 BIT(9) NULL, col4_12 BIT(2) NOT NULL, col4_13 TIME, col4_14 DECIMAL NOT NULL, col4_15 REGCLASS, col4_16 NAME NOT NULL, col4_17 BIT(7) NOT NULL, PRIMARY KEY (col4_14 ASC, col4_16 DESC, col4_1 DESC, col4_6 DESC), INDEX (col4_15 DESC, col4_6, col4_9 ASC, col4_8 ASC, col4_17, col4_7 ASC, col4_0, col4_14 DESC, col4_4 ASC, col4_10, col4_1 DESC, col4_5 DESC, col4_16, col4_12, col4_11 ASC), INDEX (col4_12 DESC, col4_0 ASC, col4_1 DESC, col4_6 DESC, col4_9, col4_7 ASC, col4_14 ASC, col4_8, col4_10 ASC, col4_15, col4_11 DESC, col4_13 DESC, col4_3 ASC, col4_5 DESC, col4_4 DESC, col4_17 ASC, col4_16) WHERE ((((((((table4.col4_8 != 'infinity':::DATE) AND (table4.col4_4 != '':::STRING)) AND (table4.col4_5 != 'X':::STRING)) OR (table4.col4_7 > 1:::INT8)) AND (table4.col4_3 < 1.7976931348623157e+308:::FLOAT8)) OR (table4.col4_13 >= '24:00:00':::TIME)) OR (table4.col4_14 >= 'NaN':::DECIMAL)) AND (table4.col4_16 = e'\'':::STRING)) OR (table4.col4_1 <= '3000-01-01 00:00:00':::TIMESTAMP), INDEX (col4_3 ASC, col4_12 DESC, col4_11, col4_6, col4_5, col4_13, col4_4 ASC, col4_8 ASC) STORING (col4_7, col4_10, col4_17) WHERE ((((((((table4.col4_1 >= '3000-01-01 00:00:00':::TIMESTAMP) OR (table4.col4_4 > '':::STRING)) OR (table4.col4_7 <= 0:::INT8)) OR (table4.col4_5 <= e'\U00002603':::STRING)) AND (table4.col4_3 = (-1.0):::FLOAT8)) OR (table4.col4_8 >= 'infinity':::DATE)) OR (table4.col4_16 > e'\'':::STRING)) AND (table4.col4_13 != '24:00:00':::TIME)) OR (table4.col4_14 = 1:::DECIMAL), FAMILY (col4_0), FAMILY (col4_12), FAMILY (col4_6), FAMILY (col4_2, col4_7), FAMILY (col4_15, col4_8, col4_9), FAMILY (col4_11, col4_17), FAMILY (col4_3), FAMILY (col4_4, col4_13, col4_16, col4_1, col4_10), FAMILY (col4_14, col4_5), UNIQUE (col4_1) WHERE (((table4.col4_13 >= '24:00:00') OR (table4.col4_7 <= -1)) AND (table4.col4_5 >= '')) OR (table4.col4_3 != NaN));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 244820844964041733, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2106192745811243876, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1474545878949090674, "histo_buckets": [{"distinct_range": 0, "num_eq": 2335597924732106675, "num_range": 0, "upper_bound": "267504691"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 1000000, "upper_bound": "314776158"}, {"distinct_range": 18878439608.922695, "num_eq": 100, "num_range": 80000000000, "upper_bound": "3265719321"}, {"distinct_range": 0, "num_eq": 6294052514075510703, "num_range": 2000000, "upper_bound": "3640759669"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2891128293543965651, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1071986272369546119, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2115883378054475135, "histo_col_type": "", "name": "__auto__", "null_count": 2120898239429334606, "row_count": 4103234287248356822}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3674401034189443941, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 327623834606137800, "num_eq": 70000, "num_range": 7397216998344606179, "upper_bound": "R"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "_"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 70000000000, "upper_bound": "l"}, {"distinct_range": 1455622995024254000, "num_eq": 1000, "num_range": 1455622995024253989, "upper_bound": "}"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 1683584751526967203, "row_count": 4103234287248356822}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2171804121731671441, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 100884029409219564, "histo_col_type": "", "name": "__auto__", "null_count": 2719485133189999221, "row_count": 4103234287248356822}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1270000227817961324, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3277965482112507200, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 4614314441687883610, "upper_bound": "7~\\t4"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2219933875333106120, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 939504841786144970, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4103234287248356822}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2171106850940891879, "histo_col_type": "", "name": "__auto__", "null_count": 3932747848135399738, "row_count": 4103234287248356822}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3000, "histo_col_type": "", "name": "__auto__", "null_count": 4712, "row_count": 9000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3939, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 358, "histo_col_type": "", "name": "__auto__", "null_count": 7914, "row_count": 9000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4324, "histo_col_type": "", "name": "__auto__", "null_count": 295, "row_count": 9000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8264, "histo_col_type": "", "name": "__auto__", "null_count": 7910, "row_count": 9000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6605, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4287, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2169096037340783661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2138738823230086134, "histo_col_type": "", "name": "__auto__", "null_count": 2797359231037108971, "row_count": 3628209371721266766}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1574540659213370747, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377758733861035677, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3489580087662567414, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1478198590720573530, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 419434062354778140, "histo_buckets": [{"distinct_range": 0, "num_eq": 5059881942560286379, "num_range": 0, "upper_bound": "-2147483648"}, {"distinct_range": 8919791785.142067, "num_eq": 5417831849386513891, "num_range": 9000000000, "upper_bound": "-2143415901"}, {"distinct_range": 70000, "num_eq": 60000000, "num_range": 70000, "upper_bound": "-1437188167"}, {"distinct_range": 10000000000, "num_eq": 40, "num_range": 10000000000, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 8696360119251869394, "upper_bound": "1"}, {"distinct_range": 600000000, "num_eq": 30000000, "num_range": 600000000, "upper_bound": "3313524"}, {"distinct_range": 1590644216478797800, "num_eq": 60000000000, "num_range": 1590644216478797795, "upper_bound": "1713985124"}, {"distinct_range": 542579593338689300, "num_eq": 1694596673602782350, "num_range": 899616291609955739, "upper_bound": "1946870828"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1529474465226811228, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1080102986770372943, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2324106889833163881, "histo_buckets": [{"distinct_range": 0, "num_eq": 839028569511631273, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4359626596747936300, "num_eq": 4587495356341070597, "num_range": 7691741844281624228, "upper_bound": "522250899"}, {"distinct_range": 0, "num_eq": 1272394406501618976, "num_range": 2605829895380388381, "upper_bound": "553269593"}, {"distinct_range": 0, "num_eq": 2074114715115444838, "num_range": 10, "upper_bound": "783096452"}, {"distinct_range": 3951406.4220533594, "num_eq": 2198178532023374398, "num_range": 10000000, "upper_bound": "861884841"}, {"distinct_range": 0, "num_eq": 500, "num_range": 3878853407160020870, "upper_bound": "884716868"}, {"distinct_range": 30000, "num_eq": 4813964125030279921, "num_range": 30000, "upper_bound": "1617254568"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 3425236268648298105, "row_count": 3628209371721266766}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 935104876647595224, "histo_col_type": "", "name": "__auto__", "null_count": 329066763000203198, "row_count": 3628209371721266766}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1333661311282802359, "histo_col_type": "", "name": "__auto__", "null_count": 562284457373376536, "row_count": 3628209371721266766}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1260192954053864991, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2558829679823689515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3297161675828646129, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1047342859106960974, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00"}, {"distinct_range": 0.3628581955816427, "num_eq": 20, "num_range": 80, "upper_bound": "1972-06-12 09:48:27.000876"}, {"distinct_range": 17412941373.07829, "num_eq": 600, "num_range": 20000000000, "upper_bound": "1980-11-14 03:53:33.000535"}, {"distinct_range": 3114.8968821248786, "num_eq": 40000000000, "num_range": 40000, "upper_bound": "2004-03-23 01:32:52.000829"}, {"distinct_range": 135436092.26355004, "num_eq": 2475170069251291915, "num_range": 10000000000, "upper_bound": "2024-12-08 04:24:16.000934"}, {"distinct_range": 0, "num_eq": 3305908347768323614, "num_range": 2000, "upper_bound": "2028-10-17 00:53:08.000372"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 1469748422086965982, "row_count": 3628209371721266766}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2463787341181185012, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3628209371721266766}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1927953580974886926, "histo_col_type": "", "name": "__auto__", "null_count": 5225879627813391746, "row_count": 7046248761138430257}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2257585649237251624, "histo_col_type": "", "name": "__auto__", "null_count": 3278134147586746375, "row_count": 7046248761138430257}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 231329847564692675, "histo_col_type": "", "name": "__auto__", "null_count": 7017792343164082500, "row_count": 7046248761138430257}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6575595461293751842, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4574237015898522540, "histo_col_type": "", "name": "__auto__", "null_count": 3126011858630368063, "row_count": 7046248761138430257}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1513112398723386997, "histo_col_type": "", "name": "__auto__", "null_count": 2066133926983553862, "row_count": 7046248761138430257}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5088517325240667058, "histo_buckets": [{"distinct_range": 0, "num_eq": 412072884326472532, "num_range": 0, "upper_bound": "-6.78837343869418398E+33"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 3487806787118311637, "upper_bound": "-3.462508719005496788E+33"}, {"distinct_range": 0, "num_eq": 50000, "num_range": 40000000, "upper_bound": "-6.328640483215972347E+31"}, {"distinct_range": 1098099806365445000, "num_eq": 8059607527868990267, "num_range": 7126036878085538905, "upper_bound": "-2.237651910267403071E+30"}, {"distinct_range": 0, "num_eq": 3307407648039809602, "num_range": 900000000, "upper_bound": "-8.659334335691056249E+25"}, {"distinct_range": 0, "num_eq": 39498960360314086, "num_range": 400, "upper_bound": "-1174716455.637425802"}, {"distinct_range": 2560186846682844000, "num_eq": 6364077954286746256, "num_range": 6343333847672067594, "upper_bound": "1423517317.787934285"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 2941021505698874644, "upper_bound": "41037904839145228.04"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1231619770329355030, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "1274855618"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 1362528837889408876, "row_count": 7046248761138430257}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5474431241320497078, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5768217771136392738, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3382831978067787762, "histo_col_type": "", "name": "__auto__", "null_count": 232185003194857377, "row_count": 7046248761138430257}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5479936661897880455, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 408124760985302749, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5891751207388168337, "histo_col_type": "", "name": "__auto__", "null_count": 5794365915619604370, "row_count": 7046248761138430257}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602398170466617405, "histo_buckets": [{"distinct_range": 0, "num_eq": 6905146125936842259, "num_range": 0, "upper_bound": "00"}, {"distinct_range": 5978342.1592098195, "num_eq": 1131032848838111029, "num_range": 10000000, "upper_bound": "01"}, {"distinct_range": 824258532975382300, "num_eq": 9043512747171779222, "num_range": 824258532975382250, "upper_bound": "10"}, {"distinct_range": 0, "num_eq": 5962558907903946042, "num_range": 600000, "upper_bound": "11"}], "histo_col_type": "BIT(2)", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 330713491992226243, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7046248761138430257}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2543958788390589274, "histo_buckets": [{"distinct_range": 0, "num_eq": 4352176347686846079, "num_range": 0, "upper_bound": "-0.28446674712218945"}, {"distinct_range": 1873883874217034000, "num_eq": 10000000, "num_range": 1873883874217034085, "upper_bound": "0.057683068849643526"}, {"distinct_range": 0, "num_eq": 7248313309889039192, "num_range": 0, "upper_bound": "0.08791218263459527"}, {"distinct_range": 157426234.8491741, "num_eq": 900, "num_range": 200000000, "upper_bound": "1.3575478978821842"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 125353607947139900, "row_count": 7046248761138430257}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48967920692249309, "histo_col_type": "", "name": "__auto__", "null_count": 5294130138464869923, "row_count": 7046248761138430257}]':::JSONB;
        test_1        |             ALTER TABLE table4 ADD FOREIGN KEY (col4_3) REFERENCES table1 (col1_12);
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_5) REFERENCES table4 (col4_1) ON DELETE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('wn', 'k');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('bkhwxa');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('txw', 'tfxaaa');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('r', 'fjadz');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('aowebp', 'hgqev', 'sj', 'ozdtty');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 176257739213613289, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62251126097789258, "histo_buckets": [{"distinct_range": 0, "num_eq": 7142772098585336784, "num_range": 0, "upper_bound": "00:11:19.099395-00:54:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000000000, "upper_bound": "06:27:55.509395-01:04:00"}, {"distinct_range": 9180482390227472000, "num_eq": 500, "num_range": 9180482390227472080, "upper_bound": "06:57:17.203587-00:46:00"}, {"distinct_range": 0, "num_eq": 5474535043193238345, "num_range": 2251560053587185037, "upper_bound": "07:52:01.116468-05:50:00"}, {"distinct_range": 7918952358775839000, "num_eq": 3506142167595754124, "num_range": 7918952358775838220, "upper_bound": "22:02:38.986811+05:51:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186894455067218225, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 271115984087034114, "histo_col_type": "", "name": "__auto__", "null_count": 49243151110181478, "row_count": 287958949837542482}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232197714115230208, "histo_col_type": "", "name": "__auto__", "null_count": 281753201532838688, "row_count": 287958949837542482}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169775563857986534, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183890794336596494, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "+"}, {"distinct_range": 0, "num_eq": 772420957781355261, "num_range": 0, "upper_bound": "I\\u001c\\u0015A2u\\u0004b"}, {"distinct_range": 0, "num_eq": 178252752515480730, "num_range": 6000000000, "upper_bound": "_"}, {"distinct_range": 802995986776714800, "num_eq": 400000000, "num_range": 802995986776714765, "upper_bound": "r]E\\u0008l"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12395948402806969, "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 244269076755910740, "histo_buckets": [{"distinct_range": 0, "num_eq": 4953369079325191227, "num_range": 0, "upper_bound": "\\u0015"}, {"distinct_range": 9129605774139751000, "num_eq": 50000, "num_range": 9129605774139751146, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 6765280119402266110, "upper_bound": "A"}, {"distinct_range": 0, "num_eq": 6822972918009977899, "num_range": 0, "upper_bound": "J"}, {"distinct_range": 6862807962.308184, "num_eq": 4453448183003374609, "num_range": 10000000000, "upper_bound": "f"}, {"distinct_range": 6339243405939099000, "num_eq": 3733495618004146402, "num_range": 6339243405939098470, "upper_bound": "t"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 174521685417095370, "row_count": 287958949837542482}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73056439905844259, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "E"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107303276792489916, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "-0.904147744178772"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 600000000, "upper_bound": "-0.5218731760978699"}, {"distinct_range": 8133336770288416000, "num_eq": 2000, "num_range": 8133336770288415926, "upper_bound": "0.14903616905212402"}, {"distinct_range": 0, "num_eq": 6418122122711540881, "num_range": 10000000, "upper_bound": "0.9228636026382446"}, {"distinct_range": 30000000000, "num_eq": 4019267457835471339, "num_range": 30000000000, "upper_bound": "1.0"}, {"distinct_range": 0, "num_eq": 551478364757171902, "num_range": 0, "upper_bound": "1.2082444429397583"}, {"distinct_range": 3703578865151021000, "num_eq": 1028678245203395901, "num_range": 6395634440926987776, "upper_bound": "1.4219474792480469"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 1000000000, "upper_bound": "2.7807223796844482"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 229163277928537266, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 165418989345879116, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 287958949837542482}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72387503298971237, "histo_col_type": "", "name": "__auto__", "null_count": 74270859247306095, "row_count": 287958949837542482}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 465423454833707286, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7787759013123961604}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3432169803837731016, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7787759013123961604}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4759365827798523583, "histo_col_type": "", "name": "__auto__", "null_count": 4374950983295637562, "row_count": 7787759013123961604}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1810767732297900326, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7787759013123961604}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5981565580734519708, "histo_col_type": "", "name": "__auto__", "null_count": 2437827036361080997, "row_count": 7787759013123961604}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2591787612576391795, "histo_col_type": "", "name": "__auto__", "null_count": 5827278342201285631, "row_count": 7787759013123961604}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3258456461178516856, "histo_col_type": "", "name": "__auto__", "null_count": 7561202735714682458, "row_count": 7787759013123961604}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 822117798, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 981232043, "histo_col_type": "", "name": "__auto__", "null_count": 768329502, "row_count": 1000000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84805180, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518091907, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 70, "num_eq": 0, "num_range": 70, "upper_bound": "367694104"}, {"distinct_range": 30, "num_eq": 8838343041025748164, "num_range": 30, "upper_bound": "438900957"}, {"distinct_range": 5000, "num_eq": 4269316567695533604, "num_range": 5000, "upper_bound": "588076564"}, {"distinct_range": 2249007787443466800, "num_eq": 3945269019187083215, "num_range": 2249007787443466865, "upper_bound": "687167757"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "891561411"}, {"distinct_range": 161070338922551300, "num_eq": 7116910221164778914, "num_range": 1447947280168437819, "upper_bound": "4008501710"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 519742959, "row_count": 1000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184200754, "histo_col_type": "", "name": "__auto__", "null_count": 777793895, "row_count": 1000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 265825259, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 431992189, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 696196495, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232359042, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 670736082, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 846844276, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 769233584, "histo_buckets": [{"distinct_range": 0, "num_eq": 4577578676877421166, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00"}, {"distinct_range": 0, "num_eq": 41178770710579264, "num_range": 0, "upper_bound": "1971-05-27 01:41:24.000947"}, {"distinct_range": 50.54524328680504, "num_eq": 7128616186975195029, "num_range": 100, "upper_bound": "1976-04-07 12:10:19.000879"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "1978-03-28 06:08:21.000156"}, {"distinct_range": 759225.6918745764, "num_eq": 4194495083196638370, "num_range": 1000000, "upper_bound": "1982-04-19 12:41:37.000896"}, {"distinct_range": 0, "num_eq": 3202501501766090210, "num_range": 100000000, "upper_bound": "1985-09-01 21:21:12.000851"}, {"distinct_range": 1394911.8838355609, "num_eq": 10000, "num_range": 3000000, "upper_bound": "1988-07-05 17:53:39.000805"}, {"distinct_range": 789.2128698789371, "num_eq": 5743530021636541432, "num_range": 1000, "upper_bound": "2000-03-09 00:04:25.000585"}, {"distinct_range": 166.02422062236226, "num_eq": 90000, "num_range": 1000, "upper_bound": "2001-07-30 06:10:36.00068"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 201308141, "row_count": 1000000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 819926585, "histo_col_type": "", "name": "__auto__", "null_count": 79333784, "row_count": 1000000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 181537296, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 879841899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 373892359, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 813009738, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_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": ["col4_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": ["col4_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": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8331939218988342603, "num_range": 0, "upper_bound": "259211248"}, {"distinct_range": 6934643721511772000, "num_eq": 2750549808707082795, "num_range": 6934643721511772393, "upper_bound": "511709254"}, {"distinct_range": 1725212911790752800, "num_eq": 50000, "num_range": 1725212911790752724, "upper_bound": "773026536"}, {"distinct_range": 265200.97932123224, "num_eq": 1478810187915101968, "num_range": 4000000, "upper_bound": "1722642846"}, {"distinct_range": 5492.0773504709, "num_eq": 200000, "num_range": 9000, "upper_bound": "2460169377"}, {"distinct_range": 82520716876949900, "num_eq": 1000, "num_range": 227699249900070368, "upper_bound": "2501249447"}, {"distinct_range": 4044570852488192500, "num_eq": 8506609365703994113, "num_range": 7875658818046767930, "upper_bound": "3970427868"}, {"distinct_range": 80000, "num_eq": 5614465131296409207, "num_range": 80000, "upper_bound": "4170848622"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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}, {"columns": ["col4_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": ["col4_3"], "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.1040839167341083"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 1024852851612481569, "upper_bound": "0.7830377910337211"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "1979-03-08 20:36:06.000771"}, {"distinct_range": 0, "num_eq": 5182440140700907027, "num_range": 7421476688221833716, "upper_bound": "1993-05-29 19:31:01.000606"}, {"distinct_range": 0, "num_eq": 3000000000, "num_range": 7348479376210985816, "upper_bound": "2002-12-01 02:18:56.00015"}, {"distinct_range": 0, "num_eq": 7801476680982472371, "num_range": 10000000, "upper_bound": "2003-10-28 05:37:26.000609"}, {"distinct_range": 0, "num_eq": 80, "num_range": 2278157773401192853, "upper_bound": "2017-07-26 11:04:53.000377"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 70, "upper_bound": "2019-03-15 13:34:22.000239"}, {"distinct_range": 5126346156190185000, "num_eq": 7000, "num_range": 5126346156190185521, "upper_bound": "2030-06-23 09:05:11.000903"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "00"}, {"distinct_range": 434492416.11106604, "num_eq": 7663649972704587670, "num_range": 500000000, "upper_bound": "01"}], "histo_col_type": "BIT(2)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2661237074656601222, "num_range": 0, "upper_bound": "-2.852894354977152058E+33"}, {"distinct_range": 0, "num_eq": 1305006816591312409, "num_range": 0, "upper_bound": "-5438774.716965319"}, {"distinct_range": 100, "num_eq": 5470901144606126617, "num_range": 100, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 4182686713384386099, "upper_bound": "-0.772562794250365191"}, {"distinct_range": 0, "num_eq": 600, "num_range": 7130504022619728465, "upper_bound": "6.781013739402671048"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 50000000, "upper_bound": "4.59538983053323033E+29"}, {"distinct_range": 10767913.412457181, "num_eq": 8414404856326559455, "num_range": 50000000, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_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": ["col4_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}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1837393304649846236, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2086682548512436873, "histo_col_type": "", "name": "__auto__", "null_count": 69764455352141089, "row_count": 4987804523967768522}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2911324973485773330, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3668343127637254514, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2317675263750185946, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 1247740982910740003, "upper_bound": "04:33:19.647775+12:19:00"}, {"distinct_range": 2954746779291029000, "num_eq": 0, "num_range": 4992428876153750163, "upper_bound": "19:49:10.808887+11:57:00"}, {"distinct_range": 1000000, "num_eq": 80000, "num_range": 1000000, "upper_bound": "22:53:53.431734+13:24:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1501314234811907954, "histo_col_type": "", "name": "__auto__", "null_count": 1204126154817625957, "row_count": 4987804523967768522}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3428304473518185724, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "\\u0002"}, {"distinct_range": 554.9136834050788, "num_eq": 90000000000, "num_range": 700, "upper_bound": "\\u0016"}, {"distinct_range": 0, "num_eq": 40, "num_range": 1000000, "upper_bound": "B"}, {"distinct_range": 41056.60475139763, "num_eq": 700000, "num_range": 50000, "upper_bound": "\U00002603"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88647773839453446, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "-1.6271196603775024"}, {"distinct_range": 6608847346932025000, "num_eq": 30000000, "num_range": 6608847346932025572, "upper_bound": "-0.9125024676322937"}, {"distinct_range": 4348499338579409000, "num_eq": 4472853302115757763, "num_range": 4348499338579408867, "upper_bound": "-0.5698105692863464"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 10000000, "upper_bound": "-0.02997708134353161"}, {"distinct_range": 319484.5357145818, "num_eq": 4000, "num_range": 1000000, "upper_bound": "0.6353017091751099"}, {"distinct_range": 8603081514781134000, "num_eq": 0, "num_range": 8603081514781133794, "upper_bound": "0.8656134009361267"}, {"distinct_range": 24483402357.915783, "num_eq": 8401731334468079055, "num_range": 40000000000, "upper_bound": "1.6268389225006104"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 20, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2665228925552808438, "histo_buckets": [{"distinct_range": 0, "num_eq": 4717202974876388071, "num_range": 0, "upper_bound": "\\u0010"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 40000000000, "upper_bound": "/"}, {"distinct_range": 59.26777168026035, "num_eq": 10000000000, "num_range": 60000, "upper_bound": "4"}, {"distinct_range": 900000000, "num_eq": 0, "num_range": 900000000, "upper_bound": ">"}, {"distinct_range": 4570607490691940400, "num_eq": 4143828234462311572, "num_range": 5092124621611536657, "upper_bound": "Z"}, {"distinct_range": 109314.69259335559, "num_eq": 100000000, "num_range": 500000, "upper_bound": "{"}, {"distinct_range": 800000000, "num_eq": 4737945471571783392, "num_range": 800000000, "upper_bound": "\x7f"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 4743503384367331323, "row_count": 4987804523967768522}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4949955470427114087, "histo_col_type": "", "name": "__auto__", "null_count": 2799442398491883119, "row_count": 4987804523967768522}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2948482344045134515, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 2836076238752151905, "num_range": 8921315938276167557, "upper_bound": "\\u00027;"}, {"distinct_range": 400000000, "num_eq": 4076372915378690609, "num_range": 400000000, "upper_bound": "\\nxJp"}, {"distinct_range": 0, "num_eq": 1239358392773773258, "num_range": 3000, "upper_bound": "\\u0016>l\\u0007RM"}, {"distinct_range": 6282298298635477000, "num_eq": 40000000, "num_range": 7465242282033123619, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 5550854347083719083, "num_range": 6213426677845685915, "upper_bound": "&(8E\\ns\\u00016"}, {"distinct_range": 4000, "num_eq": 6563182366328555087, "num_range": 4000, "upper_bound": "D\\u0002"}, {"distinct_range": 1497313687.3363044, "num_eq": 8607908961098359757, "num_range": 3000000000, "upper_bound": "fZ#i#H|HT"}, {"distinct_range": 6411.784373138607, "num_eq": 600000000, "num_range": 30000, "upper_bound": "l=P\\u0002(\\u0006\\u00176t"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2708688131480503694, "histo_buckets": [{"distinct_range": 0, "num_eq": 4782891371052211544, "num_range": 0, "upper_bound": "152992502"}, {"distinct_range": 1612432655774454800, "num_eq": 571372442570587383, "num_range": 1612432655774454818, "upper_bound": "1997659381"}, {"distinct_range": 0, "num_eq": 2521503870543553418, "num_range": 8278707345585236004, "upper_bound": "2603015434"}, {"distinct_range": 5790942890334774000, "num_eq": 900, "num_range": 5790942890334774379, "upper_bound": "4015005372"}, {"distinct_range": 3431251150533771000, "num_eq": 70000000, "num_range": 3431251150533770836, "upper_bound": "4190870312"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3660894436028795324, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 865530015939628375, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4987804523967768522}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 91, "row_count": 100}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 68, "row_count": 100}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72, "histo_col_type": "", "name": "__auto__", "null_count": 37, "row_count": 100}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91, "histo_col_type": "", "name": "__auto__", "null_count": 19, "row_count": 100}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2064163418250350787, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1114039254545305570, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1160058188135275007, "histo_col_type": "", "name": "__auto__", "null_count": 2505234979162147531, "row_count": 3659684344736147375}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1910825602788225693, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1394349134025258340, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 8244306695840056659, "num_range": 6590096540064328733, "upper_bound": "1977-08-16 01:21:58.000541"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 30000000, "upper_bound": "1980-03-03 04:40:37.000011"}, {"distinct_range": 688396550697528700, "num_eq": 200, "num_range": 2423436190844835391, "upper_bound": "1980-08-05 17:22:04.000195"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "1999-11-02 06:21:18.00039"}, {"distinct_range": 0, "num_eq": 402227107144291956, "num_range": 208382048769812742, "upper_bound": "2000-02-16 18:12:04.000915"}, {"distinct_range": 3998057668228678000, "num_eq": 50, "num_range": 8251235792446362777, "upper_bound": "2003-10-11 04:01:22.000665"}, {"distinct_range": 59583.48231313812, "num_eq": 7082591489144325603, "num_range": 1000000, "upper_bound": "2010-09-01 09:04:43.000623"}, {"distinct_range": 100, "num_eq": 1000000000, "num_range": 100, "upper_bound": "2019-01-30 10:07:50.000007"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 1614170547777516181, "row_count": 3659684344736147375}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16630528831620186, "histo_col_type": "", "name": "__auto__", "null_count": 2979057967756954089, "row_count": 3659684344736147375}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 366021146501008261, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2235209230828623519, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3601707502424587540, "histo_col_type": "", "name": "__auto__", "null_count": 2778322095152478563, "row_count": 3659684344736147375}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1814809255359153560, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1202932537051886306, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2679450409885769697, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103420173830611129, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 819761634405779201, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 907012109025915839, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "-1619639508"}, {"distinct_range": 0, "num_eq": 2658723994365375634, "num_range": 100000000, "upper_bound": "-1470937890"}, {"distinct_range": 0, "num_eq": 4227096753058429307, "num_range": 0, "upper_bound": "-1207068668"}, {"distinct_range": 900000000, "num_eq": 3555755585570593435, "num_range": 900000000, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 6962960264059688185, "num_range": 4037330260464692669, "upper_bound": "96642774"}, {"distinct_range": 300, "num_eq": 60000, "num_range": 300, "upper_bound": "334178149"}, {"distinct_range": 2683498926829080600, "num_eq": 5183866988397953935, "num_range": 3252321822871808092, "upper_bound": "1890061446"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1026042510300316266, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3659684344736147375}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3357176682457679530, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "785105924"}, {"distinct_range": 0, "num_eq": 3377846471734109187, "num_range": 60000, "upper_bound": "1514001243"}, {"distinct_range": 83543.13785486092, "num_eq": 4075902365879035, "num_range": 100000, "upper_bound": "1832260259"}, {"distinct_range": 1541431572883327200, "num_eq": 0, "num_range": 1541431572883327196, "upper_bound": "1986718525"}, {"distinct_range": 0, "num_eq": 3751258923164999179, "num_range": 7152728482870204030, "upper_bound": "2275203520"}, {"distinct_range": 0, "num_eq": 500, "num_range": 70, "upper_bound": "3630698987"}, {"distinct_range": 15314234172.112936, "num_eq": 1453548165899614099, "num_range": 50000000000, "upper_bound": "3885171565"}, {"distinct_range": 0, "num_eq": 7034928299217872021, "num_range": 0, "upper_bound": "4061438836"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 547079628459727791, "row_count": 3659684344736147375}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57920846788, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "-7.495737550499790357E+25"}, {"distinct_range": 0, "num_eq": 4878971460236834505, "num_range": 200, "upper_bound": "-2.97817981223574355E+20"}, {"distinct_range": 7232046169070061000, "num_eq": 2073203840864437611, "num_range": 7232046169070060462, "upper_bound": "2.744823212836167863E+20"}, {"distinct_range": 40000000, "num_eq": 3000000000, "num_range": 40000000, "upper_bound": "2.686830291820749021E+36"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80000000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79228707839, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4289851352, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16885320688, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "1992-07-27 00:26:16.000386"}, {"distinct_range": 202855097.67335662, "num_eq": 2000000000, "num_range": 300000000, "upper_bound": "2011-05-25 09:02:04.000559"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 80000000000}, {"colum
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@8b6f3c84cc256debeeb4d4055c5f0d5c9a481213:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2021-02-20 06:12:47.524 UTC [47] LOG:  received fast shutdown request
        postgres_1    | .2021-02-20 06:12:47.526 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2021-02-20 06:12:47.528 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2021-02-20 06:12:47.534 UTC [49] LOG:  shutting down
        postgres_1    | 2021-02-20 06:12:47.636 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-02-20 06:12:47.735 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-20 06:12:47.735 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-20 06:12:47.739 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-20 06:12:47.753 UTC [84] LOG:  database system was shut down at 2021-02-20 06:12:47 UTC
        postgres_1    | 2021-02-20 06:12:47.759 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (3.44s)
        test_1        |     --- FAIL: TestCompare/postgres (2.68s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.75s)
        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 INT8, col1_1 VARCHAR NOT NULL, PRIMARY KEY (col1_1 ASC), INDEX (col1_0, col1_1 DESC) WHERE (table1.col1_0 >= -1) OR (table1.col1_1 < 'X'), UNIQUE (col1_1 DESC, col1_0 ASC) WHERE table1.col1_0 >= (-9223372036854775807):::INT8, FAMILY (col1_1), FAMILY (col1_0));
        test_1        |             CREATE TABLE table2 (col1_1 VARCHAR NOT NULL, col2_1 FLOAT4, col2_2 BYTES NULL, col2_3 FLOAT8 NULL, col2_4 UUID, col2_5 FLOAT4, PRIMARY KEY (col1_1 ASC, col2_2, col2_4), INDEX (col2_5 ASC, col2_3 ASC, col2_1 ASC, col1_1 ASC, col2_4 ASC, col2_2 ASC) WHERE (((table2.col2_3 < 1.401298464324817e-45) AND (table2.col2_1 > -Inf)) AND (table2.col2_2 > '\x58')) AND (table2.col2_5 > NaN), UNIQUE (col2_3, col2_5 DESC, col2_2 DESC, col2_4, col2_1 ASC, col1_1) WHERE ((((table2.col2_2 > e'\\x00':::BYTES) OR (table2.col2_3 <= '+Inf':::FLOAT8)) AND (table2.col2_5 < '+Inf':::FLOAT8)) OR (table2.col1_1 > '':::STRING)) OR (table2.col2_1 > (-1.0):::FLOAT8), UNIQUE (col2_3 ASC, col2_4 DESC, col1_1, col2_2, col2_5 DESC) STORING (col2_1) WHERE ((((table2.col1_1 = e'\'') AND (table2.col2_2 > '\x00')) OR (table2.col2_1 > +Inf)) AND (table2.col2_3 <= -Inf)) AND (table2.col2_5 != +Inf), INDEX (col2_5 DESC, col2_1 ASC, col2_2 DESC, col1_1, col2_3 ASC) WHERE table2.col2_5 < 1.401298464324817e-45, INDEX (col2_4 ASC) WHERE table2.col2_5 < NaN, FAMILY (col1_1), FAMILY (col2_4), FAMILY (col2_2, col2_3), FAMILY (col2_5, col2_1)) INTERLEAVE IN PARENT table1 (col1_1);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2852033148228545936, "histo_buckets": [{"distinct_range": 0, "num_eq": 3412320438647225399, "num_range": 0, "upper_bound": "-7326885086501513535"}, {"distinct_range": 6402.520834121462, "num_eq": 252425585392388877, "num_range": 7000, "upper_bound": "-1565060115805193063"}, {"distinct_range": 0, "num_eq": 0, "num_range": 500000000, "upper_bound": "-813961715652879218"}, {"distinct_range": 500000, "num_eq": 109193535909293737, "num_range": 500000, "upper_bound": "-771876370366686348"}, {"distinct_range": 226535117.4943039, "num_eq": 6996012617516914109, "num_range": 600000000, "upper_bound": "-32768"}, {"distinct_range": 3000, "num_eq": 300, "num_range": 3000, "upper_bound": "2265191402832355260"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 2107566237059539750, "row_count": 5049900521215559176}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1655818281030063472, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 7323832793882249000, "num_eq": 4716088701628326724, "num_range": 7323832793882249022, "upper_bound": "GJ\\u0019Se>"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 5049900521215559176}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10666, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "2508e2aa-d713-444c-b2ab-5b67a8105d28"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 4000000000, "upper_bound": "30df409e-0eb1-4e7c-abc7-9ca4fadfad6c"}, {"distinct_range": 0, "num_eq": 800, "num_range": 4445086852165913533, "upper_bound": "4f8614a6-5f75-487e-b0f1-750a06766741"}, {"distinct_range": 2974762317252962000, "num_eq": 80, "num_range": 3349174246988801598, "upper_bound": "8f1de23b-6a05-4719-a77a-3734faa560d3"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "a263a7b7-f9f8-4884-a6a7-d0386707fedd"}, {"distinct_range": 90000000, "num_eq": 763418515988003088, "num_range": 90000000, "upper_bound": "a7897875-bc19-464e-9012-84b7728489b0"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 4000000000, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 25495, "row_count": 30000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 872, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 1538185544749383700, "num_eq": 5130318225150663028, "num_range": 1538185544749383664, "upper_bound": "-0.9628655314445496"}, {"distinct_range": 0, "num_eq": 3426699816844912153, "num_range": 7678724229328301026, "upper_bound": "0.47958770394325256"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 19223, "row_count": 30000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27211, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "5I"}, {"distinct_range": 1862050.4066334364, "num_eq": 398937246733583488, "num_range": 3000000, "upper_bound": "8+"}, {"distinct_range": 0, "num_eq": 6174526877740295330, "num_range": 740410186898691409, "upper_bound": ":*@5zt$&x"}, {"distinct_range": 800, "num_eq": 1000000000, "num_range": 800, "upper_bound": "@f\\"N6\\u0018"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 2800909847716499065, "upper_bound": "O2\\"\\u0018$/"}, {"distinct_range": 0, "num_eq": 4137720261261325861, "num_range": 4622714255486986215, "upper_bound": "s"}, {"distinct_range": 4494224847.554977, "num_eq": 1000000, "num_range": 60000000000, "upper_bound": "}S"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9112, "histo_col_type": "", "name": "__auto__", "null_count": 7894, "row_count": 30000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2640, "histo_col_type": "", "name": "__auto__", "null_count": 3932, "row_count": 30000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4113, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "-1.106263267391015"}, {"distinct_range": 430539080.69506484, "num_eq": 7000, "num_range": 700000000, "upper_bound": "-0.44381200890610784"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 25170, "row_count": 30000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('uockm');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ciqe');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('advohs', 'lokqik', 'c');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3068, "histo_buckets": [{"distinct_range": 0, "num_eq": 3942867998740717974, "num_range": 0, "upper_bound": "166244555501884612"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 7130, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2398, "histo_buckets": [{"distinct_range": 0, "num_eq": 6823159828540726534, "num_range": 0, "upper_bound": "4"}, {"distinct_range": 0, "num_eq": 2135682391932864123, "num_range": 0, "upper_bound": "6\\u0017f:\\\\\'y\\u001e"}, {"distinct_range": 1000, "num_eq": 500, "num_range": 1000, "upper_bound": ":"}, {"distinct_range": 1352840365296573700, "num_eq": 4000000000, "num_range": 1352840365296573784, "upper_bound": "u\\u0017-Sc"}, {"distinct_range": 600000, "num_eq": 577645545596725571, "num_range": 600000, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 10000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 9008479923173419059, "num_range": 0, "upper_bound": "\\n2=5\\u001e5J"}, {"distinct_range": 6000000, "num_eq": 900000, "num_range": 6000000, "upper_bound": "\\u000c\\u0016%_T\\n[\\"t"}, {"distinct_range": 0, "num_eq": 2560963489089570321, "num_range": 40000, "upper_bound": "\\u0018p\\u0017Vk"}, {"distinct_range": 5981927160084693000, "num_eq": 3000, "num_range": 5981927160084693437, "upper_bound": "\'"}, {"distinct_range": 870400366918900000, "num_eq": 7390666344229437123, "num_range": 870400366918899904, "upper_bound": "*0\\u0017"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 70000, "upper_bound": "=E"}, {"distinct_range": 0, "num_eq": 8151586867644773388, "num_range": 3378683303308142864, "upper_bound": "C}\x7fs"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 2313968490619917562, "upper_bound": "y0eQ"}, {"distinct_range": 0, "num_eq": 0, "num_range": 900000, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "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_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_buckets": [{"distinct_range": 0, "num_eq": 6199656683561370172, "num_range": 0, "upper_bound": "-1.0"}], "histo_col_type": "FLOAT8", "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_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "8671ff35-18e5-45de-91be-f4e0ad9f2b19"}, {"distinct_range": 305.6533166287047, "num_eq": 7754903150248645392, "num_range": 400, "upper_bound": "bf34208f-4ce3-4fb8-81d5-061785c22f6d"}, {"distinct_range": 0, "num_eq": 800, "num_range": 80000, "upper_bound": "fbfa8230-3ce3-4e09-a475-8d9087a95920"}, {"distinct_range": 2885491119928013000, "num_eq": 1078108133241119059, "num_range": 2885491119928012858, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "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": 40, "num_range": 0, "upper_bound": "-0.8305765390396118"}, {"distinct_range": 3048279732221506600, "num_eq": 5701829784951958975, "num_range": 3048279732221506304, "upper_bound": "-0.34229034185409546"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 5323551159069995548, "upper_bound": "-0.23147276043891907"}, {"distinct_range": 0, "num_eq": 2628081109079205246, "num_range": 60000000000, "upper_bound": "-0.031078465282917023"}, {"distinct_range": 17.172132441894444, "num_eq": 7000000000, "num_range": 80, "upper_bound": "0.24004998803138733"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 70000000000, "upper_bound": "1.029278039932251"}, {"distinct_range": 0, "num_eq": 6781871881440531360, "num_range": 1000000000, "upper_bound": "1.0655025243759155"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 0}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46569522, "histo_buckets": [{"distinct_range": 0, "num_eq": 2727535707340381378, "num_range": 0, "upper_bound": "-6629211217502044616"}, {"distinct_range": 237989843256409600, "num_eq": 4271175833348799847, "num_range": 1199830940602965246, "upper_bound": "-6504931560917800951"}, {"distinct_range": 0, "num_eq": 753395621412501577, "num_range": 7182530993495183092, "upper_bound": "-4409495258449405797"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6000, "upper_bound": "-2178492429813992703"}, {"distinct_range": 9000000, "num_eq": 9162655931505780767, "num_range": 9000000, "upper_bound": "-182595874226307518"}, {"distinct_range": 28.3641820139437, "num_eq": 7000, "num_range": 80, "upper_bound": "165937800763392071"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 500, "upper_bound": "3612964251002986864"}, {"distinct_range": 3528319398424994300, "num_eq": 7872415049897022500, "num_range": 3528319398424994106, "upper_bound": "4535918281010049669"}, {"distinct_range": 0, "num_eq": 971437013070221146, "num_range": 2376154776350319128, "upper_bound": "4662637046050285044"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 17748327, "row_count": 70000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38845437, "histo_buckets": [{"distinct_range": 0, "num_eq": 5390620959160373041, "num_range": 0, "upper_bound": "*\\u0010t:("}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 7849578841328980576, "upper_bound": ",R+tH3;}"}, {"distinct_range": 993570400777989800, "num_eq": 9018587116070451555, "num_range": 993570400777989711, "upper_bound": "HoF:="}, {"distinct_range": 7713918269091290000, "num_eq": 1000, "num_range": 7713918269091290180, "upper_bound": "ODG=D\\u001d"}, {"distinct_range": 1406955587815846400, "num_eq": 1000000000, "num_range": 1406955587815846404, "upper_bound": "eX\\u000fji0"}, {"distinct_range": 0, "num_eq": 7992879385719428068, "num_range": 4461461585673857158, "upper_bound": "mq^k"}, {"distinct_range": 997612465210024000, "num_eq": 1000000, "num_range": 2049372542703668452, "upper_bound": "s\\u0015\\u0003q"}, {"distinct_range": 976368153323858600, "num_eq": 100000000, "num_range": 7267453587963561682, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 70000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 324371840, "histo_buckets": [{"distinct_range": 0, "num_eq": 3816710547306143557, "num_range": 0, "upper_bound": "-1.433028999924715"}, {"distinct_range": 100, "num_eq": 300, "num_range": 100, "upper_bound": "-1.0415472801097243"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1930036635168369908, "upper_bound": "0.37479463735624774"}, {"distinct_range": 2649.7195323453516, "num_eq": 60000000, "num_range": 5000, "upper_bound": "1.0794364766742475"}, {"distinct_range": 0, "num_eq": 1517232993657280548, "num_range": 400, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 601025644, "row_count": 1000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402203037, "histo_buckets": [{"distinct_range": 0, "num_eq": 1912717757429409910, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 300000, "upper_bound": "0e28d21a-3009-41ba-abf1-a556d92c2cb2"}, {"distinct_range": 3093961601612961000, "num_eq": 6222232534599866171, "num_range": 3093961601612960534, "upper_bound": "11637f75-04e3-4fb1-802c-5147207c07b7"}, {"distinct_range": 20, "num_eq": 60000, "num_range": 20, "upper_bound": "136d547e-a9ce-4385-a6e9-26350456e630"}, {"distinct_range": 400000, "num_eq": 60000000, "num_range": 400000, "upper_bound": "cc9882e3-3ae0-4ae4-9260-6337ed8956d3"}, {"distinct_range": 23598.869856309968, "num_eq": 600000000, "num_range": 30000, "upper_bound": "d9d533cf-08ee-4be1-91ad-3ceca86477db"}, {"distinct_range": 505578202203568960, "num_eq": 6311476213412680483, "num_range": 1416875959919770785, "upper_bound": "e6e6de94-fd47-492d-a1f6-fb1bd6c2d98a"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 850982821, "row_count": 1000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798753286, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "-1.3476471900939941"}, {"distinct_range": 6168145288263461000, "num_eq": 900, "num_range": 6168145288263461131, "upper_bound": "-1.102073311805725"}, {"distinct_range": 2002831621809455600, "num_eq": 8000000000, "num_range": 2415045422636195459, "upper_bound": "0.6620413064956665"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 90000000000, "upper_bound": "1.5499053001403809"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 841676525, "row_count": 1000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39556776, "histo_buckets": [{"distinct_range": 0, "num_eq": 2203928386878730259, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 461.55775370829883, "num_eq": 5114790958492963787, "num_range": 1000, "upper_bound": "\\u001d|S\\u0017\\u000e"}, {"distinct_range": 6318125512978872000, "num_eq": 4136243088912154501, "num_range": 6318125512978872612, "upper_bound": ",(\\u001eN|:3"}, {"distinct_range": 257913057765386620, "num_eq": 6300595439220713342, "num_range": 617483045923086154, "upper_bound": ".9]"}, {"distinct_range": 7642311178556022000, "num_eq": 1855431009743179057, "num_range": 7642311178556021800, "upper_bound": "6:B\\u00042Z,"}, {"distinct_range": 0, "num_eq": 5098385848259195208, "num_range": 3999611026582925262, "upper_bound": "EB"}, {"distinct_range": 3269356058736422400, "num_eq": 20000, "num_range": 4595820929600128656, "upper_bound": "^I"}, {"distinct_range": 30, "num_eq": 90, "num_range": 30, "upper_bound": "n)A\\u001a"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 83026916, "histo_col_type": "", "name": "__auto__", "null_count": 283485664, "row_count": 1000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 124388409, "histo_col_type": "", "name": "__auto__", "null_count": 612493573, "row_count": 1000000000}]';
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@64c4aef909f4382523cd9248341ca9f4448d841a:

        cockroach2_1  | store[0]:            path=/cockroach-data
        cockroach2_1  | storage engine:      pebble
        cockroach2_1  | status:              initialized new cluster
        cockroach2_1  | clusterID:           71d40b98-6365-40e2-806c-ec73c166e07e
        cockroach2_1  | nodeID:              1
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | Loading PostGIS extensions into postgres
        test_1        | --- FAIL: TestCompare (1.39s)
        test_1        |     --- FAIL: TestCompare/mutators (0.49s)
        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(40) NOT NULL, PRIMARY KEY (col1_0), UNIQUE (col1_0 ASC), UNIQUE (col1_0 ASC), UNIQUE (col1_0 DESC), INDEX (col1_0), INDEX (col1_0 DESC), UNIQUE (col1_0 ASC), INDEX (col1_0 ASC), INDEX (col1_0), INDEX (col1_0));
        test_1        |             CREATE TABLE table2 (col1_0 BIT(40) NOT NULL, col2_1 BIT(27) NULL, col2_2 TIMESTAMPTZ, col2_3 INT4, col2_4 INT8, col2_5 DATE NOT NULL, col2_6 REGNAMESPACE NULL, col2_7 BYTES NULL, col2_8 DATE, col2_9 REGCLASS NULL, col2_10 DECIMAL, col2_11 TIMETZ NULL, PRIMARY KEY (col1_0), UNIQUE (col2_1 DESC, col2_4, col2_7 ASC, col1_0 DESC, col2_5, col2_9, col2_11 DESC, col2_3 ASC) STORING (col2_2, col2_8), INDEX (col2_11, col1_0, col2_5, col2_6 DESC, col2_2 DESC, col2_9, col2_8 DESC, col2_10 ASC, col2_1) WHERE (((((((table2.col2_2 <= '-4713-11-24 00:00:00+00:00') OR (table2.col2_4 = 2147483647)) AND (table2.col2_5 != '5874897-12-31')) OR (table2.col2_8 < '5874897-12-31')) AND (table2.col2_7 >= '\x58')) AND (table2.col2_3 <= 127)) AND (table2.col2_10 > Infinity)) AND (table2.col2_11 <= '24:00:00-15:59:00'), INDEX (col2_5 DESC, col2_1 DESC, col2_8 ASC, col1_0 DESC, col2_7 DESC, col2_9 ASC, col2_11 ASC, col2_2, col2_6 ASC, col2_4 ASC, col2_3 DESC, col2_10 ASC) WHERE (((((((table2.col2_5 < '5874897-12-31':::DATE) AND (table2.col2_7 < e'\\x22':::BYTES)) AND (table2.col2_4 >= (-2147483648):::INT8)) AND (table2.col2_8 < '-infinity':::DATE)) OR (table2.col2_10 >= 'Infinity':::DECIMAL)) AND (table2.col2_2 = '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table2.col2_3 <= 2147483647:::INT8)) AND (table2.col2_11 < '24:00:00-15:59:00':::TIMETZ), INDEX (col2_6 DESC, col2_5) STORING (col2_1, col2_2, col2_3, col2_4, col2_8, col2_9, col2_11) WHERE (((((((table2.col2_8 > '4714-11-24 BC':::DATE) AND (table2.col2_11 = '24:00:00-15:59:00':::TIMETZ)) OR (table2.col2_10 = 1:::DECIMAL)) AND (table2.col2_4 > (-1):::INT8)) OR (table2.col2_2 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table2.col2_3 = (-1):::INT8)) OR (table2.col2_5 >= '1970-01-01':::DATE)) OR (table2.col2_7 < e'\\x22':::BYTES), UNIQUE (col2_9 DESC) STORING (col2_1, col2_2, col2_3, col2_8) WHERE (((table2.col2_7 >= '\x22') AND (table2.col2_8 != '-infinity')) OR (table2.col2_5 = '5874897-12-31')) AND (table2.col2_11 > '00:00:00+15:59:00'), INDEX (col2_6 ASC, col2_10 DESC, col2_2 ASC, col2_1 DESC, col2_5 ASC) STORING (col2_3, col2_4, col2_7, col2_9) WHERE (((((((table2.col2_4 = 1) OR (table2.col2_11 = '00:00:00+15:59:00')) AND (table2.col2_5 > '5874897-12-31')) AND (table2.col2_3 <= 0)) OR (table2.col2_10 > 1)) OR (table2.col2_2 >= '-4713-11-24 00:00:00+00:00')) AND (table2.col2_8 >= '5874897-12-31')) AND (table2.col2_7 > '\x58'), INDEX (col2_1 DESC) STORING (col2_2, col2_5, col2_6, col2_9), INDEX (col2_5 ASC, col2_9 DESC, col2_8, col1_0, col2_10, col2_11, col2_6 DESC, col2_1 DESC, col2_2 ASC) STORING (col2_3, col2_7), INDEX (col2_6 ASC, col2_8 DESC, col2_7, col2_1 DESC, col2_2, col2_11 ASC, col2_10 ASC, col2_9 ASC, col2_4 ASC, col2_3 ASC) STORING (col2_5), FAMILY (col2_4, col2_11), FAMILY (col2_7), FAMILY (col2_3), FAMILY (col2_5), FAMILY (col2_6), FAMILY (col2_10), FAMILY (col2_9), FAMILY (col2_2, col2_1), FAMILY (col2_8), FAMILY (col1_0)) INTERLEAVE IN PARENT table1 (col1_0);
        test_1        |             CREATE TABLE table3 (col3_0 REGPROCEDURE NULL, col3_1 INT8 NOT NULL, col3_2 REGNAMESPACE NOT NULL, col3_3 INT8 NOT NULL, col3_4 BYTES NOT NULL, col3_5 FLOAT8 NULL, col3_6 OID NOT NULL, col3_7 REGTYPE NULL, col3_8 CHAR, col3_9 BIT(5) NULL, col3_10 BYTES NOT NULL, col3_11 BIT(16) NOT NULL, col3_12 FLOAT4 NOT NULL, col3_13 INT8 NOT NULL, col3_14 INT2, col3_15 NAME, col3_16 INET NOT NULL, col3_17 BIT(15) NOT NULL, PRIMARY KEY (col3_12, col3_4 ASC, col3_11 ASC, col3_3 DESC, col3_2 ASC, col3_16, col3_1), UNIQUE (col3_12 DESC, col3_7 ASC) STORING (col3_0, col3_5, col3_14) WHERE ((((table3.col3_10 != e'\\x58':::BYTES) OR (table3.col3_4 != e'\\xff':::BYTES)) OR (table3.col3_13 = (-32768):::INT8)) AND (table3.col3_5 < '+Inf':::FLOAT8)) OR (table3.col3_3 >= (-128):::INT8), INDEX (col3_11 DESC, col3_0, col3_15 ASC, col3_1, col3_13 DESC, col3_2 ASC, col3_14, col3_16 ASC, col3_17 ASC, col3_8, col3_5 DESC, col3_7 DESC) STORING (col3_9, col3_10) WHERE (((table3.col3_1 >= 1:::INT8) AND (table3.col3_15 = 'X':::STRING)) OR (table3.col3_14 <= (-1):::INT8)) OR (table3.col3_5 >= 1.401298464324817e-45:::FLOAT8), UNIQUE (col3_2 ASC, col3_10 DESC, col3_16, col3_4 ASC, col3_9 DESC, col3_7, col3_0 ASC, col3_12 DESC, col3_14 ASC, col3_5, col3_6 ASC, col3_17) WHERE (((((((table3.col3_3 >= -1) AND (table3.col3_12 >= 1.401298464324817e-45)) AND (table3.col3_15 >= 'X')) OR (table3.col3_13 <= -1)) AND (table3.col3_8 <= e'\x00')) OR (table3.col3_1 < -1)) OR (table3.col3_10 > '\xe29883')) AND (table3.col3_14 <= 127), INDEX (col3_0 ASC, col3_16 ASC, col3_2 DESC) STORING (col3_5, col3_6, col3_7, col3_9, col3_13) WHERE ((((((((table3.col3_15 >= '"':::STRING) OR (table3.col3_13 = 0:::INT8)) AND (table3.col3_1 >= 9223372036854775807:::INT8)) AND (table3.col3_3 > (-9223372036854775807):::INT8)) AND (table3.col3_12 >= 1.401298464324817e-45:::FLOAT8)) OR (table3.col3_14 > 32767:::INT8)) OR (table3.col3_10 > e'\\x':::BYTES)) AND (table3.col3_5 < 0.0:::FLOAT8)) AND (table3.col3_8 <= e'\'':::STRING), UNIQUE (col3_10 ASC, col3_11, col3_0 ASC, col3_3 ASC, col3_4 ASC, col3_17, col3_16 DESC, col3_1 ASC, col3_2 ASC, col3_13 ASC, col3_12 DESC, col3_8 DESC, col3_15, col3_7, col3_6 DESC, col3_9 DESC, col3_14 ASC, col3_5 ASC) WHERE ((((((((table3.col3_14 > -1) OR (table3.col3_1 < -32768)) OR (table3.col3_12 != 0.0)) OR (table3.col3_5 = 0.0)) AND (table3.col3_13 <= -9223372036854775807)) AND (table3.col3_8 = e'\x00')) AND (table3.col3_3 <= -2147483648)) AND (table3.col3_4 >= '\x22')) OR (table3.col3_15 < 'X'), INDEX (col3_7, col3_6 ASC, col3_1 DESC, col3_10 DESC, col3_2 ASC, col3_14 DESC, col3_15, col3_13 ASC, col3_12 DESC, col3_17) STORING (col3_0) WHERE (((((((((table3.col3_8 != 'X') AND (table3.col3_1 < 2147483647)) OR (table3.col3_14 = -1)) OR (table3.col3_5 != 1.0)) AND (table3.col3_12 = 1.401298464324817e-45)) AND (table3.col3_4 > '\xff')) OR (table3.col3_13 != 1)) OR (table3.col3_15 >= e'\x00')) AND (table3.col3_3 != 127)) AND (table3.col3_10 != '\x27'), INDEX (col3_2 ASC, col3_12 ASC) WHERE ((table3.col3_4 = '\xff') OR (table3.col3_10 != '\x22')) AND (table3.col3_15 != '"'), INDEX (col3_16 DESC, col3_12 ASC, col3_0 DESC, col3_13 ASC, col3_4, col3_17, col3_10, col3_9 ASC, col3_7 DESC, col3_14, col3_6 ASC) STORING (col3_8, col3_15) WHERE (table3.col3_13 <= 1:::INT8) AND (table3.col3_8 >= '"':::STRING), INDEX (col3_7, col3_1, col3_6 DESC, col3_0 DESC, col3_11) STORING (col3_5, col3_9, col3_13, col3_17) WHERE (((((((((table3.col3_5 > 1.7976931348623157e+308) OR (table3.col3_3 > 1)) OR (table3.col3_10 >= '\x')) OR (table3.col3_15 >= e'\x00')) AND (table3.col3_14 > 1)) AND (table3.col3_13 > -32768)) AND (table3.col3_12 >= 1.401298464324817e-45)) OR (table3.col3_1 = 32767)) AND (table3.col3_4 >= '\x58')) AND (table3.col3_8 < e'\x00'), FAMILY (col3_6, col3_11, col3_1), FAMILY (col3_14), FAMILY (col3_17, col3_3), FAMILY (col3_10), FAMILY (col3_12), FAMILY (col3_15), FAMILY (col3_8), FAMILY (col3_13, col3_16, col3_0, col3_7), FAMILY (col3_9, col3_2, col3_4), FAMILY (col3_5));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2451354438461721417, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "0000000000000000000000000000000000000000"}, {"distinct_range": 66.4521265728753, "num_eq": 400, "num_range": 200, "upper_bound": "0111111010001011010111101110001110001101"}, {"distinct_range": 1038499.0073622307, "num_eq": 30, "num_range": 5000000, "upper_bound": "0111111111111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 50000, "upper_bound": "1010011010011110111110001000100110000011"}, {"distinct_range": 37.29986350260293, "num_eq": 4669367414708529185, "num_range": 60, "upper_bound": "1011011010100110000110001010110110111101"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 2745103776649661884}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6461647, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "0000001000110010010101111110011010011010"}, {"distinct_range": 10000, "num_eq": 20, "num_range": 10000, "upper_bound": "0001010001010111101111010011010101011110"}, {"distinct_range": 516061.7261750924, "num_eq": 0, "num_range": 4000000, "upper_bound": "0001111001010000111010001100111111110010"}, {"distinct_range": 3454840281342854700, "num_eq": 40000000, "num_range": 3454840281342854884, "upper_bound": "0110101000011100010010100011011100110000"}, {"distinct_range": 196579590.38230777, "num_eq": 8288253184508841176, "num_range": 3000000000, "upper_bound": "1010000001001010100111111111000111001100"}, {"distinct_range": 5000000000, "num_eq": 0, "num_range": 5000000000, "upper_bound": "1010010000101110000101010100101101001111"}, {"distinct_range": 6991415.024245448, "num_eq": 7000, "num_range": 10000000, "upper_bound": "1010101101010010100000110101101101001110"}, {"distinct_range": 3508793868325554700, "num_eq": 6190171229689129457, "num_range": 3508793868325554887, "upper_bound": "1111101101111011101010111000100000110111"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 945241, "histo_buckets": [{"distinct_range": 0, "num_eq": 2813807595825995670, "num_range": 0, "upper_bound": "011001100010001110001111001"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 3485366, "row_count": 9000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5594048, "histo_col_type": "", "name": "__auto__", "null_count": 8444048, "row_count": 9000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1317410, "histo_col_type": "", "name": "__auto__", "null_count": 4443284, "row_count": 9000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 901163, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1970-12-07"}, {"distinct_range": 3339174167834980400, "num_eq": 30, "num_range": 3339174167834980536, "upper_bound": "1971-04-04"}, {"distinct_range": 700000, "num_eq": 0, "num_range": 700000, "upper_bound": "1972-03-06"}, {"distinct_range": 7000000, "num_eq": 4000000, "num_range": 7000000, "upper_bound": "1974-06-24"}, {"distinct_range": 6472651660.966355, "num_eq": 900000000, "num_range": 7000000000, "upper_bound": "1977-08-31"}, {"distinct_range": 800000000, "num_eq": 20000, "num_range": 800000000, "upper_bound": "1977-09-11"}, {"distinct_range": 11305449653.8328, "num_eq": 3555391283566866545, "num_range": 50000000000, "upper_bound": "1990-02-21"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 9000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8223948, "histo_col_type": "", "name": "__auto__", "null_count": 6570852, "row_count": 9000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7798881, "histo_buckets": [{"distinct_range": 0, "num_eq": 5211241567617254595, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "985371507"}, {"distinct_range": 5000000000, "num_eq": 0, "num_range": 5000000000, "upper_bound": "1287772806"}, {"distinct_range": 2024850217262073900, "num_eq": 8000000000, "num_range": 2024850217262073957, "upper_bound": "1346863760"}, {"distinct_range": 50000000, "num_eq": 7646459608932501672, "num_range": 50000000, "upper_bound": "1687569959"}, {"distinct_range": 7873613908930998000, "num_eq": 5000, "num_range": 7873613908930998536, "upper_bound": "3262388847"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 7605509, "row_count": 9000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3788142, "histo_col_type": "", "name": "__auto__", "null_count": 6876319, "row_count": 9000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6740073, "histo_col_type": "", "name": "__auto__", "null_count": 57610, "row_count": 9000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6357029, "histo_buckets": [{"distinct_range": 0, "num_eq": 4130924554241144074, "num_range": 0, "upper_bound": "512211587"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 789728659388132732, "upper_bound": "1555294043"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 2000000000, "upper_bound": "2766717029"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "3305444112"}, {"distinct_range": 0, "num_eq": 6557074596017729141, "num_range": 50000000, "upper_bound": "4087736781"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 3054751, "row_count": 9000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3584206, "histo_col_type": "", "name": "__auto__", "null_count": 7335413, "row_count": 9000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2205302, "histo_buckets": [{"distinct_range": 0, "num_eq": 2358943009536959860, "num_range": 0, "upper_bound": "16:59:20.580476+11:21:00"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 418310095311177191, "upper_bound": "10:08:48.181288+03:01:00"}, {"distinct_range": 0, "num_eq": 2727252363644666078, "num_range": 5000000000, "upper_bound": "06:18:13.854016-09:53:00"}, {"distinct_range": 1274024477924156700, "num_eq": 3421612535438097517, "num_range": 4877499821088281393, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 2734058, "row_count": 9000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 834, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 280, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 600, "num_range": 70000, "upper_bound": "853734714"}, {"distinct_range": 6000000000, "num_eq": 20000000, "num_range": 6000000000, "upper_bound": "1601491496"}, {"distinct_range": 8000, "num_eq": 0, "num_range": 8000, "upper_bound": "2515122545"}, {"distinct_range": 1928921578512829000, "num_eq": 0, "num_range": 6774598209047971330, "upper_bound": "3045542289"}, {"distinct_range": 5281749672430330000, "num_eq": 40000, "num_range": 6123328968630111986, "upper_bound": "3578320028"}, {"distinct_range": 1000000000, "num_eq": 5000, "num_range": 1000000000, "upper_bound": "3743192872"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 593, "histo_buckets": [{"distinct_range": 0, "num_eq": 1141333355060259479, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 2261393497417447382, "upper_bound": "\\\\x275f8e45563241"}, {"distinct_range": 2108074152.648787, "num_eq": 1000000, "num_range": 10000000000, "upper_bound": "\\\\x4100966ca1"}, {"distinct_range": 2530572067013852700, "num_eq": 6000000, "num_range": 2530572067013852540, "upper_bound": "\\\\xd01fac63a5711701ac"}, {"distinct_range": 88.33975004695309, "num_eq": 700000, "num_range": 100, "upper_bound": "\\\\xe29883"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 200, "histo_col_type": "BIT(16)", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 204, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "281616371"}, {"distinct_range": 0, "num_eq": 6625934935291632518, "num_range": 7000000, "upper_bound": "1847363000"}, {"distinct_range": 2139999128565954300, "num_eq": 3000000000, "num_range": 6650336729265306579, "upper_bound": "2524289661"}, {"distinct_range": 0, "num_eq": 7536984719997011138, "num_range": 6260070402717786982, "upper_bound": "3856249622"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 458, "row_count": 1000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_buckets": [{"distinct_range": 0, "num_eq": 9184766816534833004, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 78, "row_count": 1000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 833, "histo_buckets": [{"distinct_range": 0, "num_eq": 576931786975905776, "num_range": 0, "upper_bound": "-1.6874405145645142"}, {"distinct_range": 10747505.376606466, "num_eq": 100000, "num_range": 30000000, "upper_bound": "-1.2268632650375366"}, {"distinct_range": 2503414874871258000, "num_eq": 70000, "num_range": 7809949010067844697, "upper_bound": "0.0"}, {"distinct_range": 5070876869805999000, "num_eq": 3344288819634429361, "num_range": 5070876869805999285, "upper_bound": "0.5254782438278198"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 7000, "upper_bound": "0.6326291561126709"}, {"distinct_range": 9.979281110477423, "num_eq": 7000, "num_range": 100, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 972, "histo_col_type": "", "name": "__auto__", "null_count": 286, "row_count": 1000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 708, "row_count": 1000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 616, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 330, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48, "histo_col_type": "", "name": "__auto__", "null_count": 230, "row_count": 1000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "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": 64, "histo_col_type": "", "name": "__auto__", "null_count": 152, "row_count": 1000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 298, "histo_col_type": "", "name": "__auto__", "null_count": 627, "row_count": 1000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 677, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "212.124.136.138/4"}, {"distinct_range": 0, "num_eq": 2209886929602013049, "num_range": 3426480581689490486, "upper_bound": "11.159.179.71/20"}, {"distinct_range": 0, "num_eq": 5318135401760500625, "num_range": 70, "upper_bound": "177.146.146.75/26"}, {"distinct_range": 2984834764956753400, "num_eq": 200000000, "num_range": 8737255501046648991, "upper_bound": "86.11.158.3/29"}, {"distinct_range": 4807949702461923000, "num_eq": 10000000, "num_range": 5490124495545799304, "upper_bound": "5bcf:5073:96a9:689:807f:dcfc:e8df:2708/49"}, {"distinct_range": 20000000, "num_eq": 4089306306706488188, "num_range": 20000000, "upper_bound": "61d7:d190:f7a2:b3f2:5d39:af76:5f22:1bcb/50"}, {"distinct_range": 700000000, "num_eq": 6750577378684127665, "num_range": 700000000, "upper_bound": "ef1f:9f92:4b8f:cd1a:a97d:9af1:b1ee:1cc1/77"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 1000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('tl', 'tk', 'itrylu', 'ekht', 'qten', 'civevr');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('zlscan', 'iqlzrn', 'kv');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('uoi');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('jpom');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('z', 'jr', 'jm');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9482720, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "0000011010100110001010011111101001011011"}, {"distinct_range": 0, "num_eq": 2273053873593731281, "num_range": 50000000000, "upper_bound": "0100111111100101010011000001111010011000"}, {"distinct_range": 254927.4121840417, "num_eq": 8000000, "num_range": 600000, "upper_bound": "0111010011001011101111011111111111001111"}, {"distinct_range": 0, "num_eq": 6703719793794054984, "num_range": 6000000, "upper_bound": "0111111111111111111111111111111111111111"}, {"distinct_range": 8362878681370619000, "num_eq": 3925868096558788816, "num_range": 8362878681370619016, "upper_bound": "1001100100000001001001001000010100001100"}, {"distinct_range": 1343026425159542300, "num_eq": 1660650238845496761, "num_range": 2188797122225161137, "upper_bound": "1111011111110010101000110111011001001111"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 20000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12270920, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "0001001111101101110000010011000000010001"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 70000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61211559, "histo_buckets": [{"distinct_range": 0, "num_eq": 7496853567991267789, "num_range": 0, "upper_bound": "101000110011001011110111100"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 43035598, "row_count": 70000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33996155, "histo_col_type": "", "name": "__auto__", "null_count": 21678331, "row_count": 70000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48327628, "histo_col_type": "", "name": "__auto__", "null_count": 1620777, "row_count": 70000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14976764, "histo_col_type": "", "name": "__auto__", "null_count": 7858079, "row_count": 70000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27429670, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "1179931325"}, {"distinct_range": 30000000, "num_eq": 40000000, "num_range": 30000000, "upper_bound": "1201980199"}, {"distinct_range": 60000, "num_eq": 1000, "num_range": 60000, "upper_bound": "1538538976"}, {"distinct_range": 100, "num_eq": 30000000000, "num_range": 100, "upper_bound": "2395549656"}, {"distinct_range": 1112873222673886100, "num_eq": 70, "num_range": 1112873222673886069, "upper_bound": "2880774830"}, {"distinct_range": 499.23665212558996, "num_eq": 282029653518756963, "num_range": 900, "upper_bound": "2887443417"}, {"distinct_range": 0, "num_eq": 8062654600591637726, "num_range": 8488595157456624010, "upper_bound": "3259521811"}, {"distinct_range": 934435349739654700, "num_eq": 1415292185712259790, "num_range": 934435349739654621, "upper_bound": "3445864828"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "3702421110"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 22208739, "row_count": 70000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42047298, "histo_col_type": "", "name": "__auto__", "null_count": 3065985, "row_count": 70000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68434246, "histo_col_type": "", "name": "__auto__", "null_count": 69177983, "row_count": 70000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8916234, "histo_col_type": "", "name": "__auto__", "null_count": 14553540, "row_count": 70000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63589612, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 2802450755518386700, "num_eq": 7804434264099854432, "num_range": 2802450755518386523, "upper_bound": "1976-05-14"}, {"distinct_range": 5000000000, "num_eq": 719287504800164039, "num_range": 5000000000, "upper_bound": "1977-11-29"}, {"distinct_range": 6563579397846455000, "num_eq": 0, "num_range": 6563579397846454809, "upper_bound": "1984-05-12"}, {"distinct_range": 0, "num_eq": 6425439979445561737, "num_range": 9118433133441230936, "upper_bound": "1985-08-02"}, {"distinct_range": 60000, "num_eq": 10000000, "num_range": 60000, "upper_bound": "1991-12-11"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 70000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26412831, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "2238885145"}, {"distinct_range": 4692858824144700000, "num_eq": 9040816984289905591, "num_range": 5222693690345445476, "upper_bound": "2809170941"}, {"distinct_range": 73643.76864200873, "num_eq": 100000000, "num_range": 200000, "upper_bound": "3566127812"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 48724897, "row_count": 70000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63873084, "histo_buckets": [{"distinct_range": 0, "num_eq": 5563897912909147482, "num_range": 0, "upper_bound": "06:45:51.029046+06:15:00"}, {"distinct_range": 10000000, "num_eq": 800, "num_range": 10000000, "upper_bound": "13:25:14.539491+12:06:00"}, {"distinct_range": 0, "num_eq": 7591330725661813935, "num_range": 743282734335130432, "upper_bound": "15:02:49.539916+13:32:00"}, {"distinct_range": 1321.0727087217274, "num_eq": 5175957506298532187, "num_range": 5000, "upper_bound": "02:32:33.288597-05:47:00"}, {"distinct_range": 0, "num_eq": 2158041767978613764, "num_range": 9000000000, "upper_bound": "22:22:19.777086+10:15:00"}, {"distinct_range": 900, "num_eq": 999300681703224758, "num_range": 900, "upper_bound": "22:46:33.41266+09:54:00"}, {"distinct_range": 495858677019979500, "num_eq": 100000, "num_range": 834053716473536363, "upper_bound": "17:51:11.28727-02:43:00"}, {"distinct_range": 5424035793519902000, "num_eq": 0, "num_range": 5424035793519901939, "upper_bound": "17:08:29.12291-05:41:00"}, {"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "21:43:31.138678-08:36:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 34458720, "row_count": 70000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 6803287182474016000, "num_eq": 0, "num_range": 6803287182474015280, "upper_bound": "-0.6237409710884094"}, {"distinct_range": 60000, "num_eq": 9023079477914073957, "num_range": 60000, "upper_bound": "0.5799923539161682"}, {"distinct_range": 1785261017375714000, "num_eq": 40000, "num_range": 4349959464386063672, "upper_bound": "0.5949209928512573"}, {"distinct_range": 0, "num_eq": 3603570914369766337, "num_range": 4812905251669472959, "upper_bound": "1.0744788646697998"}, {"distinct_range": 0, "num_eq": 3976090786666050662, "num_range": 300000000, "upper_bound": "1.163066029548645"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 14, "row_count": 30}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_buckets": [{"distinct_range": 0, "num_eq": 7347555338993052510, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 121461738.33995464, "num_eq": 3603076180491551356, "num_range": 300000000, "upper_bound": "1004408920"}, {"distinct_range": 0, "num_eq": 3391016158709050272, "num_range": 80, "upper_bound": "2841350028"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 7416235310576835349, "upper_bound": "3533661381"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 23, "row_count": 30}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 10, "row_count": 30}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 7, "row_count": 30}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"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": 30}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "35216347"}, {"distinct_range": 0, "num_eq": 4984014336472173393, "num_range": 6103730791936281582, "upper_bound": "680527741"}, {"distinct_range": 2885883716794579000, "num_eq": 2363978592032088816, "num_range": 3031588968019262853, "upper_bound": "868538489"}, {"distinct_range": 4770953696062100000, "num_eq": 60000, "num_range": 4770953696062100008, "upper_bound": "943385857"}, {"distinct_range": 149140000566314880, "num_eq": 4000, "num_range": 2110431212550612472, "upper_bound": "1082232096"}, {"distinct_range": 0, "num_eq": 2001069275000286021, "num_range": 297455817216638070, "upper_bound": "1231327359"}, {"distinct_range": 3475714881350854700, "num_eq": 166521571729925301, "num_range": 3475714881350854724, "upper_bound": "2389618750"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 500000000, "upper_bound": "2716247628"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 6000000, "upper_bound": "4289634223"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 8, "row_count": 30}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 30}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_buckets": [{"distinct_range": 0, "num_eq": 4277830328824940128, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 8199583199895546000, "num_eq": 90, "num_range": 8199583199895545778, "upper_bound": "\\\\x07e4"}, {"distinct_range": 0, "num_eq": 4050241111735629816, "num_range": 8064536756985267176, "upper_bound": "\\\\x093ec86ae2407e05"}, {"distinct_range": 0, "num_eq": 1933940749794805705, "num_range": 900000, "upper_bound": "\\\\x2b739071a2250dfb"}, {"distinct_range": 842785745517846100, "num_eq": 4000, "num_range": 842785745517846136, "upper_bound": "\\\\x35"}, {"distinct_range": 0, "num_eq": 3061587009968078066, "num_range": 643717788082833503, "upper_bound": "\\\\x42"}, {"distinct_range": 1355663518421044700, "num_eq": 1545884381628566140, "num_range": 1355663518421044701, "upper_bound": "\\\\xe75e6b3087"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_buckets": [{"distinct_range": 0, "num_eq": 2900320798810465197, "num_range": 0, "upper_bound": "1101000100110010"}], "histo_col_type": "BIT(16)", "name": "__auto__", "null_count": 0, "row_count": 30}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_buckets": [{"distinct_range": 0, "num_eq": 5461906163193278004, "num_range": 0, "upper_bound": "539452271"}, {"distinct_range": 26.960931507113216, "num_eq": 700, "num_range": 40, "upper_bound": "1497970638"}, {"distinct_range": 1.9826909379332611, "num_eq": 1000000, "num_range": 30, "upper_bound": "1580778621"}, {"distinct_range": 11281.747153202612, "num_eq": 10000000, "num_range": 100000, "upper_bound": "2041254899"}, {"distinct_range": 6893810695887195000, "num_eq": 90000000, "num_range": 6893810695887195147, "upper_bound": "2204666834"}, {"distinct_range": 7983072662433078000, "num_eq": 7691975695992313789, "num_range": 7983072662433077910, "upper_bound": "2234845709"}, {"distinct_range": 3777211737205911000, "num_eq": 0, "num_range": 3777211737205910971, "upper_bound": "2466236980"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 4207599648838173765, "upper_bound": "3089199417"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 29, "row_count": 30}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000, "num_range": 0, "upper_bound": "250.133.223.117/30"}, {"distinct_range": 2365970500088937500, "num_eq": 80000000000, "num_range": 2365970500088937462, "upper_bound": "a502:7db7:1af:6a69:1f11:38fc:602:2ddf/50"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 30}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4136473430033744209, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "0010110000010101011100001110100110010100"}, {"distinct_range": 5000000000, "num_eq": 6274535289205319833, "num_range": 5000000000, "upper_bound": "0011101011101010110011000001100110111101"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 8965359039781688400}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3148347212, "histo_buckets": [{"distinct_range": 0, "num_eq": 2120331802150431073, "num_range": 0, "upper_bound": "0001110110010010100001100110011001011110"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "0110010101000110010011010010011011000000"}, {"distinct_range": 878762364632905500, "num_eq": 0, "num_range": 1803991469020784508, "upper_bound": "1100001100100000110000000101010001110110"}, {"distinct_range": 60000000000, "num_eq": 8766668147681870411, "num_range": 60000000000, "upper_bound": "1110011100010100000110100100000100010011"}], "histo_col_type": "BIT(40)", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2751233771, "histo_buckets": [{"distinct_range": 0, "num_eq": 1833586045056462998, "num_range": 0, "upper_bound": "000000100001001101010011100"}, {"distinct_range": 17.64296379075499, "num_eq": 781169904763467450, "num_range": 40, "upper_bound": "001000101001100011101101011"}, {"distinct_range": 0, "num_eq": 5311300996671376373, "num_range": 4826821878361141962, "upper_bound": "011011100101110001111111010"}, {"distinct_range": 2348969087537827000, "num_eq": 80000, "num_range": 3268186419644223925, "upper_bound": "100001000110111010100010001"}, {"distinct_range": 6409300366117772000, "num_eq": 3177623612641138977, "num_range": 8138143899115733515, "upper_bound": "101001011010000000010101001"}, {"distinct_range": 1108079048440221300, "num_eq": 0, "num_range": 4176753838527327206, "upper_bound": "110000100101001000010001100"}, {"distinct_range": 40000000, "num_eq": 6158736583674279133, "num_range": 40000000, "upper_bound": "111100110011101101000101100"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 3534274730, "row_count": 6000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1767981950, "histo_col_type": "", "name": "__auto__", "null_count": 3699414648, "row_count": 6000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 411193593, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "1970-04-25"}, {"distinct_range": 0, "num_eq": 6938485440959898834, "num_range": 5004703509903216787, "upper_bound": "1972-03-11"}, {"distinct_range": 0, "num_eq": 0, "num_range": 200, "upper_bound": "1979-05-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3536977996, "histo_col_type": "", "name": "__auto__", "null_count": 5390730229, "row_count": 6000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3577530366, "histo_col_type": "", "name": "__auto__", "null_count": 1271186043, "row_count": 6000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3487059014, "histo_col_type": "", "name": "__auto__", "null_count": 5759594099, "row_count": 6000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1164927213, "histo_buckets": [{"distinct_range": 0, "num_eq": 6946851036844727452, "num_range": 0, "upper_bound": "1203018995"}, {"distinct_range": 26.994621862485392, "num_eq": 50000000, "num_range": 50, "upper_bound": "1674162601"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 1747556436, "row_count": 6000000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4334649750, "histo_col_type": "", "name": "__auto__", "null_count": 1347791219, "row_count": 6000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1009144221, "histo_col_type": "", "name": "__auto__", "null_count": 297431620, "row_count": 6000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5586404407, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1086556529"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 3480190036, "row_count": 6000000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1212658600, "histo_buckets": [{"distinct_range": 0, "num_eq": 2787787636957296953, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 50000, "upper_bound": "16:30:17.8674+07:16:00"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "08:38:37.687024-03:58:00"}, {"distinct_range": 0, "num_eq": 5573484372105707971, "num_range": 7083479176253886479, "upper_bound": "12:57:56.486467-02:21:00"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 50, "upper_bound": "19:02:43.853362+00:22:00"}, {"distinct_range": 0, "num_eq": 4956640019171757557, "num_range": 700000000, "upper_bound": "22:44:31.301885+04:01:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 544148599, "row_count": 6000000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69225, "histo_col_type": "", "name": "__auto__", "null_count": 83653, "row_count": 90000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77309, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "982542693"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7203964131855680552, "upper_bound": "1015696257"}, {"distinct_range": 0, "num_eq": 6550623297911608031, "num_range": 0, "upper_bound": "2255093996"}, {"distinct_range": 0, "num_eq": 3428440015642743854, "num_range": 50, "upper_bound": "2299655695"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 1944102752940969688, "upper_bound": "2860367260"}, {"distinct_range": 9000000, "num_eq": 70000000000, "num_range": 9000000, "upper_bound": "3797434845"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82110, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43241, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 9870, "row_count": 90000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23582, "histo_col_type": "", "name": "__auto__", "null_count": 9549, "row_count": 90000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63331, "histo_col_type": "", "name": "__auto__", "null_count": 76083, "row_count": 90000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52613, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88368, "histo_buckets": [{"distinct_range": 0, "num_eq": 90, "num_range": 0, "upper_bound": "912251031"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6000000, "upper_bound": "2220693790"}, {"distinct_range": 0, "num_eq": 3635381813914586077, "num_range": 100000, "upper_bound": "2294333332"}, {"distinct_range": 3210235403038671000, "num_eq": 70, "num_range": 9005989528399080169, "upper_bound": "2932079903"}, {"distinct_range": 8000000000, "num_eq": 2717693125581119107, "num_range": 8000000000, "upper_bound": "3251550270"}, {"distinct_range": 4000, "num_eq": 8005197482774352457, "num_range": 4000, "upper_bound": "3509029253"}, {"distinct_range": 94548.09941903017, "num_eq": 6364324082190794083, "num_range": 700000, "upper_bound": "4144032966"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 30495, "row_count": 90000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20360, "histo_col_type": "", "name": "__auto__", "null_count": 71397, "row_count": 90000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19558, "histo_col_type": "", "name": "__auto__", "null_count": 53090, "row_count": 90000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44342, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-0.9903762340545654"}, {"distinct_range": 0, "num_eq": 100, "num_range": 20000000, "upper_bound": "1.401298464324817e-45"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 3424862889876786235, "upper_bound": "0.005768716800957918"}, {"distinct_range": 6226653535345496000, "num_eq": 7000, "num_range": 6226653535345495761, "upper_bound": "0.518553614616394"}, {"distinct_range": 4000, "num_eq": 70000000, "num_range": 4000, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82155, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20209, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14043, "histo_col_type": "BIT(16)", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42786, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "25.171.190.38/22"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36496, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30848, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 8290908207347807000, "num_eq": 30000000000, "num_range": 8290908207347807701, "upper_bound": "\\\\x0f42ed717012db"}, {"distinct_range": 369943305.5600943, "num_eq": 50, "num_range": 900000000, "upper_bound": "\\\\x148bd53849"}, {"distinct_range": 273024.56282669073, "num_eq": 2533004194820156426, "num_range": 4000000, "upper_bound": "\\\\x8c197328e94d9f"}, {"distinct_range": 6617884215807697000, "num_eq": 938409639466168374, "num_range": 6617884215807696769, "upper_bound": "\\\\xa1f9a9"}, {"distinct_range": 3879814586411021000, "num_eq": 8849462292670089212, "num_range": 7464979619247061832, "upper_bound": "\\\\xacd4c82407e32c"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3000000, "upper_bound": "\\\\xca"}, {"distinct_range": 75374774.3149393, "num_eq": 30, "num_range": 100000000, "upper_bound": "\\\\xcc14ad7d5c"}, {"distinct_range": 7520741791615907000, "num_eq": 600000, "num_range": 7520741791615907003, "upper_bound": "\\\\xf405"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 90000}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "infinity" does not exist (SQLSTATE 42703)
        test_1        |     --- FAIL: TestCompare/postgres (0.90s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2:5432: connect: connection refused
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_postgres_1   ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@bf9744bad5a416a4b06907f0f3dd42896f7342f3:


        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | Loading PostGIS extensions into postgres
        postgres_1    | CREATE EXTENSION
        test_1        | --- FAIL: TestCompare (1.54s)
        test_1        |     --- FAIL: TestCompare/mutators (0.94s)
        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 INTERVAL NULL, col1_1 REGPROCEDURE, col1_2 TIMETZ, col1_3 TIME NOT NULL, col1_4 INET NULL, col1_5 TIMESTAMPTZ, col1_6 TIMESTAMP, col1_7 BIT(6) NOT NULL, col1_8 DATE NOT NULL, col1_9 TIME[] NULL, PRIMARY KEY (col1_8), INDEX (col1_7 DESC, col1_6 DESC, col1_0, col1_8, col1_5 DESC, col1_2 DESC, col1_1, col1_3 ASC) WHERE table1.col1_5 != '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ, UNIQUE (col1_2 ASC, col1_8 ASC, col1_1, col1_6, col1_5 ASC, col1_3, col1_4, col1_7 ASC, col1_0 ASC) STORING (col1_9) WHERE ((((table1.col1_2 = '00:00:00+15:59:00':::TIMETZ) OR (table1.col1_5 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_8 <= '4714-11-24 BC':::DATE)) AND (table1.col1_3 >= '24:00:00':::TIME)) OR (table1.col1_6 <= '0001-01-01 00:00:00':::TIMESTAMP), UNIQUE (col1_2 DESC, col1_1 DESC, col1_4 ASC, col1_6 DESC, col1_3, col1_8 DESC, col1_5 DESC, col1_0) WHERE (table1.col1_3 < '00:00:00':::TIME) OR (table1.col1_5 != '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), FAMILY (col1_1, col1_8), FAMILY (col1_7, col1_4, col1_9, col1_6, col1_0, col1_3), FAMILY (col1_5, col1_2));
        test_1        |             CREATE TABLE table2 (col1_8 DATE NOT NULL, col2_1 REGPROCEDURE NOT NULL, col2_2 BIT(45) NOT NULL, col2_3 STRING NOT NULL, col2_4 REGPROC, col2_5 REGTYPE, col2_6 TIMETZ, col2_7 CHAR, col2_8 BOOL NOT NULL, col2_9 REGTYPE NOT NULL, col2_10 INET NOT NULL, col2_11 TIMETZ NOT NULL, col2_12 TIMESTAMP NOT NULL, PRIMARY KEY (col1_8, col2_4 ASC), INDEX (col2_12 ASC, col2_6, col2_5 DESC, col2_3 DESC, col2_8 DESC) STORING (col2_1, col2_2, col2_7, col2_11), UNIQUE (col2_9 DESC, col2_11 ASC, col2_6 DESC, col2_2 DESC, col2_12 ASC, col2_10 ASC, col2_7 ASC, col2_3, col2_4 ASC, col2_1, col2_5 DESC, col2_8 DESC) WHERE table2.col2_7 < 'X':::STRING, INDEX (col1_8 ASC, col2_7 ASC, col2_10, col2_3, col2_4 DESC, col2_12, col2_6 DESC, col2_2, col2_11 ASC, col2_8, col2_5, col2_9, col2_1 ASC) WHERE (table2.col2_11 < '24:00:00-15:59:00') AND (table2.col2_6 <= '24:00:00-15:59:00'), UNIQUE (col2_10 DESC, col2_5 DESC, col2_11, col2_3 DESC, col2_4 ASC, col2_7 DESC, col1_8, col2_6 ASC) WHERE ((((((table2.col2_6 != '00:00:00+15:59:00':::TIMETZ) AND (table2.col2_11 = '24:00:00-15:59:00':::TIMETZ)) OR (NOT table2.col2_8)) AND (table2.col1_8 >= 'infinity':::DATE)) AND (table2.col2_12 < '294276-12-31 23:59:59.999999':::TIMESTAMP)) OR (table2.col2_7 <= '':::STRING)) AND (table2.col2_3 != 'X':::STRING), UNIQUE (col2_10, col2_5 ASC, col2_12 ASC, col1_8 ASC, col2_1, col2_2, col2_4 DESC) STORING (col2_6, col2_8, col2_11) WHERE ((((((table2.col2_12 <= '-2000-01-01 00:00:00':::TIMESTAMP) OR (table2.col2_3 >= e'\'':::STRING)) AND (table2.col2_11 < '00:00:00+15:59:00':::TIMETZ)) OR (table2.col2_7 <= e'\U00002603':::STRING)) AND table2.col2_8) AND (table2.col2_6 < '00:00:00+15:59:00':::TIMETZ)) AND (table2.col1_8 >= 'infinity':::DATE), UNIQUE (col2_11, col2_6 DESC, col2_1, col2_8 ASC, col2_10 ASC, col2_2 DESC, col2_9, col2_7 DESC, col1_8, col2_4, col2_5 DESC), INDEX (col2_12, col2_1 DESC, col2_5, col2_7 DESC, col1_8, col2_4 DESC, col2_3 DESC, col2_2, col2_8 ASC, col2_9 DESC, col2_10), INDEX (col1_8, col2_6 ASC, col2_10 DESC, col2_3 ASC, col2_7 DESC, col2_9 DESC, col2_4 ASC, col2_8, col2_1) STORING (col2_2, col2_5, col2_11, col2_12), UNIQUE (col2_8, col1_8 ASC, col2_3 ASC, col2_10, col2_7 ASC, col2_11, col2_1, col2_12, col2_9 DESC, col2_6 ASC, col2_2 DESC, col2_5 ASC) WHERE ((((((table2.col2_3 >= 'X') AND (table2.col2_12 > '3000-01-01 00:00:00')) OR (table2.col2_7 < e'\x00')) AND (table2.col2_11 <= '24:00:00-15:59:00')) AND table2.col2_8) AND (table2.col1_8 >= 'infinity')) OR (table2.col2_6 <= '24:00:00-15:59:00'), UNIQUE (col1_8, col2_3) STORING (col2_2, col2_5, col2_6, col2_7, col2_9) WHERE (((table2.col2_8 OR (table2.col1_8 = 'infinity')) OR (table2.col2_6 > '24:00:00-15:59:00')) AND (table2.col2_12 != '294276-12-31 23:59:59.999999')) AND (table2.col2_7 <= ''), FAMILY (col2_10), FAMILY (col2_11), FAMILY (col2_3, col2_2), FAMILY (col2_1, col2_9, col1_8, col2_6), FAMILY (col2_12), FAMILY (col2_4, col2_8, col2_7), FAMILY (col2_5)) INTERLEAVE IN PARENT table1 (col1_8);
        test_1        |             CREATE TABLE table3 (col3_0 CHAR NOT NULL, col3_1 FLOAT8 NULL, col3_2 VARCHAR, col3_3 BIT(33) NOT NULL, col3_4 BOX2D NOT NULL, col3_5 BYTES NOT NULL, col3_6 REGPROC NULL, col3_7 DATE NOT NULL, col3_8 STRING, col3_9 FLOAT4 NULL, INDEX (col3_3, col3_5, col3_7 ASC) STORING (col3_2, col3_4, col3_6), UNIQUE (col3_9 DESC) STORING (col3_0, col3_2, col3_4, col3_5, col3_6) WHERE ((((((table3.col3_7 >= 'infinity':::DATE) OR (table3.col3_8 >= '"':::STRING)) OR (table3.col3_2 > e'\x00':::STRING)) OR (table3.col3_0 <= e'\'':::STRING)) OR (table3.col3_5 >= e'\\x':::BYTES)) OR (table3.col3_1 >= 'NaN':::FLOAT8)) OR (table3.col3_9 = 0.0:::FLOAT8), UNIQUE (col3_6) WHERE ((((((table3.col3_5 < '\x27') AND (table3.col3_7 >= '-infinity')) AND (table3.col3_0 <= e'\U00002603')) AND (table3.col3_2 = e'\x00')) OR (table3.col3_1 < 1.0)) AND (table3.col3_8 <= e'\U00002603')) OR (table3.col3_9 < -1.0), FAMILY (col3_2), FAMILY (col3_7, col3_1, col3_0), FAMILY (col3_9), FAMILY (col3_4), FAMILY (col3_6), FAMILY (col3_8), FAMILY (col3_5, col3_3));
        test_1        |             CREATE TABLE table4 (col1_8 DATE NOT NULL, col4_1 DATE NOT NULL, col4_2 REGTYPE NOT NULL, col4_3 TIMETZ NULL, col4_4 TIMESTAMPTZ NULL, col4_5 DATE NULL, col4_6 REGPROCEDURE NULL, col4_7 INT8, col4_8 INTERVAL NULL, col4_9 TIMESTAMPTZ, col4_10 INT2 NOT NULL, col4_11 NAME NOT NULL, col4_12 STRING, col4_13 REGPROC, col4_14 REGTYPE, col4_15 "char" NULL, PRIMARY KEY (col1_8, col4_1 ASC, col4_4 DESC, col4_8 ASC, col4_7 ASC, col4_12 ASC, col4_15 DESC, col4_11 ASC, col4_13 DESC, col4_6 DESC, col4_14 ASC), UNIQUE (col4_12 ASC, col4_15 ASC, col4_14 DESC, col1_8 ASC, col4_1, col4_7 ASC, col4_3, col4_11, col4_6 DESC, col4_9 ASC, col4_2 DESC, col4_13, col4_4, col4_5 ASC) WHERE (((((table4.col4_1 >= 'infinity') OR (table4.col4_5 > 'infinity')) AND (table4.col4_7 = 32767)) AND (table4.col4_12 > '"')) AND (table4.col1_8 != '1970-01-01')) AND (table4.col4_4 > '3000-01-01 00:00:00+00:00'), UNIQUE (col4_12 DESC, col4_5, col4_10 DESC, col4_3), INDEX (col4_7 ASC, col4_12 ASC, col4_13 DESC, col4_2 ASC, col1_8 DESC, col4_10, col4_5 DESC, col4_9, col4_15 ASC, col4_8) WHERE ((table4.col4_12 = 'X') AND (table4.col4_1 < '5874897-12-31')) OR (table4.col4_11 > e'\U00002603'), UNIQUE (col4_8, col4_11 ASC, col4_2 ASC, col4_12, col4_14, col4_1, col4_9 ASC, col4_10 DESC, col4_3, col4_6 DESC) WHERE (table4.col4_10 > (-1):::INT8) AND (table4.col4_7 > 127:::INT8), UNIQUE (col1_8 ASC, col4_13 DESC) WHERE (table4.col4_7 != 9223372036854775807:::INT8) OR (table4.col4_1 >= '1970-01-01':::DATE), FAMILY (col4_1), FAMILY (col1_8), FAMILY (col4_5), FAMILY (col4_7, col4_13, col4_12), FAMILY (col4_2, col4_3, col4_11), FAMILY (col4_9, col4_14, col4_6), FAMILY (col4_10, col4_15), FAMILY (col4_4, col4_8)) INTERLEAVE IN PARENT table1 (col1_8);
        test_1        |             CREATE TABLE table5 (col1_8 DATE NOT NULL, col2_4 REGPROC, col5_2 INTERVAL NOT NULL, col5_3 CHAR, col5_4 VARCHAR NOT NULL, col5_5 BIT(4) NULL, col5_6 INT4, col5_7 BOX2D, col5_8 BOX2D NOT NULL, col5_9 BIT(18), col5_10 "char" NULL, col5_11 VARCHAR, col5_12 INT8 NOT NULL, col5_13 "char", col5_14 TIME, col5_15 INT8 NOT NULL, PRIMARY KEY (col1_8, col2_4 ASC, col5_11 DESC, col5_5 DESC, col5_12 ASC, col5_3 ASC, col5_9, col5_15 ASC, col5_8 DESC, col5_14 DESC, col5_4 DESC, col5_13, col5_7, col5_10 ASC, col5_2 ASC), UNIQUE (col5_6 ASC, col5_7 DESC, col5_8 ASC, col5_15 ASC) WHERE (((((((((table5.col5_10 != e'\x00':::STRING) AND (table5.col5_12 != (-32768):::INT8)) OR (table5.col5_13 < e'\'':::STRING)) OR (table5.col5_15 = 0:::INT8)) AND (table5.col5_3 > e'\x00':::STRING)) AND (table5.col5_14 = '24:00:00':::TIME)) OR (table5.col5_11 <= e'\U00002603':::STRING)) OR (table5.col1_8 <= '-infinity':::DATE)) AND (table5.col5_4 > '':::STRING)) AND (table5.col5_6 = (-2147483648):::INT8), INDEX (col5_5 DESC, col5_4, col5_8 DESC) WHERE (((((((((table5.col5_3 > e'\x00') OR (table5.col5_6 >= -2147483648)) AND (table5.col5_13 <= '"')) AND (table5.col5_14 >= '24:00:00')) AND (table5.col1_8 = '-infinity')) OR (table5.col5_11 > 'X')) AND (table5.col5_12 <= 9223372036854775807)) OR (table5.col5_10 = e'\'')) AND (table5.col5_15 = 32767)) OR (table5.col5_4 >= e'\''), UNIQUE (col5_7 DESC, col5_10, col5_8, col1_8 ASC) STORING (col5_6) WHERE (((((((((table5.col5_14 >= '24:00:00':::TIME) AND (table5.col5_15 >= 2147483647:::INT8)) OR (table5.col5_12 = (-128):::INT8)) AND (table5.col5_4 > e'\'':::STRING)) OR (table5.col5_13 < '"':::STRING)) OR (table5.col5_10 >= 'X':::STRING)) OR (table5.col5_11 < '"':::STRING)) AND (table5.col5_6 <= 1:::INT8)) OR (table5.col1_8 < '4714-11-24 BC':::DATE)) AND (table5.col5_3 = '':::STRING), FAMILY (col5_15), FAMILY (col5_8), FAMILY (col5_4), FAMILY (col5_11, col1_8), FAMILY (col5_13), FAMILY (col5_6), FAMILY (col5_2, col5_14), FAMILY (col5_9, col5_7, col5_12), FAMILY (col5_3, col5_5, col5_10, col2_4)) INTERLEAVE IN PARENT table2 (col1_8, col2_4);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 783057799778229281, "histo_col_type": "", "name": "__auto__", "null_count": 253970858759872761, "row_count": 7283136478918214741}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5924177186257921488, "histo_col_type": "", "name": "__auto__", "null_count": 4284654549978522553, "row_count": 7283136478918214741}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5793917624117962590, "histo_col_type": "", "name": "__auto__", "null_count": 1352358182612314252, "row_count": 7283136478918214741}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1505921393598125617, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1985-09-01"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 7283136478918214741}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 398462452080319592, "histo_col_type": "", "name": "__auto__", "null_count": 6091193589827638052, "row_count": 7283136478918214741}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2222073163874818877, "histo_col_type": "", "name": "__auto__", "null_count": 5719691954549029931, "row_count": 7283136478918214741}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3693763835556532392, "histo_buckets": [{"distinct_range": 0, "num_eq": 1798347116088995239, "num_range": 0, "upper_bound": "000000"}, {"distinct_range": 786522888070156900, "num_eq": 0, "num_range": 5161849145977478934, "upper_bound": "010110"}, {"distinct_range": 0, "num_eq": 5764638105825175646, "num_range": 300, "upper_bound": "011110"}, {"distinct_range": 3951.573062790999, "num_eq": 90000000, "num_range": 7000, "upper_bound": "111100"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 7283136478918214741}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6125344760640331136, "histo_col_type": "", "name": "__auto__", "null_count": 6921634247059315339, "row_count": 7283136478918214741}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5999106552485690545, "histo_buckets": [{"distinct_range": 0, "num_eq": 5627100668786237593, "num_range": 0, "upper_bound": "09:19:51.99486+10:07:00"}, {"distinct_range": 281011620481084350, "num_eq": 3000000, "num_range": 3259441225191291957, "upper_bound": "09:54:19.243479+07:42:00"}, {"distinct_range": 1002466822335910000, "num_eq": 7254107535370063781, "num_range": 6032822529362174631, "upper_bound": "14:31:07.571141-02:50:00"}, {"distinct_range": 127.17410261592872, "num_eq": 0, "num_range": 400, "upper_bound": "10:09:18.394543-08:05:00"}, {"distinct_range": 50000, "num_eq": 10000000, "num_range": 50000, "upper_bound": "17:29:05.7305-00:56:00"}, {"distinct_range": 0.23398208203339083, "num_eq": 1419879870466838587, "num_range": 10, "upper_bound": "07:53:33.585208-10:44:00"}, {"distinct_range": 700000000, "num_eq": 40, "num_range": 700000000, "upper_bound": "13:08:31.023968-12:57:00"}, {"distinct_range": 0, "num_eq": 7077650842444808348, "num_range": 0, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 6044432139474536183, "row_count": 7283136478918214741}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3544507410291156499, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7283136478918214741}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39324336, "histo_col_type": "", "name": "__auto__", "null_count": 27426552, "row_count": 50000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44209292, "histo_col_type": "", "name": "__auto__", "null_count": 22287713, "row_count": 50000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47981553, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14697425, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "16:00:05.860537-07:42:00"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 20000000, "upper_bound": "21:21:07.582353-07:17:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 956020, "histo_buckets": [{"distinct_range": 0, "num_eq": 253041257432223740, "num_range": 0, "upper_bound": "1985-10-23 12:39:57.000366"}, {"distinct_range": 0, "num_eq": 6829326208474203426, "num_range": 0, "upper_bound": "1993-10-24 01:35:17.000759"}, {"distinct_range": 2979204337738035000, "num_eq": 9000000, "num_range": 2979204337738035194, "upper_bound": "2000-11-09 20:19:40.000157"}, {"distinct_range": 440779815.2674349, "num_eq": 3000, "num_range": 6000000000, "upper_bound": "2013-09-02 16:47:08.000234"}, {"distinct_range": 10476.930964562987, "num_eq": 400000000, "num_range": 20000, "upper_bound": "3000-01-01 00:00:00"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42959228, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43596053, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36612012, "histo_col_type": "", "name": "__auto__", "null_count": 15308477, "row_count": 50000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3752556, "histo_buckets": [{"distinct_range": 0, "num_eq": 7122831920350136374, "num_range": 0, "upper_bound": "291447114"}, {"distinct_range": 72852.54633500661, "num_eq": 2288094498513240809, "num_range": 700000, "upper_bound": "298496092"}, {"distinct_range": 0, "num_eq": 8299390915029826337, "num_range": 70000, "upper_bound": "2443633146"}, {"distinct_range": 1867234740.6359904, "num_eq": 2469261920597878899, "num_range": 2000000000, "upper_bound": "3442761970"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20477023, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "84.70.247.26/14"}, {"distinct_range": 1197834728791880200, "num_eq": 0, "num_range": 2747176591146321487, "upper_bound": "159.80.151.2/27"}, {"distinct_range": 1154690727090632200, "num_eq": 1542049914250192552, "num_range": 1154690727090632126, "upper_bound": "65d8:79a3:5dbc:fbdd:c743:bc95:afa:bb66/24"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4535294, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31308956, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45905322, "histo_col_type": "", "name": "__auto__", "null_count": 31452251, "row_count": 50000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2657, "histo_col_type": "", "name": "__auto__", "null_count": 1494, "row_count": 5000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "000000000000000000000000000000000"}, {"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "000100101011110101000000000010100"}, {"distinct_range": 40, "num_eq": 80000000, "num_range": 40, "upper_bound": "001001010110011010001011001000001"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 4449316308024740680, "upper_bound": "001011100101111000111111001100011"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 8161043393376986307, "upper_bound": "001101101000000001111101010011010"}, {"distinct_range": 1694010982439037700, "num_eq": 500000, "num_range": 2762589981367473768, "upper_bound": "011111111111111111111111111111111"}, {"distinct_range": 540993063734945150, "num_eq": 6675444141879853965, "num_range": 540993063734945122, "upper_bound": "111100100000100110110111001001011"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3264, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 567, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 4261, "row_count": 5000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4715, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3353, "histo_col_type": "", "name": "__auto__", "null_count": 1547, "row_count": 5000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4980, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 663, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2904, "histo_col_type": "", "name": "__auto__", "null_count": 3431, "row_count": 5000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3465, "histo_col_type": "", "name": "__auto__", "null_count": 4091, "row_count": 5000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 348795, "histo_col_type": "STRING", "name": "__auto__", "null_count": 193146, "row_count": 600000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 498398, "histo_col_type": "", "name": "__auto__", "null_count": 65940, "row_count": 600000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 380022, "histo_col_type": "", "name": "__auto__", "null_count": 439700, "row_count": 600000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 149493, "histo_col_type": "", "name": "__auto__", "null_count": 99425, "row_count": 600000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 359987, "histo_buckets": [{"distinct_range": 0, "num_eq": 81020585780969160, "num_range": 0, "upper_bound": "1997-02-16"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127395, "histo_col_type": "", "name": "__auto__", "null_count": 211114, "row_count": 600000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241862, "histo_col_type": "", "name": "__auto__", "null_count": 281759, "row_count": 600000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 557099, "histo_col_type": "", "name": "__auto__", "null_count": 508047, "row_count": 600000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 435315, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 258051, "histo_col_type": "", "name": "__auto__", "null_count": 58169, "row_count": 600000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 417592, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136094, "histo_col_type": "", "name": "__auto__", "null_count": 445769, "row_count": 600000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169852, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "-4547228508782594699"}, {"distinct_range": 0, "num_eq": 6316061956959912723, "num_range": 4527946716019548171, "upper_bound": "1063074379428272182"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000, "upper_bound": "2567462672892947069"}, {"distinct_range": 30, "num_eq": 0, "num_range": 30, "upper_bound": "4590948769281314905"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 550434, "row_count": 600000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 318996, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-72 years -9 mons -248 days -01:41:45.311774"}, {"distinct_range": 737030933426912100, "num_eq": 7256811857594871979, "num_range": 737030933426912067, "upper_bound": "-71 years -7 mons -621 days -13:49:40.412597"}, {"distinct_range": 1008355847026861700, "num_eq": 4000, "num_range": 1527096096269817184, "upper_bound": "-54 years -10 mons -345 days -04:18:36.506769"}, {"distinct_range": 4488136638395919400, "num_eq": 50000000, "num_range": 7627320034639157630, "upper_bound": "-5 years -5 mons -95 days -08:12:19.337664"}, {"distinct_range": 74355229252.84755, "num_eq": 0, "num_range": 80000000000, "upper_bound": "3 years 7 mons 153 days 10:39:01.49746"}, {"distinct_range": 0, "num_eq": 6666432654131614537, "num_range": 5315558635282513794, "upper_bound": "4 years 1 mon 647 days 15:55:38.012634"}, {"distinct_range": 282516232.6080988, "num_eq": 1000000, "num_range": 4000000000, "upper_bound": "6 years 8 mons 94 days 20:25:08.984823"}, {"distinct_range": 0, "num_eq": 80, "num_range": 30, "upper_bound": "14 years 4 mons 9 days 21:32:18.326102"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 569361, "row_count": 600000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 330728, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 338018, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 591252601190645603, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "1975-10-07"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 383665618677803329, "histo_col_type": "", "name": "__auto__", "null_count": 662115893789463477, "row_count": 985900451050871130}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379992540960886342, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1010"}], "histo_col_type": "BIT(4)", "name": "__auto__", "null_count": 345485945220610446, "row_count": 985900451050871130}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 363285451520076959, "histo_buckets": [{"distinct_range": 0, "num_eq": 8600822990795292811, "num_range": 0, "upper_bound": "-1384242553"}, {"distinct_range": 767983913593023600, "num_eq": 4768782730092546859, "num_range": 1457696203861148391, "upper_bound": "-793343378"}, {"distinct_range": 846868396803754200, "num_eq": 1000000, "num_range": 9160551776029656316, "upper_bound": "-426775520"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 100000, "upper_bound": "366959616"}, {"distinct_range": 208608046.75029624, "num_eq": 7549091621861360320, "num_range": 900000000, "upper_bound": "615198672"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 216685778420137695, "row_count": 985900451050871130}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 275451474636335618, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "BOX(0.5255135385730576 -0.5940714954058687,1.1161764893169321 0.17606903927532258)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 276958206976864967, "row_count": 985900451050871130}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 371662638386941897, "histo_col_type": "", "name": "__auto__", "null_count": 692119402326458319, "row_count": 985900451050871130}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19287050705945692, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33252355453143084, "histo_col_type": "", "name": "__auto__", "null_count": 71938021996024083, "row_count": 985900451050871130}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 967964470317874069, "histo_col_type": "", "name": "__auto__", "null_count": 968120113595270843, "row_count": 985900451050871130}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 389780464219897835, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 293214859270870211, "histo_col_type": "", "name": "__auto__", "null_count": 401800470269442975, "row_count": 985900451050871130}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 427736991100159670, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24167077965614034, "histo_col_type": "", "name": "__auto__", "null_count": 871578539044419747, "row_count": 985900451050871130}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 670410811543682813, "histo_col_type": "", "name": "__auto__", "null_count": 48510310946104598, "row_count": 985900451050871130}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 960202009122443515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 760481784854740805, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 985900451050871130}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_5) REFERENCES table3 (col3_6);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('wriwrp', 'o', 'fb', 'txnb', 'ck');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('erxtll', 'fsgpm', 'afe', 'cehv', 'axi');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8869146590074563, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "08:20:53.990011+07:07:00"}, {"distinct_range": 32073080095.081318, "num_eq": 60, "num_range": 80000000000, "upper_bound": "13:07:28.135379+07:53:00"}, {"distinct_range": 9000, "num_eq": 50000000, "num_range": 9000, "upper_bound": "09:45:19.331684-01:01:00"}, {"distinct_range": 727888164309409500, "num_eq": 6772068980203212251, "num_range": 727888164309409582, "upper_bound": "05:50:34.054263-12:17:00"}, {"distinct_range": 0, "num_eq": 2847087429813571606, "num_range": 4000000000, "upper_bound": "14:22:55.759972-04:17:00"}, {"distinct_range": 6224991147087715000, "num_eq": 1000000000, "num_range": 6224991147087714869, "upper_bound": "21:41:57.857514+01:28:00"}, {"distinct_range": 6094197619255868000, "num_eq": 30000000, "num_range": 6094197619255868401, "upper_bound": "13:09:35.641696-08:24:00"}, {"distinct_range": 145.29941533066844, "num_eq": 3289283715982662415, "num_range": 200, "upper_bound": "21:38:42.991754-02:12:00"}, {"distinct_range": 6674640264826236000, "num_eq": 641653419517871039, "num_range": 6674640264826236199, "upper_bound": "17:01:01.902869-13:37:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 3232658334566732552, "row_count": 8520558382889753323}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6972164979772997984, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8520558382889753323}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2270487423330048949, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "1971-03-24"}, {"distinct_range": 400000, "num_eq": 60000000000, "num_range": 400000, "upper_bound": "1981-12-07"}, {"distinct_range": 2109.201945050159, "num_eq": 8000, "num_range": 4000, "upper_bound": "1987-11-18"}, {"distinct_range": 0, "num_eq": 3430538039295772503, "num_range": 1000, "upper_bound": "1988-11-23"}, {"distinct_range": 66.71202343307577, "num_eq": 40000000000, "num_range": 70, "upper_bound": "1989-12-18"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 500, "upper_bound": "1992-11-03"}, {"distinct_range": 700000, "num_eq": 3782322477985745257, "num_range": 700000, "upper_bound": "1994-06-07"}, {"distinct_range": 793518776746561700, "num_eq": 2942286744003663601, "num_range": 3812230092868376932, "upper_bound": "1995-07-12"}, {"distinct_range": 47358302266.18138, "num_eq": 1390329677324181037, "num_range": 50000000000, "upper_bound": "1996-03-23"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 8520558382889753323}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5364250332664031015, "histo_col_type": "", "name": "__auto__", "null_count": 7606426276136857870, "row_count": 8520558382889753323}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8058974601570508918, "histo_col_type": "", "name": "__auto__", "null_count": 6321397725366583708, "row_count": 8520558382889753323}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 726337921658998552, "histo_col_type": "", "name": "__auto__", "null_count": 437970104334820042, "row_count": 8520558382889753323}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1221814859350392762, "histo_col_type": "", "name": "__auto__", "null_count": 1201072295073886965, "row_count": 8520558382889753323}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 535994839264836948, "histo_buckets": [{"distinct_range": 0, "num_eq": 110098434678658232, "num_range": 0, "upper_bound": "000010"}, {"distinct_range": 1449850986478372600, "num_eq": 70, "num_range": 3963458457153607201, "upper_bound": "010010"}, {"distinct_range": 41462547.190545626, "num_eq": 1713351853475614938, "num_range": 90000000, "upper_bound": "110001"}, {"distinct_range": 7029700897543641000, "num_eq": 7953748183261165004, "num_range": 7029700897543641126, "upper_bound": "111010"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 8520558382889753323}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1582100287605758179, "histo_col_type": "", "name": "__auto__", "null_count": 5748353447131991225, "row_count": 8520558382889753323}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6220134479078359713, "histo_col_type": "", "name": "__auto__", "null_count": 3265797635459952045, "row_count": 8520558382889753323}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11392053, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27195913, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43651371, "histo_col_type": "", "name": "__auto__", "null_count": 885409, "row_count": 50000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20554829, "histo_col_type": "", "name": "__auto__", "null_count": 14760068, "row_count": 50000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35957293, "histo_col_type": "", "name": "__auto__", "null_count": 23121531, "row_count": 50000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38170389, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 6115280969573407899, "num_range": 70000000, "upper_bound": "1746897702"}, {"distinct_range": 0, "num_eq": 5400325640887654017, "num_range": 5924739960464932705, "upper_bound": "2175759182"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "2432449069"}, {"distinct_range": 60, "num_eq": 5000000000, "num_range": 60, "upper_bound": "3920357789"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4737997, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "2015-06-24 19:04:27.000515"}, {"distinct_range": 110376383957100460, "num_eq": 90, "num_range": 122087092559184992, "upper_bound": "2029-07-25 15:21:39.000278"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10657912, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "1970-06-30"}, {"distinct_range": 1000, "num_eq": 7265892609614558529, "num_range": 1000, "upper_bound": "1971-02-27"}, {"distinct_range": 0, "num_eq": 4694230929131889759, "num_range": 3978562660413033724, "upper_bound": "1980-06-10"}, {"distinct_range": 0, "num_eq": 400, "num_range": 5255232482296085743, "upper_bound": "1980-10-13"}, {"distinct_range": 50, "num_eq": 700000000, "num_range": 50, "upper_bound": "1989-07-03"}, {"distinct_range": 3668706839124099600, "num_eq": 2412214790366527454, "num_range": 3668706839124099611, "upper_bound": "1993-03-18"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30650031, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49445030, "histo_col_type": "", "name": "__auto__", "null_count": 40665540, "row_count": 50000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42208509, "histo_buckets": [{"distinct_range": 0, "num_eq": 8120835544767608731, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 50000000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16980653, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "142.198.190.33/21"}, {"distinct_range": 4501760441386041, "num_eq": 4966458894116432391, "num_range": 192226403120026479, "upper_bound": "18.63.36.248/27"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 3900624730410952215, "upper_bound": "78.42.26.70/28"}, {"distinct_range": 9564573650176320, "num_eq": 3647922370926121044, "num_range": 281801804810849963, "upper_bound": "6010:f4dc:2023:3429:4fde:5bbb:d1b:5976/3"}, {"distinct_range": 0, "num_eq": 2126761449483018156, "num_range": 60000000, "upper_bound": "798d:82f:116e:c616:6362:550d:6404:65d9/89"}, {"distinct_range": 0, "num_eq": 7144349952612501147, "num_range": 800, "upper_bound": "3192:3afe:c766:5ecb:49f4:9c2c:ea5f:d477/125"}, {"distinct_range": 0, "num_eq": 60, "num_range": 90000000000, "upper_bound": "e8ea:80e9:c70c:c9c2:5e4a:ff64:7a0:9737/125"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 50000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7356571, "histo_buckets": [{"distinct_range": 0, "num_eq": 3366438950941284603, "num_range": 0, "upper_bound": "15:36:59.202308+02:25:00"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "05:25:29.085215-11:03:00"}, {"distinct_range": 500, "num_eq": 10, "num_range": 500, "upper_bound": "06:54:32.132533-12:48:00"}, {"distinct_range": 50444.258327806194, "num_eq": 8730954429241352344, "num_range": 6000000, "upper_bound": "11:53:22.967927-13:37:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 50000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 763, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 279, "histo_buckets": [{"distinct_range": 0, "num_eq": 1263761123889403935, "num_range": 0, "upper_bound": "6464682"}, {"distinct_range": 300000000, "num_eq": 7015057897524853837, "num_range": 300000000, "upper_bound": "1534548372"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 9205491195437980040, "upper_bound": "2254300069"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 255, "row_count": 900}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 515, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 523, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "1.1418839693069458"}, {"distinct_range": 6559661481020028000, "num_eq": 2100561764883791063, "num_range": 6559661481020027678, "upper_bound": "1.3372397422790527"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 202, "row_count": 900}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 570, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 711, "histo_col_type": "", "name": "__auto__", "null_count": 255, "row_count": 900}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38, "histo_col_type": "", "name": "__auto__", "null_count": 816, "row_count": 900}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 519, "histo_buckets": [{"distinct_range": 0, "num_eq": 5740934385341927002, "num_range": 0, "upper_bound": "000000000000000000000000000000000"}, {"distinct_range": 11066.789798790249, "num_eq": 5915335796928096567, "num_range": 70000, "upper_bound": "101010000110001100000001110110101"}, {"distinct_range": 1471.393923896621, "num_eq": 5000, "num_range": 7000, "upper_bound": "110101110001011001111110011010111"}, {"distinct_range": 3028251423620795000, "num_eq": 2263646810809125249, "num_range": 3028251423620795074, "upper_bound": "111001111110101011010010000100111"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 894, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 681, "histo_col_type": "", "name": "__auto__", "null_count": 596, "row_count": 900}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5, "histo_col_type": "", "name": "__auto__", "null_count": 39, "row_count": 100}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "1977-06-15"}, {"distinct_range": 0, "num_eq": 4193063174819479965, "num_range": 535786781383621760, "upper_bound": "1979-11-23"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 30000000, "upper_bound": "1980-02-18"}, {"distinct_range": 5918940660464320000, "num_eq": 400000000, "num_range": 5918940660464320543, "upper_bound": "1985-03-20"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 20000, "upper_bound": "1990-09-05"}, {"distinct_range": 30000, "num_eq": 50, "num_range": 30000, "upper_bound": "1991-01-21"}, {"distinct_range": 100000, "num_eq": 2761127916559183726, "num_range": 100000, "upper_bound": "1992-03-15"}, {"distinct_range": 1000, "num_eq": 90000000000, "num_range": 1000, "upper_bound": "1992-07-06"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56, "histo_col_type": "", "name": "__auto__", "null_count": 44, "row_count": 100}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92, "histo_buckets": [{"distinct_range": 0, "num_eq": 3009962091987829545, "num_range": 0, "upper_bound": "TzH"}, {"distinct_range": 686.6778880920422, "num_eq": 7586880236591032928, "num_range": 800, "upper_bound": "^jap\\u0004KJ"}, {"distinct_range": 314317963.4506967, "num_eq": 9211872347827933441, "num_range": 900000000, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 19, "row_count": 100}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_col_type": "", "name": "__auto__", "null_count": 82, "row_count": 100}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 80, "row_count": 100}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_col_type": "", "name": "__auto__", "null_count": 29, "row_count": 100}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31, "histo_col_type": "", "name": "__auto__", "null_count": 7, "row_count": 100}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 100}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97, "histo_col_type": "", "name": "__auto__", "null_count": 42, "row_count": 100}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99, "histo_buckets": [{"distinct_range": 0, "num_eq": 3569778568697599721, "num_range": 0, "upper_bound": "-5611833705461404403"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 9000000, "upper_bound": "-1159809781094842940"}, {"distinct_range": 243282249503821980, "num_eq": 9000000, "num_range": 293628625557233813, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 3589226260943279070, "upper_bound": "1554988885609982812"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8089048756223166338, "upper_bound": "1972729884094874418"}, {"distinct_range": 60000000, "num_eq": 10000, "num_range": 60000000, "upper_bound": "2599752294073324640"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 15, "row_count": 100}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "63 years 11 mons 368 days 12:42:27.85948"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 77, "row_count": 100}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8841218, "histo_col_type": "", "name": "__auto__", "null_count": 5836586, "row_count": 20000000}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 995772, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8512088, "histo_col_type": "", "name": "__auto__", "null_count": 16502355, "row_count": 20000000}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 986879, "histo_col_type": "", "name": "__auto__", "null_count": 76165, "row_count": 20000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19162418, "histo_buckets": [{"distinct_range": 0, "num_eq": 8601190483526925964, "num_range": 0, "upper_bound": "1970-01-01"}, {"distinct_range": 0, "num_eq": 8819674913847396967, "num_range": 70, "upper_bound": "1970-02-03"}, {"distinct_range": 0, "num_eq": 0, "num_range": 40000000, "upper_bound": "1978-08-30"}, {"distinct_range": 600000, "num_eq": 1894604013829163576, "num_range": 600000, "upper_bound": "1986-08-31"}, {"distinct_range": 1523547106141728300, "num_eq": 1570577958399074885, "num_range": 3090701877063237378, "upper_bound": "1988-01-13"}, {"distinct_range": 4697456957084994000, "num_eq": 6902243502127421385, "num_range": 7598401023351486485, "upper_bound": "1988-05-27"}, {"distinct_range": 1896773.9171219708, "num_eq": 7400198752206235638, "num_range": 5000000, "upper_bound": "1996-01-16"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3144632, "histo_col_type": "", "name": "__auto__", "null_count": 3178080, "row_count": 20000000}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5778935, "histo_col_type": "", "name": "__auto__", "null_count": 15058772, "row_count": 20000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11910173, "histo_col_type": "", "name": "__auto__", "null_count": 1001483, "row_count": 20000000}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16655677, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1933055, "histo_buckets": [{"distinct_range": 0, "num_eq": 6159360541888224685, "num_range": 0, "upper_bound": "127"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 239074216372108500, "upper_bound": "32767"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6000000, "upper_bound": "1937567285"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 13228656, "row_count": 20000000}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19247705, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15555953, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "0000"}, {"distinct_range": 409504129639142800, "num_eq": 10000, "num_range": 409504129639142754, "upper_bound": "0101"}], "histo_col_type": "BIT(4)", "name": "__auto__", "null_count": 6725337, "row_count": 20000000}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8216732, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "BOX(-2.090583551991614 -1.2006330144340271,1.5172152498501927 0.9089565823564512)"}, {"distinct_range": 2953937542901084700, "num_eq": 100, "num_range": 2953937542901084836, "upper_bound": "BOX(-1.7979130049385639 -0.8495862400473315,-0.25037838747166974 -0.794316168706205)"}, {"distinct_range": 23285975.636270035, "num_eq": 9000000000, "num_range": 90000000, "upper_bound": "BOX(-1.0747882848755683 0.4136213260190916,0.10888542483182037 1.5712686073426418)"}, {"distinct_range": 7162345061399795000, "num_eq": 40000000000, "num_range": 7162345061399794933, "upper_bound": "BOX(-0.728783102343389 0.7003877922603923,0.018404462283885925 0.8271670406756755)"}, {"distinct_range": 0, "num_eq": 5877873570824562891, "num_range": 100000, "upper_bound": "BOX(-0.7274636151320552 -1.275091002981704,0.2722507319485859 0.3414844088866047)"}, {"distinct_range": 754089374629338500, "num_eq": 1072396097067602414, "num_range": 5285796096477205659, "upper_bound": "BOX(-0.2482914081432213 -0.45842294833268826,0.44334862830716276 -0.030789532349127846)"}, {"distinct_range": 505380171322744770, "num_eq": 0, "num_range": 538724845208655424, "upper_bound": "BOX(0.22015094532004897 -0.13278053852794613,0.371171363697931 0.8742845620015318)"}, {"distinct_range": 43337.75447054407, "num_eq": 600, "num_range": 50000, "upper_bound": "BOX(0.22551884235399133 -1.5376610898563419,0.7849603243749992 -0.7790102513283936)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 10603502, "row_count": 20000000}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10495287, "histo_col_type": "", "name": "__auto__", "null_count": 18579016, "row_count": 20000000}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3323875, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col5_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16051240, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}]';
        test_1        |             ALTER TABLE table5 ADD FOREIGN KEY (col1_8, col5_11) REFERENCES table2 (col1_8, col2_3) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2322212982447704265, "histo_col_type": "", "name": "__auto__", "null_count": 2829119397524619793, "row_count": 4401117408978292240}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798486225921511488, "histo_col_type": "", "name": "__auto__", "null_count": 831284888676453599, "row_count": 4401117408978292240}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 320664334438171823, "histo_col_type": "", "name": "__auto__", "null_count": 3227497939014648226, "row_count": 4401117408978292240}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3479087994227589825, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "10:32:16.17681+06:25:00"}, {"distinct_range": 83765.24013751281, "num_eq": 8272586457043946934, "num_range": 90000, "upper_bound": "05:31:47.456282+00:54:00"}, {"distinct_range": 900000000, "num_eq": 2200147347776725819, "num_range": 900000000, "upper_bound": "05:20:17.51321-02:14:00"}, {"distinct_range": 10000, "num_eq": 2751430145915347620, "num_range": 10000, "upper_bound": "18:14:59.768759+01:59:00"}, {"distinct_range": 40000, "num_eq": 200000, "num_range": 40000, "upper_bound": "16:07:39.432794-05:57:00"}, {"distinct_range": 2410081427178363400, "num_eq": 0, "num_range": 5059121634257096412, "upper_bound": "21:34:13.522292-02:04:00"}, {"distinct_range": 3784.669440819999, "num_eq": 20000000000, "num_range": 6000, "upper_bound": "16:01:42.390866-09:27:00"}, {"distinct_range": 1871227.099052789, "num_eq": 8000000000, "num_range": 2000000, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 2385740867053648279, "row_count": 4401117408978292240}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2905799530407584165, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4401117408978292240}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1969735987313876531, "histo_col_type": "", "name": "__auto__", "null_count": 390660334067006210, "row_count": 4401117408978292240}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2069598460032077719, "histo_col_type": "", "name": "__auto__", "null_count": 1159266921339616564, "row_count": 4401117408978292240}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3549297427040545779, "histo_col_type": "", "name": "__auto__", "null_count": 2113899135912911686, "row_count": 4401117408978292240}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2982289127709577609, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "000100"}, {"distinct_range": 8670184393522476000, "num_eq": 2063174570813110879, "num_range": 8670184393522476164, "upper_bound": "000101"}, {"distinct_range": 6433693.165906773, "num_eq": 5851750640772747971, "num_range": 60000000, "upper_bound": "010000"}, {"distinct_range": 0, "num_eq": 7075796036521563372, "num_range": 6340570552055032929, "upper_bound": "010111"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 100000, "upper_bound": "011001"}, {"distinct_range": 7621964929542934000, "num_eq": 2336941736712788969, "num_range": 7621964929542933503, "upper_bound": "100100"}, {"distinct_range": 7946187669766277000, "num_eq": 8798131415956621768, "num_range": 7946187669766276713, "upper_bound": "101001"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 3000000, "upper_bound": "101111"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 10000, "upper_bound": "111100"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 4401117408978292240}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4206174818893724519, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 4401117408978292240}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6733, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 17946576.884084858, "num_eq": 600, "num_range": 20000000, "upper_bound": "341381049"}, {"distinct_range": 5675040345545582000, "num_eq": 5000000, "num_range": 5675040345545581395, "upper_bound": "1279012588"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 3988019867309387949, "upper_bound": "1960095604"}, {"distinct_range": 0, "num_eq": 100, "num_range": 1509003004420906819, "upper_bound": "3470314749"}, {"distinct_range": 80, "num_eq": 6951842136158556636, "num_range": 80, "upper_bound": "4233333668"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58502, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44357, "histo_col_type": "", "name": "__auto__", "null_count": 20361, "row_count": 100000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 94573, "histo_col_type": "", "name": "__auto__", "null_count": 87733, "row_count": 100000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88877, "histo_col_type": "", "name": "__auto__", "null_count": 87687, "row_count": 100000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 96016, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 482398522677552600, "num_eq": 561409258955627645, "n
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@5cfd7e5553a3072a1490d392390dddf968844215:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | 2021-02-23 06:13:35.223 UTC [49] LOG:  received fast shutdown request
        postgres_1    | waiting for server to shut down....2021-02-23 06:13:35.224 UTC [49] LOG:  aborting any active transactions
        postgres_1    | 2021-02-23 06:13:35.226 UTC [49] LOG:  background worker "logical replication launcher" (PID 56) exited with exit code 1
        postgres_1    | 2021-02-23 06:13:35.232 UTC [51] LOG:  shutting down
        test_1        | --- FAIL: TestCompare (1.14s)
        test_1        |     --- FAIL: TestCompare/postgres (0.38s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.76s)
        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 TIMESTAMP[], col1_1 "char", col1_2 FLOAT4, col1_3 CHAR NULL, col1_4 BOOL NOT NULL, col1_5 TIMESTAMPTZ NULL, col1_6 BIT(33) NOT NULL, col1_7 DECIMAL, col1_8 NAME, col1_9 REGCLASS NOT NULL, col1_10 BOX2D NULL, col1_11 DECIMAL NULL, col1_12 INET NULL, col1_13 STRING NULL, col1_14 TIMESTAMPTZ NOT NULL, col1_15 NAME NOT NULL, col1_16 REGPROC, PRIMARY KEY (col1_4 DESC, col1_6 ASC, col1_9 ASC), INDEX (col1_16 ASC, col1_2 ASC, col1_6 DESC, col1_3 DESC, col1_7, col1_1, col1_4 DESC, col1_15 ASC, col1_13 DESC, col1_8, col1_12 ASC, col1_10, col1_5, col1_9 ASC, col1_14 DESC, col1_11 DESC) STORING (col1_0) WHERE (((table1.col1_3 > 'X':::STRING) AND (table1.col1_8 >= e'\x00':::STRING)) OR (table1.col1_5 >= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND table1.col1_4, UNIQUE (col1_5 ASC, col1_10, col1_9 DESC, col1_4 DESC, col1_6 ASC, col1_11, col1_2, col1_14 ASC) WHERE table1.col1_13 <= e'\x00':::STRING, UNIQUE (col1_12 DESC, col1_4, col1_10 DESC, col1_14 DESC, col1_1 ASC, col1_8 ASC, col1_3 DESC) STORING (col1_5, col1_7, col1_11, col1_15) WHERE ((((((((((NOT table1.col1_4) AND (table1.col1_11 != (-1):::DECIMAL)) OR (table1.col1_3 < e'\U00002603':::STRING)) OR (table1.col1_5 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_1 < e'\U00002603':::STRING)) AND (table1.col1_7 = (-1):::DECIMAL)) OR (table1.col1_15 < 'X':::STRING)) AND (table1.col1_14 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_8 >= e'\'':::STRING)) OR (table1.col1_2 > 1.401298464324817e-45:::FLOAT8)) OR (table1.col1_13 < '':::STRING), UNIQUE (col1_1 DESC, col1_16 DESC, col1_9 DESC, col1_6 ASC, col1_8, col1_5 DESC, col1_11 ASC, col1_14 DESC) STORING (col1_0, col1_2, col1_10, col1_13) WHERE ((table1.col1_4 OR (table1.col1_8 = e'\x00')) AND (table1.col1_5 != '-4713-11-24 00:00:00+00:00')) AND (table1.col1_13 = e'\U00002603'), UNIQUE (col1_16, col1_7 DESC, col1_15 ASC, col1_4, col1_11 DESC, col1_1) WHERE ((((((((((table1.col1_1 = e'\'':::STRING) OR (NOT table1.col1_4)) OR (table1.col1_15 <= e'\x00':::STRING)) OR (table1.col1_2 >= '+Inf':::FLOAT8)) OR (table1.col1_5 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_14 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_8 > e'\x00':::STRING)) AND (table1.col1_7 = 0:::DECIMAL)) OR (table1.col1_3 >= '"':::STRING)) AND (table1.col1_11 = 0:::DECIMAL)) OR (table1.col1_13 != e'\'':::STRING), UNIQUE (col1_11, col1_12, col1_6 DESC, col1_8, col1_16 DESC, col1_15 ASC) STORING (col1_0, col1_10, col1_13) WHERE ((((((((((table1.col1_8 > e'\U00002603':::STRING) AND (table1.col1_1 > e'\'':::STRING)) OR (table1.col1_2 = 1.0:::FLOAT8)) AND (table1.col1_7 < '-Infinity':::DECIMAL)) AND (table1.col1_13 >= e'\U00002603':::STRING)) AND (table1.col1_14 < '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table1.col1_5 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_15 < e'\'':::STRING)) OR table1.col1_4) OR (table1.col1_3 > e'\'':::STRING)) OR (table1.col1_11 >= (-1.234E+401):::DECIMAL), INDEX (col1_11, col1_8 DESC, col1_6, col1_7, col1_10, col1_13 DESC, col1_12, col1_3 DESC, col1_2, col1_1, col1_14, col1_15, col1_4 DESC, col1_9, col1_16, col1_5 ASC) STORING (col1_0) WHERE (((((((table1.col1_7 = -1.234E+401) OR (table1.col1_11 != Infinity)) AND (table1.col1_15 <= e'\x00')) AND (table1.col1_13 != '"')) OR (table1.col1_2 > 3.4028234663852886e+38)) OR (NOT table1.col1_4)) AND (table1.col1_1 > '')) OR (table1.col1_8 <= e'\U00002603'), UNIQUE (col1_6 ASC, col1_3 ASC, col1_4, col1_5, col1_9 DESC, col1_10 DESC, col1_1 DESC, col1_8 ASC, col1_2, col1_14 DESC, col1_15 ASC, col1_13, col1_12 DESC, col1_16, col1_7 DESC) WHERE ((((((table1.col1_15 > 'X':::STRING) OR (table1.col1_14 <= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_7 <= '-Infinity':::DECIMAL)) OR (table1.col1_13 = e'\'':::STRING)) OR table1.col1_4) AND (table1.col1_3 = e'\U00002603':::STRING)) OR (table1.col1_11 < (-1.234E+401):::DECIMAL), UNIQUE (col1_6) WHERE ((((((((((table1.col1_3 <= '') AND (table1.col1_1 <= '')) AND (table1.col1_13 <= '"')) OR (table1.col1_5 != '-2000-01-01 00:00:00+00:00')) AND (table1.col1_8 = e'\x00')) OR (table1.col1_7 <= -Infinity)) AND (table1.col1_15 > e'\U00002603')) OR (NOT table1.col1_4)) OR (table1.col1_2 = NaN)) OR (table1.col1_11 <= NaN)) AND (table1.col1_14 <= '-4713-11-24 00:00:00+00:00'), FAMILY (col1_2), FAMILY (col1_9, col1_5, col1_8), FAMILY (col1_12), FAMILY (col1_1), FAMILY (col1_11), FAMILY (col1_0), FAMILY (col1_10, col1_6), FAMILY (col1_16), FAMILY (col1_4, col1_3), FAMILY (col1_14, col1_13, col1_15), FAMILY (col1_7));
        test_1        |             CREATE TABLE table2 (col1_4 BOOL NOT NULL, col1_6 BIT(33) NOT NULL, col1_9 REGCLASS NOT NULL, col2_3 OID NULL, col2_4 BIT(20) NULL, col2_5 BOOL NULL, col2_6 VARCHAR NULL, PRIMARY KEY (col1_4 DESC, col1_6 ASC, col1_9 ASC, col2_6 ASC, col2_3 ASC, col2_4 DESC), INDEX (col2_4, col2_5) WHERE (table2.col2_5 AND (NOT table2.col1_4)) AND (table2.col2_6 != e'\x00'), UNIQUE (col1_6 DESC, col1_4 DESC), INDEX (col2_6 DESC, col2_5, col1_4 DESC, col2_4 ASC, col1_9, col2_3 ASC, col1_6 DESC) WHERE (table2.col2_5 AND (table2.col2_6 = e'\x00':::STRING)) OR (NOT table2.col1_4), FAMILY (col2_4), FAMILY (col2_6), FAMILY (col2_5), FAMILY (col1_6), FAMILY (col1_9, col2_3), FAMILY (col1_4)) INTERLEAVE IN PARENT table1 (col1_4, col1_6, col1_9);
        test_1        |             CREATE TABLE table3 (col3_0 BOOL NOT NULL, col3_1 STRING NOT NULL, col3_2 INTERVAL NULL, col3_3 UUID NOT NULL, col3_4 DECIMAL NOT NULL, col3_5 BIT(46) NOT NULL, col3_6 BYTES NOT NULL, col3_7 REGPROCEDURE NOT NULL, col3_8 FLOAT8 NOT NULL, col3_9 REGTYPE NOT NULL, col3_10 CHAR NOT NULL, PRIMARY KEY (col3_1 ASC, col3_5 ASC, col3_9 DESC, col3_10 ASC, col3_7, col3_6 DESC, col3_3, col3_0 ASC, col3_8, col3_4 DESC), UNIQUE (col3_9 ASC, col3_0 ASC) WHERE table3.col3_0 OR (table3.col3_6 != '\x58'), FAMILY (col3_9), FAMILY (col3_1), FAMILY (col3_2), FAMILY (col3_4), FAMILY (col3_7, col3_8, col3_5, col3_3, col3_10), FAMILY (col3_6), FAMILY (col3_0));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2013944479385497847, "histo_buckets": [{"distinct_range": 0, "num_eq": 6093382011881368642, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 2115776071554436029}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2073639129492099170, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2115776071554436029}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1857713348375596599, "histo_buckets": [{"distinct_range": 0, "num_eq": 32086330437877068, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 8102873293524797406, "num_range": 7060518835084155694, "upper_bound": "226.37.21.206/5"}, {"distinct_range": 4209934766403362000, "num_eq": 1000000000, "num_range": 4209934766403362016, "upper_bound": "214.127.76.41/10"}, {"distinct_range": 2836727462863761400, "num_eq": 40000, "num_range": 2836727462863761299, "upper_bound": "197.239.77.139/31"}, {"distinct_range": 0, "num_eq": 8334953258311335400, "num_range": 2533515651456419710, "upper_bound": "7db4:a380:b5fc:fbda:5053:f914:519b:84dd/17"}, {"distinct_range": 6347347443042877000, "num_eq": 300, "num_range": 7034988042234331748, "upper_bound": "df0d:897d:185f:976b:3640:bd2f:50d4:3ce0/24"}, {"distinct_range": 27951879.532459635, "num_eq": 600, "num_range": 50000000, "upper_bound": "5e44:500c:f427:1579:c9e:52e1:3e94:f5f4/126"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 1735479042771229877, "row_count": 2115776071554436029}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1729780400224836732, "histo_col_type": "", "name": "__auto__", "null_count": 1738321436611616310, "row_count": 2115776071554436029}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 815416686502068398, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2115776071554436029}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97076488089540872, "histo_col_type": "", "name": "__auto__", "null_count": 930986909106338518, "row_count": 2115776071554436029}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1490695309811761037, "histo_col_type": "", "name": "__auto__", "null_count": 684315513998914862, "row_count": 2115776071554436029}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1008701190483899529, "histo_buckets": [{"distinct_range": 0, "num_eq": 6684617447677904340, "num_range": 0, "upper_bound": "-4.896246486541077434E+35"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 1772782076359510637, "upper_bound": "-1.592356261487604309E+26"}, {"distinct_range": 410962165501896640, "num_eq": 4663790097982856041, "num_range": 2187388708142665494, "upper_bound": "-7.187723976820917808E+22"}, {"distinct_range": 3387.7524215345074, "num_eq": 50000000000, "num_range": 4000, "upper_bound": "-6.04350342893798819E+19"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 4088163558931129295, "upper_bound": "-77769171174647820.26"}, {"distinct_range": 0, "num_eq": 235957166126194919, "num_range": 426885425491287518, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 100000000000, "upper_bound": "9.136350670135912802E+21"}, {"distinct_range": 400000, "num_eq": 50000000, "num_range": 400000, "upper_bound": "1.3955397796308027E+31"}, {"distinct_range": 24344393712.816788, "num_eq": 8000, "num_range": 30000000000, "upper_bound": "9.208028366326669241E+34"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 2084509038746392922, "row_count": 2115776071554436029}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154197389276726075, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2115776071554436029}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1758161313424882729, "histo_col_type": "", "name": "__auto__", "null_count": 780877116276348360, "row_count": 2115776071554436029}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1269610463163183388, "histo_col_type": "", "name": "__auto__", "null_count": 1134004104053201652, "row_count": 2115776071554436029}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2039017189124554195, "histo_buckets": [{"distinct_range": 0, "num_eq": 2553456300077285707, "num_range": 0, "upper_bound": "\\u000f"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 6000, "upper_bound": "v"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 1967338320682021029, "row_count": 2115776071554436029}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1387803240706876983, "histo_col_type": "", "name": "__auto__", "null_count": 1760299455560955729, "row_count": 2115776071554436029}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1567523365074271277, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "1983-04-30 01:05:07.000179+00:00"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 7648289935427601046, "upper_bound": "2026-11-04 22:34:32.000361+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 1385312371492519531, "row_count": 2115776071554436029}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1013743389760793916, "histo_buckets": [{"distinct_range": 0, "num_eq": 3553561961988138791, "num_range": 0, "upper_bound": "010101110011100100111101100110011"}, {"distinct_range": 1000000000, "num_eq": 80000000, "num_range": 1000000000, "upper_bound": "101110100100100000001011000000110"}, {"distinct_range": 11059.77885908279, "num_eq": 20000000, "num_range": 20000, "upper_bound": "111100100100011101000111010110011"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 2115776071554436029}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2047808475077858229, "histo_col_type": "", "name": "__auto__", "null_count": 853888375998583075, "row_count": 2115776071554436029}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798265017837204135, "histo_buckets": [{"distinct_range": 0, "num_eq": 2477659492997651856, "num_range": 0, "upper_bound": "87854745"}, {"distinct_range": 0, "num_eq": 900, "num_range": 8296709188004793610, "upper_bound": "498976717"}, {"distinct_range": 5000, "num_eq": 4009287511612520640, "num_range": 5000, "upper_bound": "2921851584"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 1370488706988740182, "row_count": 2115776071554436029}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7831741991666241988, "histo_col_type": "", "name": "__auto__", "null_count": 6399423723064881659, "row_count": 7991300389440540706}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1925876540325453619, "histo_buckets": [{"distinct_range": 0, "num_eq": 6845556989717260109, "num_range": 0, "upper_bound": ""}, {"distinct_range": 3303521968244922000, "num_eq": 8000, "num_range": 3303521968244921982, "upper_bound": "\\u000b\\u001cxms:"}, {"distinct_range": 40000000, "num_eq": 300000, "num_range": 40000000, "upper_bound": "\\u0011H^\\u0008"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 60000000000, "upper_bound": "\\u0013\\u001d&v"}, {"distinct_range": 60000000000, "num_eq": 2514495699716234370, "num_range": 60000000000, "upper_bound": "\\u001b9\\u001d?"}, {"distinct_range": 4460178505275252000, "num_eq": 7000000, "num_range": 4460178505275252242, "upper_bound": "\\u001f"}, {"distinct_range": 2395533459421721600, "num_eq": 7374224477631052140, "num_range": 6437614671575611301, "upper_bound": "K^V^\\u0001\\t)O"}, {"distinct_range": 9166890.630964166, "num_eq": 4439613027187609590, "num_range": 10000000, "upper_bound": "R\\u001cxJA"}, {"distinct_range": 500, "num_eq": 355561290010843612, "num_range": 500, "upper_bound": "\U00002603"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 2018260474133893782, "row_count": 7991300389440540706}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4789775162338863908, "histo_buckets": [{"distinct_range": 0, "num_eq": 8864690923469999577, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 7991300389440540706}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 322932640113823100, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "000000000000000000000000000000000"}, {"distinct_range": 8444030251345067000, "num_eq": 1338554675527816732, "num_range": 8444030251345067430, "upper_bound": "000000000010011011010001100001110"}, {"distinct_range": 6600897155443369000, "num_eq": 1000, "num_range": 7677940497941577315, "upper_bound": "100001010011010011101101000000110"}, {"distinct_range": 5087310322210275000, "num_eq": 2981731576035366254, "num_range": 5087310322210275052, "upper_bound": "100001100000101000110100000011011"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 7991300389440540706}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3300262547868218396, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7991300389440540706}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7733364657831867314, "histo_col_type": "", "name": "__auto__", "null_count": 6081472628457559774, "row_count": 7991300389440540706}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107031060774457406, "histo_buckets": [{"distinct_range": 0, "num_eq": 8902603159857852218, "num_range": 0, "upper_bound": "00000000000000000000"}, {"distinct_range": 0, "num_eq": 1351480024855987604, "num_range": 2095794156430432298, "upper_bound": "00010111100101010001"}, {"distinct_range": 0, "num_eq": 3011014241647668460, "num_range": 3076175744807960402, "upper_bound": "00111101011100100000"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 3000000, "upper_bound": "01010101110010110011"}, {"distinct_range": 3629198636015684000, "num_eq": 3692328683472973864, "num_range": 3629198636015684096, "upper_bound": "10000001010101001111"}, {"distinct_range": 5973410985536659000, "num_eq": 8000, "num_range": 5973410985536659083, "upper_bound": "10010100101011010011"}, {"distinct_range": 122450324.5825613, "num_eq": 696357314065829219, "num_range": 300000000, "upper_bound": "10011100110010010110"}, {"distinct_range": 6000000000, "num_eq": 1000, "num_range": 6000000000, "upper_bound": "10101111001100001100"}], "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 177044140009530031, "row_count": 7991300389440540706}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185457365, "histo_col_type": "", "name": "__auto__", "null_count": 335123357, "row_count": 9000000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3338786199, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7226052410, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8992589761, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 741346914, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8677472188, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7613374132, "histo_buckets": [{"distinct_range": 0, "num_eq": 6533672092176076394, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 9035739454826990798, "num_range": 0, "upper_bound": "2[\\"\\u0017T6L2\\u0001"}, {"distinct_range": 2014030007912634000, "num_eq": 70, "num_range": 5414070968564500610, "upper_bound": "P\\u001d_q["}, {"distinct_range": 7000, "num_eq": 70000000000, "num_range": 7000, "upper_bound": "``"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 7089886842677519073, "upper_bound": "ca"}, {"distinct_range": 0, "num_eq": 6575257480897780015, "num_range": 8111642486015262424, "upper_bound": "}B"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6800775001, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1739286221, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2489207881, "histo_buckets": [{"distinct_range": 0, "num_eq": 7576984657912189830, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 1937528834417018628, "num_range": 8237687368308767676, "upper_bound": "599483708"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 90000000, "upper_bound": "958439590"}, {"distinct_range": 3755827380797821000, "num_eq": 4919205036376416146, "num_range": 9001158899742009915, "upper_bound": "2052922836"}, {"distinct_range": 0, "num_eq": 3220370227789434629, "num_range": 0, "upper_bound": "3766065030"}, {"distinct_range": 552198462026012800, "num_eq": 900000000, "num_range": 552198462026012822, "upper_bound": "4062788341"}, {"distinct_range": 573883268322945400, "num_eq": 10, "num_range": 5758067240085810115, "upper_bound": "4147683593"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 9000000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4576960102, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 9000000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_4) REFERENCES table1 (col1_6) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('zwmew', 'rzfvw', 'wtbr');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1853384769425589150, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "010110110100111110000000111100110"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 3834425765258027705}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2474267603216081430, "histo_col_type": "", "name": "__auto__", "null_count": 888205510324683527, "row_count": 3834425765258027705}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1334141060787540927, "histo_col_type": "", "name": "__auto__", "null_count": 3770427592424632422, "row_count": 3834425765258027705}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3181806285023493001, "histo_col_type": "", "name": "__auto__", "null_count": 1420377984715529972, "row_count": 3834425765258027705}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 589982481432617126, "histo_col_type": "", "name": "__auto__", "null_count": 769088968680333097, "row_count": 3834425765258027705}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3260885482840048011, "histo_buckets": [{"distinct_range": 0, "num_eq": 2311575484910998780, "num_range": 0, "upper_bound": "1.948866463732243573E+29"}, {"distinct_range": 3961629352006087000, "num_eq": 20000, "num_range": 3961629352006087011, "upper_bound": "2.174706221124933738E+32"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 882702884670352562, "row_count": 3834425765258027705}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2559053379660054236, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3834425765258027705}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 940488349124753363, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "1347377791"}, {"distinct_range": 10169306.856862072, "num_eq": 200000000, "num_range": 30000000, "upper_bound": "2326600821"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 6250216184939241308, "upper_bound": "2655585507"}, {"distinct_range": 14503990676.451004, "num_eq": 70, "num_range": 30000000000, "upper_bound": "3161973922"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 500000, "upper_bound": "3871477630"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 1199559890355873342, "row_count": 3834425765258027705}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509511831973737665, "histo_col_type": "", "name": "__auto__", "null_count": 3204930716076289975, "row_count": 3834425765258027705}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1920939483181738559, "histo_buckets": [{"distinct_range": 0, "num_eq": 7925152553305079762, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 60659901710470980, "num_eq": 6077753424250913545, "num_range": 4891501802431904260, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 3834425765258027705}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1462860390407742992, "histo_col_type": "", "name": "__auto__", "null_count": 1709934506591067392, "row_count": 3834425765258027705}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 816250218620512987, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3834425765258027705}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2803152560441724407, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\u0005"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 70000, "upper_bound": "\\u0019"}, {"distinct_range": 0, "num_eq": 1894251408510720209, "num_range": 6745411275847354124, "upper_bound": "%"}, {"distinct_range": 0, "num_eq": 6978296508899499791, "num_range": 5429498038346101883, "upper_bound": "<"}, {"distinct_range": 1254669605048850000, "num_eq": 10000, "num_range": 1254669605048850030, "upper_bound": "T"}, {"distinct_range": 7468969825068780000, "num_eq": 700, "num_range": 7468969825068779922, "upper_bound": "W"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 2187837015061619323, "row_count": 3834425765258027705}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3621266465136989081, "histo_buckets": [{"distinct_range": 0, "num_eq": 116522583389543685, "num_range": 0, "upper_bound": "2029-08-11 12:12:52.00033+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 3448317859976998604, "row_count": 3834425765258027705}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3706749981122467849, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3834425765258027705}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3704404891318049125, "histo_col_type": "INET", "name": "__auto__", "null_count": 3437301021855446584, "row_count": 3834425765258027705}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3149846815913512866, "histo_col_type": "", "name": "__auto__", "null_count": 2248419068508657563, "row_count": 3834425765258027705}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518537737410238846, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 571916168562331763}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372540366829879122, "histo_buckets": [{"distinct_range": 0, "num_eq": 981584654162214805, "num_range": 0, "upper_bound": "000101101110010001001101011100010"}, {"distinct_range": 7015691694764990000, "num_eq": 700000000, "num_range": 7015691694764990945, "upper_bound": "011001100011100110100100101011111"}, {"distinct_range": 557037972851197500, "num_eq": 30000, "num_range": 1453080820780494265, "upper_bound": "011001110110111110010011100110001"}, {"distinct_range": 4388688492297588700, "num_eq": 60, "num_range": 4388688492297588951, "upper_bound": "011101001110001111110100101010100"}, {"distinct_range": 464060939.4654494, "num_eq": 10000000, "num_range": 5000000000, "upper_bound": "101111110111001010111000100001110"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 571916168562331763}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 456215264568729203, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 571916168562331763}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 275695126234111108, "histo_col_type": "", "name": "__auto__", "null_count": 7741067211940983, "row_count": 571916168562331763}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241284612547132953, "histo_buckets": [{"distinct_range": 0, "num_eq": 6834443597514304405, "num_range": 0, "upper_bound": "01110110001000001111"}], "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 420946019802747338, "row_count": 571916168562331763}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183927882209740570, "histo_col_type": "", "name": "__auto__", "null_count": 492525481338189437, "row_count": 571916168562331763}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 356797145303651595, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 20194670175596398, "row_count": 571916168562331763}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4426318607808536000, "num_eq": 1000000000, "num_range": 6606799072248577421, "upper_bound": "2495974582"}], "histo_col_type": "REGTYPE", "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_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_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": ["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_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_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_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": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "\\u0018\\u0013U"}, {"distinct_range": 4322269224334001700, "num_eq": 1000, "num_range": 4322269224334001897, "upper_bound": "\\""}, {"distinct_range": 229277290.1231634, "num_eq": 2614514472720406089, "num_range": 700000000, "upper_bound": "\'VZ\\u0019oO\\u0014\\u0018W"}, {"distinct_range": 700, "num_eq": 7643971414475841875, "num_range": 700, "upper_bound": "-\\u001a|q\\r},q"}, {"distinct_range": 8000, "num_eq": 40, "num_range": 8000, "upper_bound": "6.RR%"}, {"distinct_range": 8000000000, "num_eq": 6723349779209869614, "num_range": 8000000000, "upper_bound": "M["}], "histo_col_type": "STRING", "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": "", "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}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6133983822586351182, "histo_buckets": [{"distinct_range": 0, "num_eq": 5458059676800990481, "num_range": 0, "upper_bound": "1970-11-16 11:41:59.000743+00:00"}, {"distinct_range": 234557985024839200, "num_eq": 700, "num_range": 8992076248605681077, "upper_bound": "1988-06-01 13:05:00.000173+00:00"}, {"distinct_range": 0, "num_eq": 3756822507733787245, "num_range": 600000000, "upper_bound": "1991-11-11 16:00:39.000379+00:00"}, {"distinct_range": 73855594.48172437, "num_eq": 3000000000, "num_range": 100000000, "upper_bound": "2003-04-21 00:39:22.000934+00:00"}, {"distinct_range": 113671133.52207483, "num_eq": 8113900912062668744, "num_range": 300000000, "upper_bound": "2017-12-14 14:46:13.000515+00:00"}, {"distinct_range": 400000, "num_eq": 1554626695069371282, "num_range": 400000, "upper_bound": "2031-05-16 18:25:40.000053+00:00"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 300000, "upper_bound": "294276-12-31 23:59:59.999999+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 5260666325260500703, "row_count": 7930595101102203914}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2518213602672186931, "histo_col_type": "", "name": "__auto__", "null_count": 5651326907573219197, "row_count": 7930595101102203914}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6952435380588301655, "histo_col_type": "", "name": "__auto__", "null_count": 6346496720744284010, "row_count": 7930595101102203914}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3036472591422106760, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 533904.1282912852, "num_eq": 3000000000, "num_range": 700000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 7930595101102203914}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6316519583699695702, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "0.0.0.0/0"}, {"distinct_range": 0, "num_eq": 9076791881414865792, "num_range": 100000, "upper_bound": "79.73.198.9/1"}, {"distinct_range": 10000000000, "num_eq": 60000, "num_range": 10000000000, "upper_bound": "27.248.25.251/2"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 319478410403296672, "upper_bound": "168.49.6.25/8"}, {"distinct_range": 0, "num_eq": 400, "num_range": 9000, "upper_bound": "129.87.34.196/29"}, {"distinct_range": 2776822637881530400, "num_eq": 1702285781320933411, "num_range": 3853749546830902277, "upper_bound": "c495:46df:4080:4f0d:e475:7b89:77c2:bf32/49"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 4144247444843064725, "upper_bound": "9ca:1162:98e0:9428:303d:590a:7a43:9a93/72"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 1804010959732290192, "row_count": 7930595101102203914}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7215432936679215992, "histo_col_type": "", "name": "__auto__", "null_count": 1180068976251512286, "row_count": 7930595101102203914}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3656205223516722447, "histo_col_type": "", "name": "__auto__", "null_count": 4427310252685432057, "row_count": 7930595101102203914}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4837692968585472913, "histo_col_type": "", "name": "__auto__", "null_count": 1534565722067827517, "row_count": 7930595101102203914}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3020353836351940478, "histo_col_type": "", "name": "__auto__", "null_count": 4725246635588758204, "row_count": 7930595101102203914}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7859402802956044715, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7930595101102203914}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2323694814524049475, "histo_buckets": [{"distinct_range": 0, "num_eq": 4793147016088268042, "num_range": 0, "upper_bound": "\\t"}, {"distinct_range": 1000, "num_eq": 1000000000, "num_range": 1000, "upper_bound": "\\u0015"}, {"distinct_range": 0, "num_eq": 8623952451011138306, "num_range": 5941718598085568748, "upper_bound": "\\u0017"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 400000000, "upper_bound": "\'"}, {"distinct_range": 5474827415082059000, "num_eq": 100000, "num_range": 8626167121107218259, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 200000000, "upper_bound": "2"}, {"distinct_range": 494771778.1131209, "num_eq": 0, "num_range": 1000000000, "upper_bound": "N"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "f"}, {"distinct_range": 7332797349128066000, "num_eq": 3474894036283017000, "num_range": 7332797349128066209, "upper_bound": "\U00002603"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 7836381980370528620, "row_count": 7930595101102203914}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5765662551217144161, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "010011011111100010111110000010010"}, {"distinct_range": 7079067011013889000, "num_eq": 100000000, "num_range": 7079067011013888915, "upper_bound": "110111101001110111001100101001111"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 7930595101102203914}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2915369522360718514, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7930595101102203914}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7045142453642489520, "histo_buckets": [{"distinct_range": 0, "num_eq": 8947072761283052496, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 353824652.74824095, "num_eq": 6000000000, "num_range": 700000000, "upper_bound": "-6.043255464940583315E+24"}, {"distinct_range": 2173.3265471637665, "num_eq": 3411660570141128247, "num_range": 4000, "upper_bound": "316866347569033631.2"}, {"distinct_range": 208702477.60556895, "num_eq": 4000000000, "num_range": 500000000, "upper_bound": "770733093483769313.3"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 5845422163497241114, "row_count": 7930595101102203914}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3649751723003239388, "histo_col_type": "", "name": "__auto__", "null_count": 2433677047551815667, "row_count": 7930595101102203914}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2618594946989573436, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7930595101102203914}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5344054696888075150, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "593865606"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 6000000000, "upper_bound": "1093779255"}, {"distinct_range": 0, "num_eq": 1136302656738383008, "num_range": 347106537196169449, "upper_bound": "1392737044"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 100000000, "upper_bound": "2273976508"}, {"distinct_range": 251803201.23155737, "num_eq": 7000000000, "num_range": 1000000000, "upper_bound": "2785711237"}, {"distinct_range": 400, "num_eq": 6000000000, "num_range": 400, "upper_bound": "3260054014"}, {"distinct_range": 3895242483282958000, "num_eq": 7110746871212349596, "num_range": 8909591394264034575, "upper_bound": "3299499527"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 7727426857763155607, "row_count": 7930595101102203914}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2251656804847097878, "histo_buckets": [{"distinct_range": 0, "num_eq": 750386800928151970, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 3448588211093225088, "num_range": 8062873635055039633, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 2497409405466575204}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 440876813583187961, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "011100110010100010010101000010111"}, {"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "011101000111011101100001111010001"}, {"distinct_range": 3550581612222294500, "num_eq": 40000000000, "num_range": 5068392681990172999, "upper_bound": "011111111111111111111111111111111"}], "histo_col_type": "BIT(33)", "name": "__auto__", "null_count": 0, "row_count": 2497409405466575204}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1857079491637696670, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2497409405466575204}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 186427246864767037, "histo_col_type": "", "name": "__auto__", "null_count": 1897006304132928905, "row_count": 2497409405466575204}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1175519748895733235, "histo_col_type": "BIT(20)", "name": "__auto__", "null_count": 822098452080134733, "row_count": 2497409405466575204}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 561304055764106121, "histo_col_type": "", "name": "__auto__", "null_count": 1330328487739396573, "row_count": 2497409405466575204}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1368624707640641369, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "d^"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 443065665477336263, "row_count": 2497409405466575204}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58184817, "histo_col_type": "", "name": "__auto__", "null_count": 56106303, "row_count": 60000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28674297, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1841251252418490600, "num_eq": 2942034187892747884, "num_range": 5982900560094693560, "upper_bound": "435935369"}, {"distinct_range": 0, "num_eq": 4062072558932592611, "num_range": 3000000000, "upper_bound": "1260633681"}, {"distinct_range": 3721806607822549000, "num_eq": 7000, "num_range": 5998636913571559627, "upper_bound": "1659671189"}, {"distinct_range": 529.6155659084664, "num_eq": 3000, "num_range": 1000, "upper_bound": "2053267027"}, {"distinct_range": 2087674335696332500, "num_eq": 100000, "num_range": 2087674335696332510, "upper_bound": "2895181805"}, {"distinct_range": 5738082654576682000, "num_eq": 5892663239172446818, "num_range": 7323754691380591632, "upper_bound": "3006155855"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 6736210080871487334, "upper_bound": "3608847223"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38611790, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15074879, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36825178, "histo_buckets": [{"distinct_range": 0, "num_eq": 7997535328441236766, "num_range": 0, "upper_bound": "o1\\u001bT"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40348351, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38145619, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38432311, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3330810, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29649646, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22733744, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "infinity" does not exist (SQLSTATE 42703)
        test_1        | FAIL
        postgres_1    | 2021-02-23 06:13:35.327 UTC [49] 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-02-23 06:13:35.434 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-23 06:13:35.434 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-23 06:13:35.438 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@ec011620c7cf299fdbb898db692b36454defc4a2:

        cockroach2_1  | sql:                 postgresql://root@cockroach2:26257?sslmode=disable
        cockroach2_1  | RPC client flags:    /cockroach/cockroach <client cmd> --host=cockroach2:26257 --insecure
        cockroach2_1  | logs:                /cockroach-data/logs
        cockroach2_1  | temp dir:            /cockroach-data/cockroach-temp482438044
        cockroach2_1  | external I/O path:   /cockroach-data/extern
        cockroach2_1  | store[0]:            path=/cockroach-data
        cockroach2_1  | storage engine:      pebble
        cockroach2_1  | status:              initialized new cluster
        cockroach2_1  | clusterID:           c4be3113-dfa9-4c4e-9a95-8df79fbf3a59
        cockroach2_1  | nodeID:              1
        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-02-24 06:13:05.363 UTC [48] LOG:  received fast shutdown request
        postgres_1    | .2021-02-24 06:13:05.365 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-02-24 06:13:05.367 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-02-24 06:13:05.374 UTC [50] LOG:  shutting down
        postgres_1    | 2021-02-24 06:13:05.474 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-02-24 06:13:05.575 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-24 06:13:05.575 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-24 06:13:05.579 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-24 06:13:05.594 UTC [85] LOG:  database system was shut down at 2021-02-24 06:13:05 UTC
        postgres_1    | 2021-02-24 06:13:05.596 UTC [87] FATAL:  the database system is starting up
        postgres_1    | 2021-02-24 06:13:05.600 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (603.09s)
        test_1        |     --- FAIL: TestCompare/postgres (2.34s)
        test_1        |         compare_test.go:119: pgx conn: FATAL: the database system is starting up (SQLSTATE 57P03)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@c7e088826bc079620dfd3b5ae75d1c15cd9cd16d:

        cockroach1_1  | clusterID:           465949ed-5346-4bd4-b5ba-ee3b93165fcc
        cockroach1_1  | nodeID:              1
        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-02-25 06:12:57.554 UTC [47] LOG:  received fast shutdown request
        postgres_1    | .2021-02-25 06:12:57.555 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2021-02-25 06:12:57.557 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2021-02-25 06:12:57.565 UTC [49] LOG:  shutting down
        postgres_1    | 2021-02-25 06:12:57.650 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-02-25 06:12:57.664 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2021-02-25 06:12:57.664 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2021-02-25 06:12:57.667 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2021-02-25 06:12:57.681 UTC [84] LOG:  database system was shut down at 2021-02-25 06:12:57 UTC
        postgres_1    | 2021-02-25 06:12:57.683 UTC [86] FATAL:  the database system is starting up
        postgres_1    | 2021-02-25 06:12:57.686 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (1.62s)
        test_1        |     --- FAIL: TestCompare/postgres (1.14s)
        test_1        |         compare_test.go:119: pgx conn: FATAL: the database system is starting up (SQLSTATE 57P03)
        test_1        |     --- FAIL: TestCompare/mutators (0.48s)
        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 OID NOT NULL, col1_1 REGPROC NOT NULL, col1_2 TIME NOT NULL, col1_3 BYTES NOT NULL, col1_4 INTERVAL NOT NULL, col1_5 INT8 NOT NULL, col1_6 BOX2D NOT NULL, col1_7 UUID NULL, col1_8 FLOAT4 NULL, col1_9 BYTES NOT NULL, col1_10 REGPROC NOT NULL, col1_11 FLOAT4 NULL, col1_12 REGTYPE NOT NULL, col1_13 INT2 NOT NULL, col1_14 FLOAT8, col1_15 BIT(48) NOT NULL, col1_16 REGNAMESPACE, col1_17 BYTES NOT NULL, col1_18 FLOAT8 NOT NULL, PRIMARY KEY (col1_6, col1_5, col1_9 DESC, col1_2 DESC, col1_1, col1_13, col1_12 DESC, col1_10 ASC, col1_0 DESC, col1_15 DESC, col1_4 ASC), INDEX (col1_8 DESC, col1_17) STORING (col1_3, col1_7, col1_14, col1_16) WHERE (((((((table1.col1_14 > 5e-324) OR (table1.col1_17 >= '\xe29883')) OR (table1.col1_18 >= 1.0)) AND (table1.col1_5 >= -2147483648)) OR (table1.col1_9 < '\x00')) OR (table1.col1_8 != 0.0)) OR (table1.col1_11 < 3.4028234663852886e+38)) AND (table1.col1_2 <= '00:00:00'), UNIQUE (col1_7 DESC, col1_2, col1_3 DESC, col1_17 DESC, col1_16 DESC, col1_12 ASC) WHERE (((((((table1.col1_11 != 0.0:::FLOAT8) OR (table1.col1_17 = e'\\x58':::BYTES)) AND (table1.col1_8 != '+Inf':::FLOAT8)) OR (table1.col1_5 > (-32768):::INT8)) AND (table1.col1_2 != '24:00:00':::TIME)) OR (table1.col1_13 <= (-1):::INT8)) AND (table1.col1_18 = '-Inf':::FLOAT8)) OR (table1.col1_14 = 1.401298464324817e-45:::FLOAT8), UNIQUE (col1_6, col1_0, col1_11, col1_1, col1_18 ASC, col1_13 ASC, col1_12 DESC, col1_4 DESC, col1_14 ASC, col1_16, col1_10 ASC, col1_2 ASC, col1_15 DESC, col1_17 DESC, col1_3 DESC) STORING (col1_7) WHERE (((((((((table1.col1_13 < -128) AND (table1.col1_18 < 5e-324)) AND (table1.col1_3 > '\x58')) OR (table1.col1_9 >= '\xff')) AND (table1.col1_11 = 0.0)) OR (table1.col1_2 >= '00:00:00')) OR (table1.col1_14 < 1.401298464324817e-45)) AND (table1.col1_8 = +Inf)) OR (table1.col1_5 != 9223372036854775807)) AND (table1.col1_17 != '\xe29883'), INDEX (col1_14 DESC, col1_7 DESC, col1_4 DESC, col1_12 DESC, col1_1 DESC, col1_17) STORING (col1_3, col1_8, col1_18) WHERE (((((((((table1.col1_2 < '00:00:00':::TIME) OR (table1.col1_5 >= (-128):::INT8)) AND (table1.col1_3 != e'\\xe29883':::BYTES)) AND (table1.col1_11 != (-1.0):::FLOAT8)) OR (table1.col1_8 = (-1.0):::FLOAT8)) AND (table1.col1_9 = e'\\x27':::BYTES)) OR (table1.col1_14 > '-Inf':::FLOAT8)) OR (table1.col1_17 >= e'\\x':::BYTES)) OR (table1.col1_13 >= (-32768):::INT8)) OR (table1.col1_18 != 3.4028234663852886e+38:::FLOAT8), INDEX (col1_9, col1_7 DESC, col1_0 DESC, col1_17, col1_18 DESC, col1_1 ASC, col1_15 DESC, col1_8, col1_6, col1_14, col1_13 DESC, col1_16 ASC, col1_3, col1_5 ASC, col1_2, col1_4 ASC, col1_11, col1_10 DESC, col1_12 DESC) WHERE ((((((((table1.col1_11 > 'NaN':::FLOAT8) OR (table1.col1_2 < '24:00:00':::TIME)) OR (table1.col1_5 >= 2147483647:::INT8)) AND (table1.col1_14 > '+Inf':::FLOAT8)) AND (table1.col1_9 != e'\\xff':::BYTES)) OR (table1.col1_3 > e'\\x00':::BYTES)) AND (table1.col1_17 != e'\\xe29883':::BYTES)) AND (table1.col1_18 = 'NaN':::FLOAT8)) OR (table1.col1_8 >= 0.0:::FLOAT8), INDEX (col1_3 ASC, col1_8 DESC, col1_6, col1_4 DESC, col1_15, col1_0 ASC, col1_13 ASC, col1_10 DESC, col1_7 ASC) STORING (col1_11, col1_17, col1_18) WHERE (((((((((table1.col1_18 >= 1.401298464324817e-45:::FLOAT8) OR (table1.col1_17 <= e'\\x27':::BYTES)) AND (table1.col1_14 > 1.7976931348623157e+308:::FLOAT8)) OR (table1.col1_8 != '-Inf':::FLOAT8)) AND (table1.col1_13 != (-1):::INT8)) OR (table1.col1_9 <= e'\\x58':::BYTES)) OR (table1.col1_11 < '+Inf':::FLOAT8)) AND (table1.col1_5 <= (-2147483648):::INT8)) OR (table1.col1_3 < e'\\x':::BYTES)) OR (table1.col1_2 < '00:00:00':::TIME), UNIQUE (col1_8 DESC) WHERE ((table1.col1_8 <= 1.401298464324817e-45:::FLOAT8) OR (table1.col1_13 >= 32767:::INT8)) AND (table1.col1_2 > '24:00:00':::TIME), INDEX (col1_11 DESC, col1_15), FAMILY (col1_15), FAMILY (col1_14, col1_16, col1_0, col1_8), FAMILY (col1_3, col1_4, col1_1, col1_17, col1_12), FAMILY (col1_13, col1_18), FAMILY (col1_10), FAMILY (col1_9, col1_2, col1_5, col1_6), FAMILY (col1_7, col1_11));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1359304278542407578, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241466889045375132, "histo_buckets": [{"distinct_range": 0, "num_eq": 3523293580200806867, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 8997190742790342210, "num_range": 2771967329140294004, "upper_bound": "\\\\x4ebad1b9"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 5000000, "upper_bound": "\\\\x7b235178941c9c65"}, {"distinct_range": 8964123347870990000, "num_eq": 800000000, "num_range": 8964123347870989844, "upper_bound": "\\\\x9eba"}, {"distinct_range": 7190478275251573000, "num_eq": 0, "num_range": 8447371343296091935, "upper_bound": "\\\\xa9983da10f5731"}, {"distinct_range": 1796220776644644400, "num_eq": 600, "num_range": 1796220776644644462, "upper_bound": "\\\\xf1b4f9"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1266964292749365219, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 0, "num_eq": 2682161395314498567, "num_range": 900, "upper_bound": "113dbeae-77c4-4812-b867-6c81e1d83717"}, {"distinct_range": 0, "num_eq": 50, "num_range": 6000000, "upper_bound": "3fa560f5-a4d2-43f9-892d-cf9026eadb05"}, {"distinct_range": 497120822725616060, "num_eq": 3554079840353422989, "num_range": 891482460167086021, "upper_bound": "5a31dfa0-502e-4b43-ab68-203cb11a6b78"}, {"distinct_range": 0, "num_eq": 6796291762030517846, "num_range": 7357562303024782717, "upper_bound": "5c1cdc71-cc02-4891-b4c6-85878b2aa328"}, {"distinct_range": 125927900.71897304, "num_eq": 6501347314403848503, "num_range": 400000000, "upper_bound": "6391e0c2-5dff-4459-a0a0-f173fe7d9952"}, {"distinct_range": 7114758486886215000, "num_eq": 10000, "num_range": 9092300382176577917, "upper_bound": "8dc772d0-fd52-40f1-8493-3ec19493e057"}, {"distinct_range": 1677419619215456000, "num_eq": 100, "num_range": 1677419619215456003, "upper_bound": "a28289c4-f373-4dd3-91b0-56aec9772898"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 3650994437720509820, "upper_bound": "c981ffb9-121e-4e75-8f95-1df552b2fce6"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1098974170690234200, "row_count": 1818337787518245239}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272163727905363956, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1443081213451015268, "row_count": 1818337787518245239}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1539504569225509187, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9152250560941892, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 132834996575358942, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 392081212611405163, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1061527249825857357, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "-0.4469807744026184"}, {"distinct_range": 400000000, "num_eq": 2000000000, "num_range": 400000000, "upper_bound": "0.0"}, {"distinct_range": 4000, "num_eq": 5000000, "num_range": 4000, "upper_bound": "0.011357692070305347"}, {"distinct_range": 2325789612047445500, "num_eq": 6702187743567053173, "num_range": 2325789612047445554, "upper_bound": "0.7078315019607544"}, {"distinct_range": 1220239614186644000, "num_eq": 1000000, "num_range": 7009842926839771247, "upper_bound": "0.7187279462814331"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1593497376266641451, "row_count": 1818337787518245239}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 495460523890091659, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1300279202349479031, "histo_buckets": [{"distinct_range": 0, "num_eq": 8748853329632741438, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 4000000, "upper_bound": "\\\\x4287041b91463e"}, {"distinct_range": 111548.69090634598, "num_eq": 0, "num_range": 900000, "upper_bound": "\\\\x58"}, {"distinct_range": 11549.470620271964, "num_eq": 9071571149712368981, "num_range": 30000, "upper_bound": "\\\\x86426b26ff9bbd09"}, {"distinct_range": 0, "num_eq": 5929190084677093918, "num_range": 4384394509539046572, "upper_bound": "\\\\xb4bf1f289680cca843"}, {"distinct_range": 0, "num_eq": 2342268549378602648, "num_range": 807600576893227841, "upper_bound": "\\\\xdbe3b1d6a4"}, {"distinct_range": 0, "num_eq": 1108533719108098608, "num_range": 200000000, "upper_bound": "\\\\xdce64c9d"}, {"distinct_range": 0, "num_eq": 466182521370690693, "num_range": 0, "upper_bound": "\\\\xe89e7ecc7b3398"}, {"distinct_range": 2592296444448389600, "num_eq": 8701285373420886725, "num_range": 6057313581797298093, "upper_bound": "\\\\xedffa303f7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1493197515744041680, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 624203624870049235, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1289291053058165365, "histo_col_type": "", "name": "__auto__", "null_count": 258482409869269663, "row_count": 1818337787518245239}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 773138674126875940, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1489196023791948148, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296143515011070021, "histo_buckets": [{"distinct_range": 0, "num_eq": 2162972972315333633, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 4836571814595682000, "num_eq": 6780567618266593705, "num_range": 4836571814595682056, "upper_bound": "BOX(-1.0360563177944968 -0.6980560863897902,-0.015174505913304853 0.23920325450204621)"}, {"distinct_range": 7551100420135629000, "num_eq": 500000, "num_range": 7551100420135628419, "upper_bound": "BOX(-0.6414349163552275 -1.437071806068353,0.9286454199057698 0.02145507303053354)"}, {"distinct_range": 0, "num_eq": 1253039294465088705, "num_range": 8000000, "upper_bound": "BOX(-0.04249577719053754 0.14035296934600433,1.0556964240771949 0.7903438852010269)"}, {"distinct_range": 4707547973.314749, "num_eq": 2904892387514392300, "num_range": 10000000000, "upper_bound": "BOX(0.04424918601787145 -0.28954513556822103,1.1550172480082257 0.8182366598358914)"}, {"distinct_range": 6172549.155073714, "num_eq": 50, "num_range": 7000000, "upper_bound": "BOX(1.0398603406134121 -0.4433650688484344,1.3211771163789603 0.6972783318915675)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 894159094353875669, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1818337787518245239}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 403784249981461111, "histo_buckets": [{"distinct_range": 0, "num_eq": 5821175144195297878, "num_range": 0, "upper_bound": "-1.5423367028640775"}, {"distinct_range": 300, "num_eq": 70000, "num_range": 300, "upper_bound": "-0.9676600098539601"}, {"distinct_range": 35.14384997129074, "num_eq": 6471445795060615617, "num_range": 90, "upper_bound": "-0.09320195968936801"}, {"distinct_range": 8000000, "num_eq": 30000000000, "num_range": 8000000, "upper_bound": "0.03566730450982947"}, {"distinct_range": 100000000, "num_eq": 7081954543947834935, "num_range": 100000000, "upper_bound": "0.14797188514108414"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 5125150172426329961, "upper_bound": "0.3999837174017451"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 1264915572223088950, "row_count": 1818337787518245239}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('beop', 'zialgi', 'ih', 'vc');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('dwyzmb', 'e');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('vpcsdw', 'dz', 'ppgwg');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "11534272-272b-4a1c-88ea-f68e781fe1dc"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4000000000, "upper_bound": "14541849-0872-4e95-b980-7fb0b382c7b8"}, {"distinct_range": 7918008979324730000, "num_eq": 200, "num_range": 8310574753165799293, "upper_bound": "202dcdef-e003-47aa-b5b9-cc8adf6e9b6a"}, {"distinct_range": 0, "num_eq": 4309909341041259496, "num_range": 7807654442044640902, "upper_bound": "40922a46-cfa6-4a40-85e6-d2c59336455a"}, {"distinct_range": 0, "num_eq": 6629913158499962656, "num_range": 200000000, "upper_bound": "5e121359-e832-46b2-b671-583863d136cd"}, {"distinct_range": 0, "num_eq": 100, "num_range": 1000000, "upper_bound": "73aeaa79-e393-4bbf-9084-421fe30de68b"}, {"distinct_range": 2793119935789476000, "num_eq": 5000000, "num_range": 4750356853691048076, "upper_bound": "7c64bf73-2f2f-455e-a1aa-3968d70d1c48"}, {"distinct_range": 19613.565187981207, "num_eq": 5476715074076513437, "num_range": 90000, "upper_bound": "d3b7fba2-d56b-4d45-b1bb-e09d95ae1db5"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 90000000, "upper_bound": "fd9b5510-83df-46c2-a9b3-8225a3440ae8"}], "histo_col_type": "UUID", "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_buckets": [{"distinct_range": 0, "num_eq": 6483660330508669589, "num_range": 0, "upper_bound": "-1.4404234886169434"}, {"distinct_range": 3702635933050243000, "num_eq": 100000, "num_range": 3702635933050242944, "upper_bound": "-0.9841440320014954"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 30000, "upper_bound": "-0.8009100556373596"}, {"distinct_range": 573944558362124500, "num_eq": 50000000000, "num_range": 6395578186367844130, "upper_bound": "-0.32142481207847595"}, {"distinct_range": 327.9871244330158, "num_eq": 2014897261015615935, "num_range": 500, "upper_bound": "-0.2662348449230194"}, {"distinct_range": 0, "num_eq": 600, "num_range": 3350306688970826966, "upper_bound": "0.35190093517303467"}, {"distinct_range": 0, "num_eq": 20, "num_range": 136730395131371123, "upper_bound": "0.5514706969261169"}], "histo_col_type": "FLOAT4", "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_18"], "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_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_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "BYTES", "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_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "BOX(-0.9842052264448498 -0.5738055413119323,-0.1160530080053265 0.04678472817824919)"}, {"distinct_range": 0, "num_eq": 7506576791604940223, "num_range": 8634075491352123199, "upper_bound": "BOX(-0.9168066940143906 -0.2347582553040395,0.2234311473535191 0.5976395346890262)"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 7044670672558350718, "upper_bound": "BOX(-0.6496605544498787 -1.348077321312939,0.39589308566611925 -0.4781404759264829)"}, {"distinct_range": 3150058079782395400, "num_eq": 60000000000, "num_range": 3150058079782395442, "upper_bound": "BOX(-0.5715755588320874 0.1686254262561519,1.153892193945499 1.4239533870725007)"}, {"distinct_range": 100000000, "num_eq": 2369411604312908823, "num_range": 100000000, "upper_bound": "BOX(-0.5058294335754628 0.029905093254409543,0.7607492498567237 0.28001605349833114)"}, {"distinct_range": 7412273763859044000, "num_eq": 20000000000, "num_range": 7412273763859044683, "upper_bound": "BOX(0.3627806305294642 -1.8116721546017651,0.5285557578163017 -0.340228465854409)"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 613030819473533890, "upper_bound": "BOX(0.4495201208568418 0.27420481336903735,2.148899383755138 0.32038658348654603)"}], "histo_col_type": "BOX2D", "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_buckets": [{"distinct_range": 0, "num_eq": 2854830111728947426, "num_range": 0, "upper_bound": "\\\\x5a6155df"}, {"distinct_range": 1356031.3750817575, "num_eq": 300000000, "num_range": 10000000, "upper_bound": "\\\\xe9e4e9f579a7"}], "histo_col_type": "BYTES", "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_buckets": [{"distinct_range": 0, "num_eq": 1932596452227307068, "num_range": 0, "upper_bound": "-1.8592458963394165"}, {"distinct_range": 500000, "num_eq": 8771072079690789441, "num_range": 500000, "upper_bound": "-0.6199957728385925"}, {"distinct_range": 0, "num_eq": 4801102966612855520, "num_range": 1000000000, "upper_bound": "-0.03365634009242058"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 2779389088868965927, "upper_bound": "1.401298464324817e-45"}, {"distinct_range": 9510805.196381075, "num_eq": 40, "num_range": 90000000, "upper_bound": "0.5514110922813416"}], "histo_col_type": "FLOAT4", "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_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "-0.8280269387817424"}, {"distinct_range": 0, "num_eq": 5853069339644336469, "num_range": 6000, "upper_bound": "-0.23742524367327222"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 3000000000, "upper_bound": "-0.140876889466567"}, {"distinct_range": 8836567811181785000, "num_eq": 90000000000, "num_range": 8836567811181784950, "upper_bound": "-0.09586414718129876"}, {"distinct_range": 3000000, "num_eq": 9149985702928530600, "num_range": 3000000, "upper_bound": "0.10574241785461375"}, {"distinct_range": 1174075517795851800, "num_eq": 70000000, "num_range": 1652591104635379140, "upper_bound": "0.6383879416617994"}, {"distinct_range": 285649017215134200, "num_eq": 0, "num_range": 505478123851946064, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "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}, {"columns": ["col1_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": ["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_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_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": ["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_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_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 table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1002116287913261582, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 177531545455124886, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "\\\\x0e02b0d49b97"}, {"distinct_range": 4077285102749260000, "num_eq": 8000000, "num_range": 4206227278785626378, "upper_bound": "\\\\x2f41d4e3"}, {"distinct_range": 4803024636381995000, "num_eq": 600000000, "num_range": 4803024636381995138, "upper_bound": "\\\\x8b0ccda4b4d9"}, {"distinct_range": 0, "num_eq": 6608918998609095935, "num_range": 2464725804450017510, "upper_bound": "\\\\xa8"}, {"distinct_range": 8228537741135200000, "num_eq": 8343697948193100544, "num_range": 8228537741135200647, "upper_bound": "\\\\xbf22f51b"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 5932349804429477407, "upper_bound": "\\\\xd0b21864"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3469097376400486874, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1079703411188895643, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3649705213970806132, "histo_col_type": "", "name": "__auto__", "null_count": 3326224706516450813, "row_count": 4680519681040192442}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2306732398812390206, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2106580616580754565, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3001866501197960258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1834476666836641749, "histo_buckets": [{"distinct_range": 0, "num_eq": 7168993609295757339, "num_range": 0, "upper_bound": "32fb6813-96ad-421d-9c28-2c77121d2f30"}, {"distinct_range": 6340353911719690000, "num_eq": 3916448425444256551, "num_range": 6340353911719690522, "upper_bound": "450dbdca-c513-4c1e-b67d-6fe267ba2eea"}, {"distinct_range": 258018482702632670, "num_eq": 5514591275548371081, "num_range": 4146901623074434387, "upper_bound": "d80e7c46-6e5f-440a-af98-a5289eb33999"}, {"distinct_range": 7.872096743811329, "num_eq": 7508323404848083937, "num_range": 20, "upper_bound": "dad659dd-fc95-4ea7-ba9f-970b4ea95dff"}, {"distinct_range": 6000, "num_eq": 60000, "num_range": 6000, "upper_bound": "fa29cced-1b2d-4979-a368-4caa169328f9"}, {"distinct_range": 5395899033505374000, "num_eq": 4383469939560822747, "num_range": 5395899033505373976, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 2166631184345676377, "row_count": 4680519681040192442}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2351802981876056908, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1923501269599381550, "histo_buckets": [{"distinct_range": 0, "num_eq": 2819533814973338463, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 352742633549519940, "num_eq": 6024059472727382520, "num_range": 1437777240000280184, "upper_bound": "-1.42410938201043"}, {"distinct_range": 724498.7231150186, "num_eq": 2000, "num_range": 1000000, "upper_bound": "-0.3330914607546087"}, {"distinct_range": 100000000, "num_eq": 4401192450083546464, "num_range": 100000000, "upper_bound": "-0.03997558113869737"}, {"distinct_range": 836665807294542600, "num_eq": 5000, "num_range": 836665807294542552, "upper_bound": "0.21014656242421392"}, {"distinct_range": 40000000, "num_eq": 10000, "num_range": 40000000, "upper_bound": "0.3802037089773549"}, {"distinct_range": 60000000000, "num_eq": 600, "num_range": 60000000000, "upper_bound": "0.7687574634798131"}, {"distinct_range": 0, "num_eq": 6287999944337310755, "num_range": 20000, "upper_bound": "0.8756907548020345"}, {"distinct_range": 23037308237.044315, "num_eq": 3967035001793362728, "num_range": 40000000000, "upper_bound": "1.0"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 2607048701945363898, "row_count": 4680519681040192442}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430788941650685213, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1695994990568262279, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3863093307236733025, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3063308175534244784, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 10000000000, "upper_bound": "BOX(-1.5767457887503018 -1.6006507752732828,-0.3479157144244187 0.15968474673403676)"}, {"distinct_range": 8000, "num_eq": 80, "num_range": 8000, "upper_bound": "BOX(-1.2408669174154554 -1.1060804018725185,0.6878944814667558 -0.4472153559248857)"}, {"distinct_range": 6.277628218339605, "num_eq": 4109821880469283248, "num_range": 300, "upper_bound": "BOX(-1.0726953803032309 0.21402503637941772,-0.07707956082009193 1.0783639497896624)"}, {"distinct_range": 0, "num_eq": 60, "num_range": 200000, "upper_bound": "BOX(0.501915092809359 -1.3208015873790662,2.5317782330966736 1.8967113991213274)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1122460901127042729, "histo_buckets": [{"distinct_range": 0, "num_eq": 3031227732826067572, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 6000, "num_eq": 90000000, "num_range": 6000, "upper_bound": "\\\\x3720bb71a932e03b"}, {"distinct_range": 80, "num_eq": 10000000000, "num_range": 80, "upper_bound": "\\\\x54"}, {"distinct_range": 90481690.5880969, "num_eq": 30000000, "num_range": 700000000, "upper_bound": "\\\\xa52ba6"}, {"distinct_range": 600000, "num_eq": 70000000000, "num_range": 600000, "upper_bound": "\\\\xc5"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2715074032080250426, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 4198225548572145612, "row_count": 4680519681040192442}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 166190010819423686, "histo_buckets": [{"distinct_range": 0, "num_eq": 5770959699295442956, "num_range": 0, "upper_bound": "-0.040090516209602356"}, {"distinct_range": 9171260.68748332, "num_eq": 90, "num_range": 10000000, "upper_bound": "2.0025041103363037"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 1352946536152164057, "row_count": 4680519681040192442}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 721257622465832404, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4680519681040192442}]';
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@6601d827b814d4e85a1081b03bf2562d8ac2a4ab:

        postgres_1    |         (
        postgres_1    |             SELECT
        postgres_1    |                 tab_43483.crdb_internal_mvcc_timestamp AS col_65686
        postgres_1    |             FROM
        postgres_1    |                 postgres.public.table1 AS tab_43483
        postgres_1    |         )
        postgres_1    |             AS tab_43484
        postgres_1    |     ORDER BY
        postgres_1    |         col_65686 NULLS FIRST
        test_1        | --- FAIL: TestCompare (48.10s)
        test_1        |     --- FAIL: TestCompare/postgres (47.42s)
        test_1        |         compare_test.go:155: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("E9.0"),
        test_1        |             +   string("E9"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT ('E'::TEXT::TEXT || 9.0::FLOAT8::FLOAT8)::TEXT AS col_65687) AS tab_43485
        test_1        |             ORDER BY
        test_1        |                 col_65687 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        |     --- FAIL: TestCompare/mutators (0.68s)
        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 STRING NOT NULL, col1_1 "char" NOT NULL, col1_2 INT2, col1_3 BOOL NOT NULL, col1_4 TIMESTAMPTZ NOT NULL, col1_5 TIMESTAMPTZ NOT NULL, col1_6 INTERVAL NOT NULL, col1_7 REGPROCEDURE NOT NULL, col1_8 UUID, col1_9 OID NOT NULL, col1_10 TIMESTAMPTZ NOT NULL, col1_11 DECIMAL NOT NULL, col1_12 INT8 NOT NULL, col1_13 BOX2D NOT NULL, col1_14 DECIMAL NOT NULL, col1_15 BYTES NOT NULL, col1_16 BYTES NOT NULL, col1_17 BIT(29) NOT NULL, PRIMARY KEY (col1_10 ASC, col1_13 ASC, col1_11, col1_6, col1_17, col1_12 DESC, col1_16 ASC, col1_1, col1_5 ASC, col1_14 DESC, col1_7 ASC, col1_4, col1_0 ASC, col1_3 DESC), UNIQUE (col1_11 ASC, col1_13, col1_4, col1_17 DESC) STORING (col1_2, col1_15), UNIQUE (col1_7 DESC, col1_8 ASC, col1_5, col1_11 DESC, col1_15 DESC, col1_1, col1_6 ASC) STORING (col1_9) WHERE (((((((((table1.col1_15 >= '\x00') AND (table1.col1_1 >= '"')) AND (table1.col1_11 > NaN)) AND table1.col1_3) OR (table1.col1_4 != '-4713-11-24 00:00:00+00:00')) AND (table1.col1_12 > -1)) AND (table1.col1_0 < '')) OR (table1.col1_5 < '-4713-11-24 00:00:00+00:00')) AND (table1.col1_2 > -1)) OR (table1.col1_16 != '\x00'), FAMILY (col1_3), FAMILY (col1_9), FAMILY (col1_1), FAMILY (col1_14, col1_15), FAMILY (col1_5), FAMILY (col1_17, col1_6, col1_12, col1_16), FAMILY (col1_11, col1_2), FAMILY (col1_7, col1_13, col1_8, col1_4), FAMILY (col1_10, col1_0));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71, "histo_buckets": [{"distinct_range": 0, "num_eq": 4538526123510633839, "num_range": 0, "upper_bound": "1241472477"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8099524545836783029, "upper_bound": "4275966769"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 318, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 463, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 700, "upper_bound": "1985-02-03 19:59:06.000537+00:00"}, {"distinct_range": 399046012072135700, "num_eq": 657935349089732121, "num_range": 1761879781539821232, "upper_bound": "1988-08-24 01:07:32.000802+00:00"}, {"distinct_range": 171888233127302600, "num_eq": 90000000, "num_range": 306158012696979871, "upper_bound": "2011-10-29 07:49:11.000999+00:00"}, {"distinct_range": 395256871732537600, "num_eq": 600000000, "num_range": 4206627675415502703, "upper_bound": "2019-03-20 18:40:48.000359+00:00"}, {"distinct_range": 0, "num_eq": 30, "num_range": 7573848981247402425, "upper_bound": "2022-08-08 16:45:01.000507+00:00"}, {"distinct_range": 16683184.21835554, "num_eq": 500000, "num_range": 700000000, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 506, "histo_buckets": [{"distinct_range": 0, "num_eq": 190920219114958651, "num_range": 0, "upper_bound": "-6.029099997771041848E+33"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 2681787514077585420, "upper_bound": "-4.270535436438284181E+27"}, {"distinct_range": 80000, "num_eq": 20, "num_range": 80000, "upper_bound": "-7.546073242379167194E+26"}, {"distinct_range": 604920594474141300, "num_eq": 7000000, "num_range": 3092011865084370855, "upper_bound": "-8710832697.400094877"}, {"distinct_range": 70000, "num_eq": 9000000, "num_range": 70000, "upper_bound": "-5.215126571851816168"}, {"distinct_range": 4726045980831491000, "num_eq": 6515616731370539468, "num_range": 6129707028575607108, "upper_bound": "26201076856210.65516"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 744, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 751, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 368, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 401, "histo_col_type": "", "name": "__auto__", "null_count": 398, "row_count": 900}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 382, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 341, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 592, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 529, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 769, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 404, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 668, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 350, "histo_col_type": "", "name": "__auto__", "null_count": 678, "row_count": 900}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 769, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('yblhmc', 'nr', 'bmg');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('okf', 'uqrhf');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 403282497648900571, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 672070417918323602, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 922270646591127622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 219003330484938256, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 333880260812335917, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 378236447539983163, "histo_col_type": "", "name": "__auto__", "null_count": 1591418602053453560, "row_count": 1684347845239582443}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 908745717870973703, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 289652455624200681, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1150493319666307136, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1234561042250465673, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27539866167307138, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 840247079540509811, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "1464397396"}, {"distinct_range": 60000, "num_eq": 2946414600249735032, "num_range": 60000, "upper_bound": "2518688502"}, {"distinct_range": 297039869007372350, "num_eq": 0, "num_range": 336524117766442605, "upper_bound": "2584785473"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 3926219344151405673, "upper_bound": "2921825652"}, {"distinct_range": 6463475292771683000, "num_eq": 8784128268044083330, "num_range": 6463475292771683409, "upper_bound": "3135461533"}, {"distinct_range": 5579484795258241000, "num_eq": 7465627836640744177, "num_range": 5579484795258240980, "upper_bound": "3825059487"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 798016718357311213, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1011021446476675348, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 550525214074328618, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "1984-09-30 22:46:52.000946+00:00"}, {"distinct_range": 45230.3585021531, "num_eq": 30000000000, "num_range": 50000, "upper_bound": "1990-09-01 06:11:41.000482+00:00"}, {"distinct_range": 0, "num_eq": 5414464336047099667, "num_range": 200000, "upper_bound": "1991-08-01 04:29:41.000558+00:00"}, {"distinct_range": 20, "num_eq": 2000000, "num_range": 20, "upper_bound": "2008-11-14 23:31:59.000697+00:00"}, {"distinct_range": 3303557276720968000, "num_eq": 5525905958939034354, "num_range": 3303557276720968190, "upper_bound": "2010-11-16 10:00:08.000149+00:00"}, {"distinct_range": 70, "num_eq": 7737133965396112479, "num_range": 70, "upper_bound": "2012-10-20 14:11:48.000943+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 430854473560661718, "histo_col_type": "", "name": "__auto__", "null_count": 1116058286134860810, "row_count": 1684347845239582443}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 253558023589566816, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 681599386127102814, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1684347845239582443}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31055124198909920, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 415799155907299670, "histo_col_type": "", "name": "__auto__", "null_count": 679554212169942107, "row_count": 744340609255334879}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208912157566966582, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136682976871084476, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 665030377933976484, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 273317900272913268, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 461880266558301429, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 311291815180847190, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 711979165299848160, "histo_col_type": "", "name": "__auto__", "null_count": 202266841159818650, "row_count": 744340609255334879}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 457023647969464303, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 240733428124349175, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199114759427322346, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 330664613306761391, "histo_buckets": [{"distinct_range": 0, "num_eq": 2989117949168476055, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 2195722477109884183, "num_range": 4368914915840046824, "upper_bound": "1842834865"}, {"distinct_range": 4856489691940454000, "num_eq": 80, "num_range": 9034476587818935911, "upper_bound": "2009894850"}, {"distinct_range": 0, "num_eq": 111719283716978992, "num_range": 20000, "upper_bound": "3421586840"}, {"distinct_range": 189.71705692426218, "num_eq": 8207413946995755748, "num_range": 400, "upper_bound": "3477954383"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 708005361364810854, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 378999896952244362, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 132423027730674229, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "1978-11-20 11:42:32.000452+00:00"}, {"distinct_range": 44673374081611790, "num_eq": 0, "num_range": 356705509268303330, "upper_bound": "2009-03-05 07:05:38.00005+00:00"}, {"distinct_range": 0, "num_eq": 520672848106322611, "num_range": 0, "upper_bound": "2021-06-10 02:50:37.000207+00:00"}, {"distinct_range": 90, "num_eq": 6647750264171078966, "num_range": 90, "upper_bound": "2031-11-27 15:24:45.00065+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92495721598497365, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "-8.593870520362308087E+36"}, {"distinct_range": 2000000, "num_eq": 100000000000, "num_range": 2000000, "upper_bound": "-5.000588442591369773E+28"}, {"distinct_range": 2574.5151657858887, "num_eq": 6000, "num_range": 5000, "upper_bound": "-27978555.48000704263"}, {"distinct_range": 2531828021634711600, "num_eq": 8545989345170069039, "num_range": 2531828021634711762, "upper_bound": "-0.08524523044893762851"}, {"distinct_range": 0, "num_eq": 5751201952672251144, "num_range": 1986375583622808047, "upper_bound": "1"}, {"distinct_range": 90, "num_eq": 500000000, "num_range": 90, "upper_bound": "7773.524582085546084"}, {"distinct_range": 0, "num_eq": 5527855151698918662, "num_range": 1258841372833916125, "upper_bound": "8.077038197104189376E+34"}, {"distinct_range": 423572296527432600, "num_eq": 60, "num_range": 1950359380122930706, "upper_bound": "4.922092579979770217E+36"}, {"distinct_range": 40000000000, "num_eq": 368869151446767161, "num_range": 40000000000, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509417164711139116, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 744340609255334879}]';
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@9595a158f0233e1c3d86786ec4462dd39c7beb20:

        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45848121109, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "-6406005409281826253"}, {"distinct_range": 70000, "num_eq": 7794246587246867268, "num_range": 70000, "upper_bound": "-3388830254185697035"}, {"distinct_range": 8857906450222050000, "num_eq": 8776525070490543580, "num_range": 8857906450222050027, "upper_bound": "-1893857188000934411"}, {"distinct_range": 40000, "num_eq": 400000, "num_range": 40000, "upper_bound": "1599955995763222060"}, {"distinct_range": 4363996.195075395, "num_eq": 8403123333653655084, "num_range": 6000000, "upper_bound": "2176841002183626322"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57532356850, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53179609311, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56978977277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28869021459, "histo_buckets": [{"distinct_range": 0, "num_eq": 1904472486327436765, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 70, "num_eq": 3213998331568243195, "num_range": 70, "upper_bound": "BOX(-0.47686138983102877 -0.9635549348557233,-0.003617948985761288 1.3561224045792963)"}, {"distinct_range": 153551938013219420, "num_eq": 5222564550256139821, "num_range": 3457639313619896382, "upper_bound": "BOX(-0.14042976491070502 0.17787829896231622,0.36186617867105464 0.17805918423854028)"}, {"distinct_range": 300000, "num_eq": 1899653818342475541, "num_range": 300000, "upper_bound": "BOX(0.9394880710626374 1.5489719338228984,1.8603288981860138 2.289915419009981)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19191326501, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5177834336, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6435194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1608913857, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35205321450, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32425737287, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33393134082, "histo_buckets": [{"distinct_range": 0, "num_eq": 8991698628513231358, "num_range": 0, "upper_bound": "01:37:42.968947"}, {"distinct_range": 2641477973264868000, "num_eq": 600000000, "num_range": 8803331028322795348, "upper_bound": "03:46:21.794904"}, {"distinct_range": 60000, "num_eq": 7000, "num_range": 60000, "upper_bound": "04:03:10.820531"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 2637386620759601153, "upper_bound": "13:20:30.72694"}, {"distinct_range": 802455132357660300, "num_eq": 0, "num_range": 7728536836456000674, "upper_bound": "17:23:11.475071"}, {"distinct_range": 0, "num_eq": 2936398584022899469, "num_range": 3876399452542797959, "upper_bound": "20:37:39.241485"}, {"distinct_range": 0, "num_eq": 2425139386904554617, "num_range": 0, "upper_bound": "23:50:41.817626"}, {"distinct_range": 1805419342439927800, "num_eq": 1144311314491229773, "num_range": 1805419342439927840, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14162197127, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52571417033, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55901058775, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39849868665, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53983621339, "histo_col_type": "", "name": "__auto__", "null_count": 30758728443, "row_count": 60000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1870749635687823315, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "14:37:38.370399+14:13:00"}, {"distinct_range": 4265496841694601700, "num_eq": 8825584921065753275, "num_range": 4406103690764283066, "upper_bound": "05:58:07.391145+00:30:00"}, {"distinct_range": 2000000, "num_eq": 5000000, "num_range": 2000000, "upper_bound": "02:46:13.570805-06:31:00"}, {"distinct_range": 79.46126710631832, "num_eq": 3000, "num_range": 100, "upper_bound": "06:50:26.228483-07:42:00"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 3000, "upper_bound": "13:11:40.568886-02:41:00"}, {"distinct_range": 1353968616078949400, "num_eq": 40000, "num_range": 1353968616078949360, "upper_bound": "19:21:55.575607-12:57:00"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 4024205229077771504, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292287831425886645, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1043252564571198285, "histo_col_type": "", "name": "__auto__", "null_count": 938702344910719080, "row_count": 2425193006743394140}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 637123100913573868, "histo_buckets": [{"distinct_range": 0, "num_eq": 4360850866546861217, "num_range": 0, "upper_bound": "176.169.133.196/3"}, {"distinct_range": 90000, "num_eq": 90000000, "num_range": 90000, "upper_bound": "207.17.71.172/11"}, {"distinct_range": 3543575580083677000, "num_eq": 6196340182464025251, "num_range": 8360591221844726375, "upper_bound": "16.158.2.220/17"}, {"distinct_range": 50000000, "num_eq": 10000000, "num_range": 50000000, "upper_bound": "a492:a209:be55:fb5b:dc33:6600:a6d4:76e6/2"}, {"distinct_range": 800, "num_eq": 1000000000, "num_range": 800, "upper_bound": "d180:c997:102d:5f1:5d90:5f15:1f2f:aa77/49"}, {"distinct_range": 3110682345178509000, "num_eq": 10000000, "num_range": 3697615649119534861, "upper_bound": "8887:b33b:fc1e:25a0:e720:5acb:7c11:bb79/105"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 1543562214995203156, "row_count": 2425193006743394140}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1053372670004285811, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2158628153852721295, "histo_col_type": "", "name": "__auto__", "null_count": 755365988544130142, "row_count": 2425193006743394140}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2376114407055295980, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1229719994786025978, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2169811165693572284, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 339569745720457667, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1103775514343222246, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2119064931299320086, "histo_col_type": "", "name": "__auto__", "null_count": 1304367298441479746, "row_count": 2425193006743394140}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1205094409405604389, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1535686156759320403, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2056779553644894670, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2051310079154686604, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 760937545876553558, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489461456231885101, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "00:31:25.643332"}, {"distinct_range": 6721450010315537000, "num_eq": 60, "num_range": 6721450010315537778, "upper_bound": "01:38:23.26804"}, {"distinct_range": 0, "num_eq": 5057517707196326613, "num_range": 9195435926629959407, "upper_bound": "02:22:28.945367"}, {"distinct_range": 50000, "num_eq": 4375990147855076515, "num_range": 50000, "upper_bound": "08:59:42.289828"}, {"distinct_range": 3000, "num_eq": 2000000, "num_range": 3000, "upper_bound": "09:51:16.875561"}, {"distinct_range": 6147148298256725000, "num_eq": 8687873743939463387, "num_range": 6147148298256725162, "upper_bound": "15:12:10.10314"}, {"distinct_range": 4204207434747452000, "num_eq": 100000000, "num_range": 5453679482168960402, "upper_bound": "16:30:48.313932"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 700000000, "upper_bound": "16:51:35.1072"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 2127840509646541034, "row_count": 2425193006743394140}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2082653200009443242, "histo_col_type": "", "name": "__auto__", "null_count": 1926209563059700226, "row_count": 2425193006743394140}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1984514127067278773, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 334608822726726899, "histo_col_type": "", "name": "__auto__", "null_count": 1757240604892954198, "row_count": 2425193006743394140}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1565936938449580933, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1151608051364110957, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1331068509591227916, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1926351550927972521, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_29"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1814136177599772473, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 994906882075521573, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2082774956093512525, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1945196197587590850, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2425193006743394140}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 516354998718994341, "histo_col_type": "", "name": "__auto__", "null_count": 972346524261216834, "row_count": 2425193006743394140}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29062, "histo_col_type": "", "name": "__auto__", "null_count": 174289, "row_count": 200000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 187213, "histo_buckets": [{"distinct_range": 0, "num_eq": 7346357419630786227, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 152058, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148252, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "BOX(-1.701564157714393 -1.5227445473521377,-0.13338206729398183 0.5274581911869336)"}, {"distinct_range": 8001234451507888000, "num_eq": 30000000, "num_range": 8839478891626341457, "upper_bound": "BOX(-1.36207629804716 1.0833219227370463,1.1049311955966288 1.409909443480628)"}, {"distinct_range": 1056945675732459900, "num_eq": 2000, "num_range": 4594004202482167570, "upper_bound": "BOX(-0.7121387985967884 0.04019716821223998,1.0421920565164617 0.05767667264880161)"}, {"distinct_range": 5000, "num_eq": 6189853687130542373, "num_range": 5000, "upper_bound": "BOX(-0.35720920538946344 -1.6373968366361726,0.06428890758181094 1.7845278488822873)"}, {"distinct_range": 1351599261495606000, "num_eq": 1071384545345519565, "num_range": 4427712063218529455, "upper_bound": "BOX(0.5258417656704282 -0.953960875216171,0.8463798818748296 0.0004874292670047353)"}, {"distinct_range": 5556770711336312000, "num_eq": 672855200263388763, "num_range": 6823439444285949970, "upper_bound": "BOX(0.6164085433596772 -0.7283697425208026,1.2547228294215915 -0.2086378342699379)"}, {"distinct_range": 2563433071018136600, "num_eq": 6056519779641649685, "num_range": 4132855518789233397, "upper_bound": "BOX(1.4100586543802953 -0.3178128969220373,1.732995438190927 0.2631412599651989)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 126409, "row_count": 200000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22910, "histo_col_type": "", "name": "__auto__", "null_count": 120179, "row_count": 200000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 136055, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 148650, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 192461, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "02:24:52.507305"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 3147009533522402179, "upper_bound": "06:19:43.659595"}, {"distinct_range": 0, "num_eq": 5693867485692988759, "num_range": 9146125271095651785, "upper_bound": "08:12:55.914582"}, {"distinct_range": 5000000000, "num_eq": 949814964852641413, "num_range": 5000000000, "upper_bound": "09:23:03.067405"}, {"distinct_range": 0, "num_eq": 900, "num_range": 100000000, "upper_bound": "13:38:59.821566"}, {"distinct_range": 1322457236376127700, "num_eq": 274173421811910954, "num_range": 1532888849597069831, "upper_bound": "17:18:17.066589"}, {"distinct_range": 415.9369997031642, "num_eq": 100000, "num_range": 900, "upper_bound": "20:12:46.289909"}, {"distinct_range": 7000000000, "num_eq": 5352758408775972953, "num_range": 7000000000, "upper_bound": "21:03:23.78035"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 177137, "histo_col_type": "", "name": "__auto__", "null_count": 83622, "row_count": 200000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17452, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 190972, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "124.203.169.225/8"}, {"distinct_range": 2000, "num_eq": 867483004399147873, "num_range": 2000, "upper_bound": "230.93.64.68/16"}, {"distinct_range": 2978349302434345500, "num_eq": 300000000, "num_range": 4478642112410693848, "upper_bound": "106.29.159.181/19"}, {"distinct_range": 9000000000, "num_eq": 50000000000, "num_range": 9000000000, "upper_bound": "171.131.107.64/26"}, {"distinct_range": 1000, "num_eq": 200, "num_range": 1000, "upper_bound": "119.82.86.222/28"}, {"distinct_range": 1000000000, "num_eq": 4936504122433991113, "num_range": 1000000000, "upper_bound": "55.228.47.93/31"}, {"distinct_range": 5093873278.671905, "num_eq": 5177512486973994418, "num_range": 6000000000, "upper_bound": "18e2:223c:1744:b62a:d47:82b6:9cf3:84a/44"}, {"distinct_range": 0, "num_eq": 5742750307951221377, "num_range": 4034934550622511716, "upper_bound": "1121:5d97:cb6e:f2a:bb1:2b18:ed33:b999/99"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 10033, "row_count": 200000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67826, "histo_col_type": "", "name": "__auto__", "null_count": 36163, "row_count": 200000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 98897, "histo_buckets": [{"distinct_range": 0, "num_eq": 3631319272597082637, "num_range": 0, "upper_bound": "127.187.73.57/6"}, {"distinct_range": 291119156.5745224, "num_eq": 8381018043432660184, "num_range": 600000000, "upper_bound": "163.190.32.7/24"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "d9d7:d5e4:b753:b872:f33b:c460:21db:940f/25"}, {"distinct_range": 300, "num_eq": 500, "num_range": 300, "upper_bound": "c363:9519:a307:3fdf:70ac:6d6a:1e62:859e/37"}, {"distinct_range": 100, "num_eq": 1000000, "num_range": 100, "upper_bound": "b508:d424:b629:2450:3917:5450:4340:15b2/56"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 2700121145280236372, "upper_bound": "ba99:456d:a5d2:6684:bd5b:6faf:166e:480d/102"}, {"distinct_range": 500000, "num_eq": 100000, "num_range": 500000, "upper_bound": "83b3:9206:3169:6dc2:f2b8:7993:1b3f:0/103"}, {"distinct_range": 21.666621197912722, "num_eq": 6144113791993930102, "num_range": 60, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23226, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "-1.6785328388214111"}, {"distinct_range": 2515278569124573000, "num_eq": 5000, "num_range": 3624180807914218869, "upper_bound": "-0.7053647041320801"}, {"distinct_range": 1639309388163519500, "num_eq": 1474822594572462530, "num_range": 4527822070183331088, "upper_bound": "-0.18913181126117706"}, {"distinct_range": 0, "num_eq": 2880156427118243006, "num_range": 910504083236778898, "upper_bound": "0.29607102274894714"}, {"distinct_range": 188.3805364239156, "num_eq": 500000, "num_range": 400, "upper_bound": "0.32463300228118896"}, {"distinct_range": 5516868238732898000, "num_eq": 4000000000, "num_range": 5516868238732898758, "upper_bound": "0.6302357316017151"}, {"distinct_range": 0, "num_eq": 3595418654558632895, "num_range": 0, "upper_bound": "0.960870087146759"}, {"distinct_range": 0, "num_eq": 7428777218583310386, "num_range": 1730699139069329706, "upper_bound": "1.12998628616333"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180585, "histo_buckets": [{"distinct_range": 0, "num_eq": 3488253044898218778, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 2808175091232007288, "num_range": 0, "upper_bound": "2144874871"}, {"distinct_range": 2657687163077443600, "num_eq": 5000000, "num_range": 4075186810338988273, "upper_bound": "2203039788"}, {"distinct_range": 0, "num_eq": 0, "num_range": 700, "upper_bound": "2940105977"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 818406426379647591, "upper_bound": "3786648853"}, {"distinct_range": 1525257429621542400, "num_eq": 1636123901351561997, "num_range": 4155284832703844670, "upper_bound": "3962871045"}, {"distinct_range": 0, "num_eq": 7331937766064961954, "num_range": 300000000, "upper_bound": "4258249321"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 200000}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "nan" does not exist (SQLSTATE 42703)
        test_1        |     --- FAIL: TestCompare/postgres (3.33s)
        test_1        |         compare_test.go:129: CREATE TABLE table1 (col1_0 BYTEA, col1_1 "char" NOT NULL, col1_2 FLOAT8 NOT NULL, col1_3 BOX2D NOT NULL, col1_4 INTERVAL NULL, col1_5 INET, col1_6 VARCHAR, col1_7 REGPROC, col1_8 INTERVAL, col1_9 CHAR, col1_10 VARCHAR, PRIMARY KEY (col1_1));
        test_1        |             CREATE INDEX ON table1 (col1_10, col1_4 DESC, col1_6 ASC, col1_7 ASC, col1_5, col1_8 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_7 ASC, col1_2 ASC, col1_0 ASC, col1_5 DESC, col1_9 DESC, col1_8 ASC, col1_3 DESC, col1_4 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_8 ASC, col1_0 ASC, col1_5 ASC, col1_10 ASC) INCLUDE (col1_2, col1_7, col1_9);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_7 ASC, col1_3 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_6 ASC, col1_8 ASC, col1_5, col1_7 DESC, col1_2 ASC, col1_3 DESC, col1_9 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_3 DESC, col1_7 ASC, col1_1 ASC, col1_9 ASC) INCLUDE (col1_5, col1_8, col1_10);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_9, col1_3, col1_1, col1_7 DESC, col1_4 DESC) INCLUDE (col1_0, col1_2, col1_5, col1_6);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0, col1_3, col1_1 ASC, col1_6 ASC, col1_7, col1_10 ASC, col1_8 DESC, col1_9 ASC) INCLUDE (col1_2);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_5 ASC, col1_7, col1_8, col1_2 ASC, col1_6, col1_3 ASC);
        test_1        |             CREATE TABLE table2 (col2_0 VARCHAR, col2_1 BOX2D NULL, col2_2 OID, col2_3 CHAR NOT NULL, col2_4 INET NOT NULL, col2_5 DECIMAL NOT NULL, col2_6 INT8 NOT NULL, col2_7 TIMESTAMPTZ NOT NULL, col2_8 INT8, col2_9 VARCHAR NOT NULL, col2_10 CHAR NOT NULL, col2_11 BIT(20) NOT NULL);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_4);
        test_1        |             CREATE TABLE table3 (col3_0 INET NOT NULL, col3_1 TIMESTAMP NOT NULL, col3_2 OID NOT NULL, col3_3 BOOL NOT NULL, col3_4 INT8 NOT NULL, col3_5 NAME NOT NULL, col3_6 BYTEA NOT NULL, col3_7 REGPROC NOT NULL, col3_8 VARCHAR NULL, col3_9 INT8 NOT NULL, col3_10 TEXT NOT NULL, col3_11 TIMESTAMPTZ NULL, PRIMARY KEY (col3_5, col3_0, col3_9, col3_6, col3_3, col3_1, col3_4, col3_10));
        test_1        |             CREATE INDEX ON table3 (col3_2 DESC, col3_11, col3_1 DESC, col3_6 DESC, col3_8, col3_10, col3_4, col3_7 DESC, col3_0 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7, col3_6 DESC, col3_2, col3_5 DESC, col3_1, col3_9);
        test_1        |             CREATE INDEX ON table3 (col3_4 DESC, col3_6, col3_8, col3_2, col3_11 ASC, col3_5 ASC, col3_10, col3_0 ASC, col3_1 ASC);
        test_1        |             CREATE TABLE table4 (col4_0 INT8, col4_1 REGTYPE NOT NULL, col4_2 DECIMAL NOT NULL, col4_3 INT8 NULL, col4_4 FLOAT8, col4_5 TIMESTAMP NULL, col4_6 REGPROCEDURE NOT NULL, col4_7 VARCHAR NOT NULL, PRIMARY KEY (col4_2, col4_7));
        test_1        |             CREATE INDEX ON table4 (col4_4 DESC, col4_1 DESC, col4_7 ASC, col4_5 DESC, col4_6, col4_0);
        test_1        |             CREATE INDEX ON table4 (col4_2, col4_7 DESC, col4_3, col4_6 ASC) INCLUDE (col4_1, col4_4, col4_5);
        test_1        |             CREATE INDEX ON table4 (col4_1 DESC, col4_5 DESC, col4_7 ASC, col4_0 DESC, col4_3, col4_4 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_3 DESC, col4_7 DESC) INCLUDE (col4_0, col4_1, col4_4, col4_6);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_6 ASC, col4_7 DESC, col4_0 ASC, col4_2 ASC, col4_3 ASC) INCLUDE (col4_4);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_3, col4_1, col4_2 DESC, col4_4 DESC, col4_6 ASC, col4_0 DESC, col4_5 DESC, col4_7);
        test_1        |             CREATE INDEX ON table4 (col4_1 DESC);
        test_1        |             CREATE TABLE table5 (col1_1 "char" NOT NULL, col5_1 CHAR NOT NULL, col5_2 INET NULL, col5_3 BIT(12) NOT NULL, col5_4 TIMETZ NULL, col5_5 FLOAT8, col5_6 TIMETZ NOT NULL, col5_7 DECIMAL, col5_8 OID NOT NULL, col5_9 INT8 NULL, col5_10 UUID NULL, col5_11 DECIMAL NOT NULL, col5_12 VARCHAR NULL, col5_13 INT8 NOT NULL, col5_14 BIT(39) NOT NULL, col5_15 BOOL, PRIMARY KEY (col1_1, col5_8, col5_11, col5_3, col5_6));
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_5) REFERENCES table2 (col2_4);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('mupv');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ip', 'ne', 'eym', 'clllo', 'mecnj', 'hkpxnp');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('cve', 'ruh', 'wtdfh', 'owz');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('cfv', 'wf', 'uzzvzm');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('j', 'hixlk');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@7d1324fa42732f482329a524b0166db8dd7365e6:

        test_1        |             CREATE INDEX ON table4 (col4_7 ASC, col4_5, col4_9, col4_12, col4_11 ASC, col4_6);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_6, col4_11, col4_0 ASC, col4_2 ASC, col4_10 DESC, col4_3 ASC, col4_12 ASC, col4_5 DESC, col4_13, col4_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_0 DESC, col4_3 DESC, col4_4 ASC, col4_13 DESC, col4_10 ASC, col4_5 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_2 DESC, col4_11, col4_7 ASC, col4_9, col4_10 DESC, col4_3 DESC, col4_0 ASC, col4_8, col4_5, col4_1 ASC, col4_4 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_9 DESC, col4_12 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_11, col4_1 ASC, col4_3 DESC, col4_12 ASC, col4_7 ASC, col4_4 ASC, col4_6 DESC, col4_8);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_1) REFERENCES table2 (col1_1);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_4) REFERENCES table2 (col1_5) ON UPDATE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('wktgmc', 'vrz', 'skoqgj', 'wmr', 'ktdmym', 'pzdffa');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('hx', 'gakp', 'ufjkno', 'pmg', 'zsx');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('wxhzg');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('jm', 'lcj', 'xsxhkg', 'sqks', 'mn', 'qobs');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (1.03s)
        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 INT4 NULL, col1_1 DATE[] NOT NULL, col1_2 REGCLASS, col1_3 REGCLASS NOT NULL, col1_4 CHAR NULL, col1_5 INTERVAL NOT NULL, col1_6 TIMESTAMP NULL, col1_7 REGNAMESPACE, col1_8 REGPROCEDURE NOT NULL, col1_9 INTERVAL NULL, UNIQUE (col1_9 DESC, col1_4 DESC) STORING (col1_0, col1_1) WHERE ((table1.col1_0 >= -128) OR (table1.col1_4 <= '"')) AND (table1.col1_6 != '-2000-01-01 00:00:00'), UNIQUE (col1_5) STORING (col1_0, col1_1, col1_2, col1_3, col1_4, col1_6, col1_8, col1_9), INDEX (col1_4 ASC, col1_2, col1_8 DESC, col1_0) WHERE ((table1.col1_6 != '294276-12-31 23:59:59.999999') AND (table1.col1_4 = e'\U00002603')) OR (table1.col1_0 <= 0), UNIQUE (col1_8, col1_5 ASC, col1_2 ASC) STORING (col1_1, col1_3), INDEX (col1_4, col1_6 ASC) STORING (col1_0, col1_1, col1_2, col1_3, col1_8, col1_9), UNIQUE (col1_8 DESC, col1_6, col1_7) STORING (col1_0, col1_3), FAMILY (col1_4), FAMILY (col1_8), FAMILY (col1_2, col1_1), FAMILY (col1_9), FAMILY (col1_3), FAMILY (col1_0, col1_5, col1_7, col1_6));
        test_1        |             CREATE TABLE table2 (col2_0 BOOL, col2_1 REGTYPE NOT NULL, col2_2 FLOAT4 NULL, col2_3 BOOL NULL, col2_4 REGPROC NOT NULL, col2_5 INT4 NOT NULL, col2_6 INET NULL, PRIMARY KEY (col2_5 ASC), INDEX (col2_5 DESC, col2_2 DESC) STORING (col2_0, col2_4), UNIQUE (col2_1 ASC, col2_2 DESC, col2_5 DESC) STORING (col2_3, col2_4) WHERE (((table2.col2_5 = 1:::INT8) OR (table2.col2_2 > 0.0:::FLOAT8)) OR (NOT table2.col2_0)) OR table2.col2_3, UNIQUE (col2_0, col2_1 ASC, col2_5 DESC, col2_2 ASC, col2_3, col2_4 ASC, col2_6 DESC) WHERE (NOT table2.col2_3) AND (table2.col2_2 = '-Inf':::FLOAT8), FAMILY (col2_6), FAMILY (col2_0), FAMILY (col2_2), FAMILY (col2_5, col2_3), FAMILY (col2_1, col2_4));
        test_1        |             CREATE TABLE table3 (col2_5 INT4 NOT NULL, col3_1 REGPROC NULL, col3_2 REGPROC, col3_3 REGPROCEDURE NOT NULL, col3_4 REGNAMESPACE NULL, col3_5 "char" NOT NULL, col3_6 INT2 NOT NULL, col3_7 STRING NOT NULL, col3_8 INT4 NOT NULL, col3_9 BOOL NULL, col3_10 BIT(19), col3_11 INT4, col3_12 TIMESTAMP, col3_13 REGPROCEDURE NULL, PRIMARY KEY (col2_5 ASC, col3_13, col3_12 DESC, col3_3 ASC), UNIQUE (col3_1, col3_5, col3_2), FAMILY (col3_7), FAMILY (col3_6, col3_1, col3_11), FAMILY (col3_8, col3_12, col3_3, col3_5, col3_9), FAMILY (col3_10), FAMILY (col3_13, col3_2, col3_4), FAMILY (col2_5)) INTERLEAVE IN PARENT table2 (col2_5);
        test_1        |             CREATE TABLE table4 (col2_5 INT4 NOT NULL, col4_1 INET NULL, col4_2 INTERVAL, col4_3 TIMESTAMPTZ NOT NULL, col4_4 REGTYPE NOT NULL, col4_5 TIMESTAMPTZ NOT NULL, col4_6 NAME, col4_7 FLOAT8, col4_8 INT8 NOT NULL, col4_9 REGTYPE NULL, col4_10 INT4 NULL, col4_11 TIMESTAMPTZ NULL, col4_12 INTERVAL, col4_13 BYTES NULL, col4_14 INET NOT NULL, col4_15 INT4 NOT NULL, PRIMARY KEY (col2_5 ASC, col4_13, col4_14), UNIQUE (col4_2, col4_1, col4_15 DESC, col4_12 DESC, col4_14 ASC, col4_4 ASC, col4_3 DESC, col4_9, col4_11 DESC, col4_6 ASC, col4_8, col4_5 ASC) WHERE (((((table4.col4_5 <= '3000-01-01 00:00:00+00:00') AND (table4.col4_8 <= 9223372036854775807)) OR (table4.col4_11 = '3000-01-01 00:00:00+00:00')) OR (table4.col2_5 < 32767)) OR (table4.col4_13 <= '\x27')) AND (table4.col4_7 != 0.0), UNIQUE (col4_15 DESC, col4_5 ASC, col4_12 ASC, col4_14 DESC, col2_5 ASC, col4_13 DESC, col4_7 DESC, col4_8 ASC, col4_10, col4_2 DESC, col4_1, col4_4 DESC, col4_11, col4_3 ASC) STORING (col4_9) WHERE ((((((table4.col4_10 >= 127) OR (table4.col4_11 = '294276-12-31 23:59:59.999999+00:00')) AND (table4.col4_13 > '\x22')) OR (table4.col4_6 = e'\U00002603')) AND (table4.col4_8 <= 127)) AND (table4.col4_3 > '3000-01-01 00:00:00+00:00')) AND (table4.col4_15 = 1), INDEX (col4_6 ASC) STORING (col4_1, col4_2, col4_7, col4_8, col4_9, col4_10), INDEX (col4_8 DESC, col4_3 DESC, col4_4 ASC, col4_7 DESC, col4_5 DESC) STORING (col4_1, col4_2, col4_9, col4_10, col4_12, col4_15) WHERE ((((((((table4.col4_6 >= '':::STRING) AND (table4.col4_11 != '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table4.col4_8 = (-9223372036854775807):::INT8)) OR (table4.col4_7 <= '-Inf':::FLOAT8)) AND (table4.col4_5 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table4.col4_10 >= (-32768):::INT8)) OR (table4.col4_13 < e'\\xff':::BYTES)) OR (table4.col4_3 >= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) OR (table4.col2_5 < 2147483647:::INT8), UNIQUE (col4_6 ASC, col4_11 DESC, col2_5 DESC, col4_5, col4_7 DESC, col4_2 ASC, col4_4, col4_8 DESC, col4_1, col4_12, col4_15 ASC) STORING (col4_3, col4_10) WHERE (((((((((table4.col4_6 > e'\'') OR (table4.col4_7 >= NaN)) OR (table4.col2_5 > 2147483647)) AND (table4.col4_8 >= -2147483648)) AND (table4.col4_3 < '3000-01-01 00:00:00+00:00')) AND (table4.col4_10 <= 32767)) OR (table4.col4_5 > '3000-01-01 00:00:00+00:00')) OR (table4.col4_15 = 2147483647)) AND (table4.col4_13 >= '\x')) AND (table4.col4_11 > '3000-01-01 00:00:00+00:00'), UNIQUE (col2_5 ASC, col4_8, col4_1 DESC, col4_14, col4_12, col4_10 DESC, col4_6 DESC, col4_15 ASC, col4_11 DESC, col4_7 ASC, col4_9 DESC, col4_4, col4_5 ASC), INDEX (col4_3 DESC, col4_4 DESC, col4_10 ASC, col2_5 ASC, col4_12, col4_14 DESC, col4_6 DESC, col4_5, col4_13 DESC, col4_2 ASC, col4_9 ASC, col4_7 ASC) STORING (col4_8, col4_11, col4_15) WHERE (((((((((table4.col4_6 = '') OR (table4.col4_13 != '\x00')) AND (table4.col4_3 < '0001-01-01 00:00:00+00:00')) OR (table4.col4_11 <= '294276-12-31 23:59:59.999999+00:00')) AND (table4.col4_5 <= '3000-01-01 00:00:00+00:00')) AND (table4.col4_8 > 32767)) OR (table4.col4_10 = 2147483647)) AND (table4.col2_5 > 1)) OR (table4.col4_7 != NaN)) AND (table4.col4_15 = 2147483647), UNIQUE (col4_4 ASC, col4_2 DESC, col4_8, col4_14 DESC, col4_1 DESC, col4_11, col4_5 ASC, col4_3, col4_6, col4_13 ASC, col4_10 DESC, col4_12, col4_7, col2_5 DESC, col4_9) STORING (col4_15), FAMILY (col4_2), FAMILY (col4_8, col4_6, col4_4, col4_9, col4_11), FAMILY (col4_10), FAMILY (col4_15, col4_1, col4_14, col4_7, col4_3, col4_12, col4_13, col4_5), FAMILY (col2_5)) INTERLEAVE IN PARENT table2 (col2_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63629986927, "histo_col_type": "", "name": "__auto__", "null_count": 83953022836, "row_count": 90000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58127754849, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68320599247, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "-73 years -6 mons -58 days -05:38:55.046097"}, {"distinct_range": 0, "num_eq": 3209548497056143637, "num_range": 4000000000, "upper_bound": "-52 years -10 mons -90 days -17:05:09.327499"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 300000, "upper_bound": "-44 years -10 mons -594 days -01:34:24.091973"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23393478096, "histo_col_type": "", "name": "__auto__", "null_count": 55501908153, "row_count": 90000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40744844543, "histo_col_type": "", "name": "__auto__", "null_count": 19996899278, "row_count": 90000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6618656725, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79080676682, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "-28 years -11 mons -744 days -23:10:13.410282"}, {"distinct_range": 0, "num_eq": 2824959285466011769, "num_range": 5000, "upper_bound": "60 years 1 mon 368 days 21:06:19.02223"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 5274602965333645436, "upper_bound": "290 years"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 71374150420, "row_count": 90000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9284298835, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 76308646005, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "$"}, {"distinct_range": 432983871066941630, "num_eq": 0, "num_range": 432983871066941654, "upper_bound": "s"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 61061017470, "row_count": 90000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88068340678, "histo_col_type": "", "name": "__auto__", "null_count": 15072472469, "row_count": 90000000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59024, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 1550, "row_count": 100000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 97264, "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5213, "histo_col_type": "", "name": "__auto__", "null_count": 52900, "row_count": 100000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52964, "histo_col_type": "", "name": "__auto__", "null_count": 88990, "row_count": 100000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67488, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11045, "histo_buckets": [{"distinct_range": 0, "num_eq": 7084739292006993589, "num_range": 0, "upper_bound": "-1313706810"}, {"distinct_range": 600000000, "num_eq": 900000000, "num_range": 600000000, "upper_bound": "-433640993"}, {"distinct_range": 0, "num_eq": 363997746736538614, "num_range": 2000000, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 3150269209941623744, "upper_bound": "514589812"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 100000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 89976, "histo_col_type": "", "name": "__auto__", "null_count": 74810, "row_count": 100000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6693, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 620, "histo_col_type": "", "name": "__auto__", "null_count": 11716, "row_count": 20000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12705, "histo_col_type": "", "name": "__auto__", "null_count": 19281, "row_count": 20000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1801, "histo_col_type": "", "name": "__auto__", "null_count": 6158, "row_count": 20000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18168, "histo_col_type": "", "name": "__auto__", "null_count": 3004, "row_count": 20000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1393, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "-1008042521"}, {"distinct_range": 0, "num_eq": 7312229985198825451, "num_range": 800000000, "upper_bound": "-973142323"}, {"distinct_range": 5465737037298620000, "num_eq": 500, "num_range": 8003199540710766149, "upper_bound": "-494019921"}, {"distinct_range": 5743521985868851000, "num_eq": 2927357497770290200, "num_range": 5743521985868851673, "upper_bound": "463874210"}, {"distinct_range": 600000000, "num_eq": 100, "num_range": 600000000, "upper_bound": "635858682"}, {"distinct_range": 11.57352950161235, "num_eq": 8921343160585693115, "num_range": 50, "upper_bound": "2097437154"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3035, "histo_col_type": "", "name": "__auto__", "null_count": 17338, "row_count": 20000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16756, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 277, "histo_col_type": "", "name": "__auto__", "null_count": 1301, "row_count": 20000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1751, "histo_col_type": "", "name": "__auto__", "null_count": 13732, "row_count": 20000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13162, "histo_col_type": "", "name": "__auto__", "null_count": 868, "row_count": 20000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13876, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8502, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1347, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18059043594, "histo_col_type": "", "name": "__auto__", "null_count": 7932429290, "row_count": 20000000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8720511802, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977478419, "histo_col_type": "", "name": "__auto__", "null_count": 19799216805, "row_count": 20000000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12037338313, "histo_col_type": "", "name": "__auto__", "null_count": 19769810719, "row_count": 20000000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2387971799, "histo_col_type": "", "name": "__auto__", "null_count": 10694582385, "row_count": 20000000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3717253715, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "-48 years -6 mons -425 days -12:30:54.887635"}, {"distinct_range": 0, "num_eq": 5163115196831186192, "num_range": 0, "upper_bound": "-28 years -11 mons -973 days -01:09:21.791767"}, {"distinct_range": 0, "num_eq": 2912667226678259912, "num_range": 10000000000, "upper_bound": "-22 years -3 mons -742 days -19:14:20.997392"}, {"distinct_range": 0, "num_eq": 1234017723888447334, "num_range": 4653002488360437004, "upper_bound": "-2 years -3 mons -368 days -20:04:19.530494"}, {"distinct_range": 0, "num_eq": 4504228330495979953, "num_range": 4000, "upper_bound": "47 years 555 days 17:07:50.170144"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 5296644158, "row_count": 20000000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19146121761, "histo_col_type": "", "name": "__auto__", "null_count": 18739990961, "row_count": 20000000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8936852214, "histo_col_type": "NAME", "name": "__auto__", "null_count": 1846538202, "row_count": 20000000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17941049303, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "-7762441756161473807"}, {"distinct_range": 583301355185805600, "num_eq": 7000000000, "num_range": 1409901087529499895, "upper_bound": "-7733794427611015689"}, {"distinct_range": 40000000, "num_eq": 100, "num_range": 40000000, "upper_bound": "-6970780840870840396"}, {"distinct_range": 0, "num_eq": 0, "num_range": 50000000, "upper_bound": "-4780179256763096537"}, {"distinct_range": 0, "num_eq": 386452549149541737, "num_range": 60, "upper_bound": "743735348973086728"}, {"distinct_range": 0, "num_eq": 5970929623388517259, "num_range": 531847332759860459, "upper_bound": "2151225953490143302"}, {"distinct_range": 9110264101178938000, "num_eq": 4776502808285944543, "num_range": 9110264101178938191, "upper_bound": "5468844381424979066"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 900000000, "upper_bound": "9068299813348928026"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10367530108, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18360633632, "histo_col_type": "", "name": "__auto__", "null_count": 2438688202, "row_count": 20000000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10881835094, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "373455560"}, {"distinct_range": 0, "num_eq": 5038177952283495602, "num_range": 6460919285135499282, "upper_bound": "1037742473"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 2934834241920384065, "upper_bound": "1264275559"}, {"distinct_range": 4721865160284337000, "num_eq": 0, "num_range": 4721865160284336749, "upper_bound": "1542176868"}, {"distinct_range": 0, "num_eq": 4306954753714307518, "num_range": 6333065236936459984, "upper_bound": "2277602526"}, {"distinct_range": 0, "num_eq": 8265008754413405259, "num_range": 8619323406227609593, "upper_bound": "2573396274"}, {"distinct_range": 0, "num_eq": 3291908471417424970, "num_range": 40000, "upper_bound": "3924700762"}, {"distinct_range": 338.73330851278155, "num_eq": 30, "num_range": 500, "upper_bound": "3990162902"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11442978251, "histo_col_type": "", "name": "__auto__", "null_count": 4204838399, "row_count": 20000000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8250435270, "histo_buckets": [{"distinct_range": 0, "num_eq": 4571696093698023186, "num_range": 0, "upper_bound": "-1905809454"}, {"distinct_range": 1275725093481804800, "num_eq": 8922044394536696260, "num_range": 1275725093481804850, "upper_bound": "-515037262"}, {"distinct_range": 4479422599821413400, "num_eq": 700000, "num_range": 5680104073097330235, "upper_bound": "-374292715"}, {"distinct_range": 5074155919287339000, "num_eq": 5075771854717267469, "num_range": 5074155919287339078, "upper_bound": "175598761"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6473349171, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 20000000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2381200790, "histo_buckets": [{"distinct_range": 0, "num_eq": 5455183716839077318, "num_range": 0, "upper_bound": "2007-01-31 20:02:21.000497+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 20000000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('hfq', 'gavanj');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('y', 'fevg');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1171811326323868580, "histo_col_type": "", "name": "__auto__", "null_count": 2928057311492971142, "row_count": 4042932389580150764}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3025152635009838769, "histo_col_type": "", "name": "__auto__", "null_count": 1171969294348346418, "row_count": 4042932389580150764}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2476394078680381752, "histo_col_type": "", "name": "__auto__", "null_count": 3088437836990844013, "row_count": 4042932389580150764}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3592219668598985773, "histo_col_type": "", "name": "__auto__", "null_count": 641697817455568170, "row_count": 4042932389580150764}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2481188544096859233, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 802674.9034608711, "num_eq": 90, "num_range": 1000000, "upper_bound": "662121184"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 40000, "upper_bound": "1002393175"}, {"distinct_range": 2069682583555133700, "num_eq": 7522152893280134140, "num_range": 2069682583555133569, "upper_bound": "2124754373"}, {"distinct_range": 8561623801959308000, "num_eq": 20000, "num_range": 8561623801959308144, "upper_bound": "2775543207"}, {"distinct_range": 2615324.659366471, "num_eq": 3780219139945481370, "num_range": 5000000, "upper_bound": "3053320403"}, {"distinct_range": 7274371.702546524, "num_eq": 5000, "num_range": 20000000, "upper_bound": "3240937728"}, {"distinct_range": 374.3708668738215, "num_eq": 40000, "num_range": 4000, "upper_bound": "3985500231"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 4042932389580150764}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3946633379046235147, "histo_buckets": [{"distinct_range": 0, "num_eq": 2985818031758855383, "num_range": 0, "upper_bound": "-53 years -4 mons -887 days -13:06:01.41576"}, {"distinct_range": 100000, "num_eq": 3414054031377398401, "num_range": 100000, "upper_bound": "-23 years -5 mons -946 days -11:21:16.305495"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 4644787736699960044, "upper_bound": "27 years 6 mons 842 days 21:30:32.749374"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 90000, "upper_bound": "32 years 7 mons 959 days 00:07:54.128077"}, {"distinct_range": 6069301506470798000, "num_eq": 7681457773638473191, "num_range": 6069301506470798069, "upper_bound": "55 years 1 mon 634 days 01:19:52.36551"}, {"distinct_range": 0, "num_eq": 5847256734771437169, "num_range": 3000000, "upper_bound": "59 years 1 mon 576 days 18:36:59.904207"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 3436102994325600555, "row_count": 4042932389580150764}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 819676951682569211, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042932389580150764}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3020106557152291310, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4042932389580150764}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 739029527019685052, "histo_buckets": [{"distinct_range": 0, "num_eq": 6986545723726473853, "num_range": 0, "upper_bound": "("}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 100000000, "upper_bound": "g"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 622618316313148797, "row_count": 4042932389580150764}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1919876918408829878, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "56 years 7 mons 542 days 21:57:14.077766"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 4042932389580150764}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1854337548497497471, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2969276521457742933}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1171691546900170852, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-1847168128"}, {"distinct_range": 82656.2384266126, "num_eq": 700000000, "num_range": 90000, "upper_bound": "-271459321"}, {"distinct_range": 0, "num_eq": 601961070443968461, "num_range": 70000000, "upper_bound": "-95292058"}, {"distinct_range": 575755428577563500, "num_eq": 4013646954496384347, "num_range": 4185856886270687844, "upper_bound": "1142687696"}, {"distinct_range": 2578135686464608000, "num_eq": 100000000000, "num_range": 6105281633492127875, "upper_bound": "2147483647"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 2969276521457742933}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22226228945558057, "histo_col_type": "", "name": "__auto__", "null_count": 1490642710421132193, "row_count": 2969276521457742933}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1569049295736173011, "histo_buckets": [{"distinct_range": 0, "num_eq": 7467665461756158747, "num_range": 0, "upper_bound": "false"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 412280527293062614, "row_count": 2969276521457742933}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2866460474688850826, "histo_buckets": [{"distinct_range": 0, "num_eq": 3122333899304022078, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 2969276521457742933}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2165849983386117399, "histo_col_type": "", "name": "__auto__", "null_count": 2578100318277473068, "row_count": 2969276521457742933}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2578899811274459507, "histo_col_type": "", "name": "__auto__", "null_count": 852034370697805458, "row_count": 2969276521457742933}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7054362469492927992, "histo_col_type": "", "name": "__auto__", "null_count": 7337582260907141404, "row_count": 8614918707333446541}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8265380272352693928, "histo_col_type": "", "name": "__auto__", "null_count": 6288507983100211604, "row_count": 8614918707333446541}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2991459324267837840, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2507163239138778247, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2626346709324619975, "histo_col_type": "", "name": "__auto__", "null_count": 7592569793309641868, "row_count": 8614918707333446541}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3158929700862287724, "histo_col_type": "", "name": "__auto__", "null_count": 8239676191167177618, "row_count": 8614918707333446541}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6516906886876871596, "histo_col_type": "", "name": "__auto__", "null_count": 6013111432420323397, "row_count": 8614918707333446541}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2162329544617706615, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 772230983016907638, "histo_col_type": "", "name": "__auto__", "null_count": 467445199741999914, "row_count": 8614918707333446541}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6739666954886443495, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6487550279297642121, "histo_col_type": "", "name": "__auto__", "null_count": 7643800860546400661, "row_count": 8614918707333446541}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8326686442997009903, "histo_col_type": "", "name": "__auto__", "null_count": 267726574860415652, "row_count": 8614918707333446541}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8448016776388827291, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3450333917437899606, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8614918707333446541}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6290117, "histo_buckets": [{"distinct_range": 0, "num_eq": 4921610309386801724, "num_range": 0, "upper_bound": "iF\\u0019p"}, {"distinct_range": 3652396174234009600, "num_eq": 9000, "num_range": 6472955713767860842, "upper_bound": "k\\u000egY\\u0005\\n"}, {"distinct_range": 0, "num_eq": 50, "num_range": 8000, "upper_bound": "}\\\\|"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 1227620, "row_count": 10000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2565174, "histo_col_type": "", "name": "__auto__", "null_count": 4487958, "row_count": 10000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4238189, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "-60 years -4 mons -841 days -17:01:24.772977"}, {"distinct_range": 28253.387250884647, "num_eq": 5280344426577472485, "num_range": 40000, "upper_bound": "-54 years -9 mons -213 days -04:21:29.713262"}, {"distinct_range": 0, "num_eq": 6873274632965494276, "num_range": 4651750121012581850, "upper_bound": "-34 years -449 days -05:25:29.564971"}, {"distinct_range": 3293656.1016914677, "num_eq": 600000, "num_range": 8000000, "upper_bound": "16 years 7 mons 903 days 19:41:02.921205"}, {"distinct_range": 6207.3043926756, "num_eq": 5943908562115441283, "num_range": 10000, "upper_bound": "39 years 4 mons 428 days 19:54:33.996141"}, {"distinct_range": 70, "num_eq": 2519758262509858417, "num_range": 70, "upper_bound": "75 years 7 mons 754 days 18:41:07.176578"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 2124681, "row_count": 10000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7972501, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "1998-02-02 04:16:19.000207+00:00"}, {"distinct_range": 0, "num_eq": 8853936114187373055, "num_range": 1872173786579472344, "upper_bound": "1999-08-23 14:30:51.0007+00:00"}, {"distinct_range": 7002034211586834000, "num_eq": 80000000000, "num_range": 7002034211586834216, "upper_bound": "2006-03-04 23:16:56.000625+00:00"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 8059883740011334814, "upper_bound": "2009-02-21 04:36:08.000737+00:00"}, {"distinct_range": 432982590808680900, "num_eq": 7868841105911401634, "num_range": 1462062724109349345, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2819554, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "-2012389311"}, {"distinct_range": 90000, "num_eq": 6304313614460672241, "num_range": 90000, "upper_bound": "-1383214141"}, {"distinct_range": 0, "num_eq": 2857720161440809884, "num_range": 9030260501840132656, "upper_bound": "2101253639"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1421429, "histo_col_type": "", "name": "__auto__", "null_count": 4686209, "row_count": 10000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8046881, "histo_col_type": "", "name": "__auto__", "null_count": 3554222, "row_count": 10000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8671831, "histo_col_type": "", "name": "__auto__", "null_count": 2338368, "row_count": 10000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8364153, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8044016, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "-719498075"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 159081516001568915, "upper_bound": "-444538957"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8208494, "histo_col_type": "", "name": "__auto__", "null_count": 3266659, "row_count": 10000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 510987, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5368881, "histo_col_type": "", "name": "__auto__", "null_count": 8283792, "row_count": 10000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3294181, "histo_col_type": "", "name": "__auto__", "null_count": 9593617, "row_count": 10000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8498574, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "602920051"}, {"distinct_range": 700000000, "num_eq": 20000, "num_range": 700000000, "upper_bound": "1911261863"}, {"distinct_range": 4008322551658256000, "num_eq": 50000000, "num_range": 8533380154628684195, "upper_bound": "4153893230"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7902197, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "-3101174169706047019"}, {"distinct_range": 4357530280762066400, "num_eq": 2000000000, "num_range": 7788929229665026013, "upper_bound": "-1195620412533998242"}, {"distinct_range": 0, "num_eq": 6542733875807956537, "num_range": 20000000000, "upper_bound": "-128"}, {"distinct_range": 7158370426525529000, "num_eq": 0, "num_range": 7158370426525528953, "upper_bound": "3246227088378290531"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 4000000, "upper_bound": "5125107336468453686"}, {"distinct_range": 549751871053996740, "num_eq": 2028854036406110119, "num_range": 1825179225377605980, "upper_bound": "8327036308095309223"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 10000000}]';
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2, col1_4, col1_3) REFERENCES table3 (col3_1, col3_5, col3_2);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16501065, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8109514, "histo_col_type": "", "name": "__auto__", "null_count": 4968502, "row_count": 20000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7059381, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "197858050"}, {"distinct_range": 633.0187637631892, "num_eq": 4428663853923521525, "num_range": 700, "upper_bound": "2148718692"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4563686, "histo_buckets": [{"distinct_range": 0, "num_eq": 4961620350130986529, "num_range": 0, "upper_bound": "-51 years -10 mons -812 days -07:27:07.85151"}, {"distinct_range": 0, "num_eq": 8871833618280318611, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 0, "num_eq": 6961295235544883858, "num_range": 50000000, "upper_bound": "28 years 9 mons 752 days 08:45:41.165885"}, {"distinct_range": 0, "num_eq": 2077750762342488192, "num_range": 50000000000, "upper_bound": "35 years 11 mons 406 days 21:04:55.491953"}, {"distinct_range": 387044819087950300, "num_eq": 405008884056678383, "num_range": 793330258956057667, "upper_bound": "54 years 10 mons 697 days 01:19:55.303923"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 3479009, "row_count": 20000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3811528, "histo_col_type": "", "name": "__auto__", "null_count": 529092, "row_count": 20000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11135591, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14980360, "histo_col_type": "", "name": "__auto__", "null_count": 7081940, "row_count": 20000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 810227, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "\\u000c"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 6000000000, "upper_bound": "\\u001d"}, {"distinct_range": 6078041661623152000, "num_eq": 0, "num_range": 6078041661623151120, "upper_bound": "3"}, {"distinct_range": 0, "num_eq": 320261481822529110, "num_range": 5000000, "upper_bound": "E"}, {"distinct_range": 60000, "num_eq": 70000, "num_range": 60000, "upper_bound": "M"}, {"distinct_range": 6856860895458576000, "num_eq": 5565252461046989034, "num_range": 6856860895458576780, "upper_bound": "V"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 5988018759275159413, "upper_bound": "]"}, {"distinct_range": 100, "num_eq": 479049093368233594, "num_range": 100, "upper_bound": "`"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 10944671, "row_count": 20000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14247061, "histo_buckets": [{"distinct_range": 0, "num_eq": 7511045665186587284, "num_range": 0, "upper_bound": "-72 years -9 mons -521 days -05:15:44.817561"}, {"distinct_range": 3684553371588513300, "num_eq": 10000, "num_range": 8835825272933073800, "upper_bound": "-35 years -2 mons -476 days -04:04:39.866061"}, {"distinct_range": 3000, "num_eq": 900000, "num_range": 3000, "upper_bound": "-3 years -1 mons -498 days -16:54:11.048878"}, {"distinct_range": 4596213826319688700, "num_eq": 2022477842663714135, "num_range": 4596213826319688624, "upper_bound": "00:00:00"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 5569860667868884204, "upper_bound": "30 years 6 mons 7 days 19:30:18.292131"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 30000, "upper_bound": "51 years 10 mons 821 days 16:51:45.004173"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12828116, "histo_col_type": "", "name": "__auto__", "null_count": 7719346, "row_count": 20000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7532718771, "histo_col_type": "", "name": "__auto__", "null_count": 9554839091, "row_count": 10000000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4990203591, "histo_buckets": [{"distinct_range": 0, "num_eq": 27735851815217927, "num_range": 0, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 4027580009, "row_count": 10000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5163932067, "histo_buckets": [{"distinct_range": 0, "num_eq": 8651037768088073758, "num_range": 0, "upper_bound": "2318857144"}, {"distinct_range": 1952511218827760600, "num_eq": 500, "num_range": 1952511218827760623, "upper_bound": "3107155745"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3524744098, "histo_col_type": "", "name": "__auto__", "null_count": 630868096, "row_count": 10000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1571320678, "histo_col_type": "", "name": "__auto__", "null_count": 3621919238, "row_count": 10000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5675717091, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3979330068, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": "-1916897759"}, {"distinct_range": 4080636946813570600, "num_eq": 700, "num_range": 4080636946813570541, "upper_bound": "-1679045093"}, {"distinct_range": 932805704.454722, "num_eq": 10000000, "num_range": 5000000000, "upper_bound": "-1328439291"}, {"distinct_range": 2169678239.8180366, "num_eq": 4871939636437469654, "num_range": 10000000000, "upper_bound": "-432003006"}, {"distinct_range": 0, "num_eq": 2964710515010902103, "num_range": 6895527611454015228, "upper_bound": "838787435"}, {"distinct_range": 6823205517230280000, "num_eq": 0, "num_range": 6823205517230279565, "upper_bound": "1564539834"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 10000000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 633508453208823463, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 353023554424097294, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 373037518418648372, "histo_col_type": "", "name": "__auto__", "null_count": 344941360921255584, "row_count": 1386527042595677063}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 624306082532859340, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185416377465904364, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180888557728131451, "histo_col_type": "", "name": "__auto__", "null_count": 1120563107077599707, "row_count": 1386527042595677063}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 287148840638944013, "histo_col_type": "", "name": "__auto__", "null_count": 927812554868580162, "row_count": 1386527042595677063}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1098879743812106038, "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 269080702250851475, "histo_buckets": [{"distinct_range": 0, "num_eq": 8496742905080146532, "num_range": 0, "upper_bound": "42233568"}, {"distinct_range": 67.79854297052601, "num_eq": 60000000, "num_range": 90, "upper_bound": "2441740022"}, {"distinct_range": 0, "num_eq": 50, "num_range": 0, "upper_bound": "2865337974"}, {"distinct_range": 0, "num_eq": 8638944892375135788, "num_range": 8201204167228071832, "upper_bound": "2893690511"}, {"distinct_range": 448138862.4049185, "num_eq": 2258716717200089588, "num_range": 6000000000, "upper_bound": "2972095836"}, {"distinct_range": 57550.68751613368, "num_eq": 70000, "num_range": 200000, "upper_bound": "4161552051"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 851392223250349653, "row_count": 1386527042595677063}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60351781744954280, "histo_col_type": "", "name": "__auto__", "null_count": 600369970980517566, "row_count": 1386527042595677063}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 489505911166718324, "histo_col_type": "", "name": "__auto__", "null_count": 1335463320732314258, "row_count": 1386527042595677063}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1147195420158067853, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1386527042595677063}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1337211581942222069, "histo_col_type": "", "name": "__auto__", "null_count": 101769476914596309, "row_count": 1386527042595677063}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 881910184571715381, "histo_col_type": "", "name": "__auto__", "null_count": 1326031920900719922, "row_count": 1386527042595677063}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1014373135173329483, "histo_buckets": [{"distinct_range": 0, "num_eq": 4123412126124255142, "num_range": 0, "upper_bound": "-2 years -2 mons -847 days -16:25:17.383854"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 760527293547886334, "row_count": 1893668612124689460}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977388538701839942, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "1987-09-24 18:14:14.000868+00:00"}, {"distinct_range": 239.72096921307818, "num_eq": 4569723339191767759, "num_range": 400, "upper_bound": "1991-10-01 18:10:41.000659+00:00"}, {"distinct_range": 926723268.0618535, "num_eq": 2626752994218837320, "num_range": 1000000000, "upper_bound": "1993-12-20 04:42:30.000089+00:00"}, {"distinct_range": 63.302805540991855, "num_eq": 20000, "num_range": 90, "upper_bound": "2000-12-12 19:39:50.00042+00:00"}, {"distinct_range": 5092848587601960000, "num_eq": 800, "num_range": 5092848587601959656, "upper_bound": "2025-07-13 10:00:32.000657+00:00"}, {"distinct_range": 1835278642271254300, "num_eq": 5266539403569654315, "num_range": 8440917818695413606, "upper_bound": "2032-03-26 12:43:21.000167+00:00"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 870323407513753037, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62141066189992881, "histo_buckets": [{"distinct_range": 0, "num_eq": 3223616355973904238, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 849910696925796681, "num_range": 0, "upper_bound": "390489397"}, {"distinct_range": 10000000, "num_eq": 0, "num_range": 10000000, "upper_bound": "754379634"}, {"distinct_range": 5162220300300748000, "num_eq": 3865943340516271333, "num_range": 6918416456692931119, "upper_bound": "2397824022"}, {"distinct_range": 8991590036798921000, "num_eq": 2521982562019692694, "num_range": 8991590036798920388, "upper_bound": "2401208860"}, {"distinct_range": 4000, "num_eq": 3000000, "num_range": 4000, "upper_bound": "2773842358"}, {"distinct_range": 8250789283936558000, "num_eq": 6901706768248159944, "num_range": 8250789283936557918, "upper_bound": "3615939344"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 486493981619278017, "histo_buckets": [{"distinct_range": 0, "num_eq": 6194559685143215541, "num_range": 0, "upper_bound": "-6921510594058837315"}, {"distinct_range": 401731133354588000, "num_eq": 4000000000, "num_range": 401731133354588036, "upper_bound": "-3746397999034932845"}, {"distinct_range": 8813807571675326000, "num_eq": 75492618881592228, "num_range": 8813807571675326245, "upper_bound": "-2091816094630684761"}, {"distinct_range": 203919216081119070, "num_eq": 7000000000, "num_range": 203919216081119083, "upper_bound": "-778620727683553282"}, {"distinct_range": 0, "num_eq": 6005393492635110898, "num_range": 0, "upper_bound": "396587664122148805"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 700000000, "upper_bound": "1911444761177444091"}, {"distinct_range": 4770430178714342000, "num_eq": 7000000000, "num_range": 4770430178714342101, "upper_bound": "2841669436683537349"}, {"distinct_range": 6686567780545929000, "num_eq": 1804477987986179504, "num_range": 6686567780545928989, "upper_bound": "6422469776472720484"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1245116507162896827, "histo_col_type": "", "name": "__auto__", "null_count": 1732887738600414573, "row_count": 1893668612124689460}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 940686834187166657, "histo_col_type": "", "name": "__auto__", "null_count": 1534308247765585369, "row_count": 1893668612124689460}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 222466265909322858, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 797563348474176186, "histo_col_type": "NAME", "name": "__auto__", "null_count": 1587593205763765399, "row_count": 1893668612124689460}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 460163213287991356, "histo_col_type": "", "name": "__auto__", "null_count": 601043874485887903, "row_count": 1893668612124689460}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1717282843658113890, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1347065442"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1623519770003871252, "histo_col_type": "", "name": "__auto__", "null_count": 1437756157591435387, "row_count": 1893668612124689460}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1864531722676747098, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1748117325008642186, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000, "num_range": 0, "upper_bound": "-1043269014"}, {"distinct_range": 7131350847476953000, "num_eq": 3000000, "num_range": 7131350847476953183, "upper_bound": "-890551137"}, {"distinct_range": 0, "num_eq": 5296339228722847364, "num_range": 5000000000, "upper_bound": "-838225722"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 9000, "upper_bound": "-128"}, {"distinct_range": 20000, "num_eq": 900000, "num_range": 20000, "upper_bound": "676035848"}, {"distinct_range": 36074998205008136, "num_eq": 70, "num_range": 83525517330781377, "upper_bound": "855930410"}, {"distinct_range": 1000000, "num_eq": 3272552378294962129, "num_range": 1000000, "upper_bound": "1228711088"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1893668612124689460}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 395876117497919386, "histo_col_type": "", "name": "__auto__", "null_count": 1665595330982323522, "row_count": 1893668612124689460}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93877944822738459, "histo_col_type": "", "name": "__auto__", "null_count": 1375060762706861763, "row_count": 1893668612124689460}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 529647442080794009, "histo_col_type": "", "name": "__auto__", "null_count": 503861960588094476, "row_count": 1893668612124689460}]';
        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_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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@206e8178de9ac124bfde5529d8a9b858734038bb:

        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        test_1        | --- FAIL: TestCompare (1.60s)
        test_1        |     --- FAIL: TestCompare/postgres (0.56s)
        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 "char" NOT NULL, col1_1 DECIMAL NULL, col1_2 INT2, col1_3 INT2, col1_4 TIMETZ, col1_5 BIT(49), col1_6 NAME, col1_7 INT2, PRIMARY KEY (col1_0), UNIQUE (col1_2, col1_5, col1_6 ASC, col1_3 ASC, col1_1 DESC) STORING (col1_4, col1_7) WHERE ((((((table1.col1_0 <= e'\'') AND (table1.col1_2 != -1)) AND (table1.col1_6 < e'\'')) AND (table1.col1_7 != 1)) AND (table1.col1_4 != '24:00:00-15:59:00')) OR (table1.col1_1 != -1.234E+401)) AND (table1.col1_3 >= -1), UNIQUE (col1_0 ASC, col1_4, col1_1 ASC) STORING (col1_6) WHERE ((((((table1.col1_0 != 'X':::STRING) AND (table1.col1_4 = '00:00:00+15:59:00':::TIMETZ)) OR (table1.col1_7 > (-128):::INT8)) AND (table1.col1_1 > 0:::DECIMAL)) AND (table1.col1_3 != (-1):::INT8)) AND (table1.col1_6 = '':::STRING)) OR (table1.col1_2 >= 0:::INT8), UNIQUE (col1_0 DESC, col1_1 ASC, col1_4 DESC, col1_2 DESC, col1_7 DESC, col1_5, col1_3 ASC, col1_6 DESC) WHERE (((((table1.col1_1 > '-Infinity':::DECIMAL) AND (table1.col1_2 <= 1:::INT8)) AND (table1.col1_6 != '':::STRING)) AND (table1.col1_7 = 32767:::INT8)) OR (table1.col1_0 = '':::STRING)) AND (table1.col1_3 != 1:::INT8), FAMILY (col1_5), FAMILY (col1_4), FAMILY (col1_1, col1_0), FAMILY (col1_6), FAMILY (col1_7), FAMILY (col1_3), FAMILY (col1_2));
        test_1        |             CREATE TABLE table2 (col2_0 INT4 NOT NULL, col2_1 "char" NOT NULL, col2_2 NAME, col2_3 REGCLASS NOT NULL, col2_4 FLOAT8 NOT NULL, col2_5 BOOL NOT NULL, PRIMARY KEY (col2_4 ASC, col2_5 ASC), UNIQUE (col2_1, col2_0, col2_4 ASC, col2_3, col2_5 DESC, col2_2 DESC) WHERE (table2.col2_2 != '"':::STRING) OR (NOT table2.col2_5), FAMILY (col2_5, col2_0, col2_2, col2_3), FAMILY (col2_4), FAMILY (col2_1));
        test_1        |             CREATE TABLE table3 (col1_0 "char" NOT NULL, col3_1 VARCHAR, col3_2 NAME NULL, col3_3 VARCHAR, col3_4 STRING, col3_5 OID, col3_6 BIT(21) NULL, col3_7 FLOAT8 NOT NULL, col3_8 TIMESTAMPTZ NOT NULL, PRIMARY KEY (col1_0, col3_7 ASC, col3_6, col3_8 ASC, col3_2 DESC, col3_5 ASC), UNIQUE (col3_6 ASC, col3_4 ASC, col3_1 DESC, col3_8, col1_0, col3_7 DESC, col3_5 ASC, col3_3 ASC, col3_2) WHERE (((((table3.col3_3 < '"':::STRING) AND (table3.col1_0 >= e'\'':::STRING)) AND (table3.col3_2 > '':::STRING)) OR (table3.col3_1 > e'\U00002603':::STRING)) OR (table3.col3_8 != '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_7 <= '-Inf':::FLOAT8), INDEX (col3_3, col1_0 DESC, col3_6 ASC, col3_5, col3_1 ASC) STORING (col3_4) WHERE ((((((table3.col3_4 >= e'\U00002603') AND (table3.col3_7 > 3.4028234663852886e+38)) AND (table3.col3_8 > '-2000-01-01 00:00:00+00:00')) AND (table3.col3_2 >= e'\'')) AND (table3.col3_1 = 'X')) AND (table3.col1_0 <= '')) OR (table3.col3_3 <= e'\x00'), UNIQUE (col3_7, col1_0 DESC, col3_6, col3_4, col3_5 ASC) STORING (col3_3) WHERE ((((table3.col3_2 > e'\'':::STRING) AND (table3.col1_0 < e'\'':::STRING)) AND (table3.col3_3 >= '':::STRING)) AND (table3.col3_4 != '':::STRING)) OR (table3.col3_1 = '':::STRING), UNIQUE (col3_1 ASC, col3_7 ASC, col3_8 ASC) WHERE table3.col3_3 <= 'X', UNIQUE (col3_1 ASC, col1_0 ASC, col3_3, col3_4 DESC, col3_6 DESC, col3_5 DESC) WHERE table3.col3_1 = e'\x00':::STRING, INDEX (col3_6 ASC, col3_2 DESC, col3_3 ASC, col3_1 DESC, col3_4 ASC, col3_5 ASC) WHERE (((((table3.col3_3 > '') OR (table3.col3_2 >= e'\U00002603')) OR (table3.col3_4 != '')) OR (table3.col3_7 != -1.0)) OR (table3.col1_0 >= '"')) OR (table3.col3_1 > ''), UNIQUE (col3_6 DESC, col3_7 DESC, col3_4 ASC, col3_2, col3_5 DESC, col1_0 DESC, col3_1), UNIQUE (col3_5 ASC, col3_6 ASC, col3_1 DESC, col3_8, col3_7, col3_2, col1_0) WHERE ((((((table3.col3_4 <= e'\'':::STRING) AND (table3.col1_0 != e'\U00002603':::STRING)) AND (table3.col3_2 > e'\U00002603':::STRING)) AND (table3.col3_8 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_7 < 'NaN':::FLOAT8)) OR (table3.col3_3 >= '"':::STRING)) AND (table3.col3_1 >= e'\U00002603':::STRING), UNIQUE (col1_0, col3_7) STORING (col3_1) WHERE (((((table3.col3_1 <= e'\x00') OR (table3.col3_4 <= e'\x00')) AND (table3.col3_7 < 1.7976931348623157e+308)) AND (table3.col3_8 <= '-4713-11-24 00:00:00+00:00')) OR (table3.col3_2 != '"')) OR (table3.col1_0 <= '"'), FAMILY (col3_1, col3_4), FAMILY (col3_2, col3_7), FAMILY (col1_0, col3_6), FAMILY (col3_5, col3_3), FAMILY (col3_8)) INTERLEAVE IN PARENT table1 (col1_0);
        test_1        |             CREATE TABLE table4 (col2_4 FLOAT8 NOT NULL, col2_5 BOOL NOT NULL, col4_2 BIT(33), col4_3 TIMESTAMPTZ, col4_4 REGCLASS NOT NULL, col4_5 INTERVAL NOT NULL, col4_6 DECIMAL NOT NULL, col4_7 BOX2D, col4_8 INT4 NULL, col4_9 INT2 NULL, col4_10 STRING NULL, col4_11 REGNAMESPACE NULL, col4_12 REGNAMESPACE NOT NULL, col4_13 REGNAMESPACE, col4_14 TIME NOT NULL, col4_15 BIT(46) NOT NULL, col4_16 "char" NOT NULL, col4_17 BYTES NOT NULL, PRIMARY KEY (col2_4 ASC, col2_5 ASC, col4_10 ASC, col4_11 ASC, col4_16 DESC, col4_12 ASC, col4_15, col4_4, col4_14 ASC, col4_7, col4_6 ASC, col4_9 DESC, col4_3 DESC, col4_17 DESC, col4_8), UNIQUE (col4_10, col4_7, col4_12, col2_5 ASC, col4_16, col4_14 ASC, col4_6 DESC) STORING (col4_2) WHERE (((((((((table4.col4_9 <= 0:::INT8) AND (table4.col4_10 = e'\x00':::STRING)) OR (table4.col4_8 = (-128):::INT8)) AND (table4.col4_14 > '24:00:00':::TIME)) AND (table4.col4_3 > '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) OR (table4.col4_17 < e'\\x00':::BYTES)) OR (table4.col4_6 = '-Infinity':::DECIMAL)) AND (table4.col4_16 = 'X':::STRING)) OR table4.col2_5) OR (table4.col2_4 = 0.0:::FLOAT8), UNIQUE (col4_5, col4_6 DESC, col4_14 DESC, col4_11, col2_5 ASC, col4_15, col4_12 ASC, col4_2 ASC, col4_16 DESC, col4_7 DESC, col4_17 ASC, col4_10, col4_8, col2_4 DESC, col4_13 DESC, col4_9 ASC), UNIQUE (col2_4 ASC, col4_7 DESC, col4_17 ASC, col4_12 ASC, col4_14 DESC, col4_10 ASC) STORING (col4_5, col4_13) WHERE ((((table4.col4_10 >= 'X':::STRING) OR (table4.col4_17 > e'\\x':::BYTES)) AND (table4.col4_3 >= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR table4.col2_5) AND (table4.col4_9 >= (-32768):::INT8), UNIQUE (col4_8, col4_3 ASC, col4_15, col4_5 ASC, col2_5 DESC) STORING (col4_2, col4_13), UNIQUE (col2_4, col4_14 ASC, col4_13 DESC, col4_9, col4_15 DESC, col4_6, col4_8 DESC, col4_16 DESC, col4_10, col4_17 DESC, col4_2 ASC) STORING (col4_5) WHERE (((((((((table4.col4_3 > '3000-01-01 00:00:00+00:00') OR (table4.col4_9 < -1)) OR (table4.col4_14 <= '24:00:00')) OR (table4.col2_4 >= 5e-324)) AND (table4.col4_8 = 1)) OR (table4.col4_17 != '\x27')) OR (NOT table4.col2_5)) AND (table4.col4_10 <= '"')) AND (table4.col4_16 <= e'\U00002603')) OR (table4.col4_6 >= -1.234E+401), INDEX (col4_4 ASC, col4_15, col4_16 ASC, col4_17 ASC, col2_4 ASC, col4_10 ASC, col4_14, col4_5 DESC, col4_6) WHERE ((((table4.col4_17 = '\x27') OR table4.col2_5) OR (table4.col4_14 != '00:00:00')) OR (table4.col4_10 > e'\U00002603')) AND (table4.col4_8 >= -128), UNIQUE (col2_5 ASC, col4_10 DESC, col4_6) STORING (col4_2, col4_13), UNIQUE (col4_4, col4_10, col2_5, col4_8) STORING (col4_5) WHERE (((((((((table4.col4_14 < '00:00:00') OR (table4.col2_4 = 5e-324)) OR (table4.col4_8 < 0)) AND (table4.col4_6 >= 0)) OR table4.col2_5) AND (table4.col4_16 = e'\U00002603')) OR (table4.col4_17 = '\xe29883')) AND (table4.col4_3 < '294276-12-31 23:59:59.999999+00:00')) AND (table4.col4_9 <= -128)) AND (table4.col4_10 = '"'), FAMILY (col4_11, col2_5, col4_3), FAMILY (col4_13, col4_7, col4_2), FAMILY (col4_15, col4_6), FAMILY (col4_4), FAMILY (col4_9, col4_17), FAMILY (col4_12), FAMILY (col2_4, col4_14), FAMILY (col4_8), FAMILY (col4_5), FAMILY (col4_16), FAMILY (col4_10)) INTERLEAVE IN PARENT table2 (col2_4, col2_5);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7263, "histo_col_type": "", "name": "__auto__", "null_count": 1150, "row_count": 10000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9956, "histo_col_type": "", "name": "__auto__", "null_count": 7438, "row_count": 10000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8600, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "\\u0000"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5853, "histo_col_type": "", "name": "__auto__", "null_count": 4852, "row_count": 10000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2045, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "-24092"}, {"distinct_range": 3.05662393284071, "num_eq": 5608389940845148980, "num_range": 50, "upper_bound": "-18925"}, {"distinct_range": 0, "num_eq": 7940226015102446686, "num_range": 10000000, "upper_bound": "-14888"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 7157093681327096338, "upper_bound": "9347"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 60, "upper_bound": "24090"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 5465, "row_count": 10000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7508, "histo_col_type": "", "name": "__auto__", "null_count": 3556, "row_count": 10000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9584, "histo_col_type": "", "name": "__auto__", "null_count": 1305, "row_count": 10000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5623, "histo_col_type": "", "name": "__auto__", "null_count": 8277, "row_count": 10000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10342232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15557891, "histo_buckets": [{"distinct_range": 0, "num_eq": 5699058576073733381, "num_range": 0, "upper_bound": "\\u0013"}, {"distinct_range": 0, "num_eq": 3931326524363269135, "num_range": 5047254840336244694, "upper_bound": "\\u001f"}, {"distinct_range": 296561139.872666, "num_eq": 8413904897643022164, "num_range": 300000000, "upper_bound": "-"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 50, "upper_bound": "\\\\"}, {"distinct_range": 0, "num_eq": 8413225301578938467, "num_range": 100, "upper_bound": "_"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6669247, "histo_col_type": "", "name": "__auto__", "null_count": 19216240, "row_count": 20000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16921106, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14310776, "histo_buckets": [{"distinct_range": 0, "num_eq": 5811413146948283137, "num_range": 0, "upper_bound": "-1.2772879024574149"}, {"distinct_range": 8021932193437578000, "num_eq": 3271800834765424448, "num_range": 8021932193437578097, "upper_bound": "-0.7732231398431129"}, {"distinct_range": 25040974.719389174, "num_eq": 5744815422321908208, "num_range": 200000000, "upper_bound": "-0.7707915390450545"}, {"distinct_range": 7484.961213488809, "num_eq": 4069368876102597860, "num_range": 9000, "upper_bound": "-0.28925726240109195"}, {"distinct_range": 3640818622397525500, "num_eq": 100000000, "num_range": 8516767164975554650, "upper_bound": "-0.2728278329280689"}, {"distinct_range": 4301558850237677600, "num_eq": 60000000, "num_range": 4301558850237677349, "upper_bound": "0.178244043549329"}, {"distinct_range": 100000, "num_eq": 4116922775428798153, "num_range": 100000, "upper_bound": "0.9286288617027678"}, {"distinct_range": 9237471049.039724, "num_eq": 1617350234558291989, "num_range": 10000000000, "upper_bound": "1.907828053850958"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 20000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11438814, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 134, "histo_buckets": [{"distinct_range": 0, "num_eq": 6025152800826735366, "num_range": 0, "upper_bound": "0"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 122, "row_count": 300}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 144, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0.37099389966794394"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47, "histo_buckets": [{"distinct_range": 0, "num_eq": 4032658474678389983, "num_range": 0, "upper_bound": ""}, {"distinct_range": 49573.97471011806, "num_eq": 8000000000, "num_range": 60000, "upper_bound": "\\u00036\\u0008eE=Ksm"}, {"distinct_range": 3713282377988383000, "num_eq": 8490616422250697650, "num_range": 3750646541612758066, "upper_bound": "X"}, {"distinct_range": 80000000000, "num_eq": 800000000, "num_range": 80000000000, "upper_bound": "l\\u0010dT8d6"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 84, "row_count": 300}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 153, "histo_col_type": "", "name": "__auto__", "null_count": 283, "row_count": 300}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "\\u000fd<\\u000b"}, {"distinct_range": 0, "num_eq": 7072097491095377779, "num_range": 100000, "upper_bound": "\\u0012!3^"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 40, "upper_bound": "\\u001f[FtA\\t k"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 10, "upper_bound": "#)D\\u0016?z\\u0002\\t"}, {"distinct_range": 262262.6004775507, "num_eq": 9000000000, "num_range": 1000000, "upper_bound": "\'/o~n1nz"}, {"distinct_range": 1000000, "num_eq": 3624188814022955861, "num_range": 1000000, "upper_bound": "3\\u0011N\\n)]"}, {"distinct_range": 92.74379972308438, "num_eq": 5437251587397388533, "num_range": 200, "upper_bound": "9\\u00132,"}, {"distinct_range": 100000, "num_eq": 20000, "num_range": 100000, "upper_bound": "TwY"}, {"distinct_range": 25790510.662886064, "num_eq": 2000, "num_range": 60000000, "upper_bound": "r\\u0008WoM3\\u0007S"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 12, "row_count": 300}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 150, "row_count": 300}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_buckets": [{"distinct_range": 0, "num_eq": 337018147758827177, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 1134284343827844200, "num_eq": 0, "num_range": 1134284343827844243, "upper_bound": "\\u000b"}, {"distinct_range": 4770175947488915000, "num_eq": 50000000000, "num_range": 8166110320266139150, "upper_bound": "\\u0015"}, {"distinct_range": 9000000000, "num_eq": 7274148645685251264, "num_range": 9000000000, "upper_bound": "0"}, {"distinct_range": 250136.21599182067, "num_eq": 10000000, "num_range": 1000000, "upper_bound": "P"}, {"distinct_range": 10000000, "num_eq": 0, "num_range": 10000000, "upper_bound": "Q"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 8511282710373910007, "upper_bound": "W"}, {"distinct_range": 0, "num_eq": 3733591865084810306, "num_range": 6000, "upper_bound": "i"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 195, "histo_col_type": "", "name": "__auto__", "null_count": 264, "row_count": 300}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_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": ["col4_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": ["col4_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": ["col4_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": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 830333822941949063, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 3000, "num_range": 1968825754855850094, "upper_bound": "8\\u0018N:]nK\\\\"}, {"distinct_range": 896148.9278050507, "num_eq": 4693379575529141575, "num_range": 900000, "upper_bound": "T_,P&%z\\rq"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8928755400698635892, "num_range": 0, "upper_bound": "-49 years -1 mons -154 days -06:41:36.637545"}, {"distinct_range": 0, "num_eq": 2353481284694875106, "num_range": 10000000000, "upper_bound": "-23 years -11 mons -662 days -17:00:18.61756"}, {"distinct_range": 0, "num_eq": 100, "num_range": 10, "upper_bound": "-14 years -6 mons -519 days -18:56:51.221986"}, {"distinct_range": 7100751911772470000, "num_eq": 6283763038309754012, "num_range": 7100751911772470312, "upper_bound": "4 mons 447 days 18:49:06.010636"}, {"distinct_range": 0, "num_eq": 24789110317497635, "num_range": 10, "upper_bound": "52 years 1 mon 510 days 11:25:25.194273"}, {"distinct_range": 0, "num_eq": 651297074546207494, "num_range": 100000, "upper_bound": "54 years 7 mons 231 days 04:10:19.114309"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_8"], "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": "-66256671"}, {"distinct_range": 9134194937640062000, "num_eq": 9216020448817197644, "num_range": 9134194937640062215, "upper_bound": "-1"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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}, {"columns": ["col2_4"], "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.2986387843343467"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "0.8853194332163723"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "1335524197"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_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}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('km');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('lk', 'fonh', 'brefam', 'f');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('rnjxu', 'fd', 'ledmme', 'b');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2483691477077173355, "histo_col_type": "", "name": "__auto__", "null_count": 2518937410818115979, "row_count": 3880281166295587568}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2903385260892617144, "histo_col_type": "", "name": "__auto__", "null_count": 2267022397442515314, "row_count": 3880281166295587568}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2624717393913842736, "histo_col_type": "", "name": "__auto__", "null_count": 3119170721471217304, "row_count": 3880281166295587568}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3588328175255491679, "histo_col_type": "", "name": "__auto__", "null_count": 733150059614152475, "row_count": 3880281166295587568}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1261182549392224516, "histo_col_type": "", "name": "__auto__", "null_count": 3869776998576979805, "row_count": 3880281166295587568}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 977685569083259236, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "\\u0012"}, {"distinct_range": 0, "num_eq": 5305114216036248750, "num_range": 6587315166013549256, "upper_bound": ";"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 3880281166295587568}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1324959052528088119, "histo_col_type": "", "name": "__auto__", "null_count": 1874475759078824651, "row_count": 3880281166295587568}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377553718976561846, "histo_buckets": [{"distinct_range": 0, "num_eq": 5229675457142769512, "num_range": 0, "upper_bound": "-23034"}, {"distinct_range": 8071342263326216000, "num_eq": 4469022458739075108, "num_range": 8071342263326216180, "upper_bound": "-15793"}, {"distinct_range": 35427920.842096806, "num_eq": 691280322780006452, "num_range": 60000000, "upper_bound": "-11287"}, {"distinct_range": 0, "num_eq": 4492309140130975706, "num_range": 700, "upper_bound": "-6293"}, {"distinct_range": 0, "num_eq": 200, "num_range": 70000000000, "upper_bound": "3968"}, {"distinct_range": 0, "num_eq": 8659924973272894377, "num_range": 100000, "upper_bound": "4573"}, {"distinct_range": 22916613006.62298, "num_eq": 5578949155687096490, "num_range": 30000000000, "upper_bound": "6482"}, {"distinct_range": 2551804437846910000, "num_eq": 627632886571140905, "num_range": 4361064283306652364, "upper_bound": "9460"}, {"distinct_range": 45.61448429927458, "num_eq": 5579121460326866682, "num_range": 70, "upper_bound": "18952"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 1423647197346183352, "row_count": 3880281166295587568}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 427751246995407895, "histo_col_type": "", "name": "__auto__", "null_count": 2488319311251981967, "row_count": 4294056465463067021}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2589387126329710113, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4294056465463067021}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2678043355916448987, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "-1.2150810131540437"}, {"distinct_range": 8000, "num_eq": 6995072551228138158, "num_range": 8000, "upper_bound": "-0.6475267854680886"}, {"distinct_range": 0, "num_eq": 6310327323481099574, "num_range": 449180263509189052, "upper_bound": "-0.09709197688650334"}, {"distinct_range": 0, "num_eq": 1023226882356165670, "num_range": 10, "upper_bound": "0.19866760474257"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "1.5152433082860663"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 4294056465463067021}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3180357390766214552, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4294056465463067021}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1166701810842548069, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4294056465463067021}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4173449179307151557, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "\\u0008"}, {"distinct_range": 0, "num_eq": 1456737191961874185, "num_range": 500, "upper_bound": "`"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 4294056465463067021}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 846, "histo_buckets": [{"distinct_range": 0, "num_eq": 1435836640416522179, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 800000, "num_range": 30000000, "upper_bound": "\\u0001\x7f %]wR"}, {"distinct_range": 9000000000, "num_eq": 100000000, "num_range": 9000000000, "upper_bound": "\\u0014H"}, {"distinct_range": 5904143171071657000, "num_eq": 10000, "num_range": 5904143171071657268, "upper_bound": "\\u0017^\\u0007h"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 27253609278312099, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 500000, "num_range": 3706542994857662327, "upper_bound": "Zs)#Ppw\\u000c\\u000c"}, {"distinct_range": 688437971291461800, "num_eq": 367983753241358720, "num_range": 3028065561047783771, "upper_bound": "d,\\u000eZ\\u0018g<!"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 31, "row_count": 900}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 206, "histo_col_type": "", "name": "__auto__", "null_count": 180, "row_count": 900}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 260, "histo_buckets": [{"distinct_range": 0, "num_eq": 3932032413935590342, "num_range": 0, "upper_bound": "\\u001b=\\u0007L"}, {"distinct_range": 460564257.919365, "num_eq": 60, "num_range": 500000000, "upper_bound": "\\u001e\\\\iYf\\u00036\\\\T"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3480557745727561320, "upper_bound": "&"}, {"distinct_range": 0, "num_eq": 0, "num_range": 828729044177207538, "upper_bound": "(%QK8\\u001eU"}, {"distinct_range": 5780334843147334000, "num_eq": 100, "num_range": 5780334843147333730, "upper_bound": ">j"}, {"distinct_range": 6052019.425452117, "num_eq": 4324766371496617873, "num_range": 8000000, "upper_bound": "Gpj"}, {"distinct_range": 6713.082080380842, "num_eq": 6420537088479230330, "num_range": 10000, "upper_bound": "Oh!4}Jb+v"}, {"distinct_range": 685222.7813865213, "num_eq": 8688488794268031372, "num_range": 700000, "upper_bound": "Ugo\\u0011"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 819, "row_count": 900}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157, "histo_col_type": "", "name": "__auto__", "null_count": 352, "row_count": 900}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 456, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "001011101000010010001"}, {"distinct_range": 7000, "num_eq": 80000, "num_range": 7000, "upper_bound": "011101001101010111010"}, {"distinct_range": 0, "num_eq": 9110062213316892697, "num_range": 648929645812681507, "upper_bound": "100110011111110010010"}, {"distinct_range": 10000, "num_eq": 2195763377104718203, "num_range": 10000, "upper_bound": "101011111100010001110"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5064344386412580017, "upper_bound": "101110000010000101010"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 5776175626238139356, "upper_bound": "111011010100010000101"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 719, "row_count": 900}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 357, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": ""}, {"distinct_range": 99.569791180178, "num_eq": 5517087057831535646, "num_range": 400, "upper_bound": ")"}, {"distinct_range": 357712.8824959677, "num_eq": 0, "num_range": 1000000, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 400000, "upper_bound": "3"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 70, "upper_bound": "F"}, {"distinct_range": 0, "num_eq": 300, "num_range": 6072674073437263623, "upper_bound": "y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 900}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 788, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 8408980144035479914, "num_range": 1000000, "upper_bound": "1129306183"}, {"distinct_range": 3763462401458104000, "num_eq": 80000000000, "num_range": 3763462401458103745, "upper_bound": "2576169072"}, {"distinct_range": 0, "num_eq": 3482996388125535746, "num_range": 2889724475153535456, "upper_bound": "2947462546"}, {"distinct_range": 547260526000316860, "num_eq": 30, "num_range": 5042303626165034163, "upper_bound": "3156135032"}, {"distinct_range": 9000000000, "num_eq": 1748380717570306401, "num_range": 9000000000, "upper_bound": "3497414211"}, {"distinct_range": 90000, "num_eq": 8000, "num_range": 90000, "upper_bound": "4262665524"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 874, "row_count": 900}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 395, "histo_buckets": [{"distinct_range": 0, "num_eq": 5563910996315634517, "num_range": 0, "upper_bound": "-1.004012115272757"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 6626048837735736546, "upper_bound": "-1.0"}, {"distinct_range": 647076441784547600, "num_eq": 5615784820737863251, "num_range": 743914295988307556, "upper_bound": "-0.338299149942214"}, {"distinct_range": 897598290.0684689, "num_eq": 5000000, "num_range": 1000000000, "upper_bound": "-0.22564979249940365"}, {"distinct_range": 4103017288588020700, "num_eq": 797029088982409122, "num_range": 4103017288588020803, "upper_bound": "0.36196888284063666"}, {"distinct_range": 0, "num_eq": 0, "num_range": 5251031502088251684, "upper_bound": "0.4228705180800294"}, {"distinct_range": 0, "num_eq": 2178077936221331492, "num_range": 4790379452070560559, "upper_bound": "1.0921347785093753"}, {"distinct_range": 493256893707928450, "num_eq": 3496854765352827232, "num_range": 493256893707928426, "upper_bound": "1.4163614709142127"}, {"distinct_range": 192386482.7096071, "num_eq": 900000, "num_range": 400000000, "upper_bound": "2.759085009860256"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 900}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 220802063673751129, "histo_col_type": "", "name": "__auto__", "null_count": 3979137646850307064, "row_count": 4619993946099933733}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3144778260996436075, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 9138946588566294000, "num_eq": 6703575385759375754, "num_range": 9138946588566293240, "upper_bound": "&?7k\\u0016Y5g"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 6536347790538866625, "upper_bound": "\'"}, {"distinct_range": 9000000, "num_eq": 509627642707327561, "num_range": 9000000, "upper_bound": "4f"}, {"distinct_range": 0, "num_eq": 4686940869301813335, "num_range": 337884759663148270, "upper_bound": "8\\u001b`0"}, {"distinct_range": 445772624890525000, "num_eq": 7979475242571499120, "num_range": 445772624890524970, "upper_bound": "?"}, {"distinct_range": 0, "num_eq": 1518738514313050564, "num_range": 90000000000, "upper_bound": "BR\\u0008\\\\"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 7749448681775530904, "upper_bound": "r\\u0005=\\u001ex:7"}, {"distinct_range": 1140719537498325400, "num_eq": 7212788185296749064, "num_range": 1970471620786401948, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 207431054392090509, "row_count": 4619993946099933733}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 935162166408941968, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 683232856496400134, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 5126799794370764678, "num_range": 900000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2605242404731375042, "histo_buckets": [{"distinct_range": 0, "num_eq": 7187671970622903157, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1015495.2888088746, "num_eq": 800, "num_range": 3000000, "upper_bound": "444930683"}, {"distinct_range": 4989.957562017583, "num_eq": 400000000, "num_range": 7000, "upper_bound": "1366828268"}, {"distinct_range": 216740016296308480, "num_eq": 3195663207451059943, "num_range": 216740016296308470, "upper_bound": "1543354014"}, {"distinct_range": 2383463100892220000, "num_eq": 7609070173393791929, "num_range": 2383463100892220110, "upper_bound": "1743003762"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 1080641382865030662, "upper_bound": "3495836928"}, {"distinct_range": 0, "num_eq": 895861934687543500, "num_range": 5626645968999997504, "upper_bound": "3586566952"}, {"distinct_range": 0, "num_eq": 2516281641436174837, "num_range": 0, "upper_bound": "3678840930"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 100000000, "upper_bound": "3686601079"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2907136102829236724, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "16 years 9 mons 913 days 19:09:28.31983"}, {"distinct_range": 165949522079279840, "num_eq": 100000000, "num_range": 165949522079279833, "upper_bound": "19 years 10 mons 467 days 22:03:57.365877"}, {"distinct_range": 123845879.78762351, "num_eq": 4707804880521206139, "num_range": 400000000, "upper_bound": "42 years 10 mons 290 days 06:07:50.029804"}, {"distinct_range": 6659721674485709000, "num_eq": 40000000000, "num_range": 6659721674485708855, "upper_bound": "54 years 7 mons 638 days 20:35:23.851669"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 437768928975747121, "histo_col_type": "", "name": "__auto__", "null_count": 3223852693265510379, "row_count": 4619993946099933733}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 913186706505338035, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2696078783598922195, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "-1.447693179051198"}, {"distinct_range": 7571869569369147000, "num_eq": 90000000000, "num_range": 7571869569369147388, "upper_bound": "-1.3662433848191347"}, {"distinct_range": 266582.23096368933, "num_eq": 1028629167642472808, "num_range": 1000000, "upper_bound": "-0.3245741959800954"}, {"distinct_range": 30000000, "num_eq": 6000, "num_range": 30000000, "upper_bound": "0.01529875779583012"}, {"distinct_range": 43638658398.562996, "num_eq": 70000000, "num_range": 60000000000, "upper_bound": "0.6693058131954333"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 700, "upper_bound": "1.0882387011220644"}, {"distinct_range": 8618417162197993000, "num_eq": 7368463174604728665, "num_range": 8618417162197993566, "upper_bound": "1.2424631934769528"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 890932663126519460, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4449124276439217617, "histo_buckets": [{"distinct_range": 0, "num_eq": 2759819391519475906, "num_range": 0, "upper_bound": "392643076"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 914267368352877003, "row_count": 4619993946099933733}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1287770185216736404, "histo_col_type": "", "name": "__auto__", "null_count": 2525302435542999046, "row_count": 4619993946099933733}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2563536114060869739, "histo_col_type": "", "name": "__auto__", "null_count": 2566362549773672322, "row_count": 4619993946099933733}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 598894222032060790, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1131724280082067938, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2979338555827002319, "histo_col_type": "", "name": "__auto__", "null_count": 4385384098486838491, "row_count": 4619993946099933733}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 620477082902042202, "histo_col_type": "", "name": "__auto__", "null_count": 2330082034542925216, "row_count": 4619993946099933733}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 633481618878866624, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4619993946099933733}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_3, col2_1, col2_5, col2_0) REFERENCES table4 (col4_4, col4_10, col2_5, col4_8) ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_2, col2_4) REFERENCES table3 (col1_0, col3_7) ON DELETE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2828622723799284058, "histo_buckets": [{"distinct_range": 0, "num_eq": 4648720849799885580, "num_range": 0, "upper_bound": "\\""}, {"distinct_range": 5707989.021015856, "num_eq": 200000000, "num_range": 7000000, "upper_bound": "\'"}, {"distinct_range": 1660042680198662400, "num_eq": 10000000000, "num_range": 1660042680198662473, "upper_bound": "/"}, {"distinct_range": 1422481334831278600, "num_eq": 40, "num_range": 2380223643694453258, "upper_bound": "4"}, {"distinct_range": 81442243.58148643, "num_eq": 5000000, "num_range": 900000000, "upper_bound": ":"}, {"distinct_range": 1131656945387086200, "num_eq": 30000000000, "num_range": 1131656945387086168, "upper_bound": "X"}, {"distinct_range": 5247041018187998000, "num_eq": 300000000, "num_range": 5247041018187997821, "upper_bound": "p"}, {"distinct_range": 23229622617.946278, "num_eq": 0, "num_range": 60000000000, "upper_bound": "z"}, {"distinct_range": 300000000, "num_eq": 30, "num_range": 300000000, "upper_bound": "~"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 3801922769226225783}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57102167022946076, "histo_col_type": "", "name": "__auto__", "null_count": 2618655961249638525, "row_count": 3801922769226225783}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518485994548131460, "histo_buckets": [{"distinct_range": 0, "num_eq": 3109435773896339186, "num_range": 0, "upper_bound": "-32711"}, {"distinct_range": 1088404494513648500, "num_eq": 10000000, "num_range": 1703493416248459025, "upper_bound": "-27514"}, {"distinct_range": 0, "num_eq": 10, "num_range": 5000, "upper_bound": "-10735"}, {"distinct_range": 0, "num_eq": 3705349247166381356, "num_range": 3990809695570465194, "upper_bound": "-5398"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 90000000, "upper_bound": "0"}, {"distinct_range": 416728332328344200, "num_eq": 0, "num_range": 3340090445479542738, "upper_bound": "6343"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 95095053825788265, "row_count": 3801922769226225783}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2156687142374659168, "histo_col_type": "", "name": "__auto__", "null_count": 1339106891594738910, "row_count": 3801922769226225783}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1241494239546981811, "histo_col_type": "", "name": "__auto__", "null_count": 1925135128639745172, "row_count": 3801922769226225783}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 252277256982474474, "histo_col_type": "", "name": "__auto__", "null_count": 1001253304731009520, "row_count": 3801922769226225783}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 850906479649542506, "histo_col_type": "", "name": "__auto__", "null_count": 2627882525094548951, "row_count": 3801922769226225783}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3243664139263216676, "histo_col_type": "", "name": "__auto__", "null_count": 2117847563964040798, "row_count": 3801922769226225783}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28300, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34050, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 5554287251525507174, "upper_bound": "\\u001b"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 3000000, "upper_bound": "\\""}, {"distinct_range": 194047714174517540, "num_eq": 8668403233163764436, "num_range": 1451931082509146931, "upper_bound": "+"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 8807844673892821111, "upper_bound": "Q"}, {"distinct_range": 393300695.7531197, "num_eq": 50000000, "num_range": 2000000000, "upper_bound": "W"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 30000000000, "upper_bound": "y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15832, "histo_col_type": "", "name": "__auto__", "null_count": 9123, "row_count": 40000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14906, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33850, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "-0.7470721096565589"}, {"distinct_range": 1113403905384481300, "num_eq": 0, "num_range": 1113403905384481269, "upper_bound": "-0.4064645686364129"}, {"distinct_range": 5789170831605593000, "num_eq": 9007873747005670491, "num_range": 5789170831605593202, "upper_bound": "0.5574507012254117"}, {"distinct_range": 600000000, "num_eq": 70000, "num_range": 600000000, "upper_bound": "0.8729319657350995"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 1000, "upper_bound": "0.9579003197795544"}, {"distinct_range": 182433.96591473903, "num_eq": 70, "num_range": 3000000, "upper_bound": "1.4507037216882588"}, {"distinct_range": 69195720.10725825, "num_eq": 300000000, "num_range": 2000000000, "upper_bound": "1.5612857309482386"}, {"distinct_range": 0, "num_eq": 4598298311467324744, "num_range": 2000000000, "upper_bound": "1.5892747092340207"}, {"distinct_range": 0, "num_eq": 7809657668275471682, "num_range": 2731044055752783375, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 40000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10612, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 40000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 167353986, "histo_col_type": "", "name": "__auto__", "null_count": 312518649, "row_count": 400000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 382613881, "histo_buckets": [{"distinct_range": 0, "num_eq": 1356259397681742415, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 4706017864079281000, "num_eq": 5795870172657273272, "num_range": 4706017864079281639, "upper_bound": "1769723361"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 124601740, "row_count": 400000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21078847, "histo_buckets": [{"distinct_range": 0, "num_eq": 2746588349857594153, "num_range": 0, "upper_bound": "\\u0003\\u000b]N\\u0001[&"}, {"distinct_range": 6000000000, "num_eq": 3112258480861071417, "num_range": 6000000000, "upper_bound": "&"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 4625802885118234580, "upper_bound": "5v%\\u000b@"}, {"distinct_range": 0, "num_eq": 10, "num_range": 7978411125743279808, "upper_bound": "Ou4"}, {"distinct_range": 2036948287467493600, "num_eq": 5640197121736751832, "num_range": 3518201734265644211, "upper_bound": "Pi!5u\\u0014g"}, {"distinct_range": 35643988.69979794, "num_eq": 300, "num_range": 100000000, "upper_bound": "]\\u0016>Jb"}, {"distinct_range": 2511244149454253000, "num_eq": 500000000, "num_range": 2511244149454252932, "upper_bound": "m"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 67347462, "row_count": 400000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27637539, "histo_col_type": "", "name": "__auto__", "null_count": 176403662, "row_count": 400000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 236098173, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "011101010001111111110"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 157744321, "row_count": 400000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 324316606, "histo_buckets": [{"distinct_range": 0, "num_eq": 2301308246706411234, "num_range": 0, "upper_bound": "-1.9060319977112437"}, {"distinct_range": 100, "num_eq": 1634804816580256031, "num_range": 100, "upper_bound": "-1.6009169629931441"}, {"distinct_range": 1076963229599452000, "num_eq": 8000000, "num_range": 1076963229599452075, "upper_bound": "0.45975296911949426"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 161258145, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22760496, "histo_buckets": [{"distinct_range": 0, "num_eq": 8942207712277652237, "num_range": 0, "upper_bound": "A"}, {"distinct_range": 0, "num_eq": 600, "num_range": 9000, "upper_bound": "E"}, {"distinct_range": 26991.358066674, "num_eq": 395505779553285478, "num_range": 30000, "upper_bound": "Y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 286889702, "histo_buckets": [{"distinct_range": 0, "num_eq": 5956589906881267698, "num_range": 0, "upper_bound": ""}, {"distinct_range": 24307828838.279896, "num_eq": 399972058400230519, "num_range": 40000000000, "upper_bound": "-Xs\'cF\\u001f"}, {"distinct_range": 14.46316288588999, "num_eq": 8000000000, "num_range": 30, "upper_bound": "WB\\\\\\u0015\\u000en"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 265403111, "row_count": 400000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_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": ["col4_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": ["col4_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": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "\\u0007Z"}, {"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "*qk]J<\'"}, {"distinct_range": 6823251647386664000, "num_eq": 1000000000, "num_range": 6823251647386664432, "upper_bound": "X"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7369910086432985901, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 3639940575131949600, "num_eq": 30, "num_range": 4383832852502840318, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6625518770391638516, "num_range": 0, "upper_bound": "1 day"}, {"distinct_range": 299155.04405996075, "num_eq": 7332868042563335082, "num_range": 600000, "upper_bound": "1 year 456 days 01:42:44.486298"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 80, "upper_bound": "9 years 7 mons 902 days 20:15:43.5721"}, {"distinct_range": 4.932632024791815, "num_eq": 1559254737910526006, "num_range": 70, "upper_bound": "20 years 11 mons 242 days 16:21:19.969728"}, {"distinct_range": 0, "num_eq": 0, "num_range": 700000000, "upper_bound": "31 years 6 mons 771 days 14:50:42.43029"}, {"distinct_range": 0, "num_eq": 3246176573093998066, "num_range": 5778664586413829417, "upper_bound": "45 years 6 mons 419 days 21:27:25.739639"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "INT4", "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_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-2.055452425212967"}, {"distinct_range": 3119816298957675000, "num_eq": 973957300894635195, "num_range": 3119816298957674952, "upper_bound": "-1.5616720099808654"}, {"distinct_range": 0, "num_eq": 5212585092587586452, "num_range": 0, "upper_bound": "-0.4500422628160562"}, {"distinct_range": 553.6006890140976, "num_eq": 4000, "num_range": 900, "upper_bound": "0.6377734752563948"}, {"distinct_range": 1136803790582031200, "num_eq": 2000000000, "num_range": 1362979078985534866, "upper_bound": "0.72724027696557"}, {"distinct_range": 25740116.83962939, "num_eq": 8000, "num_range": 400000000, "upper_bound": "0.8329969837933086"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 80000000000, "upper_bound": "1009933327"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 60, "upper_bound": "1403583597"}, {"distinct_range": 438.91783036396004, "num_eq": 5693580924677532375, "num_range": 700, "upper_bound": "2127652288"}, {"distinct_range": 46249076.514899045, "num_eq": 20000000000, "num_range": 200000000, "upper_bound": "2788720372"}, {"distinct_range": 90000000000, "num_eq": 3000000, "num_range": 90000000000, "upper_bound": "2796189523"}, {"distinct_range": 0.3644121087903606, "num_eq": 500000, "num_range": 30, "upper_bound": "4289641224"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col4_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": ["col4_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": ["col4_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        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: there is no unique constraint matching given keys for referenced table table4 (SQLSTATE 23503)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down....2021-03-01 06:11:26.179 UTC [48] LOG:  received fast shutdown request
        postgres_1    | 2021-03-01 06:11:26.181 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-03-01 06:11:26.183 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-03-01 06:11:26.191 UTC [50] LOG:  shutting down
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@9ba48738bc511ad6954682cab41e23b8492facd8:

        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
        test_1        | --- FAIL: TestCompare (1.72s)
        test_1        |     --- FAIL: TestCompare/postgres (1.02s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.70s)
        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 REGNAMESPACE, col1_1 VARCHAR NULL, col1_2 INT4 NOT NULL, col1_3 REGPROC NOT NULL, col1_4 "char", col1_5 UUID, col1_6 FLOAT4 NOT NULL, col1_7 STRING NOT NULL, PRIMARY KEY (col1_2 ASC), UNIQUE (col1_1, col1_0, col1_2 ASC, col1_7 DESC, col1_5, col1_6, col1_4, col1_3 DESC) WHERE ((((table1.col1_4 >= e'\U00002603':::STRING) OR (table1.col1_2 >= (-32768):::INT8)) AND (table1.col1_6 = '+Inf':::FLOAT8)) OR (table1.col1_1 >= '':::STRING)) OR (table1.col1_7 <= e'\x00':::STRING), INDEX (col1_3 ASC, col1_6 DESC, col1_4 DESC, col1_7 ASC, col1_1 DESC, col1_2, col1_0 DESC, col1_5 ASC) WHERE table1.col1_6 >= 'NaN':::FLOAT8, UNIQUE (col1_6, col1_1 ASC, col1_7 DESC) WHERE ((((table1.col1_1 > '"') AND (table1.col1_6 <= -1.0)) AND (table1.col1_7 >= 'X')) AND (table1.col1_2 <= 2147483647)) AND (table1.col1_4 <= e'\''), INDEX (col1_3, col1_7 DESC, col1_0 DESC, col1_5 DESC, col1_6 DESC, col1_1 ASC, col1_2 ASC) WHERE ((((table1.col1_6 != '+Inf':::FLOAT8) OR (table1.col1_4 > e'\'':::STRING)) OR (table1.col1_7 >= 'X':::STRING)) OR (table1.col1_2 >= 32767:::INT8)) OR (table1.col1_1 < '"':::STRING), INDEX (col1_7 DESC, col1_6 ASC, col1_1 ASC, col1_5 DESC, col1_0 DESC, col1_4 DESC, col1_2) WHERE ((((table1.col1_1 != '"':::STRING) AND (table1.col1_7 > e'\x00':::STRING)) OR (table1.col1_4 > e'\'':::STRING)) AND (table1.col1_6 >= 3.4028234663852886e+38:::FLOAT8)) OR (table1.col1_2 != 32767:::INT8), UNIQUE (col1_7, col1_6, col1_1 DESC, col1_2, col1_4 DESC, col1_0 ASC) STORING (col1_3), UNIQUE (col1_4, col1_2, col1_6 ASC, col1_0 DESC) WHERE ((((table1.col1_2 != (-32768):::INT8) OR (table1.col1_7 > e'\U00002603':::STRING)) OR (table1.col1_6 < 1.0:::FLOAT8)) AND (table1.col1_1 = e'\U00002603':::STRING)) AND (table1.col1_4 > e'\U00002603':::STRING), INDEX (col1_7, col1_0 ASC, col1_1, col1_5, col1_2 DESC, col1_3, col1_4) STORING (col1_6), UNIQUE (col1_1) WHERE ((((table1.col1_7 > e'\'') OR (table1.col1_1 > '"')) AND (table1.col1_6 != 0.0)) OR (table1.col1_2 > -32768)) AND (table1.col1_4 <= ''), FAMILY (col1_2, col1_4, col1_5), FAMILY (col1_3), FAMILY (col1_7), FAMILY (col1_0, col1_1, col1_6));
        test_1        |             CREATE TABLE table2 (col1_2 INT4 NOT NULL, col2_1 FLOAT4, col2_2 DECIMAL NOT NULL, col2_3 REGTYPE, col2_4 TIMETZ, col2_5 NAME, col2_6 INT4 NULL, col2_7 CHAR, col2_8 INT8 NULL, col2_9 TIMESTAMP NOT NULL, col2_10 TIME NOT NULL, col2_11 INTERVAL, col2_12 BOX2D NOT NULL, col2_13 BIT(3) NULL, col2_14 TIMESTAMP, PRIMARY KEY (col1_2 ASC, col2_7 ASC, col2_2, col2_13, col2_9 ASC, col2_3 DESC, col2_12, col2_6 DESC, col2_10 ASC, col2_4), INDEX (col2_7, col1_2 ASC, col2_1 DESC, col2_5, col2_11 ASC, col2_4, col2_10, col2_3 ASC, col2_8 ASC, col2_12 ASC, col2_2 ASC) STORING (col2_14), UNIQUE (col2_5 DESC, col2_12 DESC, col1_2 ASC, col2_8 ASC, col2_13 DESC, col2_7 ASC) STORING (col2_11), UNIQUE (col2_6, col2_5 DESC, col2_13 ASC, col2_11, col2_1, col2_9 DESC, col1_2, col2_7, col2_2, col2_8, col2_3 ASC, col2_12 DESC, col2_10 DESC, col2_14 DESC, col2_4 DESC) WHERE table2.col2_4 != '00:00:00+15:59:00':::TIMETZ, INDEX (col2_4 DESC, col2_1 ASC, col2_5 DESC, col2_2 ASC, col2_13 ASC) STORING (col2_8) WHERE ((table2.col2_6 <= -2147483648) AND (table2.col2_1 >= 0.0)) OR (table2.col2_7 >= e'\U00002603'), INDEX (col1_2 ASC, col2_3, col2_1 ASC, col2_7 DESC, col2_6, col2_10 DESC, col2_12 ASC, col2_9 DESC, col2_4 DESC, col2_14 DESC, col2_2 DESC, col2_11 DESC), UNIQUE (col2_10 ASC, col2_3, col2_9 DESC, col2_4, col2_5 ASC, col1_2, col2_13, col2_1, col2_2, col2_12 ASC, col2_8 ASC, col2_6 ASC, col2_14 DESC) STORING (col2_11) WHERE (table2.col2_6 < 127:::INT8) AND (table2.col2_14 != '-4713-11-24 00:00:00':::TIMESTAMP), INDEX (col2_4 DESC, col2_10, col2_13 DESC, col2_14 ASC) STORING (col2_8, col2_11) WHERE (((((table2.col2_6 >= 127:::INT8) OR (table2.col2_5 != 'X':::STRING)) OR (table2.col2_7 >= e'\U00002603':::STRING)) AND (table2.col2_9 < '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table2.col2_14 < '3000-01-01 00:00:00':::TIMESTAMP)) OR (table2.col2_1 < '-Inf':::FLOAT8), INDEX (col2_8 ASC, col2_3 DESC, col2_12 ASC, col2_14, col2_13 DESC, col1_2 DESC, col2_10 DESC, col2_7 DESC, col2_5, col2_2 DESC, col2_1 ASC, col2_9 ASC, col2_4 ASC, col2_11 ASC) WHERE ((table2.col2_5 > '"':::STRING) AND (table2.col2_1 != 1.401298464324817e-45:::FLOAT8)) AND (table2.col2_6 != 127:::INT8), FAMILY (col2_4, col2_13, col2_11), FAMILY (col2_3), FAMILY (col2_1, col2_8), FAMILY (col2_14), FAMILY (col2_10), FAMILY (col2_7), FAMILY (col1_2), FAMILY (col2_9), FAMILY (col2_2), FAMILY (col2_6, col2_12, col2_5)) INTERLEAVE IN PARENT table1 (col1_2);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 6963948014077834731, "num_range": 10000, "upper_bound": ";}R\\u000e7!"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "Q"}, {"distinct_range": 26050.898904795173, "num_eq": 8000000000, "num_range": 800000, "upper_bound": "a@\\"Vlbvgn"}, {"distinct_range": 18858.058495808546, "num_eq": 10000, "num_range": 100000, "upper_bound": "bUL`<"}, {"distinct_range": 0, "num_eq": 3656145396920381629, "num_range": 0, "upper_bound": "fp"}, {"distinct_range": 50, "num_eq": 2087431631964667164, "num_range": 50, "upper_bound": "l"}, {"distinct_range": 8000000, "num_eq": 3518968043784861304, "num_range": 8000000, "upper_bound": "r"}, {"distinct_range": 0, "num_eq": 300000, "num_range": 2863003819501387131, "upper_bound": "s\\u0012\\u0001"}], "histo_col_type": "VARCHAR", "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_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "-1884549698"}, {"distinct_range": 100000000, "num_eq": 301927373441450019, "num_range": 100000000, "upper_bound": "-1503839002"}, {"distinct_range": 665680604915507100, "num_eq": 40000, "num_range": 665680604915507085, "upper_bound": "-1264426399"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 3051281608282834695, "upper_bound": "-1156889542"}, {"distinct_range": 687330029986367000, "num_eq": 2066063187391536359, "num_range": 776922586266400038, "upper_bound": "-421532395"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 9148436210305894223, "upper_bound": "1236882288"}], "histo_col_type": "INT4", "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": 2362169236403194421, "num_range": 0, "upper_bound": "93099022"}, {"distinct_range": 5964870796327122000, "num_eq": 10000, "num_range": 5964870796327121482, "upper_bound": "236253881"}, {"distinct_range": 1538435552149142800, "num_eq": 70, "num_range": 1538435552149142727, "upper_bound": "723234723"}, {"distinct_range": 30, "num_eq": 600000, "num_range": 30, "upper_bound": "903517232"}, {"distinct_range": 14499.153994443186, "num_eq": 1942317847309988836, "num_range": 40000, "upper_bound": "1310530164"}, {"distinct_range": 237758.6635027549, "num_eq": 20000, "num_range": 500000, "upper_bound": "2237674584"}, {"distinct_range": 138397825290637310, "num_eq": 300, "num_range": 9203969116276391885, "upper_bound": "3940348160"}], "histo_col_type": "REGPROC", "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_buckets": [{"distinct_range": 0, "num_eq": 8353996865393133974, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 1087335573764233559, "num_range": 7767807217977830105, "upper_bound": "\\r"}, {"distinct_range": 0, "num_eq": 4201921426593994382, "num_range": 0, "upper_bound": "+"}, {"distinct_range": 17.17317162196636, "num_eq": 5000000, "num_range": 50, "upper_bound": ";"}, {"distinct_range": 42.53655876215582, "num_eq": 294683028799823578, "num_range": 60, "upper_bound": "C"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "U"}, {"distinct_range": 5000000, "num_eq": 100000, "num_range": 5000000, "upper_bound": "a"}], "histo_col_type": "\\"char\\"", "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": "FLOAT4", "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": 2000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 56969002.983378306, "num_eq": 900, "num_range": 900000000, "upper_bound": "\\u000eH\\u001f"}, {"distinct_range": 5001653431590955000, "num_eq": 200000000, "num_range": 5001653431590955219, "upper_bound": "\\u0011"}, {"distinct_range": 6816442431216764000, "num_eq": 3524035138387473135, "num_range": 6816442431216763640, "upper_bound": ":."}, {"distinct_range": 0, "num_eq": 1000, "num_range": 101832541735074177, "upper_bound": "U"}, {"distinct_range": 0, "num_eq": 584467901588581041, "num_range": 7999739034866599428, "upper_bound": "o\\\\\\u001a\\u001fe\\u001a\\u0006"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_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}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1276130159261245792, "histo_buckets": [{"distinct_range": 0, "num_eq": 2605262841405942930, "num_range": 0, "upper_bound": "S"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 3396429349201978132, "row_count": 5446548090587796921}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3829550784557060700, "histo_buckets": [{"distinct_range": 0, "num_eq": 466887263062822649, "num_range": 0, "upper_bound": "06:49:57.393511"}, {"distinct_range": 8627888513010891000, "num_eq": 4087830171009086299, "num_range": 8627888513010890759, "upper_bound": "08:14:14.821047"}, {"distinct_range": 722.8435327368057, "num_eq": 100000000, "num_range": 1000, "upper_bound": "09:34:57.148784"}, {"distinct_range": 549005.4566642141, "num_eq": 60000, "num_range": 1000000, "upper_bound": "17:00:58.359131"}, {"distinct_range": 100000000000, "num_eq": 5000000, "num_range": 100000000000, "upper_bound": "23:52:04.634295"}, {"distinct_range": 0, "num_eq": 1779776346096968474, "num_range": 700000, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 5446548090587796921}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 269234133265380812, "histo_col_type": "", "name": "__auto__", "null_count": 5349920611990493764, "row_count": 5446548090587796921}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1680765584711744462, "histo_col_type": "", "name": "__auto__", "null_count": 3892456164424875930, "row_count": 5446548090587796921}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3187251597064762827, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "-1833484117"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 6556987124684233501, "upper_bound": "-5417000"}, {"distinct_range": 900, "num_eq": 6000, "num_range": 900, "upper_bound": "102005622"}, {"distinct_range": 33897196.34757869, "num_eq": 8645284131279515786, "num_range": 70000000, "upper_bound": "297297140"}, {"distinct_range": 2000000000, "num_eq": 50000000000, "num_range": 2000000000, "upper_bound": "751940484"}, {"distinct_range": 1800657580918613800, "num_eq": 7851528426789936392, "num_range": 1881773459101508111, "upper_bound": "1153898814"}, {"distinct_range": 8739903641154707000, "num_eq": 5000000, "num_range": 8739903641154707537, "upper_bound": "1199434039"}, {"distinct_range": 0, "num_eq": 6291052657348354611, "num_range": 5000000, "upper_bound": "1846783680"}, {"distinct_range": 145.7928280296532, "num_eq": 4000, "num_range": 900, "upper_bound": "2013747487"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 5446548090587796921}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4744519040001037873, "histo_col_type": "", "name": "__auto__", "null_count": 2450550740401890256, "row_count": 5446548090587796921}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5265293440098070031, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "-688393082"}, {"distinct_range": 4000000000, "num_eq": 60, "num_range": 4000000000, "upper_bound": "-68210758"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 4297222607658250418, "row_count": 5446548090587796921}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2373648815011721974, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "-8711810649387156028"}, {"distinct_range": 3620083025002928000, "num_eq": 50000, "num_range": 3620083025002928186, "upper_bound": "-4502855385286162189"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 40000000, "upper_bound": "-1988786902935473008"}, {"distinct_range": 287.80475503474355, "num_eq": 9062613988713819524, "num_range": 10000, "upper_bound": "-1571388237865118743"}, {"distinct_range": 300000000, "num_eq": 40000, "num_range": 300000000, "upper_bound": "-1437496729822004155"}, {"distinct_range": 10000000, "num_eq": 3010984187048209414, "num_range": 10000000, "upper_bound": "4800690428873745927"}, {"distinct_range": 600000000, "num_eq": 1636371200669212501, "num_range": 600000000, "upper_bound": "5602802676015828668"}, {"distinct_range": 278040.7983079587, "num_eq": 5000000000, "num_range": 3000000, "upper_bound": "7477212277384922984"}, {"distinct_range": 825000958057349600, "num_eq": 30000000, "num_range": 825000958057349606, "upper_bound": "8498581827427228687"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 4912466327565536128, "row_count": 5446548090587796921}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2593777056408113239, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5446548090587796921}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5238561585712160589, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5446548090587796921}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1654315387743385125, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5446548090587796921}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4671086166978345466, "histo_col_type": "", "name": "__auto__", "null_count": 569925091505535998, "row_count": 5446548090587796921}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2015319004683663109, "histo_buckets": [{"distinct_range": 0, "num_eq": 7995253086190519812, "num_range": 0, "upper_bound": ""}, {"distinct_range": 3508317414248721000, "num_eq": 2564721760873220379, "num_range": 3508317414248721082, "upper_bound": "\\u0001w\\u000b"}, {"distinct_range": 106669830113619220, "num_eq": 10, "num_range": 106669830113619210, "upper_bound": "\\u0002V?"}, {"distinct_range": 30000, "num_eq": 90, "num_range": 30000, "upper_bound": "\\u0007@T6\\u0008{( "}, {"distinct_range": 0, "num_eq": 4115705473862241940, "num_range": 30000000, "upper_bound": "\\u0012-Lv"}, {"distinct_range": 181.86099685281619, "num_eq": 539212923512867072, "num_range": 1000, "upper_bound": "\\u001a2[}L\\u0019\\u0006."}, {"distinct_range": 3931960248520324600, "num_eq": 4000000000, "num_range": 5273359100455390437, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 100, "num_range": 1480686782553731319, "upper_bound": "<k\\u0016tQ4+"}, {"distinct_range": 1776.3512635279349, "num_eq": 3126109012337807910, "num_range": 5000, "upper_bound": "S_4\\u0002L\\u000bE"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 404746098074539654, "row_count": 5446548090587796921}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3467552690374883086, "histo_buckets": [{"distinct_range": 0, "num_eq": 800875045111974919, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 0, "num_eq": 5073557152490350191, "num_range": 20, "upper_bound": "05:56:46.805861+11:57:00"}, {"distinct_range": 0, "num_eq": 50, "num_range": 800000000, "upper_bound": "20:34:08.716252-12:52:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 2616826194975488504, "row_count": 5446548090587796921}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4184300095469369354, "histo_col_type": "", "name": "__auto__", "null_count": 3674468133974158165, "row_count": 5446548090587796921}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('xztl', 'biq', 'b', 'ivcaf', 'lmra', 'zwlchu');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 453765115686296833, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "-959088187"}, {"distinct_range": 0, "num_eq": 1883083775712020564, "num_range": 0, "upper_bound": "-895567303"}, {"distinct_range": 0, "num_eq": 4585969010769792967, "num_range": 1000000, "upper_bound": "-128"}, {"distinct_range": 0, "num_eq": 2992336900838123844, "num_range": 0, "upper_bound": "108136498"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7352454754365342761, "upper_bound": "628833076"}, {"distinct_range": 5390478124085367000, "num_eq": 400000000, "num_range": 8714663268162491272, "upper_bound": "965197305"}, {"distinct_range": 0, "num_eq": 100, "num_range": 500000, "upper_bound": "2147483647"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 595659301100611950}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 234743748019278011, "histo_buckets": [{"distinct_range": 0, "num_eq": 6106400117913420231, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 80000000, "upper_bound": "542828976"}, {"distinct_range": 8000000, "num_eq": 5380506932409204723, "num_range": 8000000, "upper_bound": "1838688840"}, {"distinct_range": 549578370828141760, "num_eq": 3202058798273429424, "num_range": 4462214140471061482, "upper_bound": "2143000396"}, {"distinct_range": 6000, "num_eq": 3585938258552097942, "num_range": 6000, "upper_bound": "2558856587"}, {"distinct_range": 410.36141223389944, "num_eq": 5813847987723157253, "num_range": 500, "upper_bound": "4262741652"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 595659301100611950}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 217367742131864249, "histo_buckets": [{"distinct_range": 0, "num_eq": 1499963225511834813, "num_range": 0, "upper_bound": "\\n"}, {"distinct_range": 1000, "num_eq": 1000, "num_range": 1000, "upper_bound": "/"}, {"distinct_range": 0, "num_eq": 6699974595528913049, "num_range": 8041429072565234511, "upper_bound": "J"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 178481159537361233, "row_count": 595659301100611950}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 522959607752117235, "histo_col_type": "", "name": "__auto__", "null_count": 592207622734876716, "row_count": 595659301100611950}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 504092557245547065, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 100000000000, "upper_bound": "-0.1406821757555008"}, {"distinct_range": 0, "num_eq": 6029147696935379079, "num_range": 6659308634669100144, "upper_bound": "0.6422064304351807"}, {"distinct_range": 7000, "num_eq": 60000000000, "num_range": 7000, "upper_bound": "1.004150629043579"}, {"distinct_range": 0, "num_eq": 2671815417618523678, "num_range": 2959150315695205737, "upper_bound": "1.0936845541000366"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 595659301100611950}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 343790246937556768, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 8830620910031892000, "num_eq": 4000000000, "num_range": 8830620910031892781, "upper_bound": "\\u0001aD\\u0014T"}, {"distinct_range": 216247974.8281513, "num_eq": 1787953109633599766, "num_range": 5000000000, "upper_bound": "\\r1.wlP"}, {"distinct_range": 0, "num_eq": 9067446944565250678, "num_range": 0, "upper_bound": "\\u000e\x7f\\u0012za\\u001c"}, {"distinct_range": 1000000000, "num_eq": 2000000000, "num_range": 1000000000, "upper_bound": "\\u0017]\\u0004O"}, {"distinct_range": 0, "num_eq": 3359564668837384795, "num_range": 2307075787646953677, "upper_bound": "\\u0019@z/`O."}, {"distinct_range": 0, "num_eq": 5887590782379881725, "num_range": 10, "upper_bound": "\\u001dz)+"}, {"distinct_range": 11049533478709796, "num_eq": 0, "num_range": 11049533478709796, "upper_bound": ">yuo"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 595659301100611950}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 352079356910233839, "histo_col_type": "", "name": "__auto__", "null_count": 525766419249662334, "row_count": 595659301100611950}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 366916194722591564, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 65540758596041430, "num_eq": 1982190036083288093, "num_range": 2132201557134307576, "upper_bound": "{eP"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 23721783982344993, "row_count": 595659301100611950}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 53, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 923, "histo_buckets": [{"distinct_range": 0, "num_eq": 643461628220151126, "num_range": 0, "upper_bound": "-721052069"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "-409078944"}, {"distinct_range": 533484446477919360, "num_eq": 7438485663892900445, "num_range": 777750970423224449, "upper_bound": "127"}, {"distinct_range": 2353295683680734000, "num_eq": 6331906114331872314, "num_range": 2353295683680734328, "upper_bound": "671339171"}, {"distinct_range": 0, "num_eq": 4723201493544777528, "num_range": 4928191629280947871, "upper_bound": "882924382"}, {"distinct_range": 1313587417.741514, "num_eq": 3679358356408334633, "num_range": 2000000000, "upper_bound": "1264971893"}, {"distinct_range": 5790887089377349000, "num_eq": 500000, "num_range": 5790887089377348259, "upper_bound": "1396328319"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 219, "row_count": 1000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 685, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "-6024460937583378532"}, {"distinct_range": 0, "num_eq": 5073564537767441726, "num_range": 9000000000, "upper_bound": "19360656911905564"}, {"distinct_range": 900, "num_eq": 5339166961687458030, "num_range": 900, "upper_bound": "472698650502073603"}, {"distinct_range": 26394.774368104107, "num_eq": 2257222899459212371, "num_range": 40000, "upper_bound": "5155588139722608806"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 103, "row_count": 1000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 110, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "02:02:19.867081"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 70000, "upper_bound": "11:16:02.05916"}, {"distinct_range": 0, "num_eq": 5447789393472391616, "num_range": 0, "upper_bound": "14:40:25.146801"}, {"distinct_range": 0, "num_eq": 5107054978125278819, "num_range": 7219417322810039842, "upper_bound": "18:43:17.443073"}, {"distinct_range": 0, "num_eq": 500000000, "num_range": 7035215482683048077, "upper_bound": "23:11:24.356399"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 174, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 283, "histo_col_type": "", "name": "__auto__", "null_count": 80, "row_count": 1000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 987, "histo_col_type": "", "name": "__auto__", "null_count": 350, "row_count": 1000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 411, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "%)j\\u0005R"}, {"distinct_range": 100000, "num_eq": 900, "num_range": 100000, "upper_bound": "\'<+/t"}, {"distinct_range": 0, "num_eq": 8342843793073321177, "num_range": 6261401169813281798, "upper_bound": ",\'(KXb;zq"}, {"distinct_range": 1640830197.859966, "num_eq": 600000, "num_range": 90000000000, "upper_bound": "."}, {"distinct_range": 0, "num_eq": 0, "num_range": 4877235083155696925, "upper_bound": "9`\\u001a-L."}, {"distinct_range": 2217250.750857577, "num_eq": 100000000, "num_range": 400000000, "upper_bound": "]I\\n"}, {"distinct_range": 1239911173984271600, "num_eq": 5128383284640478552, "num_range": 1392192940480315619, "upper_bound": "sa\\u000fW"}, {"distinct_range": 7538188673061338000, "num_eq": 6116172790034112845, "num_range": 9126873334515686837, "upper_bound": "u\\u0014\\u0014"}, {"distinct_range": 8550551716968063000, "num_eq": 100000, "num_range": 8550551716968063372, "upper_bound": "\U00002603"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 729, "row_count": 1000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_buckets": [{"distinct_range": 0, "num_eq": 2011347902003136509, "num_range": 0, "upper_bound": "2033700976"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 598, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "03:52:37.099851+01:40:00"}, {"distinct_range": 0, "num_eq": 6021498369529494288, "num_range": 8383050689342788302, "upper_bound": "15:50:48.206083+08:59:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 600, "upper_bound": "23:29:59.034078-09:25:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 371, "row_count": 1000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 852, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 983, "row_count": 1000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 203, "histo_col_type": "", "name": "__auto__", "null_count": 601, "row_count": 1000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 918, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 849, "histo_col_type": "", "name": "__auto__", "null_count": 384, "row_count": 1000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 768, "histo_col_type": "", "name": "__auto__", "null_count": 358, "row_count": 1000}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_5) REFERENCES table1 (col1_1) ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28056985588, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "0.451307475566864"}, {"distinct_range": 1821745416589211100, "num_eq": 1422036832884094453, "num_range": 1821745416589211147, "upper_bound": "0.6060988903045654"}, {"distinct_range": 600000, "num_eq": 715976002311684972, "num_range": 600000, "upper_bound": "0.7873647809028625"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "1.2855576276779175"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3187657594, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 3781921332669042098, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 5827187884650905000, "num_eq": 8434056839964357056, "num_range": 5827187884650904934, "upper_bound": "\\u000b8g\'"}, {"distinct_range": 60, "num_eq": 70000000, "num_range": 60, "upper_bound": "\\u0013Vc\\u0008\\u00024`"}, {"distinct_range": 0, "num_eq": 7941383197190505105, "num_range": 80000, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 100000, "num_range": 20000000000, "upper_bound": "D\\u000f,Kd.>"}, {"distinct_range": 2056780934.0104122, "num_eq": 2000000, "num_range": 3000000000, "upper_bound": "cvN\\\\i9"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36039175710, "histo_col_type": "", "name": "__auto__", "null_count": 38594406944, "row_count": 40000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 381201748, "histo_buckets": [{"distinct_range": 0, "num_eq": 585812649406868915, "num_range": 0, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 60000000000, "upper_bound": "H["}, {"distinct_range": 1834456.4666037038, "num_eq": 3678965389889864615, "num_range": 2000000, "upper_bound": "n2"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 7149253754, "row_count": 40000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36877729320, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "-1796109989"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24245098386, "histo_buckets": [{"distinct_range": 0, "num_eq": 2208719998692002317, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 1232583525695864600, "num_eq": 100000000000, "num_range": 4667940548985733446, "upper_bound": "422383799"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 400000, "upper_bound": "561087518"}, {"distinct_range": 0, "num_eq": 2000000, "num_range": 8000, "upper_bound": "783468101"}, {"distinct_range": 300000, "num_eq": 10000, "num_range": 300000, "upper_bound": "3234174925"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 40000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32099341500, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000, "num_range": 0, "upper_bound": ";"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 30054721878, "row_count": 40000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11149965157, "histo_col_type": "", "name": "__auto__", "null_count": 7009578532, "row_count": 40000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2667863439290683285, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-564371020"}, {"distinct_range": 700000000, "num_eq": 50000000000, "num_range": 700000000, "upper_bound": "-512707618"}, {"distinct_range": 75.33022182840435, "num_eq": 10000, "num_range": 100, "upper_bound": "1"}, {"distinct_range": 176392586979081630, "num_eq": 9000, "num_range": 176392586979081641, "upper_bound": "34873046"}, {"distinct_range": 0, "num_eq": 8288495567370350846, "num_range": 4020703950409904118, "upper_bound": "870317587"}, {"distinct_range": 10000000000, "num_eq": 2000, "num_range": 10000000000, "upper_bound": "1234183727"}, {"distinct_range": 899604903151472800, "num_eq": 6788786079354134101, "num_range": 899604903151472768, "upper_bound": "1334500060"}, {"distinct_range": 1033.2966436011388, "num_eq": 7584032899827702618, "num_range": 8000, "upper_bound": "1574663657"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 6541916595325834499}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4819849417020995629, "histo_col_type": "", "name": "__auto__", "null_count": 309407472713067650, "row_count": 6541916595325834499}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2560579382036008361, "histo_col_type": "", "name": "__auto__", "null_count": 1545151008345289865, "row_count": 6541916595325834499}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4657651919143455578, "histo_col_type": "", "name": "__auto__", "null_count": 6481952653145453672, "row_count": 6541916595325834499}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5742885667916029713, "histo_buckets": [{"distinct_range": 0, "num_eq": 3442698165604624121, "num_range": 0, "upper_bound": "-1817090870"}, {"distinct_range": 0, "num_eq": 3477873132181959743, "num_range": 80, "upper_bound": "-1658486376"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "-630486383"}, {"distinct_range": 0, "num_eq": 9039539175252669875, "num_range": 0, "upper_bound": "-142512000"}, {"distinct_range": 3161507639270331400, "num_eq": 2423046102984895041, "num_range": 3161507639270331259, "upper_bound": "888624360"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 10000000000, "upper_bound": "1234630454"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 3134334109724855587, "row_count": 6541916595325834499}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2386287052975412564, "histo_buckets": [{"distinct_range": 0, "num_eq": 8077333675505123805, "num_range": 0, "upper_bound": "-9140852972823377922"}, {"distinct_range": 50000, "num_eq": 300, "num_range": 50000, "upper_bound": "-6851627343666226253"}, {"distinct_range": 193691446.0976527, "num_eq": 100000000000, "num_range": 400000000, "upper_bound": "-6789466400367879114"}, {"distinct_range": 0, "num_eq": 900, "num_range": 900, "upper_bound": "0"}, {"distinct_range": 1000000000, "num_eq": 10, "num_range": 1000000000, "upper_bound": "127"}, {"distinct_range": 139787155639111260, "num_eq": 40000000, "num_range": 1513841047008249525, "upper_bound": "4023986846972651936"}, {"distinct_range": 7675865866002665000, "num_eq": 2929537274551132811, "num_range": 7675865866002665504, "upper_bound": "6835111068703889702"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 1461767920519195451, "row_count": 6541916595325834499}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4957406547170510145, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 1738849198867220008, "num_range": 1000000, "upper_bound": "\\u0002"}, {"distinct_range": 0, "num_eq": 9053719661715015369, "num_range": 0, "upper_bound": "\\u0007"}, {"distinct_range": 0, "num_eq": 685906809426462711, "num_range": 30000000000, "upper_bound": "\\u0008"}, {"distinct_range": 3227.219750821109, "num_eq": 7017756156163875872, "num_range": 10000, "upper_bound": "7"}, {"distinct_range": 17.201209568629565, "num_eq": 3043407421534777468, "num_range": 70, "upper_bound": "G"}, {"distinct_range": 506624255135745300, "num_eq": 1000000000, "num_range": 4964728718171761127, "upper_bound": "v"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 5012409462023180020, "row_count": 6541916595325834499}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2432447563966462200, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6541916595325834499}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4999133908017760558, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6541916595325834499}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28097787609394526, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "00:43:57.742989+12:59:00"}, {"distinct_range": 7000, "num_eq": 0, "num_range": 7000, "upper_bound": "19:02:52.963153+05:27:00"}, {"distinct_range": 0, "num_eq": 2613835428574312214, "num_range": 80000, "upper_bound": "22:35:46.8642+07:46:00"}, {"distinct_range": 800000000, "num_eq": 0, "num_range": 800000000, "upper_bound": "12:12:41.743258-09:30:00"}, {"distinct_range": 0, "num_eq": 523182799886928963, "num_range": 60, "upper_bound": "19:07:54.444013-11:34:00"}, {"distinct_range": 6938572759062972000, "num_eq": 2000000, "num_range": 6938572759062972171, "upper_bound": "18:09:38.326813-13:50:00"}, {"distinct_range": 269095448637652380, "num_eq": 4331993810197492571, "num_range": 1358083751532234332, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 1867159809326470870, "row_count": 6541916595325834499}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4902943005386290288, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 5.360723034159286, "num_eq": 30000000, "num_range": 10, "upper_bound": "\\""}, {"distinct_range": 246884.45262271824, "num_eq": 30000000, "num_range": 4000000, "upper_bound": "U2*j"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 4555213888172110697, "row_count": 6541916595325834499}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3619609747242018073, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "01:32:59.269848"}, {"distinct_range": 0, "num_eq": 4864212499799258307, "num_range": 60, "upper_bound": "01:38:08.256494"}, {"distinct_range": 24.85645225728455, "num_eq": 6000, "num_range": 60, "upper_bound": "11:26:07.575385"}, {"distinct_range": 40000, "num_eq": 500, "num_range": 40000, "upper_bound": "14:14:49.90281"}, {"distinct_range": 4382037836555514400, "num_eq": 1000, "num_range": 4382037836555514532, "upper_bound": "14:50:31.671457"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 6541916595325834499}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5846623978783422250, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6541916595325834499}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4015080733720727870, "histo_col_type": "", "name": "__auto__", "null_count": 3050550504614151728, "row_count": 6541916595325834499}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4122000547658021903, "histo_col_type": "", "name": "__auto__", "null_count": 5006628183571474110, "row_count": 6541916595325834499}]';
        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    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2021-03-02 06:10:55.376 UTC [48] LOG:  received fast shutdown request
        postgres_1    | .2021-03-02 06:10:55.378 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2021-03-02 06:10:55.380 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2021-03-02 06:10:55.388 UTC [50] LOG:  shutting down
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@6de4313ec216161c79fe725fcc31fc87ef1804ea:


        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0 ASC, col1_13 DESC, col1_8 ASC, col1_12, col1_5, col1_3, col1_7, col1_2 DESC, col1_11 DESC, col1_15 ASC, col1_6 DESC, col1_14 DESC, col1_10 DESC) INCLUDE (col1_18);
        test_1        |             CREATE TABLE table2 (col1_2 TIMESTAMPTZ NOT NULL, col1_0 INET NOT NULL, col1_17 TIMESTAMP NOT NULL, col1_14 OID NOT NULL, col1_13 TIMETZ NOT NULL, col1_4 REGTYPE NOT NULL, col1_8 TIMETZ NOT NULL, col1_10 INTERVAL NOT NULL, col1_6 BOX2D NOT NULL, col1_9 TEXT NOT NULL, col1_12 BOOL NOT NULL, col2_11 TIMESTAMP NOT NULL, col2_12 REGPROCEDURE, col2_13 REGCLASS NULL, col2_14 INT8 NOT NULL, col2_15 BIT(45), col2_16 DATE NULL, col2_17 UUID NULL, col2_18 DATE NOT NULL, PRIMARY KEY (col1_2, col1_0, col1_17, col1_14, col1_13, col1_4, col1_8, col1_10, col1_6, col1_9, col1_12, col2_15, col2_11, col2_14, col2_12, col2_16));
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_14 ASC, col1_9 DESC, col2_17 DESC, col2_11 ASC, col2_14, col2_12 DESC, col1_0, col1_10 ASC);
        test_1        |             CREATE INDEX ON table2 (col1_14 DESC, col1_4 DESC, col1_0 ASC, col2_13 DESC) INCLUDE (col2_17);
        test_1        |             CREATE INDEX ON table2 (col2_17 ASC, col2_12, col1_17, col2_18, col2_13 ASC, col1_8 ASC, col1_12);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_13 DESC, col1_10 DESC, col2_14, col2_15, col2_16 ASC, col2_17, col1_2 ASC, col1_8 DESC, col1_14 DESC, col2_12 DESC, col1_4, col1_12 ASC, col1_17 ASC, col2_18 ASC, col1_9 ASC, col1_0);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_13);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_17, col1_9);
        test_1        |             CREATE TABLE table3 (col1_2 TIMESTAMPTZ NOT NULL, col1_0 INET NOT NULL, col1_17 TIMESTAMP NOT NULL, col1_14 OID NOT NULL, col1_13 TIMETZ NOT NULL, col1_4 REGTYPE NOT NULL, col1_8 TIMETZ NOT NULL, col1_10 INTERVAL NOT NULL, col1_6 BOX2D NOT NULL, col1_9 TEXT NOT NULL, col1_12 BOOL NOT NULL, col3_11 TEXT, col3_12 VARCHAR, col3_13 BIT(17) NOT NULL, col3_14 TEXT, col3_15 TEXT NULL, col3_16 TIMETZ NULL, col3_17 TIMETZ, col3_18 INT8 NOT NULL, col3_19 OID, col3_20 UUID NOT NULL, col3_21 FLOAT8, col3_22 CHAR, col3_23 REGNAMESPACE NULL, col3_24 DATE NULL, col3_25 INT8 NULL, col3_26 CHAR NULL, col3_27 REGTYPE NULL, col3_28 FLOAT8, PRIMARY KEY (col1_2, col1_0, col1_17, col1_14, col1_13, col1_4, col1_8, col1_10, col1_6, col1_9, col1_12, col3_18, col3_25, col3_21, col3_16, col3_28, col3_23, col3_27, col3_11, col3_20, col3_26, col3_15, col3_22, col3_24, col3_14, col3_12, col3_19));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_28 ASC, col3_17 ASC, col3_26 ASC, col3_14, col1_17 DESC, col3_18 ASC, col1_14, col1_9, col1_6, col1_2, col3_19, col3_22 DESC, col1_4 ASC, col3_13, col1_8 DESC);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_8) REFERENCES table2 (col1_13);
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_20, col1_9) REFERENCES table2 (col2_17, col1_9) ON DELETE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('xu', 'addrpw', 'vbin');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('mvcera', 'm');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('fes');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (0.74s)
        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 INT4 NOT NULL, col1_1 BYTES NOT NULL, col1_2 BIT(19) NOT NULL, col1_3 DATE NOT NULL, col1_4 BOX2D NOT NULL, col1_5 FLOAT8 NOT NULL, col1_6 INT2 NOT NULL, col1_7 INT8 NOT NULL, col1_8 BOX2D NOT NULL, col1_9 INT8 NOT NULL, col1_10 INTERVAL NOT NULL, col1_11 BIT(19) NOT NULL, col1_12 INET NOT NULL, col1_13 TIMESTAMP NOT NULL, col1_14 DECIMAL NOT NULL, col1_15 "char" NOT NULL, col1_16 OID[] NOT NULL, col1_17 FLOAT4 NOT NULL, PRIMARY KEY (col1_9, col1_2 DESC, col1_1, col1_3, col1_12, col1_8 DESC, col1_7, col1_11 ASC, col1_0 ASC, col1_13 DESC, col1_14, col1_4 ASC, col1_10 DESC, col1_5, col1_15, col1_17), UNIQUE (col1_3 ASC, col1_12 DESC, col1_10, col1_7, col1_17, col1_6 DESC, col1_9 ASC, col1_15 DESC) WHERE ((((((((((table1.col1_3 <= '5874897-12-31') AND (table1.col1_9 != -9223372036854775807)) OR (table1.col1_7 < 2147483647)) AND (table1.col1_14 = Infinity)) OR (table1.col1_13 != '294276-12-31 23:59:59.999999')) AND (table1.col1_5 >= 1.401298464324817e-45)) AND (table1.col1_15 <= 'X')) OR (table1.col1_6 <= -1)) AND (table1.col1_1 <= '\xe29883')) OR (table1.col1_0 != -2147483648)) OR (table1.col1_17 <= 0.0), UNIQUE (col1_9 DESC, col1_2, col1_7 DESC, col1_1 DESC, col1_3 ASC, col1_12, col1_10 ASC, col1_4 ASC, col1_15, col1_17 DESC, col1_11 DESC, col1_8 ASC) WHERE ((((((((((table1.col1_17 <= +Inf) AND (table1.col1_1 < '\x00')) AND (table1.col1_5 <= 3.4028234663852886e+38)) AND (table1.col1_9 > 9223372036854775807)) AND (table1.col1_7 >= 9223372036854775807)) AND (table1.col1_3 = '1970-01-01')) AND (table1.col1_6 != 127)) OR (table1.col1_0 < 32767)) OR (table1.col1_15 < e'\x00')) OR (table1.col1_14 > -1)) OR (table1.col1_13 = '0001-01-01 00:00:00'), UNIQUE (col1_4 DESC, col1_15, col1_11 DESC, col1_10 DESC, col1_13, col1_12 DESC, col1_1 DESC, col1_17 ASC, col1_0 ASC, col1_8 ASC, col1_9 ASC, col1_2 ASC, col1_6 DESC, col1_14 DESC, col1_7 ASC) STORING (col1_16), UNIQUE (col1_5 ASC, col1_1, col1_7, col1_10 DESC, col1_8 ASC, col1_14 DESC, col1_0, col1_13, col1_3 DESC, col1_12) WHERE ((((((((table1.col1_1 >= '\x') OR (table1.col1_5 = +Inf)) AND (table1.col1_14 > NaN)) AND (table1.col1_3 != '1970-01-01')) AND (table1.col1_0 != 2147483647)) AND (table1.col1_9 <= -1)) OR (table1.col1_17 != -1.0)) AND (table1.col1_13 <= '0001-01-01 00:00:00')) OR (table1.col1_7 >= 32767), FAMILY (col1_3), FAMILY (col1_16), FAMILY (col1_5), FAMILY (col1_17), FAMILY (col1_7, col1_1), FAMILY (col1_8), FAMILY (col1_6, col1_15), FAMILY (col1_10, col1_14, col1_9), FAMILY (col1_0, col1_2), FAMILY (col1_13), FAMILY (col1_4, col1_12), FAMILY (col1_11));
        test_1        |             CREATE TABLE table2 (col1_9 INT8 NOT NULL, col1_2 BIT(19) NOT NULL, col1_1 BYTES NOT NULL, col1_3 DATE NOT NULL, col1_12 INET NOT NULL, col1_8 BOX2D NOT NULL, col1_7 INT8 NOT NULL, col1_11 BIT(19) NOT NULL, col1_0 INT4 NOT NULL, col1_13 TIMESTAMP NOT NULL, col1_14 DECIMAL NOT NULL, col1_4 BOX2D NOT NULL, col1_10 INTERVAL NOT NULL, col1_5 FLOAT8 NOT NULL, col1_15 "char" NOT NULL, col1_17 FLOAT4 NOT NULL, col2_16 TIMESTAMP, col2_17 DATE, col2_18 DATE, col2_19 CHAR, col2_20 REGNAMESPACE NOT NULL, col2_21 REGCLASS NULL, col2_22 UUID NOT NULL, col2_23 BIT(31) NOT NULL, col2_24 OID NULL, col2_25 CHAR NOT NULL, col2_26 BIT(21), col2_27 FLOAT8 NULL, col2_28 OID, PRIMARY KEY (col1_9, col1_2 DESC, col1_1, col1_3, col1_12, col1_8 DESC, col1_7, col1_11 ASC, col1_0 ASC, col1_13 DESC, col1_14, col1_4 ASC, col1_10 DESC, col1_5, col1_15, col1_17, col2_21 DESC), INDEX (col2_27, col1_8 DESC, col1_7 ASC, col1_5 ASC, col1_15 ASC, col2_24 ASC, col1_11 ASC, col2_18 DESC, col2_16 ASC, col1_13 DESC, col2_28, col2_22, col2_25 ASC) STORING (col2_17, col2_20, col2_26) WHERE (((((((((((((table2.col1_13 = '294276-12-31 23:59:59.999999') OR (table2.col1_7 < -9223372036854775807)) AND (table2.col1_1 != '\x')) OR (table2.col1_9 > -9223372036854775807)) OR (table2.col2_25 != e'\'')) AND (table2.col1_15 > '"')) OR (table2.col1_14 <= -Infinity)) OR (table2.col1_3 >= 'infinity')) AND (table2.col2_16 < '-2000-01-01 00:00:00')) AND (table2.col1_5 > +Inf)) OR (table2.col2_27 <= 3.4028234663852886e+38)) AND (table2.col2_18 != '-infinity')) OR (table2.col2_19 < e'\U00002603')) OR (table2.col1_17 != 1.401298464324817e-45), UNIQUE (col2_24 DESC, col1_7 ASC, col2_27, col2_26 ASC, col1_15 ASC, col1_11, col1_17 ASC, col2_25 DESC, col1_0, col2_17 ASC, col2_21 DESC, col1_1 ASC) WHERE (((((((((((((((table2.col1_14 <= '-Infinity':::DECIMAL) OR (table2.col1_0 < (-1):::INT8)) AND (table2.col1_7 != 2147483647:::INT8)) AND (table2.col2_25 < e'\'':::STRING)) AND (table2.col1_3 >= '-infinity':::DATE)) OR (table2.col2_18 = '4714-11-24 BC':::DATE)) AND (table2.col2_16 <= '0001-01-01 00:00:00':::TIMESTAMP)) OR (table2.col1_13 != '3000-01-01 00:00:00':::TIMESTAMP)) AND (table2.col1_15 >= e'\x00':::STRING)) OR (table2.col2_17 > '1970-01-01':::DATE)) AND (table2.col1_9 <= (-9223372036854775807):::INT8)) OR (table2.col2_19 > e'\'':::STRING)) OR (table2.col1_1 != e'\\x22':::BYTES)) AND (table2.col1_17 < '+Inf':::FLOAT8)) OR (table2.col1_5 >= 'NaN':::FLOAT8)) OR (table2.col2_27 = 1.401298464324817e-45:::FLOAT8), INDEX (col2_26, col1_3 DESC, col1_13 DESC, col2_22 DESC, col1_12 ASC, col2_25 ASC, col1_0 ASC, col1_10 ASC, col2_23 ASC, col2_20 DESC, col1_4 ASC, col1_17 DESC) STORING (col2_16, col2_17, col2_27, col2_28) WHERE ((((((((table2.col1_15 <= e'\x00':::STRING) AND (table2.col1_1 <= e'\\x':::BYTES)) OR (table2.col2_25 <= e'\U00002603':::STRING)) OR (table2.col1_0 > (-1):::INT8)) AND (table2.col2_19 > e'\x00':::STRING)) OR (table2.col1_5 < '+Inf':::FLOAT8)) AND (table2.col2_18 = '5874897-12-31':::DATE)) AND (table2.col1_17 < 1.401298464324817e-45:::FLOAT8)) AND (table2.col1_9 > 32767:::INT8), UNIQUE (col1_13) STORING (col2_17, col2_19, col2_20, col2_22, col2_23, col2_24, col2_25, col2_27), UNIQUE (col2_16, col1_5, col1_4, col1_7 DESC, col2_28, col1_3, col1_12, col1_10, col2_23 ASC, col2_22 ASC, col2_26 ASC, col2_19 DESC, col2_25 DESC, col2_21, col1_11, col1_9 ASC, col2_18) STORING (col2_27), UNIQUE (col1_5 DESC, col2_28 DESC, col2_18 ASC, col2_23, col1_4 ASC, col1_11 DESC, col1_7, col2_16 DESC, col2_26 ASC, col2_27 ASC, col2_21 ASC, col1_3 ASC, col2_25 ASC, col1_12 DESC, col1_10, col1_8, col2_20, col1_9, col1_2, col2_22 DESC, col2_17) STORING (col2_19) WHERE ((((((table2.col1_5 >= '-Inf':::FLOAT8) AND (table2.col1_15 > '"':::STRING)) OR (table2.col1_3 = '5874897-12-31':::DATE)) OR (table2.col1_7 = 1:::INT8)) OR (table2.col2_18 > '-infinity':::DATE)) AND (table2.col1_9 >= (-1):::INT8)) AND (table2.col1_14 < 'NaN':::DECIMAL), FAMILY (col1_8), FAMILY (col1_13, col1_1), FAMILY (col2_27, col2_28), FAMILY (col2_24), FAMILY (col2_26, col1_2), FAMILY (col1_14, col1_0, col1_15, col2_22), FAMILY (col2_21, col1_12), FAMILY (col1_11), FAMILY (col1_4), FAMILY (col2_16, col2_17), FAMILY (col2_20, col1_3), FAMILY (col2_25, col1_7, col1_9, col2_18), FAMILY (col2_19, col1_17), FAMILY (col2_23), FAMILY (col1_5), FAMILY (col1_10)) INTERLEAVE IN PARENT table1 (col1_9, col1_2, col1_1, col1_3, col1_12, col1_8, col1_7, col1_11, col1_0, col1_13, col1_14, col1_4, col1_10, col1_5, col1_15, col1_17);
        test_1        |             CREATE TABLE table3 (col1_9 INT8 NOT NULL, col1_2 BIT(19) NOT NULL, col1_1 BYTES NOT NULL, col1_3 DATE NOT NULL, col1_12 INET NOT NULL, col1_8 BOX2D NOT NULL, col1_7 INT8 NOT NULL, col1_11 BIT(19) NOT NULL, col1_0 INT4 NOT NULL, col1_13 TIMESTAMP NOT NULL, col1_14 DECIMAL NOT NULL, col1_4 BOX2D NOT NULL, col1_10 INTERVAL NOT NULL, col1_5 FLOAT8 NOT NULL, col1_15 "char" NOT NULL, col1_17 FLOAT4 NOT NULL, col2_21 REGCLASS NULL, col3_17 REGTYPE, col3_18 BIT(3) NOT NULL, col3_19 DATE, col3_20 TIMETZ NOT NULL, col3_21 TIME, PRIMARY KEY (col1_9, col1_2 DESC, col1_1, col1_3, col1_12, col1_8 DESC, col1_7, col1_11 ASC, col1_0 ASC, col1_13 DESC, col1_14, col1_4 ASC, col1_10 DESC, col1_5, col1_15, col1_17, col2_21 DESC, col3_19, col3_20 ASC, col3_21 DESC), INDEX (col3_20 ASC, col1_11 DESC, col1_9 DESC, col1_8 DESC, col1_7, col3_21 ASC) WHERE ((((((((((((table3.col1_14 <= 0:::DECIMAL) OR (table3.col3_21 = '00:00:00':::TIME)) AND (table3.col3_20 != '00:00:00+15:59:00':::TIMETZ)) OR (table3.col1_17 = 0.0:::FLOAT8)) OR (table3.col1_9 <= 9223372036854775807:::INT8)) OR (table3.col3_19 <= '1970-01-01':::DATE)) OR (table3.col1_13 = '0001-01-01 00:00:00':::TIMESTAMP)) AND (table3.col1_1 > e'\\xe29883':::BYTES)) OR (table3.col1_0 > 32767:::INT8)) OR (table3.col1_5 < (-1.0):::FLOAT8)) AND (table3.col1_3 >= '1970-01-01':::DATE)) OR (table3.col1_7 != (-32768):::INT8)) AND (table3.col1_15 > '':::STRING), INDEX (col3_18 ASC, col1_14 ASC, col1_1, col1_4) WHERE ((((((((((((table3.col1_3 > '5874897-12-31':::DATE) AND (table3.col1_17 != '+Inf':::FLOAT8)) AND (table3.col1_13 != '-2000-01-01 00:00:00':::TIMESTAMP)) AND (table3.col1_1 != e'\\x22':::BYTES)) AND (table3.col1_15 <= e'\U00002603':::STRING)) OR (table3.col1_7 <= 0:::INT8)) OR (table3.col1_5 <= '-Inf':::FLOAT8)) OR (table3.col3_19 > 'infinity':::DATE)) OR (table3.col1_0 != (-1):::INT8)) OR (table3.col3_21 > '24:00:00':::TIME)) OR (table3.col3_20 < '00:00:00+15:59:00':::TIMETZ)) AND (table3.col1_9 > (-128):::INT8)) AND (table3.col1_14 != 'Infinity':::DECIMAL), UNIQUE (col3_18 ASC, col1_3 ASC, col1_12 ASC, col1_7, col3_17 DESC, col1_17 DESC, col1_8 ASC, col1_11 DESC) WHERE ((((((((((((table3.col1_9 < 127) OR (table3.col1_17 < 0.0)) OR (table3.col1_14 <= 0)) AND (table3.col1_7 <= -32768)) AND (table3.col1_3 != '-infinity')) AND (table3.col3_19 > '5874897-12-31')) OR (table3.col1_13 > '-2000-01-01 00:00:00')) OR (table3.col1_0 = -2147483648)) OR (table3.col1_1 = '\x27')) AND (table3.col3_20 != '00:00:00+15:59:00')) AND (table3.col1_15 >= e'\U00002603')) OR (table3.col1_5 >= 0.0)) OR (table3.col3_21 = '24:00:00'), UNIQUE (col1_14 DESC, col1_15 ASC, col1_11 DESC, col1_13, col3_17 ASC, col1_8, col3_18 DESC, col2_21, col1_5 ASC, col1_1 ASC, col3_21 DESC), UNIQUE (col1_12 DESC, col2_21 ASC) STORING (col3_17) WHERE (table3.col1_13 = '294276-12-31 23:59:59.999999') OR (table3.col3_21 = '24:00:00'), INDEX (col3_17 DESC, col1_11, col1_13 ASC, col1_8, col1_17 DESC, col1_10, col1_1, col2_21, col1_12, col1_15 ASC, col1_0 ASC) STORING (col3_18) WHERE (((((((((((table3.col1_0 != 127:::INT8) AND (table3.col1_5 <= '+Inf':::FLOAT8)) OR (table3.col3_20 >= '00:00:00+15:59:00':::TIMETZ)) OR (table3.col1_7 >= 1:::INT8)) OR (table3.col3_19 <= '-infinity':::DATE)) AND (table3.col1_3 <= '1970-01-01':::DATE)) OR (table3.col1_14 != 'NaN':::DECIMAL)) AND (table3.col1_1 < e'\\x58':::BYTES)) AND (table3.col3_21 != '24:00:00':::TIME)) AND (table3.col1_15 != e'\x00':::STRING)) AND (table3.col1_17 <= '+Inf':::FLOAT8)) AND (table3.col1_9 != (-128):::INT8), UNIQUE (col1_11 DESC, col3_21, col1_3, col1_7, col3_20 DESC, col3_17 ASC, col1_2 DESC, col1_8, col1_15 ASC, col1_1, col3_19 ASC, col1_10 DESC, col1_12 ASC, col1_13 ASC, col3_18 DESC, col2_21 DESC, col1_17) WHERE (((((((((table3.col1_5 < (-1.0):::FLOAT8) AND (table3.col1_7 <= 9223372036854775807:::INT8)) OR (table3.col1_15 != '':::STRING)) OR (table3.col3_19 = '-infinity':::DATE)) AND (table3.col1_17 >= 3.4028234663852886e+38:::FLOAT8)) AND (table3.col1_13 = '-4713-11-24 00:00:00':::TIMESTAMP)) OR (table3.col1_0 < (-32768):::INT8)) OR (table3.col1_14 = '-Infinity':::DECIMAL)) OR (table3.col3_20 >= '24:00:00-15:59:00':::TIMETZ)) OR (table3.col3_21 != '00:00:00':::TIME), INDEX (col1_8, col1_1 ASC, col1_13 DESC, col1_7 DESC, col1_10 DESC, col1_14 DESC, col3_21 DESC, col3_18 ASC, col1_3, col3_17 ASC, col1_0 ASC, col1_17, col1_15 ASC, col1_4, col3_20 ASC) WHERE ((((((((((((table3.col1_1 >= e'\\xff':::BYTES) AND (table3.col3_20 <= '00:00:00+15:59:00':::TIMETZ)) AND (table3.col3_19 > '5874897-12-31':::DATE)) AND (table3.col1_7 != 2147483647:::INT8)) AND (table3.col1_17 <= 0.0:::FLOAT8)) AND (table3.col1_0 > 32767:::INT8)) AND (table3.col1_14 <= 'Infinity':::DECIMAL)) OR (table3.col1_9 < 2147483647:::INT8)) OR (table3.col3_21 > '24:00:00':::TIME)) OR (table3.col1_3 <= 'infinity':::DATE)) OR (table3.col1_5 != 1.0:::FLOAT8)) AND (table3.col1_13 > '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table3.col1_15 >= '"':::STRING), INDEX (col1_7) STORING (col3_17, col3_18), FAMILY (col2_21), FAMILY (col1_10, col1_5), FAMILY (col1_3, col1_12, col1_17, col1_2, col3_19), FAMILY (col3_17), FAMILY (col1_13), FAMILY (col1_0, col1_1, col1_7, col3_20, col3_18), FAMILY (col1_15), FAMILY (col1_8, col1_9, col1_11), FAMILY (col1_14, col1_4, col3_21)) INTERLEAVE IN PARENT table2 (col1_9, col1_2, col1_1, col1_3, col1_12, col1_8, col1_7, col1_11, col1_0, col1_13, col1_14, col1_4, col1_10, col1_5, col1_15, col1_17, col2_21);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40773, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "-4919407245331086500"}, {"distinct_range": 0, "num_eq": 803889458182550627, "num_range": 20000000000, "upper_bound": "-3932888256306248610"}, {"distinct_range": 50, "num_eq": 0, "num_range": 50, "upper_bound": "-2794944032406245545"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 6000000, "upper_bound": "-1650445828002601787"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 80000000, "upper_bound": "-737163951883494714"}, {"distinct_range": 100, "num_eq": 7716423315250192703, "num_range": 100, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 1911307308369694977, "num_range": 0, "upper_bound": "5550550777732019151"}, {"distinct_range": 0, "num_eq": 3530535936725692504, "num_range": 0, "upper_bound": "5742090174706952710"}, {"distinct_range": 500000, "num_eq": 2392159665849134859, "num_range": 500000, "upper_bound": "8150905444479398434"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125348, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157561, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103524, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 159012, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27403, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "BOX(-2.2819714834593796 0.7596920969805334,1.2817795135092491 1.0117716330164834)"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "BOX(-1.9638960230831533 -0.8463685290442582,-0.32688517041148424 0.5793950270975303)"}, {"distinct_range": 0, "num_eq": 8470316657952059760, "num_range": 5179855529490784776, "upper_bound": "BOX(-0.4435755021328892 -1.061822260300683,0.5506800663264595 -0.019883652754192627)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 153158, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75726, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 161526, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44911, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 117830, "histo_buckets": [{"distinct_range": 0, "num_eq": 699292462254148201, "num_range": 0, "upper_bound": "-1.2982089748787917"}, {"distinct_range": 2951890827260555000, "num_eq": 0, "num_range": 2951890827260554497, "upper_bound": "5e-324"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 597234261232097874, "upper_bound": "1.2562643812309755"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 60000000, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108870, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 95758, "histo_buckets": [{"distinct_range": 0, "num_eq": 5569819692075335267, "num_range": 0, "upper_bound": "1975-10-10"}, {"distinct_range": 17662509.516578943, "num_eq": 200000000, "num_range": 30000000, "upper_bound": "1992-05-05"}, {"distinct_range": 100, "num_eq": 90000, "num_range": 100, "upper_bound": "1993-06-14"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 112749, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 66183, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61646, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 146150, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5226681293, "histo_buckets": [{"distinct_range": 0, "num_eq": 2253108814057562175, "num_range": 0, "upper_bound": "101010001000011010001"}, {"distinct_range": 0, "num_eq": 7263483656231634923, "num_range": 40000, "upper_bound": "101110111100100000000"}, {"distinct_range": 23432.08308981367, "num_eq": 500000000, "num_range": 80000, "upper_bound": "110000111001011000110"}, {"distinct_range": 400000000, "num_eq": 2026144370858903894, "num_range": 400000000, "upper_bound": "111010111011010010001"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 2496954379, "row_count": 8000000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5815953083, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1800425256, "histo_col_type": "", "name": "__auto__", "null_count": 4227143524, "row_count": 8000000000}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 891553908, "histo_col_type": "", "name": "__auto__", "null_count": 5006189401, "row_count": 8000000000}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 111142687, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3915906131, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3553230223, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5019459220, "histo_col_type": "", "name": "__auto__", "null_count": 2894180710, "row_count": 8000000000}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4181364156, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6946678483, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6663392584, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1842761509, "histo_buckets": [{"distinct_range": 0, "num_eq": 4554686290245188501, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "2001-06-26 05:01:49.000021"}, {"distinct_range": 800000000, "num_eq": 300, "num_range": 800000000, "upper_bound": "2011-10-22 09:18:39.000632"}, {"distinct_range": 400000, "num_eq": 2598769709834036910, "num_range": 400000, "upper_bound": "2014-01-30 19:13:58.000701"}, {"distinct_range": 4000000, "num_eq": 0, "num_range": 4000000, "upper_bound": "2019-04-24 14:03:14.000638"}, {"distinct_range": 0, "num_eq": 3644756883260466832, "num_range": 5557083151538460749, "upper_bound": "2019-07-28 13:37:44.000374"}, {"distinct_range": 1667619428146467800, "num_eq": 30000000000, "num_range": 2537984680955796757, "upper_bound": "2027-09-09 18:00:05.00043"}, {"distinct_range": 0, "num_eq": 5590149104790354812, "num_range": 2145428093036514084, "upper_bound": "2029-09-26 06:19:13.000196"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 165864088, "row_count": 8000000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 128196439, "histo_col_type": "", "name": "__auto__", "null_count": 2059368799, "row_count": 8000000000}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5544966188, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "134599175"}, {"distinct_range": 3000000, "num_eq": 158814629425584443, "num_range": 3000000, "upper_bound": "191857895"}, {"distinct_range": 0, "num_eq": 6553895278948908824, "num_range": 6278374149718091989, "upper_bound": "905023762"}, {"distinct_range": 166397018576030400, "num_eq": 40000000000, "num_range": 9024207605648709121, "upper_bound": "1634564160"}, {"distinct_range": 5000000, "num_eq": 7673058930766030141, "num_range": 5000000, "upper_bound": "2263218145"}, {"distinct_range": 0, "num_eq": 400, "num_range": 200000, "upper_bound": "2708471295"}, {"distinct_range": 52.26618031052562, "num_eq": 553174743146852011, "num_range": 90, "upper_bound": "3266909403"}, {"distinct_range": 4946039672243139000, "num_eq": 3210370528548597741, "num_range": 5113927047004429636, "upper_bound": "3701704025"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 6755463657, "row_count": 8000000000}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 463184998, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602741908, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2066264900, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3659065031, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 538998397, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 128619361, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3629571850, "histo_col_type": "", "name": "__auto__", "null_count": 5871474996, "row_count": 8000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2532070176, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "-9223372036854775807"}, {"distinct_range": 20314.996455449404, "num_eq": 1873091940362671584, "num_range": 90000, "upper_bound": "-8324927838735225072"}, {"distinct_range": 2098923098708539100, "num_eq": 0, "num_range": 2321859054224214235, "upper_bound": "-7909664549919930668"}, {"distinct_range": 30000000, "num_eq": 6764001754901396426, "num_range": 30000000, "upper_bound": "-6567486746161132500"}, {"distinct_range": 605937323133233000, "num_eq": 5000000000, "num_range": 1776168637844645730, "upper_bound": "-4510223583743850426"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 5231914963278776777, "upper_bound": "-213693458712214060"}, {"distinct_range": 1480583554274876400, "num_eq": 20, "num_range": 3030400376887360469, "upper_bound": "-115048439115714946"}, {"distinct_range": 60000, "num_eq": 1000, "num_range": 60000, "upper_bound": "-128"}, {"distinct_range": 0, "num_eq": 100, "num_range": 8000000, "upper_bound": "4804135876321089307"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6621133277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4461564369, "histo_buckets": [{"distinct_range": 0, "num_eq": 2213544139973654606, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 2455188808924765000, "num_eq": 6886114908880325868, "num_range": 2455188808924765016, "upper_bound": "-1.2380953925737668"}, {"distinct_range": 803881693.9827782, "num_eq": 8446108230079774792, "num_range": 3000000000, "upper_bound": "-0.21866150632027748"}, {"distinct_range": 29.9577266991304, "num_eq": 800000000, "num_range": 100, "upper_bound": "0.36504301945026185"}, {"distinct_range": 0, "num_eq": 3370749895474891689, "num_range": 258337373916692654, "upper_bound": "0.41432821031825473"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 800000, "upper_bound": "0.5278426420253035"}, {"distinct_range": 40000000, "num_eq": 1926496883358191336, "num_range": 40000000, "upper_bound": "0.6566935451085546"}, {"distinct_range": 2172111529.8051863, "num_eq": 2298255941219539220, "num_range": 5000000000, "upper_bound": "1.1772262075001443"}, {"distinct_range": 1000, "num_eq": 2100580414800518288, "num_range": 1000, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3459384534, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "1980-02-11 04:59:33.000122"}, {"distinct_range": 9218732630988609000, "num_eq": 8000, "num_range": 9218732630988608764, "upper_bound": "1984-04-06 07:43:31.000344"}, {"distinct_range": 1298927217982249500, "num_eq": 3171913976399655770, "num_range": 1298927217982249463, "upper_bound": "1986-12-11 08:06:47.000216"}, {"distinct_range": 0, "num_eq": 0, "num_range": 9077522277798909197, "upper_bound": "1991-10-03 07:31:02.000824"}, {"distinct_range": 2480.146650753722, "num_eq": 90000000000, "num_range": 300000, "upper_bound": "2001-07-18 16:46:55.000386"}, {"distinct_range": 127724627440008050, "num_eq": 90000, "num_range": 3124177100316400244, "upper_bound": "2013-03-12 08:06:34.000655"}, {"distinct_range": 10000000, "num_eq": 400000, "num_range": 10000000, "upper_bound": "2015-11-30 02:31:26.000539"}, {"distinct_range": 3105349702344086500, "num_eq": 8126108801234372570, "num_range": 8018237781501206741, "upper_bound": "2029-01-01 14:30:48.000015"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 533599951, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6475046818, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2097538361, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-0.3991673935226059"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 7102494675903025234, "upper_bound": "-0.2638064774093438"}, {"distinct_range": 90000000000, "num_eq": 0, "num_range": 90000000000, "upper_bound": "-0.19006620133972307"}, {"distinct_range": 532958545.7097284, "num_eq": 90, "num_range": 4000000000, "upper_bound": "-0.16377304654297864"}, {"distinct_range": 0, "num_eq": 2191849281657881997, "num_range": 2677104319954863760, "upper_bound": "0.02185566853000881"}, {"distinct_range": 878813420.7164667, "num_eq": 20000000000, "num_range": 1000000000, "upper_bound": "1.0347791212889625"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 6732748184, "row_count": 8000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 611225861, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48446046, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col3_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5145456, "histo_col_type": "", "name": "__auto__", "null_count": 15132712, "row_count": 80000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74546439, "histo_buckets": [{"distinct_range": 0, "num_eq": 2581822039073585377, "num_range": 0, "upper_bound": "-128"}, {"distinct_range": 67877.57230774092, "num_eq": 3989558241612934475, "num_range": 100000, "upper_bound": "7212699320929251025"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21364689, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22577573, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 78400855, "histo_buckets": [{"distinct_range": 0, "num_eq": 5292973040747085924, "num_range": 0, "upper_bound": "350268950"}, {"distinct_range": 1548729511377058000, "num_eq": 0, "num_range": 1548729511377057941, "upper_bound": "1208341295"}, {"distinct_range": 0, "num_eq": 7831431928152270462, "num_range": 5010800926920074484, "upper_bound": "3280303995"}, {"distinct_range": 3278710323869775000, "num_eq": 8634757999793517052, "num_range": 5434618093158225890, "upper_bound": "3421143720"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 54302649, "row_count": 80000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20188857, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24534080, "histo_col_type": "", "name": "__auto__", "null_count": 19338843, "row_count": 80000000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54367006, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "000"}, {"distinct_range": 260610733492068450, "num_eq": 5000000000, "num_range": 260610733492068444, "upper_bound": "001"}, {"distinct_range": 2343670349097457700, "num_eq": 400, "num_range": 2343670349097457734, "upper_bound": "011"}, {"distinct_range": 695.3025025519004, "num_eq": 100000000000, "num_range": 800, "upper_bound": "100"}], "histo_col_type": "BIT(3)", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75511668, "histo_col_type": "", "name": "__auto__", "null_count": 26152916, "row_count": 80000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32033609, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36754984, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "0001000101101011010"}, {"distinct_range": 600, "num_eq": 8295892102244875456, "num_range": 600, "upper_bound": "0111101011101000011"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 300000, "upper_bound": "1011101101011111010"}, {"distinct_range": 0, "num_eq": 5142852116922231076, "num_range": 200000000, "upper_bound": "1111000000111101110"}], "histo_col_type": "BIT(19)", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10769414, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22865841, "histo_buckets": [{"distinct_range": 0, "num_eq": 4070921048440677994, "num_range": 0, "upper_bound": "-5.40317104484820758E+36"}, {"distinct_range": 30000, "num_eq": 2817915455931810304, "num_range": 30000, "upper_bound": "-8446.71852930208347"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 10000000, "upper_bound": "-0.07932038163049031321"}, {"distinct_range": 6801377842712656000, "num_eq": 4330055686354601226, "num_range": 6801377842712655659, "upper_bound": "0.6933919151481865201"}, {"distinct_range": 0, "num_eq": 7162380432324075603, "num_range": 3432477093840591480, "upper_bound": "3127120751263822649"}, {"distinct_range": 3680901768620946000, "num_eq": 7481913719813405484, "num_range": 5392585004752067850, "upper_bound": "4.311193026392852995E+22"}, {"distinct_range": 1968113600088834800, "num_eq": 400000, "num_range": 1968113600088834819, "upper_bound": "7.90392556343946788E+23"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 900000000, "upper_bound": "9.02779042813706182E+37"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col3_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15874640, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "06:39:53.772941+12:40:00"}, {"distinct_range": 3135825992237220000, "num_eq": 5000, "num_range": 3135825992237219727, "upper_bound": "14:13:45.006346+08:03:00"}, {"distinct_range": 158525.35688855892, "num_eq": 100000000000, "num_range": 200000, "upper_bound": "09:14:36.414374+01:25:00"}, {"distinct_range": 0, "num_eq": 50, "num_range": 9000000, "upper_bound": "19:41:10.593362-07:39:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36105529, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19881133, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39705757, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9777764, "histo_buckets": [{"distinct_range": 0, "num_eq": 8528119354561301397, "num_range": 0, "upper_bound": "155.122.173.8/2"}, {"distinct_range": 300000, "num_eq": 7164155492646984834, "num_range": 300000, "upper_bound": "244.191.23.77/2"}, {"distinct_range": 16.011583966837954, "num_eq": 8000, "num_range": 60, "upper_bound": "194.60.151.9/5"}, {"distinct_range": 6639.928071571966, "num_eq": 100000000, "num_range": 8000, "upper_bound": "21.173.23.95/11"}, {"distinct_range": 1108111741690323500, "num_eq": 50000000000, "num_range": 1108111741690323491, "upper_bound": "0.230.108.116/18"}, {"distinct_range": 612.1359736782823, "num_eq": 5466185805102299960, "num_range": 800, "upper_bound": "130.154.59.119/18"}, {"distinct_range": 500, "num_eq": 0, "num_range": 500, "upper_bound": "208.192.248.40/22"}, {"distinct_range": 90, "num_eq": 8955322979490486088, "num_range": 90, "upper_bound": "3e68:588e:b2b8:43b1:1e6:58f4:66bc:bd74/42"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67446966, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "BOX(0.5924506349552277 0.21128471022084894,0.8699075858730057 0.6220707630456346)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67221710, "histo_buckets": [{"distinct_range": 0, "num_eq": 3653143997335845393, "num_range": 0, "upper_bound": "-7219528043391736496"}, {"distinct_range": 7000, "num_eq": 200000, "num_range": 7000, "upper_bound": "-6317364887129269252"}, {"distinct_range": 57924825233.19829, "num_eq": 6614484906675022998, "num_range": 70000000000, "upper_bound": "-3513677200877949324"}, {"distinct_range": 0, "num_eq": 5121035478722297379, "num_range": 100000000, "upper_bound": "1446165386271892595"}, {"distinct_range": 0, "num_eq": 80, "num_range": 40000000000, "upper_bound": "2180835551883778680"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 80000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6347278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('ny');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('uezztn', 'xhrz', 'uhewvb');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('vt', 'qiez');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('tce', 'co', 'raiwag', 'ja', 'kzgsod');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 552484, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 129967, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 530207, "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": 290134, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268003, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 354926, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "-1.8726396278061082"}, {"distinct_range": 657.760666318155, "num_eq": 7033469302143904278, "num_range": 1000, "upper_bound": "-0.46357688077487325"}, {"distinct_range": 3225201663.6550965, "num_eq": 1004648188993535618, "num_range": 10000000000, "upper_bound": "-0.39030587604663225"}, {"distinct_range": 200000000, "num_eq": 7000, "num_range": 200000000, "upper_bound": "-0.04893223917906264"}, {"distinct_range": 4623549459054172000, "num_eq": 6200866757890911613, "num_range": 5232608831554844161, "upper_bound": "0.032804179867428895"}, {"distinct_range": 2038141916518312400, "num_eq": 400, "num_range": 5912431182324312968, "upper_bound": "0.43387964144478797"}, {"distinct_range": 5000, "num_eq": 200000, "num_range": 5000, "upper_bound": "0.9429361785164867"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 438981, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 467735, "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": 297387, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 422024, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 151055, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27271, "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": 278954, "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": 171489, "histo_buckets": [{"distinct_range": 0, "num_eq": 9128695257775306126, "num_range": 0, "upper_bound": "1970-12-22"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2499414602007509136, "upper_bound": "1972-05-21"}, {"distinct_range": 4000000, "num_eq": 6000, "num_range": 4000000, "upper_bound": "1974-03-17"}, {"distinct_range": 7135469766641776000, "num_eq": 0, "num_range": 7135469766641775483, "upper_bound": "1978-06-23"}, {"distinct_range": 30.7403973075653, "num_eq": 1000, "num_range": 3000, "upper_bound": "1982-01-17"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "1988-03-18"}, {"distinct_range": 1200954687028098600, "num_eq": 8978484707145418379, "num_range": 8725176135953108757, "upper_bound": "1992-01-10"}, {"distinct_range": 379616665518719940, "num_eq": 6622290365235029152, "num_range": 7187793848510905433, "upper_bound": "1992-01-26"}, {"distinct_range": 5179624927968041000, "num_eq": 10, "num_range": 5882142809624460727, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 209277, "histo_buckets": [{"distinct_range": 0, "num_eq": 3333017503212703852, "num_range": 0, "upper_bound": "BOX(-10 -10,10 10)"}, {"distinct_range": 1.5491877777873282, "num_eq": 70000000, "num_range": 70, "upper_bound": "BOX(-1.8183073775438015 0.027288447212286515,-0.31761111858493724 0.7867815128381521)"}, {"distinct_range": 1015.2064874458293, "num_eq": 3337728274157997896, "num_range": 3000, "upper_bound": "BOX(-1.243846571019036 -2.2089758445288794,0.36425215216590767 -0.7872530537301712)"}, {"distinct_range": 1935.034764164893, "num_eq": 60, "num_range": 30000, "upper_bound": "BOX(-1.097048917184616 -2.57682875255235,1.3684386056881546 0.7988660307481159)"}, {"distinct_range": 113270170.8687512, "num_eq": 70, "num_range": 900000000, "upper_bound": "BOX(-0.8258810320160404 0.42589417082074665,0.5784850444575378 0.9455782456016508)"}, {"distinct_range": 0, "num_eq": 300, "num_range": 2328739122527437582, "upper_bound": "BOX(-0.5462361795009657 0.7632503282986045,0.8859930652412343 1.0620656740455732)"}, {"distinct_range": 20000000000, "num_eq": 6382815751868307263, "num_range": 20000000000, "upper_bound": "BOX(-0.2958958261341642 -0.5018508936313938,1.2259765924850003 0.1729329099877737)"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 534916124493968519, "upper_bound": "BOX(-0.15050043105082078 -0.9200883221993776,0.4375138819622769 -0.07339857112783482)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 295091, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "-8684360537036032129"}, {"distinct_range": 0, "num_eq": 117049267908827031, "num_range": 30, "upper_bound": "-7947156316616041758"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 2334466889857234778, "upper_bound": "-5383931577766932642"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 8262750258749149703, "upper_bound": "-4176532151916848119"}, {"distinct_range": 705301348723094800, "num_eq": 0, "num_range": 1111583015572897725, "upper_bound": "-115896605284228642"}, {"distinct_range": 5161.443072843801, "num_eq": 3206338267146221658, "num_range": 6000, "upper_bound": "2798019781689238987"}, {"distinct_range": 0, "num_eq": 4562928633914980526, "num_range": 1132369745726231427, "upper_bound": "4700526633179222132"}, {"distinct_range": 158368.81050573365, "num_eq": 5237791908098125969, "num_range": 1000000, "upper_bound": "5042124086760800330"}, {"distinct_range": 0, "num_eq": 100, "num_range": 4096733810939063606, "upper_bound": "6635613699075031818"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 600000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 249945, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 600000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 250, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 467, "histo_col_type": "", "name": "__auto__", "null_count": 211, "row_count": 500}, {"columns": ["col2_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 277, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 299, "histo_buckets": [{"distinct_range": 0, "num_eq": 8255581183153109429, "num_range": 0, "upper_bound": "1312872220900280915"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 214, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 160, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 487, "histo_buckets": [{"distinct_range": 0, "num_eq": 1098998643229298517, "num_range": 0, "upper_bound": "-0.7705882635100838"}, {"distinct_range": 50000000, "num_eq": 60000000000, "num_range": 50000000, "upper_bound": "-0.5974223390997219"}, {"distinct_range": 201849678.80157316, "num_eq": 6000, "num_range": 300000000, "upper_bound": "-0.15503931901114473"}, {"distinct_range": 0, "num_eq": 4515913311001662385, "num_range": 90000000000, "upper_bound": "0.5509674646358222"}, {"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "0.7720694881790666"}, {"distinct_range": 3687200184712695000, "num_eq": 2039413185632243895, "num_range": 3687200184712694714, "upper_bound": "1.0822769585416943"}, {"distinct_range": 17949565371.850834, "num_eq": 40000, "num_range": 90000000000, "upper_bound": "1.1075600565867627"}, {"distinct_range": 4432725233827461600, "num_eq": 6000000000, "num_range": 4432725233827461839, "upper_bound": "1.2887211553525353"}, {"distinct_range": 46574290.0708959, "num_eq": 7530170386432839749, "num_range": 100000000, "upper_bound": "1.48346814650112"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_buckets": [{"distinct_range": 0, "num_eq": 7489511931117290032, "num_range": 0, "upper_bound": "000000000000000000000"}, {"distinct_range": 0, "num_eq": 70, "num_range": 8587157545540606528, "upper_bound": "001011100000010100001"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 200000, "upper_bound": "010011001100010101101"}, {"distinct_range": 5840446843340852000, "num_eq": 1972357318870922929, "num_range": 7519562552655843944, "upper_bound": "011101000011101101001"}, {"distinct_range": 28439420923.999187, "num_eq": 60000000, "num_range": 30000000000, "upper_bound": "011101000110011101100"}, {"distinct_range": 1447809.4137270083, "num_eq": 70, "num_range": 2000000, "upper_bound": "110010100010111110000"}, {"distinct_range": 7897677223389150000, "num_eq": 100000000000, "num_range": 8415061225687477526, "upper_bound": "111000011011100001111"}, {"distinct_range": 959017243163816700, "num_eq": 6038877386954297748, "num_range": 959017243163816742, "upper_bound": "111011010100110010100"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 354, "row_count": 500}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 334, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 477, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93, "histo_buckets": [{"distinct_range": 0, "num_eq": 2452301053233721257, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00"}, {"distinct_range": 9171081266394490000, "num_eq": 1000, "num_range": 9171081266394489544, "upper_bound": "1970-10-26 19:11:56.000969"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 8000000, "upper_bound": "1977-12-24 18:43:27.000179"}, {"distinct_range": 1562707486568097000, "num_eq": 2000000, "num_range": 2223020697375432417, "upper_bound": "1979-05-31 22:18:26.00056"}, {"distinct_range": 7698176722899023000, "num_eq": 262362536501969383, "num_range": 8288764824954750182, "upper_bound": "1986-03-15 06:28:18.000771"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 6195098400928183729, "upper_bound": "1995-04-13 18:53:34.000358"}, {"distinct_range": 417486537072257500, "num_eq": 100000000, "num_range": 1176630449334114115, "upper_bound": "2009-03-23 05:42:31.00093"}, {"distinct_range": 0, "num_eq": 5451759230504288505, "num_range": 0, "upper_bound": "2032-11-16 18:43:13.000544"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 124, "row_count": 500}, {"columns": ["col2_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_col_type": "", "name": "__auto__", "null_count": 305, "row_count": 500}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "1986-02-26 02:26:37.000964"}, {"distinct_range": 4490154507102400000, "num_eq": 50000000000, "num_range": 6368567973930423664, "upper_bound": "1995-12-31 00:09:43.000431"}, {"distinct_range": 7363623950065433000, "num_eq": 600, "num_range": 7363623950065432893, "upper_bound": "1997-08-21 12:51:16.000289"}, {"distinct_range": 4213106967928637000, "num_eq": 300000, "num_range": 4488683063243076187, "upper_bound": "1998-01-18 06:26:43.000887"}, {"distinct_range": 7921767229472094000, "num_eq": 40000, "num_range": 7921767229472094354, "upper_bound": "2003-06-17 00:43:32.000662"}, {"distinct_range": 9194634693840966000, "num_eq": 1004612003988043791, "num_range": 9194634693840965292, "upper_bound": "2018-01-25 01:09:55.000317"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 347, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-0.8406831129328074"}, {"distinct_range": 44.002150187920286, "num_eq": 8627862064722681941, "num_range": 90, "upper_bound": "0.7480299842333052"}, {"distinct_range": 90, "num_eq": 1000000000, "num_range": 90, "upper_bound": "1.0"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 198, "row_count": 500}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 351, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 488, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 267, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 87, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500}, {"columns": ["col2_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 242, "histo_col_type": "", "name": "__auto__", "null_count": 302, "row_count": 500}, {"columns": ["col2_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 326, "histo_buckets": [{"distinct_range": 0, "num_eq": 2745781684260381018, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 100000, "num_eq": 60000000000, "num_range": 
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@37cdf01299861235888af3411e699480f5a2d670:

        postgres_1    | 2021-03-04 06:11:37.122 UTC [93] ERROR:  type "geometry" does not exist at character 236
        postgres_1    | 2021-03-04 06:11:37.122 UTC [93] STATEMENT:  SELECT
        postgres_1    |         *
        postgres_1    |     FROM
        postgres_1    |         (
        postgres_1    |             SELECT
        postgres_1    |                 count(*) AS col_57177
        postgres_1    |             FROM
        postgres_1    |                 postgres.public.table3 AS tab_34616
        postgres_1    |             WHERE
        postgres_1    |                 false
        postgres_1    |             GROUP BY
        postgres_1    |                 tab_34616.col3_4
        postgres_1    |             HAVING
        postgres_1    |                 _st_overlaps(st_mpolyfromwkb('\x41'::BYTEA::BYTEA, 2::INT8::INT8)::GEOMETRY::GEOMETRY, NULL::GEOMETRY)::BOOL
        postgres_1    |             ORDER BY
        postgres_1    |                 tab_34616.col3_4
        postgres_1    |         )
        postgres_1    |             AS tab_34617
        postgres_1    |     ORDER BY
        postgres_1    |         col_57177 NULLS FIRST
        test_1        | --- FAIL: TestCompare (641.59s)
        test_1        |     --- FAIL: TestCompare/postgres (40.71s)
        test_1        |         compare_test.go:155: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string("7.0J"),
        test_1        |             +   string("7J"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (SELECT (7.0::FLOAT8::FLOAT8 || 'J'::TEXT::TEXT)::TEXT AS col_57178) AS tab_34618
        test_1        |             ORDER BY
        test_1        |                 col_57178 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        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_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...

    compose_test.go:49: exit status 1
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@b703e663da8ededaee2e28fc39a24e3880ae54cf:

        postgres_1    |         col_40775 NULLS FIRST
        postgres_1    | 2021-03-05 06:12:37.316 UTC [93] ERROR:  column tab_25918.crdb_internal_mvcc_timestamp does not exist at character 31
        postgres_1    | 2021-03-05 06:12:37.316 UTC [93] STATEMENT:  SELECT
        postgres_1    |         *
        postgres_1    |     FROM
        postgres_1    |         (
        postgres_1    |             SELECT
        postgres_1    |                 tab_25918.crdb_internal_mvcc_timestamp AS col_40776
        postgres_1    |             FROM
        postgres_1    |                 postgres.public.table2 AS tab_25918
        postgres_1    |             WHERE
        postgres_1    |                 tab_25918.col2_0
        postgres_1    |         )
        postgres_1    |             AS tab_25919
        postgres_1    |     ORDER BY
        postgres_1    |         col_40776 NULLS FIRST
        test_1        | --- FAIL: TestCompare (628.56s)
        test_1        |     --- FAIL: TestCompare/postgres (27.81s)
        test_1        |         compare_test.go:155: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             -   string(`F0[{"E": {"E": ["F"]}}, "J", {"A": {"B": "E", "I": 5}, "E": false}]`),
        test_1        |             +   string(`F0'[{"E": {"E": ["F"]}}, "J", {"A": {"B": "E", "I": 5}, "E": false}]'`),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |                 *
        test_1        |             FROM
        test_1        |                 (
        test_1        |                     SELECT
        test_1        |                         (('F'::TEXT::TEXT || 0::OID::OID)::TEXT::TEXT || '[{"E": {"E": ["F"]}}, "J", {"A": {"B": "E", "I": 5}, "E": false}]'::JSONB::JSONB)::TEXT
        test_1        |                             AS col_40777
        test_1        |                 )
        test_1        |                     AS tab_25920
        test_1        |             ORDER BY
        test_1        |                 col_40777 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        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
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)

cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@15a185606d5e80b47d9fdd0ed4f54cfe29c527c6:


        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 NOT NULL, col1_1 TIMETZ NULL, col1_2 TIMETZ, col1_3 BOX2D NOT NULL, col1_4 VARCHAR, col1_5 TIME NOT NULL, PRIMARY KEY (col1_5, col1_0 ASC), col1_6 STRING AS (lower(CAST(col1_0 AS STRING))) STORED, col1_7 STRING NULL AS (lower(col1_4)) VIRTUAL, col1_8 STRING NOT NULL AS (lower(CAST(col1_0 AS STRING))) STORED, col1_9 STRING NOT NULL AS (lower(CAST(col1_2 AS STRING))) VIRTUAL, INDEX (col1_6, col1_3 DESC, col1_7, col1_4 DESC, col1_1 ASC, col1_8 DESC, col1_5 ASC, col1_2 DESC, col1_9) WHERE (table1.col1_8 >= 'X':::STRING) OR (table1.col1_0 < '5874897-12-31':::DATE), UNIQUE (col1_6, col1_3, col1_8, col1_2 DESC), FAMILY (col1_4, col1_6), FAMILY (col1_3), FAMILY (col1_2), FAMILY (col1_5), FAMILY (col1_8), FAMILY (col1_1), FAMILY (col1_0));
        test_1        |             CREATE TABLE table2 (col2_0 INT8 NOT NULL, col2_1 BIT(16) NOT NULL, PRIMARY KEY (col2_0), col2_2 INT8 NULL AS (col2_0 + (-1386240520140937277):::INT8) VIRTUAL, FAMILY (col2_1), FAMILY (col2_0));
        test_1        |             CREATE TABLE table3 (col3_0 CHAR NOT NULL, col3_1 NAME NOT NULL, col3_2 BYTES, col3_3 UUID NOT NULL, col3_4 VARCHAR NOT NULL, col3_5 UUID, col3_6 INT4, col3_7 FLOAT8 NOT NULL, col3_8 DECIMAL NOT NULL, col3_9 TIMETZ, PRIMARY KEY (col3_8 ASC, col3_4 DESC, col3_1, col3_3), col3_10 STRING NULL AS (lower(CAST(col3_3 AS STRING))) STORED, col3_11 STRING NOT NULL AS (lower(CAST(col3_9 AS STRING))) VIRTUAL, col3_12 STRING NULL AS (lower(CAST(col3_9 AS STRING))) STORED, col3_13 STRING NOT NULL AS (lower(col3_1)) VIRTUAL, col3_14 STRING NULL AS (IF(col3_2 IS NULL, '':::STRING, '':::STRING)) STORED, col3_15 STRING NOT NULL AS (IF(col3_2 IS NULL, e'\x11\x1d4':::STRING, e'{\\':::STRING)) VIRTUAL, col3_16 STRING NOT NULL AS (lower(col3_1)) VIRTUAL, INDEX (col3_10 ASC, col3_1 ASC, col3_3 ASC) STORING (col3_0, col3_5, col3_9), UNIQUE (col3_11) STORING (col3_2, col3_5, col3_6, col3_7, col3_9, col3_12) WHERE table3.col3_13 > '':::STRING, UNIQUE (col3_13, col3_10, col3_5 ASC, col3_4, col3_14 ASC, col3_3 ASC) STORING (col3_0, col3_9, col3_12) WHERE ((((((((((((((table3.col3_4 >= e'\x00':::STRING) OR (table3.col3_9 > '00:00:00+15:59:00':::TIMETZ)) AND (table3.col3_11 <= e'\x00':::STRING)) OR (table3.col3_14 <= 'X':::STRING)) OR (table3.col3_0 != e'\U00002603':::STRING)) OR (table3.col3_2 = e'\\xe29883':::BYTES)) AND (table3.col3_8 != '-Infinity':::DECIMAL)) OR (table3.col3_16 != 'X':::STRING)) OR (table3.col3_6 > (-32768):::INT8)) OR (table3.col3_7 < 5e-324:::FLOAT8)) AND (table3.col3_10 != '':::STRING)) OR (table3.col3_12 <= e'\x00':::STRING)) AND (table3.col3_13 = '':::STRING)) OR (table3.col3_15 != e'\'':::STRING)) OR (table3.col3_1 = e'\'':::STRING), INDEX (col3_15 DESC, col3_8 DESC, col3_11, col3_3 DESC, col3_1 DESC, col3_0 ASC, col3_10 ASC, col3_12 DESC, col3_9, col3_14 ASC, col3_13 ASC) STORING (col3_7) WHERE table3.col3_14 != '':::STRING, INDEX (col3_2, col3_14, col3_15 ASC, col3_12 ASC, col3_0 DESC, col3_8, col3_11, col3_1 DESC, col3_7 ASC, col3_3 DESC, col3_4 DESC, col3_10 DESC, col3_13), UNIQUE (col3_5, col3_4 DESC), UNIQUE (col3_0, col3_13 DESC, col3_9, col3_1, col3_16 DESC, col3_12 DESC, col3_7 DESC, col3_6 ASC, col3_15 ASC, col3_11 ASC, col3_14 DESC, col3_3 DESC, col3_4 ASC) STORING (col3_5, col3_10), INDEX (col3_11 DESC, col3_14, col3_16, col3_13, col3_1 DESC, col3_3 ASC, col3_0 ASC, col3_2) STORING (col3_7) WHERE ((((table3.col3_9 >= '00:00:00+15:59:00') OR (table3.col3_6 >= 0)) AND (table3.col3_0 <= '"')) OR (table3.col3_7 >= -1.0)) AND (table3.col3_10 > '"'), UNIQUE (col3_16, col3_13) STORING (col3_0, col3_2, col3_10, col3_12) WHERE ((((((((((((((table3.col3_0 != e'\'':::STRING) AND (table3.col3_14 < 'X':::STRING)) OR (table3.col3_11 > '"':::STRING)) OR (table3.col3_10 < '"':::STRING)) OR (table3.col3_1 < e'\x00':::STRING)) OR (table3.col3_9 = '24:00:00-15:59:00':::TIMETZ)) AND (table3.col3_6 = (-1):::INT8)) OR (table3.col3_13 = '':::STRING)) AND (table3.col3_12 != '':::STRING)) AND (table3.col3_15 = e'\x00':::STRING)) OR (table3.col3_2 >= e'\\x00':::BYTES)) AND (table3.col3_7 >= (-1.0):::FLOAT8)) OR (table3.col3_16 = e'\U00002603':::STRING)) OR (table3.col3_4 = e'\'':::STRING)) OR (table3.col3_8 != (-1.234E+401):::DECIMAL), FAMILY (col3_9), FAMILY (col3_3), FAMILY (col3_12, col3_1, col3_0, col3_8, col3_10, col3_4, col3_2, col3_5), FAMILY (col3_6), FAMILY (col3_14, col3_7));
        test_1        |             CREATE TABLE table4 (col4_0 OID NOT NULL, col4_1 REGCLASS NOT NULL, col4_2 UUID NOT NULL, col4_3 TIMESTAMP NULL, col4_4 INT2 NOT NULL, PRIMARY KEY (col4_2 ASC, col4_0 ASC, col4_4 DESC, col4_1 DESC), INDEX (col4_0 ASC, col4_3 DESC, col4_2, col4_1 DESC) WHERE table4.col4_4 = 1, INDEX (col4_1 DESC, col4_3 ASC, col4_0 ASC, col4_4 DESC, col4_2 ASC) WHERE (table4.col4_4 > 1:::INT8) AND (table4.col4_3 = '-4713-11-24 00:00:00':::TIMESTAMP), UNIQUE (col4_1 ASC, col4_2 DESC, col4_3 DESC), INDEX (col4_3 DESC, col4_2 DESC, col4_1), UNIQUE (col4_1 ASC) STORING (col4_3) WHERE (table4.col4_3 = '3000-01-01 00:00:00':::TIMESTAMP) AND (table4.col4_4 = (-1):::INT8), INDEX (col4_4 DESC, col4_1 DESC, col4_2, col4_0 DESC, col4_3) WHERE table4.col4_4 < -128, INDEX (col4_1 ASC, col4_0 DESC), INDEX (col4_3 ASC, col4_0 ASC) WHERE (table4.col4_3 > '-4713-11-24 00:00:00':::TIMESTAMP) AND (table4.col4_4 < (-128):::INT8), FAMILY (col4_0), FAMILY (col4_4), FAMILY (col4_2), FAMILY (col4_3, col4_1));
        test_1        |             CREATE TABLE table5 (col4_2 UUID NOT NULL, col4_0 OID NOT NULL, col4_4 INT2 NOT NULL, col4_1 REGCLASS NOT NULL, col5_4 TIMESTAMPTZ NULL, col5_5 BOOL NULL, col5_6 REGNAMESPACE, col5_7 DATE NOT NULL, col5_8 UUID NULL, col5_9 BIT(25), col5_10 DATE, col5_11 OID, col5_12 STRING NULL, col5_13 BIT(9) NULL, col5_14 DECIMAL, col5_15 BOX2D NULL, col5_16 REGPROC, col5_17 FLOAT8 NULL, col5_18 INT2, col5_19 "char" NOT NULL, col5_20 INT8, col5_21 TIMESTAMPTZ, col5_22 UUID NULL, PRIMARY KEY (col4_2 ASC, col4_0 ASC, col4_4 DESC, col4_1 DESC, col5_15, col5_12, col5_10, col5_22 DESC, col5_21, col5_20 ASC), INDEX (col4_2 DESC, col5_6 DESC, col5_22 ASC, col5_4 DESC, col5_7 ASC, col4_4) STORING (col5_11, col5_17, col5_19) WHERE (((((table5.col5_12 > 'X':::STRING) OR (table5.col5_4 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table5.col5_14 > 'Infinity':::DECIMAL)) OR (NOT table5.col5_5)) AND (table5.col5_20 >= (-2147483648):::INT8)) AND (table5.col5_21 >= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ), INDEX (col5_11, col5_20 ASC, col5_17 ASC, col5_5, col5_4, col5_7 DESC, col5_13, col5_8, col4_2, col5_12, col5_6 ASC, col5_21, col5_18, col5_15, col5_10 DESC, col4_4 ASC, col5_9 DESC) STORING (col5_16) WHERE ((((((((((table5.col5_17 != +Inf) OR (table5.col5_7 < '-infinity')) AND (table5.col4_4 < 0)) OR (table5.col5_19 > '')) OR (table5.col5_20 = 9223372036854775807)) OR (table5.col5_14 >= -Infinity)) OR (table5.col5_18 != 0)) OR (table5.col5_4 > '-2000-01-01 00:00:00+00:00')) OR (table5.col5_10 <= '1970-01-01')) OR (table5.col5_12 = '')) AND (table5.col5_21 = '-2000-01-01 00:00:00+00:00'), UNIQUE (col5_18 DESC, col5_20, col5_16 ASC) STORING (col5_4, col5_5, col5_7, col5_9, col5_11, col5_17, col5_19) WHERE ((((((((table5.col5_20 <= 1:::INT8) OR (table5.col5_19 < '"':::STRING)) OR (table5.col5_21 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table5.col4_4 < 0:::INT8)) AND (table5.col5_7 >= '-infinity':::DATE)) AND (table5.col5_17 >= 0.0:::FLOAT8)) AND (NOT table5.col5_5)) OR (table5.col5_4 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table5.col5_14 >= 0:::DECIMAL), UNIQUE (col5_13 ASC, col5_9 DESC, col5_16 ASC, col5_4 ASC, col5_10 ASC, col5_11) STORING (col5_14, col5_17, col5_18, col5_19) WHERE (((((((table5.col5_7 > '4714-11-24 BC':::DATE) OR (table5.col5_17 > 1.401298464324817e-45:::FLOAT8)) AND (table5.col5_4 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table5.col5_14 >= 1:::DECIMAL)) AND (table5.col4_4 >= 32767:::INT8)) AND (table5.col5_19 > 'X':::STRING)) AND (table5.col5_12 <= e'\'':::STRING)) OR (table5.col5_21 = '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col5_15) WHERE (((((((((((table5.col5_14 <= -1.234E+401) OR (table5.col5_19 <= '"')) AND table5.col5_5) AND (table5.col5_4 < '294276-12-31 23:59:59.999999+00:00')) OR (table5.col5_7 >= '1970-01-01')) AND (table5.col5_18 != 127)) AND (table5.col5_17 < 1.7976931348623157e+308)) AND (table5.col5_21 = '-4713-11-24 00:00:00+00:00')) AND (table5.col5_20 >= 1)) OR (table5.col4_4 > 1)) AND (table5.col5_10 > '-infinity')) AND (table5.col5_12 != ''), UNIQUE (col5_17) WHERE ((((((((table5.col5_14 <= -Infinity) OR (table5.col5_12 >= e'\'')) AND (table5.col5_7 = '4714-11-24 BC')) OR table5.col5_5) AND (table5.col5_4 = '-4713-11-24 00:00:00+00:00')) OR (table5.col5_17 <= 1.401298464324817e-45)) AND (table5.col4_4 <= 0)) AND (table5.col5_20 > -1)) AND (table5.col5_21 < '294276-12-31 23:59:59.999999+00:00'), FAMILY (col5_16, col5_19, col4_2), FAMILY (col5_10), FAMILY (col5_17, col5_8, col4_4, col5_9, col5_22, col5_20), FAMILY (col5_13, col5_4), FAMILY (col4_0, col5_12, col5_6), FAMILY (col5_7), FAMILY (col5_15), FAMILY (col5_18), FAMILY (col4_1, col5_5, col5_11), FAMILY (col5_14), FAMILY (col5_21)) INTERLEAVE IN PARENT table4 (col4_2, col4_0, col4_4, col4_1);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 216254771027013120, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1265794147206773958}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1066174643185176377, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1265794147206773958}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 260030968947934689, "histo_col_type": "", "name": "__auto__", "null_count": 313655606118655331, "row_count": 1265794147206773958}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 471395967863591540, "histo_col_type": "", "name": "__auto__", "null_count": 1236045165376886671, "row_count": 1265794147206773958}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 664998433736180561, "histo_buckets": [{"distinct_range": 0, "num_eq": 631547544408074982, "num_range": 0, "upper_bound": "03:53:59.659221"}, {"distinct_range": 14441605452.822039, "num_eq": 90000000000, "num_range": 30000000000, "upper_bound": "13:53:52.652519"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 900000, "upper_bound": "15:35:45.759427"}, {"distinct_range": 3995127699055695000, "num_eq": 6572433980393097525, "num_range": 3995127699055694629, "upper_bound": "15:54:42.365194"}, {"distinct_range": 476215447158074200, "num_eq": 9000, "num_range": 476215447158074187, "upper_bound": "18:08:39.948153"}, {"distinct_range": 697.2674666487845, "num_eq": 4564191895800563251, "num_range": 2000, "upper_bound": "21:00:14.085099"}, {"distinct_range": 60, "num_eq": 6090350763184166370, "num_range": 60, "upper_bound": "21:45:35.786272"}, {"distinct_range": 60000, "num_eq": 2194729859705560390, "num_range": 60000, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 1265794147206773958}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 365538822621626997, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1265794147206773958}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86360468238104302, "histo_col_type": "", "name": "__auto__", "null_count": 58235993945562105, "row_count": 1265794147206773958}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 484300620225290446, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1265794147206773958}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 657414017284162208, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": ""}, {"distinct_range": 80, "num_eq": 4000000000, "num_range": 80, "upper_bound": "0DEh"}, {"distinct_range": 99721572738804460, "num_eq": 932628384164972300, "num_range": 1282720395317966841, "upper_bound": "5\\u0003Q@%\\u001e\\u0003-"}, {"distinct_range": 1513845656.073877, "num_eq": 1142963737867221774, "num_range": 3000000000, "upper_bound": "9\\u001a\\u0016>6ok|"}, {"distinct_range": 170549720957645860, "num_eq": 627914571183391206, "num_range": 170549720957645871, "upper_bound": "?2\x7fA`Q"}, {"distinct_range": 5000000, "num_eq": 5000000, "num_range": 5000000, "upper_bound": "V6@\\u0016Y"}, {"distinct_range": 0, "num_eq": 7596596521254033286, "num_range": 1000000000, "upper_bound": "^8|7l|\\u001a"}, {"distinct_range": 4256724639328556500, "num_eq": 8669567034190195362, "num_range": 4256724639328556579, "upper_bound": "c|\\u0011M\\n^,\\u0014"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 229350731005393138, "row_count": 1265794147206773958}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 725802106262693476, "histo_col_type": "", "name": "__auto__", "null_count": 666574274396870651, "row_count": 1265794147206773958}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8120339876026732809, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "-2738067086933333306"}, {"distinct_range": 0, "num_eq": 0, "num_range": 300000000, "upper_bound": "-666352504089278289"}, {"distinct_range": 0, "num_eq": 8351651977510021548, "num_range": 700, "upper_bound": "5504336296678046191"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 8725938680964225925}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3160666651936316075, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8725938680964225925}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2709802586169701730, "histo_col_type": "", "name": "__auto__", "null_count": 882347794872119826, "row_count": 8725938680964225925}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179544988, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\u001e"}, {"distinct_range": 6497537566655935000, "num_eq": 4928274586703867671, "num_range": 6497537566655935203, "upper_bound": "%"}, {"distinct_range": 32652.290371994084, "num_eq": 20000000, "num_range": 60000, "upper_bound": ","}, {"distinct_range": 1000, "num_eq": 100000, "num_range": 1000, "upper_bound": ">"}, {"distinct_range": 623921608345892900, "num_eq": 1234093654496551939, "num_range": 1810876926707012248, "upper_bound": "H"}, {"distinct_range": 5715801288383522000, "num_eq": 60000000000, "num_range": 5715801288383521776, "upper_bound": "R"}, {"distinct_range": 70000000000, "num_eq": 2154037107259168460, "num_range": 70000000000, "upper_bound": "m"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65955435, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69780281, "histo_buckets": [{"distinct_range": 0, "num_eq": 6965278607858500375, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 1000, "num_eq": 7570528267296660477, "num_range": 1000, "upper_bound": "\\\\x084da1"}, {"distinct_range": 581437596.2857203, "num_eq": 5000, "num_range": 1000000000, "upper_bound": "\\\\x69945575f5d928691b"}, {"distinct_range": 1049.5823207797182, "num_eq": 60000000000, "num_range": 5000, "upper_bound": "\\\\x6c0224"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 1628283759053908442, "upper_bound": "\\\\x78"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 12610908, "row_count": 200000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 113560714, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185296093, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84487205, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 7586.874489331791, "num_eq": 7769464284832919505, "num_range": 10000, "upper_bound": "\\u000eE"}, {"distinct_range": 0, "num_eq": 621283727523141053, "num_range": 4226169150934492963, "upper_bound": ":S3T\\u0004\\u001ea:\\u0007"}, {"distinct_range": 1131059240272566000, "num_eq": 4240699917729806738, "num_range": 1131059240272565986, "upper_bound": "C\\u0006/7\\u0002?Sn"}, {"distinct_range": 1613723224652914200, "num_eq": 700, "num_range": 7136008650907274546, "upper_bound": "G\\u0005\\u001eA"}, {"distinct_range": 0, "num_eq": 5586935950372233790, "num_range": 4239895152556579783, "upper_bound": "S_I"}, {"distinct_range": 505407966693972160, "num_eq": 600, "num_range": 1646165956434662494, "upper_bound": "nB\'"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28673173, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000000, "num_range": 0, "upper_bound": "B,x_IG"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 121164682, "histo_col_type": "", "name": "__auto__", "null_count": 183354734, "row_count": 200000000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 170697641, "histo_buckets": [{"distinct_range": 0, "num_eq": 819215214199725569, "num_range": 0, "upper_bound": "\\u0001?"}, {"distinct_range": 90, "num_eq": 8940263383968221820, "num_range": 90, "upper_bound": "\\u00053\\r6?"}, {"distinct_range": 202726807054797730, "num_eq": 80000000000, "num_range": 202726807054797740, "upper_bound": "\\t[GP"}, {"distinct_range": 0, "num_eq": 80, "num_range": 50000000000, "upper_bound": "$rR"}, {"distinct_range": 3663965869544974000, "num_eq": 4324066472500712112, "num_range": 8295941514634560943, "upper_bound": "X"}, {"distinct_range": 10000000000, "num_eq": 170359385458385646, "num_range": 10000000000, "upper_bound": "\\\\A\\u0016E"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 197806532, "histo_col_type": "", "name": "__auto__", "null_count": 88427003, "row_count": 200000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57599849, "histo_buckets": [{"distinct_range": 0, "num_eq": 5950511302846624113, "num_range": 0, "upper_bound": "\\nIomiK>N{"}, {"distinct_range": 5204507750221901000, "num_eq": 382723363164251005, "num_range": 5204507750221900919, "upper_bound": "-\\rV"}, {"distinct_range": 1858809261102095400, "num_eq": 0, "num_range": 9075153110123114588, "upper_bound": ">\\u0015t"}, {"distinct_range": 9000000, "num_eq": 5813546035039605392, "num_range": 9000000, "upper_bound": "B"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 155597974, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "1c0cf583-5e49-4e61-be79-8a65a2c7f6a6"}, {"distinct_range": 0, "num_eq": 100, "num_range": 300000000, "upper_bound": "6d776479-da0d-44cf-91bc-2a5e3722df23"}, {"distinct_range": 611367973.141568, "num_eq": 500000, "num_range": 6000000000, "upper_bound": "8eb10ea0-e287-4d36-bb59-e9fd40f33e5e"}, {"distinct_range": 2290765974.47429, "num_eq": 6723856259737741416, "num_range": 20000000000, "upper_bound": "b56a20fa-f932-45fb-b242-fb3e63cef23a"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 50000000, "upper_bound": "c5813769-8e30-4f86-b32f-97378404e245"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 73488688, "row_count": 200000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 81951963, "histo_col_type": "", "name": "__auto__", "null_count": 95045011, "row_count": 200000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 94029027, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13076670, "histo_buckets": [{"distinct_range": 0, "num_eq": 8334300404800335848, "num_range": 0, "upper_bound": "-5.764885020361610767E+31"}, {"distinct_range": 0, "num_eq": 2979840297307223924, "num_range": 40000000, "upper_bound": "-2.554325710926638924E+26"}, {"distinct_range": 3436264560511399400, "num_eq": 0, "num_range": 6253606562164200724, "upper_bound": "-53329.46982653294626"}, {"distinct_range": 0, "num_eq": 100, "num_range": 90000000000, "upper_bound": "-260.7598650847736855"}, {"distinct_range": 35933514871407620, "num_eq": 0, "num_range": 513319513465313869, "upper_bound": "-221.8666274022426662"}, {"distinct_range": 3.4596473217334314, "num_eq": 6688592582748915334, "num_range": 20, "upper_bound": "4.425036197341722339E+23"}, {"distinct_range": 40000000, "num_eq": 2652472909417936965, "num_range": 40000000, "upper_bound": "4.614572653766655506E+32"}, {"distinct_range": 6000, "num_eq": 700000000, "num_range": 6000, "upper_bound": "4.84924569124318485E+33"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 200000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 163333302, "histo_buckets": [{"distinct_range": 0, "num_eq": 792598596243435729, "num_range": 0, "upper_bound": "\\t{o|6\'1Z;"}, {"distinct_range": 780300228457398300, "num_eq": 30, "num_range": 3314667825928435423, "upper_bound": "\\u001b\\u0016B\\u0012"}, {"distinct_range": 1677831789141209000, "num_eq": 1689066243328994811, "num_range": 6626780769255182754, "upper_bound": "0\\u001fq\\nnd\\u0016"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 23933775, "row_count": 200000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31605228, "histo_col_type": "", "name": "__auto__", "null_count": 12333572, "row_count": 200000000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 112934669590140471, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "67971594"}, {"distinct_range": 0, "num_eq": 5884326307159068845, "num_range": 6198255232499908509, "upper_bound": "486610569"}, {"distinct_range": 365307168686865500, "num_eq": 2723695945705366294, "num_range": 4632638533629703239, "upper_bound": "807077034"}, {"distinct_range": 500000000, "num_eq": 1000000000, "num_range": 500000000, "upper_bound": "3446160952"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 900, "upper_bound": "3692833596"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 1480812076325522028}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 442640549438681074, "histo_buckets": [{"distinct_range": 0, "num_eq": 1729027269965314531, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 20, "upper_bound": "436033686"}, {"distinct_range": 3651081241547880400, "num_eq": 60000000, "num_range": 3651081241547880293, "upper_bound": "969555942"}, {"distinct_range": 800000, "num_eq": 6256446750405206857, "num_range": 800000, "upper_bound": "1014523352"}, {"distinct_range": 6057275807926942000, "num_eq": 3386897118061704365, "num_range": 6057275807926941434, "upper_bound": "2676495595"}, {"distinct_range": 299421900634112300, "num_eq": 8563891735138121124, "num_range": 3774511832385547790, "upper_bound": "3969241579"}, {"distinct_range": 9000000, "num_eq": 2241496726728640804, "num_range": 9000000, "upper_bound": "4242732940"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 1480812076325522028}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1325758518972603208, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 800, "num_eq": 8165701355279743998, "num_range": 800, "upper_bound": "2f820d72-b140-4821-814f-57b8b128b943"}, {"distinct_range": 6111695957396387000, "num_eq": 7499440848722868603, "num_range": 7028866067231614743, "upper_bound": "394a6101-4ab2-46a0-b514-f17e581a2baf"}, {"distinct_range": 1289044869589714400, "num_eq": 7972773621118775860, "num_range": 1289044869589714369, "upper_bound": "686f80f2-1907-4a0b-a41a-9c1fe7c53b2d"}, {"distinct_range": 3973325844223246000, "num_eq": 9000000000, "num_range": 7142718305322083831, "upper_bound": "7c3c928a-df44-4dc5-bbef-f54b209b90c4"}, {"distinct_range": 30000000000, "num_eq": 1220652981262441711, "num_range": 30000000000, "upper_bound": "b58bbd6d-1ae7-4bd6-a9c4-0b3168746600"}, {"distinct_range": 219909.71799870764, "num_eq": 10000000, "num_range": 500000, "upper_bound": "f87b60b7-53e3-4fde-b9f1-aa6a3d3ebcc7"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 1480812076325522028}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 471574198290312249, "histo_buckets": [{"distinct_range": 0, "num_eq": 4598442570301432783, "num_range": 0, "upper_bound": "1987-08-02 21:05:36.000088"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 6761756740986186665, "upper_bound": "1991-04-16 13:40:02.000195"}, {"distinct_range": 8000000000, "num_eq": 60, "num_range": 8000000000, "upper_bound": "1992-12-24 00:15:40.000295"}, {"distinct_range": 10000000000, "num_eq": 7903437373141302524, "num_range": 10000000000, "upper_bound": "1996-08-23 07:34:05.00029"}, {"distinct_range": 949452065899706400, "num_eq": 9179566795709005201, "num_range": 6506074154350073077, "upper_bound": "1997-07-30 21:15:12.000674"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 4000, "upper_bound": "2014-11-20 06:35:14.00075"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 813055249354532764, "row_count": 1480812076325522028}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 837720294136367861, "histo_buckets": [{"distinct_range": 0, "num_eq": 8140939835252532827, "num_range": 0, "upper_bound": "-31857"}, {"distinct_range": 4922220344817025000, "num_eq": 70, "num_range": 4922220344817024820, "upper_bound": "-18496"}, {"distinct_range": 5143301323960335000, "num_eq": 3790927083826336331, "num_range": 5143301323960335527, "upper_bound": "-10912"}, {"distinct_range": 0, "num_eq": 80, "num_range": 3374474815176927548, "upper_bound": "-6373"}, {"distinct_range": 54059331.647995844, "num_eq": 400, "num_range": 90000000, "upper_bound": "5171"}, {"distinct_range": 0, "num_eq": 447788642970934866, "num_range": 0, "upper_bound": "12647"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 3430014322218466040, "upper_bound": "14576"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 1480812076325522028}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92675876595268539, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 448344289722665371, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 795717966811945670, "histo_col_type": "", "name": "__auto__", "null_count": 504163089770154990, "row_count": 799923332893416963}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 753588813661749968, "histo_col_type": "", "name": "__auto__", "null_count": 274027390808671658, "row_count": 799923332893416963}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 536608695202080079, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "100110010"}], "histo_col_type": "BIT(9)", "name": "__auto__", "null_count": 443421266641498842, "row_count": 799923332893416963}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 386557982557979569, "histo_col_type": "", "name": "__auto__", "null_count": 716943617851589971, "row_count": 799923332893416963}, {"columns": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 236315981749766770, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "-6744"}, {"distinct_range": 30427829.925198585, "num_eq": 600, "num_range": 80000000, "upper_bound": "-3793"}, {"distinct_range": 897204642682787500, "num_eq": 4366977251498693330, "num_range": 1646318080635036967, "upper_bound": "-2507"}, {"distinct_range": 0, "num_eq": 1239302297018214858, "num_range": 0, "upper_bound": "22869"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 900000000, "upper_bound": "23508"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 404203408809229326, "row_count": 799923332893416963}, {"columns": ["col5_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 349018167557484279, "histo_col_type": "", "name": "__auto__", "null_count": 471519159249277881, "row_count": 799923332893416963}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180365735329061959, "histo_col_type": "", "name": "__auto__", "null_count": 126074023255313469, "row_count": 799923332893416963}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 614059500481447495, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 217736248175071861, "histo_col_type": "", "name": "__auto__", "null_count": 82736993160659463, "row_count": 799923332893416963}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268283788010565107, "histo_col_type": "", "name": "__auto__", "null_count": 51082538751466132, "row_count": 799923332893416963}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 387536782380009410, "histo_col_type": "", "name": "__auto__", "null_count": 618754131611406727, "row_count": 799923332893416963}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 246571111732473412, "histo_col_type": "", "name": "__auto__", "null_count": 387621404315046086, "row_count": 799923332893416963}, {"columns": ["col5_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 628832138195251976, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col5_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 587250244923909226, "histo_col_type": "", "name": "__auto__", "null_count": 12522189576086992, "row_count": 799923332893416963}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266981576034875762, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "5f6189f2-ff2f-4b7a-9ae7-5845725c5ef2"}, {"distinct_range": 100000000000, "num_eq": 1112188192489524779, "num_range": 100000000000, "upper_bound": "790465cb-f42e-4ac8-9cae-685e95a55834"}, {"distinct_range": 951605896680165900, "num_eq": 70000000000, "num_range": 951605896680165893, "upper_bound": "81ee2eb7-a28a-484e-98bb-ea7bd694284e"}, {"distinct_range": 0, "num_eq": 70, "num_range": 50000, "upper_bound": "c2fd350e-fb6c-48d4-89fc-46fb8cdd6d15"}, {"distinct_range": 0, "num_eq": 3450844601565047214, "num_range": 802957243611498972, "upper_bound": "ed6fb09f-e438-45e8-be77-821701bec91a"}, {"distinct_range": 7765785638090130000, "num_eq": 8463368809707591832, "num_range": 7765785638090130432, "upper_bound": "f905bbdc-dd5a-49bf-b31a-24c97742f5ae"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 726966764356790021, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 799923332893416963}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 517570345907500171, "histo_col_type": "", "name": "__auto__", "null_count": 744731485829298973, "row_count": 799923332893416963}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 347257863267632577, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "302919861"}, {"distinct_range": 0, "num_eq": 5865564522006116691, "num_range": 1807865168790576872, "upper_bound": "1005061204"}, {"distinct_range": 1099814003934585600, "num_eq": 200000000, "num_range": 6631287935361465757, "upper_bound": "1215771615"}, {"distinct_range": 30000000000, "num_eq": 6000000000, "num_range": 30000000000, "upper_bound": "1869516262"}, {"distinct_range": 0, "num_eq": 4456355814883324277, "num_range": 4558865460326577750, "upper_bound": "2988642956"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 299048379257512384, "row_count": 799923332893416963}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9578949149972472, "histo_col_type": "", "name": "__auto__", "null_count": 431898144345223204, "row_count": 799923332893416963}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 583539507747192019, "histo_col_type": "", "name": "__auto__", "null_count": 716289814607752984, "row_count": 799923332893416963}, {"columns": ["col5_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 139256134951624429, "histo_col_type": "", "name": "__auto__", "null_count": 95463926066581869, "row_count": 799923332893416963}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_3) REFERENCES table5 (col5_15) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('qp', 'fzb');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17241755558, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1904801805, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 90000, "num_eq": 5661827249485887743, "num_range": 90000, "upper_bound": "01:42:54.222418"}, {"distinct_range": 461242811346427100, "num_eq": 900, "num_range": 461242811346427046, "upper_bound": "05:02:37.75191"}, {"distinct_range": 1455797.446806616, "num_eq": 100000000, "num_range": 70000000, "upper_bound": "05:03:47.550346"}, {"distinct_range": 23237705840.94056, "num_eq": 200000000, "num_range": 60000000000, "upper_bound": "05:04:14.253686"}, {"distinct_range": 0, "num_eq": 300, "num_range": 60000, "upper_bound": "13:35:03.119077"}, {"distinct_range": 226.6237749777999, "num_eq": 1000000, "num_range": 400, "upper_bound": "14:44:41.352058"}, {"distinct_range": 0, "num_eq": 0, "num_range": 100, "upper_bound": "18:57:20.671423"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 10000000, "upper_bound": "21:18:39.591687"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 567218834, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 4000, "num_eq": 7336504492804322005, "num_range": 4000, "upper_bound": "/"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 49551337135, "row_count": 60000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55618933799, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58068073977, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51081878657, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16463509999, "histo_col_type": "", "name": "__auto__", "null_count": 59345549341, "row_count": 60000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37253069862, "histo_col_type": "", "name": "__auto__", "null_count": 19818114347, "row_count": 60000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33763247385, "histo_col_type": "", "name": "__auto__", "null_count": 18548076330, "row_count": 60000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18295336423, "histo_col_type": "", "name": "__auto__", "null_count": 16685734747, "row_count": 60000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5448, "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5461, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4508, "histo_col_type": "", "name": "__auto__", "null_count": 4782, "row_count": 6000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75766, "histo_buckets": [{"distinct_range": 0, "num_eq": 5809829675763433768, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 103.73537697726388, "num_eq": 80000000000, "num_range": 500, "upper_bound": "\\u0010H}\\"\\"!\\u001d"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000, "upper_bound": "\\u0018\\tU\\u00128"}, {"distinct_range": 5820082556213189000, "num_eq": 0, "num_range": 6161932787557501825, "upper_bound": "<[_"}, {"distinct_range": 2608003184245079000, "num_eq": 5034017914247406481, "num_range": 2608003184245079291, "upper_bound": "=|FY\\u0003If\\u0017\\u0010"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 40000000, "upper_bound": "VP\\u0001* !3PR"}, {"distinct_range": 4484.691621749378, "num_eq": 5753051185565842783, "num_range": 9000, "upper_bound": "xk\\u0002"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 2356990976379337311, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 5358, "row_count": 80000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63608, "histo_buckets": [{"distinct_range": 0, "num_eq": 2081226143410519262, "num_range": 0, "upper_bound": "yGzEh"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71358, "histo_buckets": [{"distinct_range": 0, "num_eq": 7958808904311869646, "num_range": 0, "upper_bound": "\\u0004"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 6000000, "upper_bound": "\\u0005"}, {"distinct_range": 0, "num_eq": 60, "num_range": 3350262447617984758, "upper_bound": "\\u001d"}, {"distinct_range": 112356224396880100, "num_eq": 0, "num_range": 311289164432610235, "upper_bound": "#"}, {"distinct_range": 10000000000, "num_eq": 7000, "num_range": 10000000000, "upper_bound": "G"}, {"distinct_range": 8599267242426706000, "num_eq": 4908028941964935940, "num_range": 8599267242426705831, "upper_bound": "\\\\"}, {"distinct_range": 4358938984643650000, "num_eq": 100, "num_range": 4358938984643650237, "upper_bound": "n"}, {"distinct_range": 0, "num_eq": 8143734360590418288, "num_range": 800, "upper_bound": "t"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65320, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26782, "histo_col_type": "", "name": "__auto__", "null_count": 61161, "row_count": 80000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59000, "histo_buckets": [{"distinct_range": 0, "num_eq": 4237253991748766624, "num_range": 0, "upper_bound": "108c241c-7db1-4dc0-9665-e311d89c37e2"}, {"distinct_range": 16032978.305565096, "num_eq": 80, "num_range": 90000000, "upper_bound": "5c59535d-204e-4421-8b76-9aa192469d32"}, {"distinct_range": 14202.704360947677, "num_eq": 4437054944355545527, "num_range": 50000, "upper_bound": "77a923e5-7309-4623-bb19-74446538adfa"}, {"distinct_range": 70000, "num_eq": 800000, "num_range": 70000, "upper_bound": "7fb804f6-8919-4426-b995-4c8cf6d4cf55"}, {"distinct_range": 0, "num_eq": 30, "num_range": 4273782342248607852, "upper_bound": "a28b8f0c-0721-4232-88f0-a2af60abbdbc"}, {"distinct_range": 90000000000, "num_eq": 0, "num_range": 90000000000, "upper_bound": "ba120ca9-c701-4240-aa83-596e2795e03b"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 37195, "row_count": 80000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77247, "histo_col_type": "", "name": "__auto__", "null_count": 70280, "row_count": 80000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46847, "histo_col_type": "", "name": "__auto__", "null_count": 69912, "row_count": 80000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32484, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39130, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62344, "histo_buckets": [{"distinct_range": 0, "num_eq": 6650587174951548505, "num_range": 0, "upper_bound": ""}, {"distinct_range": 6564.925179739075, "num_eq": 1614367794261874834, "num_range": 10000, "upper_bound": "\\u0017K\\u001d\\u0004\\u0017\\u001b"}, {"distinct_range": 0, "num_eq": 400, "num_range": 8260430375585525593, "upper_bound": "0iH<ru<"}, {"distinct_range": 7760707666923300000, "num_eq": 100000000, "num_range": 8451109131424509504, "upper_bound": "S7\\u000f3Y"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 3532612144327528115, "upper_bound": "`\\u001c|G\\u0003_~R"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 4355914324351619431, "upper_bound": "e\\u000bYw\\u000fv."}, {"distinct_range": 9000000, "num_eq": 0, "num_range": 9000000, "upper_bound": "s-*\x7f"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70527, "histo_col_type": "", "name": "__auto__", "null_count": 64303, "row_count": 80000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73857, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "\\u001dO|\\"JkYd"}, {"distinct_range": 311746830605202940, "num_eq": 7000, "num_range": 372995165328401288, "upper_bound": "5 \\r%\\u000f\\u00028ox"}, {"distinct_range": 3506775163295222000, "num_eq": 0, "num_range": 3506775163295221681, "upper_bound": "A_I.`\\u000e"}, {"distinct_range": 0, "num_eq": 6383410302619287301, "num_range": 5539559979830277216, "upper_bound": "K#l\\tJh55"}, {"distinct_range": 0, "num_eq": 754223837117424728, "num_range": 0, "upper_bound": "p"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54518, "histo_buckets": [{"distinct_range": 0, "num_eq": 5540845588919625644, "num_range": 0, "upper_bound": "k_\\"U;Y"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59109, "histo_buckets": [{"distinct_range": 0, "num_eq": 6432573140419820707, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 7207360360067402000, "num_eq": 2751810126397479886, "num_range": 7207360360067402129, "upper_bound": "\\\\x10"}, {"distinct_range": 34915.78388760007, "num_eq": 0, "num_range": 40000, "upper_bound": "\\\\x3abc64"}, {"distinct_range": 12820786.887250269, "num_eq": 50000000, "num_range": 500000000, "upper_bound": "\\\\x55f7a358ed"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 10000000, "upper_bound": "\\\\x9d1bf62654749907"}, {"distinct_range": 0, "num_eq": 877906252677953776, "num_range": 4000000, "upper_bound": "\\\\xb793d7dfa342"}, {"distinct_range": 40, "num_eq": 5215591820746225785, "num_range": 40, "upper_bound": "\\\\xf2b806df"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 31207, "row_count": 80000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31737, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13411, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "-1.229545856667176848E+19"}, {"distinct_range": 0, "num_eq": 400, "num_range": 4565352414481170458, "upper_bound": "4.876990498167291158E+24"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 80000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3242175930767232864, "histo_buckets": [{"distinct_range": 0, "num_eq": 4147639520738950186, "num_range": 0, "upper_bound": "202075972"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 8854764298617233231, "upper_bound": "567755361"}, {"distinct_range": 774746271534977400, "num_eq": 6242141059233092812, "num_range": 8313746118860035807, "upper_bound": "841635421"}, {"distinct_range": 0, "num_eq": 300, "num_range": 70000000, "upper_bound": "1183011477"}, {"distinct_range": 2990273904803306000, "num_eq": 4000000, "num_range": 7281658219550550558, "upper_bound": "1446910974"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 8945372510552889525}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4116322646312469686, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "2868673383"}, {"distinct_range": 200000000, "num_eq": 7329551466206994685, "num_range": 200000000, "upper_bound": "3509284517"}, {"distinct_range": 5971675444772085000, "num_eq": 70000000, "num_range": 5971675444772084822, "upper_bound": "4216807093"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 8945372510552889525}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7217441301180799283, "histo_buckets": [{"distinct_range": 0, "num_eq": 1762189083982635564, "num_range": 0, "upper_bound": "5ff98095-824a-4060-880d-0055d7d4dc50"}, {"distinct_range": 1085.9315764268467, "num_eq": 10000000, "num_range": 4000, "upper_bound": "884b82df-3b04-46ee-bc47-409233debaeb"}, {"distinct_range": 2619795256514235400, "num_eq": 100000000000, "num_range": 4838443969185720634, "upper_bound": "ae043b76-88d2-4e3d-bece-ed19fb2b3405"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 8945372510552889525}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3180716602661967082, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000000, "num_range": 0, "upper_bound": "1974-07-22 11:53:58.000629"}, {"distinct_range": 0, "num_eq": 70, "num_range": 70000000, "upper_bound": "1999-06-30 16:59:40.0007"}, {"distinct_range": 8993728149601942000, "num_eq": 0, "num_range": 8993728149601941952, "upper_bound": "1999-11-01 04:31:02.000566"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "2000-10-23 00:13:57.00004"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 70000000000, "upper_bound": "2016-05-25 07:27:05.000455"}, {"distinct_range": 7000000000, "num_eq": 6877467847481537984, "num_range": 7000000000, "upper_bound": "2017-03-05 13:56:33.000915"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 7778906842734278912, "row_count": 8945372510552889525}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8191426038648120613, "histo_buckets": [{"distinct_range": 0, "num_eq": 233282399338445593, "num_range": 0, "upper_bound": "-32038"}, {"distinct_range": 0, "num_eq": 5007658354734931535, "num_range": 50000, "upper_bound": "-17059"}, {"distinct_range": 8896119081995721000, "num_eq": 1425019040616724456, "num_range": 8896119081995720963, "upper_bound": "-11266"}, {"distinct_range": 9000000000, "num_eq": 1000000000, "num_range": 9000000000, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4061891568323003871, "upper_bound": "15981"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 3563727650633875117, "upper_bound": "23945"}, {"distinct_range": 0, "num_eq": 5476263617636016792, "num_range": 8937616276585160139, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 8945372510552889525}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col5_19"], "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": ["col5_21"], "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": ["col5_22"], "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": ["col4_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": ["col4_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": ["col5_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": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 5355054461877142485, "num_range": 0, "upper_bound": "-9346"}, {"distinct_range": 70000000, "num_eq": 3494677246356996697, "num_range": 70000000, "upper_bound": "4528"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col5_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": ["col5_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": ["col5_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": ["col5_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": ["col5_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": ["col5_15"], "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": "BOX(-1.7666536020358075 -0.7727357029585952,0.7518442390681302 -0.7221528010741756)"}, {"distinct_range": 416309533082527040, "num_eq": 80000, "num_range": 2246088778860197855, "upper_bound": "BOX(-1.1633862437099827 -0.07161723806635145,1.305781775459571 0.8168668376016264)"}, {"distinct_range": 0, "num_eq": 8030501716918308071, "num_range": 6074412960066578174, "upper_bound": "BOX(-1.1623793463295273 -0.9166923651255335,0.3981783969178254 3.312309586019186)"}, {"distinct_range": 2689591669964588500, "num_eq": 1886990064960613316, "num_range": 2689591669964588558, "upper_bound": "BOX(-0.2196921391566721 -0.5294535510528517,0.5108622588316915 0.1391092663496813)"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 6098688074744278838, "upper_bound": "BOX(-0.17873579954500257 -0.07364716048898046,0.4437670607134123 0.6153359792718693)"}, {"distinct_range": 800000, "num_eq": 10, "num_range": 800000, "upper_bound": "BOX(0.5358093918627306 -0.1289008398884539,0.9162650982517734 0.15269426822249438)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col4_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": ["col5_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": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1799866045563848848, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 4355625618807865786, "num_range": 300000000, "upper_bound": "177251298"}, {"distinct_range": 0, "num_eq": 2670542217566900785, "num_range": 30000000000, "upper_bound": "2017349801"}, {"distinct_range": 8313190603685956000, "num_eq": 10000, "num_range": 8313190603685955694, "upper_bound": "3225918474"}, {"distinct_range": 100000, "num_eq": 3172379786456264523, "num_range": 100000, "upper_bound": "3468664493"}, {"distinct_range": 1001573070308910100, "num_eq": 80, "num_range": 3726010168557304758, "upper_bound": "4041858335"}, {"distinct_range": 1740529294803022300, "num_eq": 7693914955530524669, "num_range": 3451603341102276817, "upper_bound": "4046505967"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6193850513359324711, "num_range": 0, "upper_bound": "000000000"}, {"distinct_range": 800, "num_eq": 40000000, "num_range": 800, "upper_bound": "010010011"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 20000000000, "upper_bound": "010111001"}, {"distinct_range": 520380259.0084127, "num_eq": 3000, "num_range": 80000000000, "upper_bound": "011111010"}, {"distinct_range": 7000000, "num_eq": 9000000, "num_range": 7000000, "upper_bound": "101000001"}, {"distinct_range": 7499063750469386000, "num_eq": 90000000, "num_range": 8103571948162834570, "upper_bound": "111001010"}], "histo_col_type": "BIT(9)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col5_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}, {"columns": ["col5_20"], "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": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "ad22d9e3-c3ed-44fb-b7ca-eefd9252dac8"}, {"distinct_range": 0, "num_eq": 8002856828688255992, "num_range": 4000, "upper_bound": "b5c683ca-c8a3-41c5-a9c5-eef1fd772961"}, {"distinct_range": 594889284119941100, "num_eq": 0, "num_range": 1560660953464226050, "upper_bound": "c670a9eb-430e-4b8c-96cc-63f15e5a485f"}, {"distinct_range": 3657795415321801000, "num_eq": 30000000, "num_range": 5843501416970093426, "upper_bound": "d3b1c481-4093-4a8b-804a-1af072dae729"}, {"distinct_range": 0, "num_eq": 5186568058374225370, "num_range": 30000000000, "upper_bound": "e135ca65-856a-42fc-a7b9-ceb8c27f6b9e"}, {"distinct_range": 728747.0111718748, "num_eq": 70000000000, "num_range": 800000, "upper_bound": "fa1399a0-61b4-4189-b9a1-10933deb661f"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col5_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": ["col5_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": ["col5_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}]';
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_7) REFERENCES table5 (col5_17) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1115718542313379225, "histo_col_type": "", "name": "__auto__", "null_count": 4769989289314669474, "row_count": 5724786211335483416}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5680657391063344373, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5724786211335483416}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3555252214927514720, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5724786211335483416
cockroach-teamcity commented 3 years ago

(compose).TestComposeCompare failed on master@a69e6549a71f5a0e83eb13509001f4d7351050fb:

        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_0 DESC, col2_3, col2_10, col2_11);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col2_6);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_0 ASC, col2_10 ASC, col2_4, col2_2 DESC, col2_3 ASC);
        test_1        |             CREATE TABLE table4 (col1_1 INET NOT NULL, col1_0 BOOL NOT NULL, col4_2 INT8, col4_3 BOOL NULL, col4_4 BOOL NOT NULL, col4_5 INT8 NOT NULL, col4_6 INET NOT NULL, col4_7 FLOAT8 NOT NULL, col4_8 NAME NOT NULL, col4_9 INT8 NOT NULL, col4_10 DECIMAL NOT NULL, col4_11 CHAR NULL, col4_12 "char", col4_13 INET NOT NULL, col4_14 BIT(26) NULL, col4_15 BIT(42), col4_16 BIT(29), PRIMARY KEY (col1_1, col1_0, col4_7, col4_16, col4_10, col4_6, col4_8, col4_12, col4_3, col4_15, col4_13, col4_5, col4_9, col4_2, col4_14));
        test_1        |             CREATE INDEX ON table4 (col4_6, col4_15 ASC, col4_5);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_15 ASC, col4_3 ASC, col4_16, col4_13 ASC, col4_12 DESC, col4_6 DESC, col4_5 DESC) INCLUDE (col4_4, col4_11);
        test_1        |             CREATE INDEX ON table4 (col4_12 DESC, col4_6, col4_5, col4_16 DESC, col1_0 ASC);
        test_1        |             CREATE INDEX ON table4 (col4_13 ASC, col4_3 ASC, col4_12 ASC, col4_16 ASC, col4_14 DESC, col4_5 ASC, col1_0 ASC, col4_7 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_3 DESC, col4_10, col4_2 DESC, col4_14 DESC, col4_5 ASC, col4_8, col4_15 ASC, col4_7, col1_0 ASC, col4_12 DESC, col1_1 DESC, col4_6 DESC, col4_16 DESC, col4_11, col4_4 DESC, col4_9 ASC);
        test_1        |             CREATE TABLE table5 (col5_0 UUID[] NULL, col5_1 OID NOT NULL, col5_2 FLOAT8, col5_3 REGTYPE NOT NULL, col5_4 TIMESTAMPTZ NOT NULL, col5_5 "char" NOT NULL, col5_6 BOX2D NOT NULL, col5_7 VARCHAR NOT NULL, col5_8 BOOL NOT NULL, col5_9 REGNAMESPACE NOT NULL, PRIMARY KEY (col5_9, col5_4, col5_8, col5_5, col5_6, col5_1, col5_3), col5_10 TEXT NOT NULL AS (lower(col5_5)) STORED, col5_11 FLOAT8 NOT NULL AS (col5_2 + (-0.9375656768674862)::FLOAT8) STORED, col5_12 TEXT NULL AS (lower(CAST(col5_3 AS TEXT))) VIRTUAL);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('focd', 'gyirq', 'g', 'v', 'gmst', 'unrhkh');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('v', 'jmoxi', 'fgmsn', 'dmbes', 'laygbj');
        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 INTERVAL NOT NULL, col1_1 BOOL NOT NULL, col1_2 FLOAT4 NOT NULL, PRIMARY KEY (col1_0 ASC, col1_1, col1_2), col1_3 STRING NOT NULL AS (lower(CAST(col1_0 AS STRING))) STORED, UNIQUE (col1_2 DESC, col1_0 DESC, col1_3) WHERE NOT table1.col1_1, INDEX (col1_0 ASC, col1_1 DESC, col1_2, col1_3 ASC), INDEX (col1_0, col1_1 ASC, col1_2 ASC) STORING (col1_3) WHERE table1.col1_1, INDEX (col1_0, col1_1 ASC, col1_2 DESC) STORING (col1_3) WHERE ((table1.col1_3 >= 'X':::STRING) AND (table1.col1_2 >= (-1.0):::FLOAT8)) AND table1.col1_1, UNIQUE (col1_3, col1_0, col1_1 DESC, col1_2) WHERE table1.col1_2 > 1.0:::FLOAT8, FAMILY (col1_2, col1_1, col1_0), FAMILY (col1_3));
        test_1        |             CREATE TABLE table2 (col1_0 INTERVAL NOT NULL, col1_1 BOOL NOT NULL, col1_2 FLOAT4 NOT NULL, col2_3 CHAR, col2_4 BOOL, col2_5 NAME NULL, col2_6 INTERVAL NULL, col2_7 TIMESTAMPTZ NULL, col2_8 DECIMAL NULL, col2_9 VARCHAR NOT NULL, PRIMARY KEY (col1_0 ASC, col1_1, col1_2, col2_9, col2_4 ASC, col2_5, col2_6 ASC), INDEX (col2_3, col2_4, col1_0 DESC, col2_7, col2_6 DESC, col1_2 DESC) WHERE ((((((table2.col2_3 = e'\U00002603':::STRING) OR (table2.col1_2 >= 1.401298464324817e-45:::FLOAT8)) AND (table2.col2_7 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (NOT table2.col1_1)) OR (NOT table2.col2_4)) AND (table2.col2_8 > 'Infinity':::DECIMAL)) OR (table2.col2_9 = e'\'':::STRING), UNIQUE (col2_7, col2_6, col1_1 ASC, col2_9, col2_3 ASC, col1_2 ASC, col2_5 ASC, col2_8, col2_4 DESC, col1_0 DESC) WHERE (((((table2.col2_8 < -1) OR (table2.col2_9 < '')) OR (NOT table2.col1_1)) OR (table2.col2_5 = e'\'')) AND (NOT table2.col2_4)) OR (table2.col1_2 = 3.4028234663852886e+38), UNIQUE (col1_0, col1_1) WHERE ((table2.col2_9 < '"') AND (NOT table2.col2_4)) OR (table2.col2_8 >= Infinity), UNIQUE (col1_2) WHERE (((((NOT table2.col1_1) OR (table2.col2_7 <= '0001-01-01 00:00:00+00:00')) OR (table2.col2_9 > e'\x00')) AND (NOT table2.col2_4)) OR (table2.col2_8 < Infinity)) OR (table2.col2_5 < e'\U00002603'), FAMILY (col1_0), FAMILY (col2_7, col2_8, col1_2), FAMILY (col1_1, col2_3), FAMILY (col2_6), FAMILY (col2_5, col2_4), FAMILY (col2_9)) INTERLEAVE IN PARENT table1 (col1_0, col1_1, col1_2);
        test_1        |             CREATE TABLE table3 (col3_0 REGCLASS NOT NULL, col3_1 BIT(6) NOT NULL, col3_2 INET NOT NULL, col3_3 VARCHAR, col3_4 BIT(48) NOT NULL, col3_5 REGTYPE NOT NULL, col3_6 INTERVAL, col3_7 STRING NOT NULL, col3_8 TIMESTAMPTZ[] NULL, col3_9 INET[] NOT NULL, col3_10 STRING NOT NULL, col3_11 INT2 NOT NULL, col3_12 FLOAT4 NOT NULL, col3_13 DECIMAL NOT NULL, col3_14 INTERVAL NOT NULL, PRIMARY KEY (col3_1 DESC, col3_2, col3_13 ASC, col3_0 ASC, col3_12, col3_4 DESC, col3_10 DESC, col3_5 DESC, col3_14, col3_7 DESC, col3_11 DESC), FAMILY (col3_12), FAMILY (col3_13, col3_3), FAMILY (col3_2), FAMILY (col3_11, col3_9, col3_4, col3_5, col3_8, col3_6, col3_1, col3_14), FAMILY (col3_0, col3_10), FAMILY (col3_7));
        test_1        |             CREATE TABLE table4 (col4_0 BOOL NOT NULL, PRIMARY KEY (col4_0 DESC), UNIQUE (col4_0 ASC) WHERE table4.col4_0, INDEX (col4_0 DESC) WHERE table4.col4_0, INDEX (col4_0 DESC), UNIQUE (col4_0) WHERE NOT table4.col4_0, INDEX (col4_0 DESC) WHERE NOT table4.col4_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79196605960251280, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-79 years -2 mons -70 days -12:20:08.146321"}, {"distinct_range": 5490.168981520715, "num_eq": 0, "num_range": 20000, "upper_bound": "-43 years -6 mons -453 days -18:38:18.542467"}, {"distinct_range": 730594.3319651493, "num_eq": 30000000000, "num_range": 1000000, "upper_bound": "-5 years -9 mons -433 days -10:28:26.364534"}, {"distinct_range": 10262335788141418, "num_eq": 0, "num_range": 245729826884324308, "upper_bound": "3 mons 331 days 07:11:21.610326"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5400899098657598663}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1706118621225121754, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5400899098657598663}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1069943805476436752, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000, "num_range": 0, "upper_bound": "-0.11048372834920883"}, {"distinct_range": 576860859093206300, "num_eq": 6004615879563793583, "num_range": 4517388546945580816, "upper_bound": "0.251321405172348"}, {"distinct_range": 6308861377282448000, "num_eq": 6867087207420249425, "num_range": 6308861377282448776, "upper_bound": "0.6030879616737366"}, {"distinct_range": 0, "num_eq": 8784916515399704155, "num_range": 0, "upper_bound": "1.1463569402694702"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5400899098657598663}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1886709535182471880, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 5400899098657598663}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 33, "row_count": 60}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39, "histo_col_type": "", "name": "__auto__", "null_count": 52, "row_count": 60}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "-22 years -7 mons -510 days -01:36:07.530209"}, {"distinct_range": 4830054171591930000, "num_eq": 7000000, "num_range": 7933181000071776532, "upper_bound": "-2 years -8 mons -820 days -12:57:27.648054"}, {"distinct_range": 171.0332413170249, "num_eq": 10000000, "num_range": 7000, "upper_bound": "-1 years -7 mons -808 days -08:22:20.601554"}, {"distinct_range": 0, "num_eq": 800, "num_range": 80000000000, "upper_bound": "44 years 7 mons 55 days 06:23:59.676042"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 60000, "upper_bound": "72 years 10 mons 463 days 08:43:48.603624"}, {"distinct_range": 0, "num_eq": 1202812101624244714, "num_range": 40000, "upper_bound": "79 years 2 mons 318 days 09:07:51.697808"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 25, "row_count": 60}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_col_type": "", "name": "__auto__", "null_count": 5, "row_count": 60}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 49, "row_count": 60}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000, "num_range": 0, "upper_bound": "1988-02-02 20:28:37.00044+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 35, "row_count": 60}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_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": ["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_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_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": ["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_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_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_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": 2954739137700684910, "num_range": 0, "upper_bound": "110011"}], "histo_col_type": "BIT(6)", "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": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_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": ["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_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_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_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}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 836622769660801694, "histo_buckets": [{"distinct_range": 0, "num_eq": 737901937211062501, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7078762953490225305, "num_range": 20000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 1830916667604516163}]':::JSONB;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_0, col1_1) REFERENCES table2 (col1_0, col1_1) ON DELETE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('hwgn');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 2395017136048865782, "num_range": 0, "upper_bound": "-Inf"}, {"distinct_range": 8391037619156851000, "num_eq": 90000000, "num_range": 8391037619156850713, "upper_bound": "-2.5504941940307617"}, {"distinct_range": 5787000767511247000, "num_eq": 2000000, "num_range": 5787000767511246972, "upper_bound": "-0.7717456817626953"}, {"distinct_range": 3626018756685432300, "num_eq": 6232691170618239509, "num_range": 3626018756685432143, "upper_bound": "-0.5310457944869995"}, {"distinct_range": 800000, "num_eq": 9000000000, "num_range": 800000, "upper_bound": "-0.09209328144788742"}, {"distinct_range": 6210568423128548000, "num_eq": 4000000000, "num_range": 6210568423128548757, "upper_bound": "0.7523565292358398"}, {"distinct_range": 3595673695237039600, "num_eq": 6793268175451204777, "num_range": 3595673695237039815, "upper_bound": "0.7801294922828674"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 10000000000, "upper_bound": "1.0"}, {"distinct_range": 2311644943439833000, "num_eq": 100000000000, "num_range": 2311644943439832905, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "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": 8781041706096683049, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 400000, "upper_bound": "4T;"}, {"distinct_range": 50000000, "num_eq": 7989942209939188960, "num_range": 50000000, "upper_bound": "?<T\\u0001@"}, {"distinct_range": 0, "num_eq": 50, "num_range": 10000000, "upper_bound": "?L\\u0014D\\u0005rj\\t"}, {"distinct_range": 0, "num_eq": 30000000000, "num_range": 6526772658997115921, "upper_bound": "mM%h\\u001b"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 1557100043075267422, "num_range": 0, "upper_bound": "-4 years -2 mons -820 days -06:11:34.760047"}], "histo_col_type": "INTERVAL", "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}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2541031878823357007, "histo_col_type": "", "name": "__auto__", "null_count": 1480036483051995473, "row_count": 3229464096032393642}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 424932914300793482, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3229464096032393642}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 945596207051162046, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3229464096032393642}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3114840222157071339, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3229464096032393642}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1671876939718463799, "histo_col_type": "", "name": "__auto__", "null_count": 2277133264495307928, "row_count": 3229464096032393642}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2335202610600019860, "histo_col_type": "", "name": "__auto__", "null_count": 1271340686666362990, "row_count": 3229464096032393642}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 891955771278776408, "histo_col_type": "", "name": "__auto__", "null_count": 963836975788137455, "row_count": 3229464096032393642}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 208363745296069659, "histo_buckets": [{"distinct_range": 0, "num_eq": 7454198047156199177, "num_range": 0, "upper_bound": "1970-03-06 03:10:19.000701+00:00"}, {"distinct_range": 0, "num_eq": 645090224221304543, "num_range": 90000, "upper_bound": "1993-07-11 02:39:08.000822+00:00"}, {"distinct_range": 471940091.11812854, "num_eq": 6000000, "num_range": 10000000000, "upper_bound": "2007-09-08 16:31:34.000875+00:00"}, {"distinct_range": 87090474392629860, "num_eq": 5374895985719650457, "num_range": 413399340578559091, "upper_bound": "2013-09-20 12:51:52.000759+00:00"}, {"distinct_range": 0, "num_eq": 1633496563595427427, "num_range": 0, "upper_bound": "2016-02-17 10:13:25.000908+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 2974062905372334092, "row_count": 3229464096032393642}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1879760386620282515, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "-51 years -3 mons -441 days -12:06:12.157988"}, {"distinct_range": 70000000000, "num_eq": 10, "num_range": 70000000000, "upper_bound": "-12 years -7 mons -383 days -22:40:34.626616"}, {"distinct_range": 400000, "num_eq": 4296706200270010273, "num_range": 400000, "upper_bound": "00:00:00"}, {"distinct_range": 2241105668520076000, "num_eq": 6000000, "num_range": 3742220859340887480, "upper_bound": "21 years 11 mons 855 days 19:58:32.879818"}, {"distinct_range": 7397976534124131000, "num_eq": 1000000000, "num_range": 7397976534124131398, "upper_bound": "25 years 8 mons 535 days 24:28:45.283109"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 3229464096032393642}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1077991666163390382, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 2828121979292986338, "row_count": 3229464096032393642}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"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_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_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_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": 3183210051150806160, "num_range": 0, "upper_bound": "000000"}, {"distinct_range": 4844603359049065000, "num_eq": 1856479117989023769, "num_range": 4844603359049065239, "upper_bound": "000011"}, {"distinct_range": 2367412391730451000, "num_eq": 900000000, "num_range": 5517265684909587897, "upper_bound": "011111"}, {"distinct_range": 0, "num_eq": 3820648922678630887, "num_range": 10000000, "upper_bound": "100000"}, {"distinct_range": 90724.76617129614, "num_eq": 6098140784170501418, "num_range": 100000, "upper_bound": "101101"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 200, "upper_bound": "110011"}, {"distinct_range": 0, "num_eq": 800, "num_range": 50000000, "upper_bound": "111001"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col3_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": ["col3_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": ["col3_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": ["col3_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": ["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_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_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_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_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}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4197107610453098901, "histo_buckets": [{"distinct_range": 0, "num_eq": 6473746900697992558, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 2728482381054190000, "num_eq": 8320242966751217870, "num_range": 3304752460157119285, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 8878175821411329597}]';
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2) REFERENCES table2 (col1_2) ON DELETE RESTRICT;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62959300, "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27534574, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 74176382, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "-1.7007179260253906"}, {"distinct_range": 2539782.400747123, "num_eq": 8795903201563189307, "num_range": 5000000, "upper_bound": "-1.6839162111282349"}, {"distinct_range": 935305087777705100, "num_eq": 7096226057792065168, "num_range": 1067706902804988559, "upper_bound": "0.7313703298568726"}, {"distinct_range": 7746960999937702000, "num_eq": 118513250149217825, "num_range": 7746960999937701526, "upper_bound": "3.4028234663852886e+38"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 100000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36830887, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 100000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4072345534492998757, "histo_col_type": "", "name": "__auto__", "null_count": 4582388041731040201, "row_count": 5141315667969328798}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2941713012820182487, "histo_buckets": [{"distinct_range": 0, "num_eq": 6122867518441497528, "num_range": 0, "upper_bound": "1977-05-31 13:19:16.000527+00:00"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 700000, "upper_bound": "1988-03-20 05:45:32.00068+00:00"}, {"distinct_range": 1000000, "num_eq": 20000000000, "num_range": 1000000, "upper_bound": "2021-10-30 11:05:30.000593+00:00"}, {"distinct_range": 1000000, "num_eq": 7583682034784661835, "num_range": 1000000, "upper_bound": "2029-02-14 02:42:48.000781+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 4425667780681353674, "row_count": 5141315667969328798}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3397492705360676399, "histo_col_type": "", "name": "__auto__", "null_count": 4020031807629497382, "row_count": 5141315667969328798}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3551530664477815019, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5141315667969328798}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3003437755954208442, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "-1.0"}, {"distinct_range": 404086.6780858905, "num_eq": 6923529822235801820, "num_range": 900000, "upper_bound": "-0.8853101134300232"}, {"distinct_range": 0, "num_eq": 1515843247179626349, "num_range": 6625873628972848168, "upper_bound": "-0.23322097957134247"}, {"distinct_range": 4075222034955150300, "num_eq": 5000000000, "num_range": 4075222034955150441, "upper_bound": "0.0"}, {"distinct_range": 3351351597537947000, "num_eq": 100, "num_range": 3351351597537947126, "upper_bound": "0.15363696217536926"}, {"distinct_range": 1111553834111595600, "num_eq": 7028838145628854118, "num_range": 1111553834111595608, "upper_bound": "0.22961659729480743"}, {"distinct_range": 35.46268899808339, "num_eq": 500000, "num_range": 70, "upper_bound": "0.6954238414764404"}, {"distinct_range": 0, "num_eq": 800, "num_range": 6759933977274774757, "upper_bound": "1.2324718236923218"}, {"distinct_range": 4248.629125590746, "num_eq": 0, "num_range": 9000, "upper_bound": "1.3746955394744873"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5141315667969328798}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2983352975473517148, "histo_col_type": "", "name": "__auto__", "null_count": 32889237044547295, "row_count": 5141315667969328798}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2376252830467856394, "histo_col_type": "", "name": "__auto__", "null_count": 860923401793558169, "row_count": 5141315667969328798}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4080221331797555643, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5141315667969328798}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3022604837192393244, "histo_buckets": [{"distinct_range": 0, "num_eq": 2925801904599908437, "num_range": 0, "upper_bound": "-82 years -7 mons -999 days -02:51:45.992131"}, {"distinct_range": 89.6074881874809, "num_eq": 4107273756695146805, "num_range": 200, "upper_bound": "-57 years -9 mons -390 days -04:16:26.660642"}, {"distinct_range": 200, "num_eq": 5250374149354888275, "num_range": 200, "upper_bound": "-55 years -6 mons -561 days -23:08:02.780003"}, {"distinct_range": 0, "num_eq": 2439821858188717797, "num_range": 7000000000, "upper_bound": "-35 years -654 days -20:18:13.404268"}, {"distinct_range": 5000, "num_eq": 1873657974556246704, "num_range": 5000, "upper_bound": "37 years 480 days 21:17:42.542332"}, {"distinct_range": 0, "num_eq": 8473007387484396186, "num_range": 1844831682305702557, "upper_bound": "62 years 9 mons 20 days 10:59:03.751163"}, {"distinct_range": 4553373879977798700, "num_eq": 2000000000, "num_range": 4553373879977798836, "upper_bound": "75 years 6 mons 514 days 08:11:32.900584"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5141315667969328798}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2771603938569754250, "histo_buckets": [{"distinct_range": 0, "num_eq": 7566551585304918596, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 1408166417072780011, "upper_bound": "."}, {"distinct_range": 7126793280233996000, "num_eq": 3165376883821717488, "num_range": 7126793280233996492, "upper_bound": "?"}, {"distinct_range": 0, "num_eq": 5676068741830539600, "num_range": 9000000000, "upper_bound": "V"}, {"distinct_range": 927288661532070500, "num_eq": 6306062897255132876, "num_range": 955618412645999624, "upper_bound": "W"}, {"distinct_range": 0, "num_eq": 200, "num_range": 3000000, "upper_bound": "["}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 300000000, "upper_bound": "\\\\"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 2153343309800370233, "row_count": 5141315667969328798}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 80}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27, "histo_col_type": "", "name": "__auto__", "null_count": 24, "row_count": 80}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54, "histo_buckets": [{"distinct_range": 0, "num_eq": 4732585123317967903, "num_range": 0, "upper_bound": "101110"}, {"distinct_range": 4891400.879335192, "num_eq": 2541846629406309443, "num_range": 20000000, "upper_bound": "110110"}, {"distinct_range": 10000000, "num_eq": 2639572369452717126, "num_range": 10000000, "upper_bound": "111010"}, {"distinct_range": 7876629630513914000, "num_eq": 5000000, "num_range": 8389942395163691077, "upper_bound": "111100"}], "histo_col_type": "BIT(6)", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 77, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 69, "row_count": 80}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 80}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63089512, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 20000000, "num_eq": 0, "num_range": 20000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 800000000}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "infinity" does not exist (SQLSTATE 42703)
        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
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)