Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compose: TestComposeCompare failed #56845

Closed
cockroach-teamcity opened this issue Nov 18, 2020 · 216 comments · Fixed by #67718
Closed

compose: TestComposeCompare failed #56845

cockroach-teamcity opened this issue Nov 18, 2020 · 216 comments · Fixed by #67718
Assignees
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@cockroach-teamcity
Copy link
Member

(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
powered by pkg/cmd/internal/issues

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Nov 18, 2020
@yuzefovich yuzefovich assigned otan and unassigned tbg Nov 18, 2020
@otan
Copy link
Contributor

otan commented Nov 18, 2020

I do not wish to care of this by myself :P

these tests haven't run for 6 months and i expect quite a bit of sqlsmith fix ups to get this working - nominating this task for sql experience oncall

(of course knowing my luck in before I'm oncall)

@otan otan removed their assignment Nov 18, 2020
@cockroach-teamcity
Copy link
Member Author

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

        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
        test_1        | --- FAIL: TestCompare (2.68s)
        test_1        |     --- FAIL: TestCompare/postgres (1.80s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.88s)
        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 FLOAT4 NOT NULL, PRIMARY KEY (col1_0), UNIQUE (col1_0 DESC), UNIQUE (col1_0) WHERE table1.col1_0 != 0.0, INDEX (col1_0 DESC) WHERE table1.col1_0 > -Inf, UNIQUE (col1_0));
        test_1        |             CREATE TABLE table2 (col1_0 FLOAT4 NOT NULL, col2_1 FLOAT4, col2_2 DATE NOT NULL, col2_3 DECIMAL, col2_4 REGPROCEDURE, col2_5 INT2 NULL, col2_6 DECIMAL NOT NULL, col2_7 OID NOT NULL, col2_8 TIMESTAMP NULL, col2_9 BYTES NULL, col2_10 CHAR NULL, col2_11 REGPROCEDURE, col2_12 TIME NOT NULL, col2_13 FLOAT8, col2_14 DECIMAL NULL, PRIMARY KEY (col1_0, col2_14 DESC, col2_1 DESC, col2_9, col2_4, col2_2, col2_11 ASC, col2_3, col2_10, col2_5 DESC, col2_8 ASC, col2_6 DESC, col2_13 ASC), INDEX (col2_9 ASC, col2_12 ASC, col2_1 DESC, col2_5 DESC, col2_11 ASC, col2_10, col2_6, col2_3 DESC, col2_8, col2_4 DESC, col2_13 ASC, col2_14) WHERE (((((table2.col2_8 > '0001-01-01 00:00:00') AND (table2.col2_3 != NaN)) AND (table2.col2_10 > e'\x00')) OR (table2.col2_5 = 0)) AND (table2.col2_13 <= NaN)) OR (table2.col2_1 != 0.0), INDEX (col2_12, col2_4 ASC, col2_14 DESC, col2_5 DESC, col2_3 DESC, col2_7 DESC, col2_8, col2_13 DESC, col1_0 DESC, col2_2 ASC) WHERE ((((((((table2.col2_6 < 0:::DECIMAL) OR (table2.col2_14 != (-1):::DECIMAL)) AND (table2.col2_1 > 0.0:::FLOAT8)) AND (table2.col2_13 != 'NaN':::FLOAT8)) OR (table2.col2_10 < e'\'':::STRING)) OR (table2.col2_8 >= '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table2.col2_3 != 'Infinity':::DECIMAL)) OR (table2.col2_12 = '00:00:00':::TIME)) OR (table2.col1_0 != 'NaN':::FLOAT8), INDEX (col2_5, col2_14 ASC, col2_3, col2_12 ASC, col1_0, col2_2, col2_13, col2_7 ASC) WHERE (((((((table2.col2_9 = '\x00') OR (table2.col2_2 >= '-infinity')) AND (table2.col1_0 = 1.0)) AND (table2.col2_10 != 'X')) OR (table2.col2_1 = 1.401298464324817e-45)) OR (table2.col2_3 <= 1)) AND (table2.col2_13 <= 0.0)) AND (table2.col2_5 >= 1), FAMILY (col2_5, col2_14, col2_10, col2_8, col2_1), FAMILY (col2_7), FAMILY (col2_11, col1_0), FAMILY (col2_4), FAMILY (col2_13), FAMILY (col2_6, col2_12, col2_2, col2_3), FAMILY (col2_9)) INTERLEAVE IN PARENT table1 (col1_0);
        test_1        |             CREATE TABLE table3 (col3_0 INT8 NOT NULL, col3_1 DECIMAL NOT NULL, col3_2 INT4, col3_3 UUID NOT NULL, col3_4 TIMETZ NOT NULL, col3_5 REGNAMESPACE NOT NULL, col3_6 INT2 NULL, col3_7 "char", col3_8 TIMESTAMPTZ, col3_9 STRING NULL, col3_10 BOOL NOT NULL, col3_11 TIMESTAMP NULL, col3_12 REGNAMESPACE, col3_13 REGPROC NOT NULL, col3_14 REGPROC NOT NULL, col3_15 STRING NOT NULL, col3_16 REGPROCEDURE NOT NULL, col3_17 BOX2D NOT NULL, col3_18 INT2 NULL, PRIMARY KEY (col3_15 ASC, col3_10, col3_16 DESC), UNIQUE (col3_2 DESC, col3_0 DESC, col3_17, col3_15 ASC, col3_1 ASC, col3_9 ASC, col3_4, col3_11 ASC, col3_8 DESC, col3_10, col3_7 ASC, col3_18 ASC, col3_5 DESC, col3_14 ASC, col3_12 ASC, col3_13) WHERE (((((((((((table3.col3_18 > (-1):::INT8) AND (table3.col3_0 <= (-128):::INT8)) AND (table3.col3_2 = 1:::INT8)) OR (table3.col3_4 > '24:00:00-15:59:00':::TIMETZ)) AND (table3.col3_15 > '"':::STRING)) AND (table3.col3_8 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_1 <= (-1.234E+401):::DECIMAL)) AND (table3.col3_7 != '':::STRING)) OR (table3.col3_11 >= '3000-01-01 00:00:00':::TIMESTAMP)) AND (table3.col3_6 >= (-1):::INT8)) AND (NOT table3.col3_10)) AND (table3.col3_9 <= e'\x00':::STRING), UNIQUE (col3_6 DESC, col3_9 ASC, col3_7 DESC, col3_12 ASC, col3_17, col3_3 ASC, col3_15, col3_14, col3_11 ASC, col3_0 DESC, col3_10, col3_8 DESC, col3_16 DESC, col3_13 DESC, col3_2, col3_1 ASC, col3_18 DESC, col3_5, col3_4 DESC) WHERE (((((((((((table3.col3_4 >= '24:00:00-15:59:00') AND (table3.col3_0 = 9223372036854775807)) AND (table3.col3_15 != e'\x00')) AND (table3.col3_8 = '294276-12-31 23:59:59.999999+00:00')) AND (NOT table3.col3_10)) AND (table3.col3_11 != '-4713-11-24 00:00:00')) AND (table3.col3_18 > 127)) AND (table3.col3_1 <= 0)) OR (table3.col3_2 > 127)) OR (table3.col3_9 >= 'X')) AND (table3.col3_6 >= -1)) AND (table3.col3_7 >= '"'), UNIQUE (col3_17 DESC, col3_0, col3_13 DESC, col3_2 ASC, col3_4 ASC, col3_18 DESC, col3_15 DESC, col3_7) STORING (col3_1, col3_5, col3_8, col3_9, col3_11, col3_12) WHERE (((((((((((table3.col3_7 <= '':::STRING) OR (table3.col3_1 < (-1.234E+401):::DECIMAL)) OR (table3.col3_9 > '':::STRING)) AND (table3.col3_0 = 2147483647:::INT8)) AND table3.col3_10) AND (table3.col3_15 < e'\'':::STRING)) AND (table3.col3_11 <= '3000-01-01 00:00:00':::TIMESTAMP)) AND (table3.col3_8 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table3.col3_2 <= (-2147483648):::INT8)) AND (table3.col3_4 >= '00:00:00+15:59:00':::TIMETZ)) OR (table3.col3_18 < 127:::INT8)) AND (table3.col3_6 < 1:::INT8), UNIQUE (col3_1 ASC) STORING (col3_0, col3_3, col3_5, col3_7, col3_11, col3_14, col3_17) WHERE ((((NOT table3.col3_10) AND (table3.col3_0 <= 32767:::INT8)) AND (table3.col3_9 != '"':::STRING)) AND (table3.col3_2 <= 32767:::INT8)) OR (table3.col3_15 != 'X':::STRING), INDEX (col3_17, col3_4 ASC, col3_2, col3_9, col3_12), FAMILY (col3_13), FAMILY (col3_9, col3_15), FAMILY (col3_16), FAMILY (col3_14, col3_7), FAMILY (col3_3), FAMILY (col3_8, col3_18, col3_2, col3_1), FAMILY (col3_4, col3_17), FAMILY (col3_0, col3_5), FAMILY (col3_10, col3_12), FAMILY (col3_11), FAMILY (col3_6));
        test_1        |             CREATE TABLE table4 (col1_0 FLOAT4 NOT NULL, col2_14 DECIMAL NULL, col2_1 FLOAT4, col2_9 BYTES NULL, col2_4 REGPROCEDURE, col2_2 DATE NOT NULL, col2_11 REGPROCEDURE, col2_3 DECIMAL, col2_10 CHAR NULL, col2_5 INT2 NULL, col2_8 TIMESTAMP NULL, col2_6 DECIMAL NOT NULL, col2_13 FLOAT8, col4_13 REGPROC NULL, col4_14 BOOL NOT NULL, col4_15 NAME NULL, col4_16 FLOAT8 NULL, col4_17 REGPROCEDURE NOT NULL, col4_18 CHAR, col4_19 BOOL NOT NULL, col4_20 "char" NULL, col4_21 FLOAT8 NULL, col4_22 FLOAT4 NOT NULL, col4_23 DATE, col4_24 BOOL NULL, col4_25 INT8 NOT NULL, col4_26 REGPROC, col4_27 BOOL NULL, col4_28 OID, PRIMARY KEY (col1_0, col2_14 DESC, col2_1 DESC, col2_9, col2_4, col2_2, col2_11 ASC, col2_3, col2_10, col2_5 DESC, col2_8 ASC, col2_6 DESC, col2_13 ASC), INDEX (col2_10 DESC, col2_6 DESC, col1_0, col4_24, col4_18, col2_14, col2_11, col4_13) STORING (col4_14, col4_16, col4_17, col4_19, col4_20, col4_21, col4_22, col4_23, col4_25, col4_26, col4_27) WHERE ((((((((((((table4.col2_9 <= e'\\x22':::BYTES) AND (table4.col2_3 > 'Infinity':::DECIMAL)) AND table4.col4_27) AND (table4.col4_15 > '"':::STRING)) OR (table4.col2_5 <= 0:::INT8)) AND (table4.col4_25 >= 9223372036854775807:::INT8)) AND (NOT table4.col4_19)) OR (table4.col4_22 = 0.0:::FLOAT8)) OR (NOT table4.col4_14)) AND (table4.col2_6 >= 'Infinity':::DECIMAL)) OR (table4.col4_16 > 1.401298464324817e-45:::FLOAT8)) AND (table4.col4_21 != (-1.0):::FLOAT8)) OR (table4.col4_20 < e'\x00':::STRING), INDEX (col2_3, col4_25 DESC, col1_0 DESC, col4_18, col2_2 ASC, col4_13 ASC, col2_11, col4_21 ASC, col4_23 DESC, col4_16) STORING (col4_15, col4_20, col4_22, col4_24, col4_26, col4_27) WHERE (table4.col4_20 = e'\U00002603') OR (table4.col2_2 = 'infinity'), UNIQUE (col4_23 DESC, col4_20 ASC, col2_8 ASC, col4_19 ASC, col4_28 DESC, col4_16 DESC, col2_6 DESC, col2_5, col2_13 DESC, col4_14 DESC, col4_15 ASC, col4_17, col2_4, col4_13 DESC) STORING (col4_22, col4_27) WHERE (((((((((((((((((table4.col2_1 < 1.401298464324817e-45) OR table4.col4_19) OR (table4.col2_10 <= e'\'')) OR (table4.col2_8 = '-2000-01-01 00:00:00')) AND (table4.col4_15 >= e'\'')) OR (table4.col2_5 >= 1)) AND (table4.col1_0 = 0.0)) OR (NOT table4.col4_14)) OR (table4.col4_21 != 1.7976931348623157e+308)) OR (NOT table4.col4_24)) OR (table4.col4_22 = NaN)) OR (table4.col2_6 != NaN)) OR (table4.col4_25 <= 2147483647)) AND (table4.col4_23 >= '5874897-12-31')) AND (table4.col2_14 < -1)) AND (table4.col4_16 != -Inf)) OR (NOT table4.col4_27)) OR (table4.col2_3 != Infinity), UNIQUE (col2_11 ASC, col4_27 ASC, col4_24 DESC, col4_20, col4_13 DESC, col2_9, col4_16 DESC, col2_1 ASC, col4_17 DESC, col2_8 DESC, col4_26, col2_14 DESC, col2_3, col2_13 DESC, col2_6 ASC, col2_10 DESC, col4_14, col4_28 DESC, col4_25 DESC, col4_19, col4_18 ASC, col2_4 ASC, col4_15 DESC, col4_22 DESC, col2_2, col2_5, col1_0, col4_23 ASC, col4_21 DESC), INDEX (col1_0 ASC, col2_5, col2_11, col2_13, col4_15, col4_17, col4_18 ASC, col4_13 ASC, col4_22 DESC, col4_28 ASC, col4_21 ASC, col4_16 DESC, col4_19, col4_27, col4_23 ASC, col2_9, col2_4 DESC), INDEX (col4_20 ASC, col4_27, col4_24, col2_2, col2_10 DESC, col4_19, col4_17 ASC, col2_9 DESC, col4_16 ASC) STORING (col4_13, col4_15, col4_21, col4_22, col4_28), FAMILY (col4_20), FAMILY (col2_14), FAMILY (col4_17, col4_27), FAMILY (col4_21, col4_22), FAMILY (col4_28), FAMILY (col2_5), FAMILY (col4_24), FAMILY (col2_4), FAMILY (col2_8), FAMILY (col2_3, col2_9, col2_13), FAMILY (col4_15, col2_10, col2_2, col2_6), FAMILY (col4_23, col4_25), FAMILY (col4_16, col1_0), FAMILY (col4_19), FAMILY (col4_13), FAMILY (col4_14), FAMILY (col2_1, col4_26), FAMILY (col2_11), FAMILY (col4_18)) INTERLEAVE IN PARENT table2 (col1_0, col2_14, col2_1, col2_9, col2_4, col2_2, col2_11, col2_3, col2_10, col2_5, col2_8, col2_6, col2_13);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9540, "histo_buckets": [{"distinct_range": 0, "num_eq": 7312134471633092331, "num_range": 0, "upper_bound": "-1.7265839576721191"}, {"distinct_range": 1057901165901726500, "num_eq": 2905474211069122234, "num_range": 1650197635507804839, "upper_bound": "-0.8312184810638428"}, {"distinct_range": 0, "num_eq": 5000, "num_range": 400000000, "upper_bound": "-0.7478808760643005"}, {"distinct_range": 0, "num_eq": 0, "num_range": 60000000000, "upper_bound": "-0.08107120543718338"}, {"distinct_range": 0, "num_eq": 700, "num_range": 4000000, "upper_bound": "-0.07263533025979996"}, {"distinct_range": 0, "num_eq": 200000, "num_range": 10000000, "upper_bound": "0.1269967257976532"}, {"distinct_range": 161256152.46249038, "num_eq": 0, "num_range": 200000000, "upper_bound": "0.6396889090538025"}, {"distinct_range": 0, "num_eq": 6930350039582283283, "num_range": 80000, "upper_bound": "1.4522517919540405"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 30000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28667, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "-1.0"}, {"distinct_range": 49341.58027577746, "num_eq": 20, "num_range": 300000, "upper_bound": "0.035340119153261185"}, {"distinct_range": 20000000000, "num_eq": 70000000, "num_range": 20000000000, "upper_bound": "1.2205716371536255"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16726, "histo_col_type": "", "name": "__auto__", "null_count": 15925, "row_count": 30000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20279, "histo_col_type": "", "name": "__auto__", "null_count": 23384, "row_count": 30000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21355, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9021, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "18:13:22.633334"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21881, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12793, "histo_col_type": "", "name": "__auto__", "null_count": 10295, "row_count": 30000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28673, "histo_buckets": [{"distinct_range": 0, "num_eq": 8806759440709754679, "num_range": 0, "upper_bound": "-18310"}, {"distinct_range": 4136441802687563000, "num_eq": 100, "num_range": 4136441802687562666, "upper_bound": "-7715"}, {"distinct_range": 1000000, "num_eq": 30000000, "num_range": 1000000, "upper_bound": "1"}, {"distinct_range": 305010705566013100, "num_eq": 400000000, "num_range": 305010705566013132, "upper_bound": "26787"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 8872, "row_count": 30000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24262, "histo_col_type": "", "name": "__auto__", "null_count": 15277, "row_count": 30000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22162, "histo_col_type": "", "name": "__auto__", "null_count": 14102, "row_count": 30000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18791, "histo_col_type": "", "name": "__auto__", "null_count": 11930, "row_count": 30000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29647, "histo_col_type": "", "name": "__auto__", "null_count": 2250, "row_count": 30000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1178, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15318, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 8725028203184981000, "num_eq": 70000000, "num_range": 8725028203184980481, "upper_bound": "\\\\x22aa056730"}, {"distinct_range": 40, "num_eq": 4080640436462101679, "num_range": 40, "upper_bound": "\\\\x2ed40e96"}, {"distinct_range": 0, "num_eq": 100, "num_range": 8534500217281915608, "upper_bound": "\\\\x9d"}, {"distinct_range": 0, "num_eq": 3980732871579365691, "num_range": 600000, "upper_bound": "\\\\xdf854e431a"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 8535, "row_count": 30000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25857, "histo_col_type": "", "name": "__auto__", "null_count": 8106, "row_count": 30000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1559330094663732694, "histo_col_type": "", "name": "__auto__", "null_count": 5676210844834153765, "row_count": 8304929289153834324}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6177863659300527319, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4948716466527363110, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5587176181019321966, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 669465964055024883, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7032802777069231403, "histo_buckets": [{"distinct_range": 0, "num_eq": 5212998760742589775, "num_range": 0, "upper_bound": "BOX(-1.735591848808881 -1.9191803251482862,-0.8523760864549557 0.06760750530268207)"}, {"distinct_range": 1216426455037815300, "num_eq": 90000, "num_range": 1216426455037815324, "upper_bound": "BOX(-0.8336305577034111 0.07236459278946672,-0.4992025599950395 0.22700668500625198)"}, {"distinct_range": 1173997910143510500, "num_eq": 90000000000, "num_range": 1986444595413921073, "upper_bound": "BOX(-0.7758395575902685 0.5159713113595014,1.6816782857012607 1.117497990566917)"}, {"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "BOX(-0.7515237128795654 -0.14463040213174216,-0.6589743131259982 -0.03086302563704668)"}, {"distinct_range": 0, "num_eq": 6050642920598623789, "num_range": 4758738431002144233, "upper_bound": "BOX(-0.35364010447551253 0.5136467657389281,-0.1705775218987 0.9266133537284775)"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 2705452879129655688, "upper_bound": "BOX(0.905676923017944 -1.043141018818801,0.9667066414581527 0.20790073086776284)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4786221075737871413, "histo_col_type": "", "name": "__auto__", "null_count": 6856703321411901572, "row_count": 8304929289153834324}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4835513453843741129, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5765961175396820211, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7009539787848605491, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7289196631322006146, "histo_buckets": [{"distinct_range": 0, "num_eq": 7361491867187443682, "num_range": 0, "upper_bound": "7998"}, {"distinct_range": 1234839013409787400, "num_eq": 100000, "num_range": 4012247209079072869, "upper_bound": "24407"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 4042851795441777768, "row_count": 8304929289153834324}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 914157224679398458, "histo_col_type": "", "name": "__auto__", "null_count": 3793113005153501364, "row_count": 8304929289153834324}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3429681349696735758, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4655293549401590944, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "-6.434112558166808942E+32"}, {"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-3.146752638714278216E+25"}, {"distinct_range": 0, "num_eq": 6871856063636419300, "num_range": 8802589990806969847, "upper_bound": "-716936531389777.9352"}, {"distinct_range": 9141533196536635000, "num_eq": 900, "num_range": 9141533196536635550, "upper_bound": "-44034465924093.6191"}, {"distinct_range": 5806698993776583000, "num_eq": 100000, "num_range": 6088786426574470807, "upper_bound": "-25.8679966538443911"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 3571901352668842445, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 100, "num_range": 900, "upper_bound": "4.791890851464046289E+19"}, {"distinct_range": 70000, "num_eq": 400000, "num_range": 70000, "upper_bound": "2.742001713224424989E+32"}, {"distinct_range": 9074210844840581000, "num_eq": 80, "num_range": 9074210844840580827, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5460491931137596452, "histo_buckets": [{"distinct_range": 0, "num_eq": 3752316201481162957, "num_range": 0, "upper_bound": "-1987679004"}, {"distinct_range": 0, "num_eq": 7586098864407160152, "num_range": 0, "upper_bound": "-80250732"}, {"distinct_range": 7244422397260057000, "num_eq": 3701088404173433661, "num_range": 8530144834189915517, "upper_bound": "127"}, {"distinct_range": 1993362308157066500, "num_eq": 3169764409855465834, "num_range": 1993362308157066452, "upper_bound": "396848345"}, {"distinct_range": 0, "num_eq": 4408604218177535580, "num_range": 3187705642605777588, "upper_bound": "1072848046"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 2627375935661404675, "row_count": 8304929289153834324}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2789738480503522722, "histo_col_type": "", "name": "__auto__", "null_count": 721424881907152153, "row_count": 8304929289153834324}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4604132327661802831, "histo_col_type": "", "name": "__auto__", "null_count": 976506412679921306, "row_count": 8304929289153834324}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1789630152641032210, "histo_col_type": "", "name": "__auto__", "null_count": 1459683450552085809, "row_count": 8304929289153834324}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6842843489355607262, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "\\u0012X\\u0019B"}, {"distinct_range": 0, "num_eq": 400000000, "num_range": 3000, "upper_bound": "\\u0014nl\\u001a1N"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 6636773752159454737, "upper_bound": "!e\\u0014"}, {"distinct_range": 200, "num_eq": 4868995780970491822, "num_range": 200, "upper_bound": "J\\u001br\\u000e@Gz\\u001e"}, {"distinct_range": 20000, "num_eq": 7688760201858410836, "num_range": 20000, "upper_bound": "g"}, {"distinct_range": 129029949.34020747, "num_eq": 4918316273128734602, "num_range": 300000000, "upper_bound": "qM\\u0017/2`"}, {"distinct_range": 226198.00023557493, "num_eq": 7000000, "num_range": 1000000, "upper_bound": "z"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 8304929289153834324}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7077373496738347621, "histo_col_type": "", "name": "__auto__", "null_count": 7227705705105592613, "row_count": 7484770741498181613}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6997502506873240500, "histo_col_type": "", "name": "__auto__", "null_count": 860356411190857288, "row_count": 7484770741498181613}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3475413118889021914, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "\\r\\u001b\\u0017"}, {"distinct_range": 0, "num_eq": 1526865569965916430, "num_range": 5093153873305409258, "upper_bound": "\\u001d1\\u0010X}x"}, {"distinct_range": 4499670095921951000, "num_eq": 6480578466198645886, "num_range": 4499670095921951370, "upper_bound": ":"}, {"distinct_range": 4347712843.252035, "num_eq": 179987217686775229, "num_range": 9000000000, "upper_bound": "D\\u0004}ng"}, {"distinct_range": 1390634974306586400, "num_eq": 2091005220971668088, "num_range": 2787906380236502422, "upper_bound": "Id\\u001e\\u000bK"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 100000, "upper_bound": "d\\u0010v7"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 2852197790291174040, "row_count": 7484770741498181613}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2632595939130489790, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5582206224424591190, "histo_col_type": "", "name": "__auto__", "null_count": 4117202670293777273, "row_count": 7484770741498181613}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6244843751837109941, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 5124840268516926769, "row_count": 7484770741498181613}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3642259982803944249, "histo_col_type": "", "name": "__auto__", "null_count": 955123103709340836, "row_count": 7484770741498181613}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4312645118395566495, "histo_col_type": "", "name": "__auto__", "null_count": 4896514710175484677, "row_count": 7484770741498181613}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5107354027194888940, "histo_col_type": "", "name": "__auto__", "null_count": 3438144643502501558, "row_count": 7484770741498181613}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5051720873703881137, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3684777318124458242, "histo_col_type": "", "name": "__auto__", "null_count": 4481582135368463625, "row_count": 7484770741498181613}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1157457343382211746, "histo_col_type": "", "name": "__auto__", "null_count": 1416709996820394753, "row_count": 7484770741498181613}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4310515708325509930, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7060015766176535810, "histo_col_type": "", "name": "__auto__", "null_count": 1175124052093650953, "row_count": 7484770741498181613}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6746943576890038309, "histo_col_type": "", "name": "__auto__", "null_count": 5503343740876983426, "row_count": 7484770741498181613}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6325998682497093969, "histo_col_type": "", "name": "__auto__", "null_count": 7120388023407957829, "row_count": 7484770741498181613}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6858456163199518968, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3248342123901716057, "histo_col_type": "", "name": "__auto__", "null_count": 6810556371463127205, "row_count": 7484770741498181613}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1216605098619612432, "histo_col_type": "", "name": "__auto__", "null_count": 5852927832814802219, "row_count": 7484770741498181613}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2786944961526242160, "histo_col_type": "", "name": "__auto__", "null_count": 6743679525550078783, "row_count": 7484770741498181613}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7259065408463700537, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6459393396723911703, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6686399822305908933, "histo_col_type": "", "name": "__auto__", "null_count": 2681569049904546281, "row_count": 7484770741498181613}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1149366890283724743, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3286051550895517535, "histo_buckets": [{"distinct_range": 0, "num_eq": 1009881677710439450, "num_range": 0, "upper_bound": "476451718"}, {"distinct_range": 70000, "num_eq": 0, "num_range": 70000, "upper_bound": "2247480099"}, {"distinct_range": 0, "num_eq": 3349892476743789127, "num_range": 3041814687020579964, "upper_bound": "2307549816"}, {"distinct_range": 700000000, "num_eq": 30000, "num_range": 700000000, "upper_bound": "3006668047"}, {"distinct_range": 61952.967794342636, "num_eq": 0, "num_range": 200000, "upper_bound": "4036475337"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 792485943822154385, "row_count": 7484770741498181613}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6865230085596451853, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7484770741498181613}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1536469238850986450, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": ")f\\u0006dd#P"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": ",)\\u0012R!ux"}, {"distinct_range": 513463.65166750853, "num_eq": 20, "num_range": 1000000, "upper_bound": "4O\\u0019"}, {"distinct_range": 86450.67015420599, "num_eq": 30, "num_range": 100000, "upper_bound": "8y1\\u0012VY`Of"}, {"distinct_range": 6445517035916859000, "num_eq": 5000, "num_range": 6445517035916859080, "upper_bound": "O\\u000f\\u0012\\u000b"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 1016856456978928340, "row_count": 7484770741498181613}, {"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5805218653817303009, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000, "num_range": 0, "upper_bound": "1995-05-15"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 1324261702506301211, "row_count": 7484770741498181613}, {"columns": ["col4_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5864469347311719267, "histo_col_type": "", "name": "__auto__", "null_count": 961896295191727276, "row_count": 7484770741498181613}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('ebg', 'u', 'vkuz', 'l');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('tmyipb', 'pyoxmu', 'izvk', 'zt', 'lnkit');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('dzi', 'sjgikd', 'jlffah', 't');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('vfuur', 'yykbil', 'roq', 'kgqmgh');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39782, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "-0.6843520402908325"}, {"distinct_range": 0, "num_eq": 200, "num_range": 2729575494504791371, "upper_bound": "-0.6788941025733948"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 161484971022283053, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 897266681909199521}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 711640162231820540, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000, "num_range": 0, "upper_bound": "01:55:02.832872"}, {"distinct_range": 386863466184542700, "num_eq": 100000000000, "num_range": 887915898506907605, "upper_bound": "02:10:32.024088"}, {"distinct_range": 6983644.207928703, "num_eq": 60, "num_range": 7000000, "upper_bound": "03:02:38.733928"}, {"distinct_range": 700000, "num_eq": 2978285980646864016, "num_range": 700000, "upper_bound": "03:22:20.578949"}, {"distinct_range": 0, "num_eq": 7704553713151079832, "num_range": 200000, "upper_bound": "06:27:36.131696"}, {"distinct_range": 10000000, "num_eq": 2963209127718623632, "num_range": 10000000, "upper_bound": "09:42:48.663469"}, {"distinct_range": 6463407330864338000, "num_eq": 20000000000, "num_range": 6821708893350050413, "upper_bound": "10:39:51.286365"}, {"distinct_range": 0, "num_eq": 301184777289975033, "num_range": 0, "upper_bound": "13:28:24.127022"}, {"distinct_range": 50000000000, "num_eq": 4147230518404331241, "num_range": 50000000000, "upper_bound": "22:57:14.999728"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 897266681909199521}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 162805977113743453, "histo_col_type": "", "name": "__auto__", "null_count": 763484229234572674, "row_count": 897266681909199521}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 843921034229506219, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "\\\\x"}, {"distinct_range": 5435614.914595542, "num_eq": 300000, "num_range": 7000000, "upper_bound": "\\\\x3491124b71011f82"}, {"distinct_range": 2761033575847266300, "num_eq": 500000, "num_range": 5299558840917874343, "upper_bound": "\\\\x4da7e804905ef0"}, {"distinct_range": 800000, "num_eq": 300, "num_range": 800000, "upper_bound": "\\\\x58"}, {"distinct_range": 41729487786676030, "num_eq": 6000000, "num_range": 8912751160361734554, "upper_bound": "\\\\x5d9a21"}, {"distinct_range": 0, "num_eq": 3413713736966073395, "num_range": 0, "upper_bound": "\\\\x68f1b4c4f7a1d3"}, {"distinct_range": 8000000000, "num_eq": 5471724936017404932, "num_range": 8000000000, "upper_bound": "\\\\xa2"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 5580783915708348674, "upper_bound": "\\\\xecd6"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 308242427399768404, "row_count": 897266681909199521}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 260609183338195696, "histo_col_type": "", "name": "__auto__", "null_count": 414392041089141305, "row_count": 897266681909199521}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 308362668715982929, "histo_col_type": "", "name": "__auto__", "null_count": 583396697930261255, "row_count": 897266681909199521}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 234957637726089486, "histo_col_type": "", "name": "__auto__", "null_count": 162815753592660685, "row_count": 897266681909199521}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 797562168533344685, "histo_buckets": [{"distinct_range": 0, "num_eq": 8491645720204277425, "num_range": 0, "upper_bound": "-0.14009760320186615"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 897266681909199521}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 807910645033746851, "histo_col_type": "", "name": "__auto__", "null_count": 459144942962934736, "row_count": 897266681909199521}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 724449965531772979, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 897266681909199521}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 579933835028681901, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 897266681909199521}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 839175062301521440, "histo_col_type": "", "name": "__auto__", "null_count": 697519958865733464, "row_count": 897266681909199521}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 869902186233176056, "histo_col_type": "", "name": "__auto__", "null_count": 750797014600556757, "row_count": 897266681909199521}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 365050811337662712, "histo_col_type": "", "name": "__auto__", "null_count": 178524451433913683, "row_count": 897266681909199521}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 701978582309725266, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "-10524"}, {"distinct_range": 0, "num_eq": 7867976562450482022, "num_range": 8611394780211804291, "upper_bound": "-1"}, {"distinct_range": 37737442656.78595, "num_eq": 80000, "num_range": 70000000000, "upper_bound": "2588"}, {"distinct_range": 4320921627071478000, "num_eq": 1928498827629296966, "num_range": 4320921627071477524, "upper_bound": "3709"}, {"distinct_range": 9162486669386982000, "num_eq": 7132526799595002156, "num_range": 9162486669386982713, "upper_bound": "9799"}, {"distinct_range": 50785104932508810, "num_eq": 4789626675926422955, "num_range": 114338146348530215, "upper_bound": "12372"}, {"distinct_range": 9047905631689630000, "num_eq": 10000000000, "num_range": 9047905631689629527, "upper_bound": "26409"}, {"distinct_range": 0, "num_eq": 3500974158515567365, "num_range": 70, "upper_bound": "32290"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 253512148945368074, "row_count": 897266681909199521}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3949090738195004899, "histo_col_type": "", "name": "__auto__", "null_count": 3726313392701050067, "row_count": 6071806906798989573}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5176320891577103655, "histo_buckets": [{"distinct_range": 0, "num_eq": 1458522016007589835, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 200927138156703859, "num_range": 3000000, "upper_bound": "\\u0001\\u0002y\\t\\tU\\u0019"}, {"distinct_range": 0, "num_eq": 1134043717349206216, "num_range": 5494070631220152216, "upper_bound": "\\u00103?\\u001ebp2 "}, {"distinct_range": 493958907003251700, "num_eq": 100000, "num_range": 5334855326638142095, "upper_bound": "\\u0015\\u0013\\u0002\\""}, {"distinct_range": 702767819935329800, "num_eq": 1978291934671533162, "num_range": 702767819935329806, "upper_bound": "904"}, {"distinct_range": 705295178706687500, "num_eq": 8211344656883735631, "num_range": 881911528563117796, "upper_bound": "D \\u0019N"}, {"distinct_range": 10, "num_eq": 7882717323614726396, "num_range": 10, "upper_bound": "_/y\x7f\\u001b\\u0019X\\u000b"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 2458289003665426567, "upper_bound": "zf?g"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4739728138162218727, "histo_col_type": "", "name": "__auto__", "null_count": 5545368227554602694, "row_count": 6071806906798989573}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3377582938039688751, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3905368470302498259, "histo_col_type": "", "name": "__auto__", "null_count": 5916779430570996108, "row_count": 6071806906798989573}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5181409462649842935, "histo_col_type": "", "name": "__auto__", "null_count": 508647362428093432, "row_count": 6071806906798989573}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2499984129387036174, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2306098219760720004, "histo_col_type": "", "name": "__auto__", "null_count": 4822213470842765524, "row_count": 6071806906798989573}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3120924519563172434, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5934629413696492194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673025081004428971, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199410495674041225, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000000, "num_range": 0, "upper_bound": "BOX(-2.4908333742541533 -1.728889458042011,0.32400249209158793 0.2860665362198091)"}, {"distinct_range": 70, "num_eq": 1936756785340738022, "num_range": 70, "upper_bound": "BOX(-1.7925339109041216 -0.4733465534663769,-0.05465209028730178 0.22336052303360465)"}, {"distinct_range": 3000, "num_eq": 6973524576934023758, "num_range": 3000, "upper_bound": "BOX(-0.41507408440803034 -1.36810284095828,0.6009360265979424 -0.6525029211527034)"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 1000000, "upper_bound": "BOX(-0.4068189140204852 -0.8413978675534587,0.31914816023214976 0.8823110069386663)"}, {"distinct_range": 0, "num_eq": 200, "num_range": 6693002155436433346, "upper_bound": "BOX(-0.3178249888784783 0.22647951417758866,1.2725108119985173 1.4316392522045343)"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 1379032747963395655, "upper_bound": "BOX(0.3810248604555676 -0.770123228894562,1.5185565050200855 -0.0958446724968906)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2331417781462415747, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2091881808544478183, "histo_buckets": [{"distinct_range": 0, "num_eq": 2210782367099915024, "num_range": 0, "upper_bound": "-27593"}, {"distinct_range": 2254598.237693676, "num_eq": 100000, "num_range": 10000000, "upper_bound": "-14063"}, {"distinct_range": 0, "num_eq": 2765616991745732861, "num_range": 50000000, "upper_bound": "-4094"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 70, "upper_bound": "19258"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 5053492057129613243, "row_count": 6071806906798989573}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 983044869409561188, "histo_col_type": "", "name": "__auto__", "null_count": 1161828238054456725, "row_count": 6071806906798989573}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1191015824991649659, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4405796118923861097, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3320812762257420053, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "-54815163899080811.23"}, {"distinct_range": 7000966634568361000, "num_eq": 2776787774969173092, "num_range": 7000966634568361234, "upper_bound": "0.4222301013165482824"}, {"distinct_range": 6446205000882804000, "num_eq": 2548287419778971770, "num_range": 6446205000882803255, "upper_bound": "6.259709636743106469"}, {"distinct_range": 2000000, "num_eq": 60000000000, "num_range": 2000000, "upper_bound": "6212985423602.178119"}, {"distinct_range": 80000000, "num_eq": 800, "num_range": 80000000, "upper_bound": "672901406232094359.2"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 6071806906798989573}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2033711066708082251, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "-1710744820"}, {"distinct_range": 0, "num_eq": 3290727371002762333, "num_range": 927659698425052407, "upper_bound": "-918304636"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 1516896716668446716, "row_count": 6071806906798989573}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2408814722201835488, "histo_col_type": "", "name": "__auto__", "null_count": 2994890759781359629, "row_count": 3433017785340887737}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1729097706181858124, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1552461142016827857, "histo_col_type": "", "name": "__auto__", "null_count": 1466877591189428491, "row_count": 3433017785340887737}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3308483318442146610, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2976350831377000804, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 227557456123189766, "histo_col_type": "", "name": "__auto__", "null_count": 3096587150327855881, "row_count": 3433017785340887737}, {"columns": ["col4_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2199049062783096352, "histo_col_type": "", "name": "__auto__", "null_count": 1385630587873834549, "row_count": 3433017785340887737}, {"columns": ["col4_28"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 766661285379399708, "histo_col_type": "", "name": "__auto__", "null_count": 180730233050507289, "row_count": 3433017785340887737}, {"columns": ["col4_23"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 689173157025469994, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "1971-05-31"}, {"distinct_range": 609609389071607900, "num_eq": 8000000000, "num_range": 609609389071607899, "upper_bound": "1973-10-02"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 50, "upper_bound": "1977-03-23"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 2067634971130413647, "row_count": 3433017785340887737}, {"columns": ["col4_25"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1267878407279127897, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col4_27"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1843258951749183229, "histo_col_type": "", "name": "__auto__", "null_count": 344720933183756505, "row_count": 3433017785340887737}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2649639490044036830, "histo_col_type": "", "name": "__auto__", "null_count": 292801106365446320, "row_count": 3433017785340887737}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2485628964756465963, "histo_col_type": "", "name": "__auto__", "null_count": 711796514431697760, "row_count": 3433017785340887737}, {"columns": ["col4_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1142338611312984659, "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 1373291776163597526, "row_count": 3433017785340887737}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1729965849792277706, "histo_col_type": "", "name": "__auto__", "null_count": 2714094775398950571, "row_count": 3433017785340887737}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2042374431774499371, "histo_col_type": "", "name": "__auto__", "null_count": 82503457489855999, "row_count": 3433017785340887737}, {"columns": ["col4_24"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 282601984147321161, "histo_col_type": "", "name": "__auto__", "null_count": 2596245347978505366, "row_count": 3433017785340887737}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1541586766630208464, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 890355263664654963, "histo_col_type": "", "name": "__auto__", "null_count": 2787667980591604038, "row_count": 3433017785340887737}, {"columns": ["col4_26"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71997139257950308, "histo_col_type": "", "name": "__auto__", "null_count": 2908542403505489621, "row_count": 3433017785340887737}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2619977455409187233, "histo_col_type": "", "name": "__auto__", "null_count": 2663308396949495362, "row_count": 3433017785340887737}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2163221334360290220, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3027650204682429105, "histo_col_type": "", "name": "__auto__", "null_count": 1346851537278868576, "row_count": 3433017785340887737}, {"columns": ["col4_22"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 588257367789950332, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 475764007264900769, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 528176207531198436, "row_count": 3433017785340887737}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3046512282225256319, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 3195757709441742359, "row_count": 3433017785340887737}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 123342226275059204, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "-0.4416610896587372"}, {"distinct_range": 0, "num_eq": 6157161011317680333, "num_range": 100000000000, "upper_bound": "0.2482217699289322"}, {"distinct_range": 52470216.50942551, "num_eq": 1000, "num_range": 100000000, "upper_bound": "0.9327520728111267"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 3433017785340887737}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1374882712703375105, "histo_col_type": "", "name": "__auto__", "null_count": 1411827957769349190, "row_count": 3433017785340887737}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3205804619500101503, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "107700281"}, {"distinct_range": 2010612094425545500, "num_eq": 50000000000, "num_range": 2010612094425545557, "upper_bound": "2197183644"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 1003096474457914762, "row_count": 3433017785340887737}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_13) REFERENCES table1 (col1_0) 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": 41740, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-0.25647690892219543"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 4492197639791406420, "upper_bound": "0.25490161776542664"}, {"distinct_range": 2125336.090751459, "num_eq": 2000000000, "num_range": 5000000, "upper_bound": "1.443442940711975"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 90000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 985145, "histo_col_type": "", "name": "__auto__", "null_count": 2402057, "row_count": 10000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 340761, "histo_col_type": "", "name": "__auto__", "null_count": 8043397, "row_count": 10000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7879079, "histo_col_type": "", "name": "__auto__", "null_count": 9739252, "row_count": 10000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7986655, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "21:23:05.148036"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 705648, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-1.4524073600769043"}, {"distinct_range": 100, "num_eq": 30000, "num_range": 100, "upper_bound": "0.0"}, {"distinct_range": 0, "num_eq": 70, "num_range": 600000, "upper_bound": "1.2561839818954468"}, {"distinct_range": 3541011519223475700, "num_eq": 90000000000, "num_range": 3541011519223475904, "upper_bound": "1.8262289762496948"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9123451, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "-27761"}, {"distinct_range": 6927812383792971000, "num_eq": 5307627573124854394, "num_range": 6927812383792971195, "upper_bound": "-11651"}, {"distinct_range": 7370964266825698000, "num_eq": 10000, "num_range": 7370964266825698001, "upper_bound": "-272"}, {"distinct_range": 800, "num_eq": 100000, "num_range": 800, "upper_bound": "127"}, {"distinct_range": 100, "num_eq": 4936579362316569877, "num_range": 100, "upper_bound": "13274"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 9000000000, "upper_bound": "19069"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 3950143, "row_count": 10000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5265519, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8559079, "histo_col_type": "", "name": "__auto__", "null_count": 5209935, "row_count": 10000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4305939, "histo_col_type": "", "name": "__auto__", "null_count": 6167903, "row_count": 10000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1886913, "histo_col_type": "", "name": "__auto__", "null_count": 6926622, "row_count": 10000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4619319, "histo_col_type": "", "name": "__auto__", "null_count": 7734796, "row_count": 10000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4538793, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5903112, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4056024, "histo_col_type": "", "name": "__auto__", "null_count": 9805532, "row_count": 10000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4345668, "histo_buckets": [{"distinct_range": 0, "num_eq": 8133996784083765931, "num_range": 0, "upper_bound": "\\\\x436b62c98bb99c87"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 700000, "upper_bound": "\\\\x4b671133a768"}, {"distinct_range": 396450411521413200, "num_eq": 90000000000, "num_range": 2851139444858771089, "upper_bound": "\\\\x68"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 9814203, "row_count": 10000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 123, "histo_col_type": "", "name": "__auto__", "null_count": 77, "row_count": 200}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91, "histo_col_type": "", "name": "__auto__", "null_count": 150, "row_count": 200}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 96, "histo_col_type": "", "name": "__auto__", "null_count": 80, "row_count": 200}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 115, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 92, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 187, "histo_buckets": [{"distinct_range": 0, "num_eq": 2421079801061585908, "num_range": 0, "upper_bound": "-3.06836143741718718E+23"}, {"distinct_range": 0, "num_eq": 8919864591777740602, "num_range": 265179318091614495, "upper_bound": "648.4454526645814217"}, {"distinct_range": 5270356443090739000, "num_eq": 100, "num_range": 5270356443090739398, "upper_bound": "3.651120087820779466E+37"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73, "histo_col_type": "", "name": "__auto__", "null_c

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@609cad52785f49338f7ceff289486b87db4cecb6:

        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('jnfb', 'unznq', 'qoyya');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('oary', 'bm');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('wkt', 'l', 'kkgfd', 'nr');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('g', 'rok');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('bhqt', 'ukf', 'enapxm', 'siupsf', 'yawken');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (1.89s)
        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 FLOAT8 NOT NULL, col1_2 "char" NOT NULL, PRIMARY KEY (col1_0 ASC, col1_1 DESC, col1_2 ASC), INDEX (col1_0) WHERE ((table1.col1_2 < 'X') AND (table1.col1_1 != +Inf)) AND (table1.col1_0 = NaN), UNIQUE (col1_2 DESC, col1_0) WHERE (table1.col1_2 <= e'\U00002603':::STRING) AND (table1.col1_1 != (-1.0):::FLOAT8), INDEX (col1_0 ASC, col1_1, col1_2 ASC) WHERE table1.col1_2 > '"':::STRING, INDEX (col1_2 ASC) WHERE ((table1.col1_1 > NaN) AND (table1.col1_2 <= '')) OR (table1.col1_0 < 1.7976931348623157e+308), INDEX (col1_1, col1_0 DESC), FAMILY (col1_0), FAMILY (col1_2), FAMILY (col1_1));
        test_1        |             CREATE TABLE table2 (col2_0 INTERVAL NOT NULL, col2_1 STRING NULL, col2_2 STRING NULL, col2_3 FLOAT8 NULL, col2_4 BOX2D, col2_5 DECIMAL, col2_6 BOOL NOT NULL, col2_7 "char" NOT NULL, col2_8 INTERVAL, col2_9 VARCHAR[] NULL, col2_10 TIMESTAMP NULL, col2_11 INTERVAL NOT NULL, col2_12 UUID NOT NULL, col2_13 INET NOT NULL, col2_14 TIMESTAMP NOT NULL, col2_15 TIMETZ NOT NULL, col2_16 UUID NOT NULL, col2_17 REGTYPE NULL, UNIQUE (col2_5 ASC, col2_13 DESC, col2_10 ASC, col2_15 ASC, col2_3 ASC, col2_4 DESC, col2_16 ASC, col2_2, col2_0 DESC, col2_12 ASC) STORING (col2_1, col2_7, col2_8, col2_14), INDEX (col2_8 DESC, col2_3 ASC, col2_14, col2_15 DESC, col2_17 DESC, col2_7 DESC, col2_5, col2_6, col2_16 DESC, col2_12 DESC) WHERE ((((((((table2.col2_7 > e'\'') OR (table2.col2_2 < e'\'')) OR (table2.col2_1 < e'\x00')) AND (table2.col2_10 = '0001-01-01 00:00:00')) AND (NOT table2.col2_6)) AND (table2.col2_14 < '-4713-11-24 00:00:00')) OR (table2.col2_3 > 1.401298464324817e-45)) AND (table2.col2_5 != Infinity)) AND (table2.col2_15 <= '24:00:00-15:59:00'), UNIQUE (col2_2, col2_17, col2_11 ASC, col2_15, col2_1 ASC, col2_16 DESC, col2_0, col2_8 ASC) STORING (col2_3, col2_4, col2_5, col2_10, col2_12, col2_13, col2_14) WHERE table2.col2_15 >= '24:00:00-15:59:00', FAMILY (col2_11, col2_13), FAMILY (col2_0), FAMILY (col2_1, col2_10, col2_9, col2_3), FAMILY (col2_17), FAMILY (col2_12, col2_7, col2_5, col2_4), FAMILY (col2_15), FAMILY (col2_14, col2_6), FAMILY (col2_2), FAMILY (col2_16, col2_8));
        test_1        |             CREATE TABLE table3 (col3_0 REGPROCEDURE NOT NULL, col3_1 INT8 NOT NULL, col3_2 DECIMAL NOT NULL, col3_3 BOX2D NOT NULL, col3_4 INT4 NOT NULL, col3_5 INT2 NOT NULL, col3_6 BIT(35) NOT NULL, col3_7 DATE NOT NULL, col3_8 STRING NOT NULL, col3_9 STRING NULL, col3_10 BOOL[], col3_11 INET NOT NULL, col3_12 TIMESTAMPTZ NOT NULL, col3_13 REGCLASS NOT NULL, col3_14 INT2 NOT NULL, col3_15 VARCHAR NOT NULL, col3_16 BYTES NOT NULL, col3_17 BIT(45) NOT NULL, PRIMARY KEY (col3_15 DESC, col3_4 DESC, col3_16 DESC, col3_11 DESC, col3_14, col3_7 ASC, col3_3 ASC, col3_17 DESC, col3_8, col3_5 ASC, col3_13, col3_0 ASC, col3_2 DESC, col3_1 ASC), UNIQUE (col3_6 DESC, col3_14 DESC, col3_2 DESC, col3_13 ASC, col3_17 DESC, col3_12 ASC, col3_5, col3_1 ASC, col3_15 DESC, col3_9 DESC, col3_0 DESC, col3_16 ASC, col3_11, col3_8 ASC) WHERE ((((((((((table3.col3_9 <= e'\'') OR (table3.col3_7 != '-infinity')) OR (table3.col3_4 <= 127)) AND (table3.col3_5 = 1)) OR (table3.col3_1 <= 1)) AND (table3.col3_8 >= '"')) OR (table3.col3_15 <= e'\U00002603')) AND (table3.col3_2 != -1)) AND (table3.col3_16 < '\x22')) OR (table3.col3_14 <= -1)) OR (table3.col3_12 <= '294276-12-31 23:59:59.999999+00:00'), UNIQUE (col3_11, col3_8 ASC, col3_1, col3_12 ASC, col3_15 ASC, col3_14 ASC, col3_6 DESC, col3_5 ASC, col3_17 ASC, col3_0, col3_4 ASC, col3_16 DESC, col3_7 ASC, col3_3 DESC, col3_2 DESC, col3_13 DESC, col3_9), UNIQUE (col3_9, col3_14 DESC, col3_0 ASC, col3_8, col3_16 ASC, col3_6, col3_1, col3_4 ASC, col3_13) STORING (col3_12) WHERE ((((((((((table3.col3_1 != 2147483647:::INT8) AND (table3.col3_9 != e'\'':::STRING)) OR (table3.col3_5 != (-1):::INT8)) OR (table3.col3_8 < 'X':::STRING)) AND (table3.col3_4 <= (-1):::INT8)) AND (table3.col3_12 != '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_2 < (-1.234E+401):::DECIMAL)) AND (table3.col3_16 > e'\\x22':::BYTES)) AND (table3.col3_7 < '5874897-12-31':::DATE)) OR (table3.col3_15 != e'\x00':::STRING)) OR (table3.col3_14 > 1:::INT8), UNIQUE (col3_9 DESC, col3_0 DESC, col3_8 ASC, col3_11, col3_15, col3_5 ASC, col3_14 DESC, col3_6 DESC, col3_12, col3_16 ASC, col3_4, col3_7 ASC, col3_13 ASC, col3_1 ASC, col3_17, col3_2, col3_3 DESC), INDEX (col3_12 ASC, col3_2 ASC, col3_15, col3_11, col3_14, col3_5 DESC, col3_0, col3_9, col3_3 ASC) STORING (col3_6), UNIQUE (col3_7 DESC, col3_13, col3_14 DESC, col3_12, col3_8 DESC, col3_2, col3_4 ASC, col3_1 DESC, col3_5, col3_9, col3_3 DESC, col3_6 DESC, col3_17 DESC, col3_0) STORING (col3_10) WHERE ((((((((table3.col3_8 > e'\U00002603':::STRING) OR (table3.col3_9 > '':::STRING)) AND (table3.col3_1 <= (-1):::INT8)) OR (table3.col3_16 > e'\\x':::BYTES)) AND (table3.col3_7 = '1970-01-01':::DATE)) OR (table3.col3_14 > (-1):::INT8)) AND (table3.col3_12 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_4 >= 1:::INT8)) AND (table3.col3_15 = 'X':::STRING), FAMILY (col3_2, col3_10), FAMILY (col3_3, col3_6), FAMILY (col3_12), FAMILY (col3_14), FAMILY (col3_8), FAMILY (col3_17, col3_7), FAMILY (col3_11, col3_9, col3_1), FAMILY (col3_13), FAMILY (col3_4, col3_15, col3_0, col3_5), FAMILY (col3_16));
        test_1        |             CREATE TABLE table4 (col1_0 FLOAT8 NOT NULL, col1_1 FLOAT8 NOT NULL, col1_2 "char" NOT NULL, col4_3 REGPROC NOT NULL, col4_4 REGTYPE, col4_5 INT2, PRIMARY KEY (col1_0 ASC, col1_1 DESC, col1_2 ASC), INDEX (col4_4 DESC, col1_2 DESC, col4_3 ASC, col1_1) WHERE (table4.col1_1 != (-1.0):::FLOAT8) OR (table4.col4_5 != 127:::INT8), UNIQUE (col4_5), UNIQUE (col4_5, col4_3), FAMILY (col1_2, col4_3, col4_4, col4_5), FAMILY (col1_0, col1_1)) INTERLEAVE IN PARENT table1 (col1_0, col1_1, col1_2);
        test_1        |             CREATE TABLE table5 (col1_0 FLOAT8 NOT NULL, col1_1 FLOAT8 NOT NULL, col1_2 "char" NOT NULL, col5_3 TIME, col5_4 REGTYPE NULL, col5_5 REGNAMESPACE, col5_6 "char" NULL, col5_7 STRING NOT NULL, col5_8 REGPROC NULL, col5_9 INT8, col5_10 INT8 NOT NULL, col5_11 TIMESTAMPTZ, col5_12 INTERVAL NOT NULL, col5_13 TIMETZ NULL, col5_14 BYTES, col5_15 DECIMAL NOT NULL, col5_16 INT4 NULL, col5_17 REGPROC, col5_18 OID, col5_19 STRING, col5_20 REGPROCEDURE, col5_21 CHAR, PRIMARY KEY (col1_0 ASC, col1_1 DESC, col1_2 ASC, col5_9 DESC, col5_16 ASC, col5_20, col5_13 ASC, col5_3 ASC, col5_15 DESC, col5_7 ASC, col5_8 DESC, col5_11 ASC, col5_19, col5_14 DESC), UNIQUE (col5_15, col5_14 ASC, col5_19 ASC, col5_5 ASC) WHERE ((((((((((table5.col5_9 != (-9223372036854775807):::INT8) OR (table5.col5_15 <= '-Infinity':::DECIMAL)) AND (table5.col5_21 <= e'\x00':::STRING)) OR (table5.col5_14 <= e'\\x00':::BYTES)) AND (table5.col5_13 = '24:00:00-15:59:00':::TIMETZ)) OR (table5.col5_10 >= (-2147483648):::INT8)) OR (table5.col5_11 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table5.col1_2 >= '':::STRING)) AND (table5.col5_6 = e'\x00':::STRING)) AND (table5.col5_7 != '':::STRING)) OR (table5.col1_0 = 'NaN':::FLOAT8), INDEX (col5_20 DESC, col1_2, col5_9, col5_16 ASC) STORING (col5_6, col5_17, col5_18) WHERE ((((((((((((((table5.col5_3 >= '24:00:00') AND (table5.col1_1 > 1.0)) OR (table5.col1_2 >= '')) OR (table5.col5_7 >= '')) AND (table5.col5_9 = -2147483648)) OR (table5.col5_13 > '24:00:00-15:59:00')) AND (table5.col5_10 < 9223372036854775807)) AND (table5.col5_16 <= 1)) OR (table5.col5_15 >= NaN)) OR (table5.col1_0 != +Inf)) AND (table5.col5_19 >= e'\'')) OR (table5.col5_6 >= e'\U00002603')) AND (table5.col5_14 = '\xe29883')) OR (table5.col5_11 != '-4713-11-24 00:00:00+00:00')) AND (table5.col5_21 > e'\U00002603'), UNIQUE (col5_10 ASC, col5_5 DESC, col5_4, col1_1 ASC, col5_19, col5_18 ASC, col5_16 ASC, col5_15 ASC) STORING (col5_6, col5_17), UNIQUE (col5_12 ASC, col5_11, col5_6 ASC, col5_18, col5_7 ASC, col5_13) STORING (col5_4, col5_5, col5_10, col5_21) WHERE (((table5.col5_15 <= 0:::DECIMAL) AND (table5.col1_1 <= '+Inf':::FLOAT8)) AND (table5.col5_11 >= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table5.col1_2 < 'X':::STRING), INDEX (col5_13 DESC, col5_16, col5_5 DESC, col5_18 DESC, col5_9 DESC, col5_14 DESC, col5_11, col1_0 ASC, col1_1 DESC, col5_19 DESC) STORING (col5_4, col5_6, col5_10, col5_17) WHERE ((((table5.col5_19 < 'X':::STRING) AND (table5.col1_0 > 3.4028234663852886e+38:::FLOAT8)) OR (table5.col5_16 != (-32768):::INT8)) OR (table5.col5_21 = e'\x00':::STRING)) OR (table5.col5_14 >= e'\\x':::BYTES), FAMILY (col5_11), FAMILY (col5_20, col1_0, col5_7, col5_5, col5_15), FAMILY (col1_1), FAMILY (col5_4, col5_19, col5_14), FAMILY (col5_13), FAMILY (col5_9), FAMILY (col5_8), FAMILY (col5_21), FAMILY (col5_16, col5_17, col5_3), FAMILY (col5_10), FAMILY (col5_18, col5_6), FAMILY (col5_12, col1_2)) INTERLEAVE IN PARENT table4 (col1_0, col1_1, 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": 174119744202358028, "histo_buckets": [{"distinct_range": 0, "num_eq": 535201969307022756, "num_range": 0, "upper_bound": "-0.4783078644505018"}, {"distinct_range": 9000000000, "num_eq": 3000, "num_range": 9000000000, "upper_bound": "-0.2557540881051106"}, {"distinct_range": 0, "num_eq": 700, "num_range": 4000, "upper_bound": "-0.048314668281708495"}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 6000, "upper_bound": "0.04832914053655246"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "0.3304088075643227"}, {"distinct_range": 3325173708303562000, "num_eq": 5778306592091596051, "num_range": 3325173708303562278, "upper_bound": "0.43709204836242893"}, {"distinct_range": 4695426771268536000, "num_eq": 5657164127020660301, "num_range": 4695426771268536034, "upper_bound": "2.1201822291798758"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 2820250772356432703}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1417375109207209975, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 10000000000, "num_eq": 1362495020170246076, "num_range": 10000000000, "upper_bound": "\\u000e"}, {"distinct_range": 8549565643029944000, "num_eq": 8540713039595251435, "num_range": 8549565643029943984, "upper_bound": "\\u000fl@M\\u0011"}, {"distinct_range": 90871.9346583568, "num_eq": 500000000, "num_range": 100000, "upper_bound": "A"}, {"distinct_range": 6838200253475760000, "num_eq": 500000, "num_range": 6838200253475760470, "upper_bound": "B"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 2820250772356432703}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2581502796643043453, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 3672918573.760999, "num_eq": 7614619602711381205, "num_range": 10000000000, "upper_bound": "-0.5467342974721476"}, {"distinct_range": 0, "num_eq": 600, "num_range": 7539860807717507311, "upper_bound": "0.28686408142868336"}, {"distinct_range": 0, "num_eq": 5980657290632190161, "num_range": 5566575372558457327, "upper_bound": "0.8246459214361512"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 2820250772356432703}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 82157195, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 312774024, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104150093, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 372587092, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49911187, "histo_col_type": "", "name": "__auto__", "null_count": 393468579, "row_count": 400000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169602693, "histo_col_type": "", "name": "__auto__", "null_count": 298907250, "row_count": 400000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 274254584, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4273774, "histo_col_type": "", "name": "__auto__", "null_count": 164535606, "row_count": 400000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 268108309, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 336586822, "histo_col_type": "", "name": "__auto__", "null_count": 9798949, "row_count": 400000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 253699921, "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 74460214, "row_count": 400000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 189521352, "histo_buckets": [{"distinct_range": 0, "num_eq": 5000, "num_range": 0, "upper_bound": "-22 years -2 mons -417 days -11:17:23.010042"}, {"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "-12 years -4 mons -983 days -13:37:09.092421"}, {"distinct_range": 2580.9858111385365, "num_eq": 600000000, "num_range": 4000, "upper_bound": "13 years 3 mons 409 days 20:21:57.430138"}, {"distinct_range": 0, "num_eq": 5043142262647409309, "num_range": 1012459815132119928, "upper_bound": "38 years 5 mons 741 days 11:24:53.170257"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 264188515, "row_count": 400000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31234575, "histo_col_type": "", "name": "__auto__", "null_count": 391229847, "row_count": 400000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67811258, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108824554, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": ""}, {"distinct_range": 1056670418675836700, "num_eq": 7626719223995162718, "num_range": 1955064529532303327, "upper_bound": "\\u0008$\x7f~k$Km\\u0011"}, {"distinct_range": 0, "num_eq": 500, "num_range": 0, "upper_bound": "\\u001c<&lP\\u0016"}, {"distinct_range": 7000000000, "num_eq": 8000000, "num_range": 7000000000, "upper_bound": "\'"}, {"distinct_range": 3894434988370337000, "num_eq": 400000000, "num_range": 8020542118854493830, "upper_bound": "H\\u000b\\u0017"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 49253185, "row_count": 400000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 191260550, "histo_col_type": "", "name": "__auto__", "null_count": 6348437, "row_count": 400000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 307904151, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272600226, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4050, "histo_col_type": "", "name": "__auto__", "null_count": 18830, "row_count": 20000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12735, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1308, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8499, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18304, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19145, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "00010100000110100000110100100010111"}, {"distinct_range": 7901.077917348442, "num_eq": 6366250263183583277, "num_range": 9000, "upper_bound": "00011111000011000000100011000011010"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1000, "upper_bound": "01000110100000110101010111000100110"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 70000000, "upper_bound": "01011110011010011100100111001000111"}], "histo_col_type": "BIT(35)", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4375, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14510, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9047, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14751, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18299, "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": 14724, "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": 15984, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "\\tXo\\tk"}, {"distinct_range": 96.7209375956227, "num_eq": 70000, "num_range": 100, "upper_bound": "\\u0019\\r8\\u0015"}, {"distinct_range": 2551880132633705500, "num_eq": 700, "num_range": 2551880132633705429, "upper_bound": "\',"}, {"distinct_range": 20000000000, "num_eq": 8482391788131785068, "num_range": 20000000000, "upper_bound": "U;"}, {"distinct_range": 4688469767559462000, "num_eq": 10000000000, "num_range": 4688469767559462043, "upper_bound": "n\\u0010~\\u0007\\u000f;:v"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 3360, "row_count": 20000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14759, "histo_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "137.210.53.154/16"}, {"distinct_range": 0, "num_eq": 3858726341703127815, "num_range": 0, "upper_bound": "8f20:c41d:9802:cb12:c67d:e55:806a:16a4/55"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3173, "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15375, "histo_buckets": [{"distinct_range": 0, "num_eq": 1351713949401614917, "num_range": 0, "upper_bound": "\\u00105\\u0008"}, {"distinct_range": 3889754138678968000, "num_eq": 100000000000, "num_range": 3889754138678967972, "upper_bound": "=-\\u0017Yn\\tL\\u0006"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 10000000000, "upper_bound": "@`\\u001eKp"}, {"distinct_range": 70000000000, "num_eq": 5900237043082808669, "num_range": 70000000000, "upper_bound": "O0&Qt8:"}, {"distinct_range": 1000000000, "num_eq": 6000000, "num_range": 1000000000, "upper_bound": "UU"}, {"distinct_range": 8107618218.937955, "num_eq": 1000, "num_range": 10000000000, "upper_bound": "W~{{\\u001c\\u0016c\\u001e"}, {"distinct_range": 45.36814750479981, "num_eq": 7000000, "num_range": 800, "upper_bound": "`8T rM"}, {"distinct_range": 4485489.95889762, "num_eq": 6594701806677452337, "num_range": 7000000, "upper_bound": "c_"}, {"distinct_range": 32865.1308949322, "num_eq": 50000, "num_range": 70000, "upper_bound": "vl7i"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15469, "histo_buckets": [{"distinct_range": 0, "num_eq": 9043036913318641870, "num_range": 0, "upper_bound": "1977-07-01"}, {"distinct_range": 0, "num_eq": 8187406374427680378, "num_range": 4000, "upper_bound": "1987-09-15"}, {"distinct_range": 1483737579966622500, "num_eq": 8000000, "num_range": 2739404697426246364, "upper_bound": "1992-04-05"}, {"distinct_range": 0, "num_eq": 2751828236026796054, "num_range": 10000, "upper_bound": "5874897-12-31"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 20000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2733, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84, "histo_col_type": "", "name": "__auto__", "null_count": 84, "row_count": 200}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "-1.6943330546657398"}, {"distinct_range": 0, "num_eq": 5212660434184597188, "num_range": 4000, "upper_bound": "-0.8729446573150577"}, {"distinct_range": 145991723619484300, "num_eq": 3096194966419144743, "num_range": 499763554862131055, "upper_bound": "-0.6892445576836301"}, {"distinct_range": 20868.338845974547, "num_eq": 40000000000, "num_range": 30000, "upper_bound": "-0.5562629222847043"}, {"distinct_range": 3329.038957184103, "num_eq": 500000, "num_range": 5000, "upper_bound": "-0.5389995217755333"}, {"distinct_range": 204.66832964859, "num_eq": 9000000000, "num_range": 3000, "upper_bound": "0.7893301767646314"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 185, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 54, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "35929011"}, {"distinct_range": 32473495.97415807, "num_eq": 2809400557992193992, "num_range": 60000000, "upper_bound": "2406874426"}, {"distinct_range": 0, "num_eq": 5502069122382947452, "num_range": 2819800871420352760, "upper_bound": "2464986006"}, {"distinct_range": 2064158904528390000, "num_eq": 385959912551947432, "num_range": 4159630918916812036, "upper_bound": "3771044162"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 150, "row_count": 200}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 239889, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12308, "histo_col_type": "", "name": "__auto__", "null_count": 20943, "row_count": 1000000}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 631014, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 301857, "histo_col_type": "", "name": "__auto__", "null_count": 663882, "row_count": 1000000}, {"columns": ["col5_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 565729, "histo_col_type": "", "name": "__auto__", "null_count": 798082, "row_count": 1000000}, {"columns": ["col5_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68125, "histo_col_type": "", "name": "__auto__", "null_count": 622337, "row_count": 1000000}, {"columns": ["col5_20"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 857152, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 8798371626888315192, "num_range": 10000000000, "upper_bound": "1509324924"}, {"distinct_range": 263298746822695260, "num_eq": 4437533739177767842, "num_range": 675910711336973698, "upper_bound": "3452556712"}, {"distinct_range": 0, "num_eq": 2468844578006758969, "num_range": 1000000000, "upper_bound": "3601589662"}, {"distinct_range": 0, "num_eq": 4247273052650836124, "num_range": 8000000000, "upper_bound": "3742490211"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 70763, "row_count": 1000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 324450, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000, "num_range": 0, "upper_bound": "-1.3350707924041267"}, {"distinct_range": 5860614942793072000, "num_eq": 6774684223784897989, "num_range": 7353553787167915718, "upper_bound": "-0.37712355853186175"}, {"distinct_range": 3048544447406423000, "num_eq": 100000000, "num_range": 3383876500096381360, "upper_bound": "5e-324"}, {"distinct_range": 323620.6706875304, "num_eq": 3211515763577382931, "num_range": 400000, "upper_bound": "0.6850656881663476"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 727399, "histo_col_type": "", "name": "__auto__", "null_count": 598626, "row_count": 1000000}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 325665, "histo_buckets": [{"distinct_range": 0, "num_eq": 80, "num_range": 0, "upper_bound": "-2636485830764942654"}, {"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "-1833977389147278911"}, {"distinct_range": 389805.8042722763, "num_eq": 168253426164864016, "num_range": 700000, "upper_bound": "127"}, {"distinct_range": 0, "num_eq": 4995364619705899230, "num_range": 800000, "upper_bound": "870510494151598330"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 70, "upper_bound": "1170358402497584801"}, {"distinct_range": 4984759562268451000, "num_eq": 1283236478723051365, "num_range": 4984759562268450577, "upper_bound": "5314921714191141513"}, {"distinct_range": 700000, "num_eq": 800000000, "num_range": 700000, "upper_bound": "6877865775340802647"}, {"distinct_range": 1634141736262986800, "num_eq": 4122479307824469518, "num_range": 5814224006571365985, "upper_bound": "7569874782595982005"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 986614, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "07:57:25.973431+08:27:00"}, {"distinct_range": 0, "num_eq": 4720813740642420229, "num_range": 70000, "upper_bound": "08:46:15.804591+00:14:00"}, {"distinct_range": 98553034432295550, "num_eq": 6000, "num_range": 894591285736692483, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 590146, "row_count": 1000000}, {"columns": ["col5_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 705251, "histo_buckets": [{"distinct_range": 0, "num_eq": 8741859264297588960, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 0, "num_eq": 5685600260931741833, "num_range": 4000000, "upper_bound": "-5.18867667926720465E+29"}, {"distinct_range": 0, "num_eq": 10000000, "num_range": 2072439314572082136, "upper_bound": "-8.824759951234151703E+20"}, {"distinct_range": 287.01596305397976, "num_eq": 7195809761703783369, "num_range": 800, "upper_bound": "-2279289069007048222"}, {"distinct_range": 0, "num_eq": 8350461899164426698, "num_range": 2000000, "upper_bound": "-2817927.286679948826"}, {"distinct_range": 17.06213586343087, "num_eq": 20000000, "num_range": 700, "upper_bound": "27.70473731857237464"}, {"distinct_range": 380613309158682900, "num_eq": 300, "num_range": 380613309158682894, "upper_bound": "504.7920835739288196"}, {"distinct_range": 7000, "num_eq": 7757298170399338694, "num_range": 7000, "upper_bound": "795.779305077296935"}, {"distinct_range": 0, "num_eq": 5000000000, "num_range": 0, "upper_bound": "1.663218561897193204E+32"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_21"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 182557, "histo_col_type": "", "name": "__auto__", "null_count": 400984, "row_count": 1000000}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85698, "histo_col_type": "", "name": "__auto__", "null_count": 228042, "row_count": 1000000}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285084, "histo_col_type": "", "name": "__auto__", "null_count": 764146, "row_count": 1000000}, {"columns": ["col5_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 477545, "histo_col_type": "", "name": "__auto__", "null_count": 573170, "row_count": 1000000}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 783313, "histo_col_type": "", "name": "__auto__", "null_count": 885000, "row_count": 1000000}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 304000, "histo_col_type": "", "name": "__auto__", "null_count": 985851, "row_count": 1000000}, {"columns": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 206438, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-64 years -9 mons -553 days -01:47:16.971684"}, {"distinct_range": 0, "num_eq": 6114272729015348644, "num_range": 70000000000, "upper_bound": "-33 years -3 mons -375 days -17:39:46.06804"}, {"distinct_range": 3001765847720039000, "num_eq": 6159336251193007547, "num_range": 3001765847720038679, "upper_bound": "-16 years -2 mons -561 days -12:39:11.917916"}, {"distinct_range": 0, "num_eq": 1913266798269713643, "num_range": 90000, "upper_bound": "-4 years -5 mons -594 days -01:02:39.481212"}, {"distinct_range": 1691.399187265369, "num_eq": 200, "num_range": 7000, "upper_bound": "-2 mons -290 days -09:21:27.25112"}, {"distinct_range": 0, "num_eq": 500, "num_range": 3623731039488639879, "upper_bound": "00:00:00"}, {"distinct_range": 6476398266520846000, "num_eq": 1881082636597043127, "num_range": 6476398266520845879, "upper_bound": "35 years 1 mon 297 days 17:50:15.94829"}, {"distinct_range": 50000000, "num_eq": 3171735606307956602, "num_range": 50000000, "upper_bound": "43 years 8 mons 105 days 17:52:00.604377"}, {"distinct_range": 0, "num_eq": 8000, "num_range": 80000000, "upper_bound": "63 years 6 mons 756 days 10:17:30.897364"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 1000000}, {"columns": ["col5_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 614327, "histo_col_type": "", "name": "__auto__", "null_count": 773831, "row_count": 1000000}, {"columns": ["col5_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 130461, "histo_col_type": "", "name": "__auto__", "null_count": 427387, "row_count": 1000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 845623, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_14) REFERENCES table4 (col4_5) ON DELETE RESTRICT ON UPDATE RESTRICT;
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_1, col3_13) REFERENCES table4 (col4_5, col4_3);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('mxcrmh', 'vvjlod', 'gkzzv', 'bvjkkv', 'vd', 'vc');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('i', 's', 'mddthh', 'fjgn', 'ct', 'ihg');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('bjb');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('el', 'yv', 'pxozao', 'l', 'he', 'kymmpj');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('cdwjqn', 'zpmyes', 'dh', 'clkcxy');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5439899743698914238, "histo_buckets": [{"distinct_range": 0, "num_eq": 7525737356841425962, "num_range": 0, "upper_bound": "-0.19484756393648917"}, {"distinct_range": 0, "num_eq": 500, "num_range": 10000, "upper_bound": "0.4709246035112473"}, {"distinct_range": 0, "num_eq": 2775081249233121653, "num_range": 0, "upper_bound": "0.6945983848437012"}, {"distinct_range": 5802372164368860000, "num_eq": 4106346134450037175, "num_range": 8435701315989389387, "upper_bound": "0.7178713630922131"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 1000000, "upper_bound": "0.8839294713080953"}, {"distinct_range": 0, "num_eq": 0, "num_range": 6216648879050586023, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 6208899133208191830}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3655348331878104768, "histo_buckets": [{"distinct_range": 0, "num_eq": 4264172735511917871, "num_range": 0, "upper_bound": "\\u0013{!)"}, {"distinct_range": 0, "num_eq": 1229221573949393287, "num_range": 30, "upper_bound": "\\u001e\\u0005=\\u000b\\u0016Q"}, {"distinct_range": 0, "num_eq": 100, "num_range": 800, "upper_bound": "KX\\u0003\\u0019\\u0005]Qu="}, {"distinct_range": 2256211269625515300, "num_eq": 2400427246013269100, "num_range": 2256211269625515194, "upper_bound": "Nx"}, {"distinct_range": 769.0508991199787, "num_eq": 900, "num_range": 1000, "upper_bound": "Rc\\u0011lGPb\\u000e"}, {"distinct_range": 0, "num_eq": 2381772352642331385, "num_range": 1000000, "upper_bound": "f:Pq& V0"}, {"distinct_range": 31.81094773648675, "num_eq": 7468939494537841191, "num_range": 50, "upper_bound": "w/D,p[\\u000bD"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 6208899133208191830}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1960030090565945751, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-2.0331211483174347"}, {"distinct_range": 200000, "num_eq": 7113418036154221526, "num_range": 200000, "upper_bound": "-1.2840906549461584"}, {"distinct_range": 774313834756038100, "num_eq": 4198192584129603036, "num_range": 6742823700967908870, "upper_bound": "-0.17588129339619557"}, {"distinct_range": 20, "num_eq": 20000, "num_range": 20, "upper_bound": "0.2191750258327223"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 300000, "upper_bound": "0.8437936426989874"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 10000, "upper_bound": "0.8438540459379862"}, {"distinct_range": 12.784056699319846, "num_eq": 1683480501935923052, "num_range": 100, "upper_bound": "1.4677310519776068"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 6208899133208191830}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6709038, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2222118, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3969803, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2300359, "histo_col_type": "", "name": "__auto__", "null_count": 2531052, "row_count": 10000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5781034, "histo_col_type": "", "name": "__auto__", "null_count": 346014, "row_count": 10000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2080041, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3763134, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "-2.342434824752317118E+33"}, {"distinct_range": 0, "num_eq": 7386768659732393984, "num_range": 7246715761345280255, "upper_bound": "-6.508497086042259937E+21"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 70, "upper_bound": "0.2661607594136270979"}, {"distinct_range": 40000, "num_eq": 40000000000, "num_range": 40000, "upper_bound": "7.750170716443459233E+24"}, {"distinct_range": 30000000, "num_eq": 1777441218826344946, "num_range": 30000000, "upper_bound": "5.360403645140017779E+25"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 8087367, "row_count": 10000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7616681, "histo_col_type": "", "name": "__auto__", "null_count": 626630, "row_count": 10000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6485293, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4621716, "histo_col_type": "", "name": "__auto__", "null_count": 6688173, "row_count": 10000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 768849, "histo_col_type": "", "name": "__auto__", "null_count": 175802, "row_count": 10000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8816333, "histo_buckets": [{"distinct_range": 0, "num_eq": 200, "num_range": 0, "upper_bound": "\\u0002a\\u0019~l"}, {"distinct_range": 24250663.701557495, "num_eq": 5000000, "num_range": 30000000, "upper_bound": ".j$"}, {"distinct_range": 2311376186426843600, "num_eq": 2000000000, "num_range": 8392244820176317841, "upper_bound": "=EpI\\u0015\\u001e\\u0013"}, {"distinct_range": 0, "num_eq": 5367228144730737790, "num_range": 40, "upper_bound": "Va}5/\\u000ep"}, {"distinct_range": 500, "num_eq": 5959790950908219393, "num_range": 500, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 60, "upper_bound": "r"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 7132593, "row_count": 10000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4869950, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4381040, "histo_buckets": [{"distinct_range": 0, "num_eq": 3954033800142443274, "num_range": 0, "upper_bound": "-35 years -8 mons -984 days -14:52:12.285263"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 90000, "upper_bound": "1 mon 1 day"}, {"distinct_range": 0, "num_eq": 2665082554551512123, "num_range": 5563119455204684613, "upper_bound": "17 years 11 mons 281 days 11:45:20.726207"}, {"distinct_range": 0, "num_eq": 7972938407705596359, "num_range": 5000, "upper_bound": "24 years 1 mon 120 days 07:20:32.240106"}, {"distinct_range": 8813445007142958000, "num_eq": 800, "num_range": 8813445007142957611, "upper_bound": "25 years 7 mons 442 days 24:39:03.433666"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 606136, "row_count": 10000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4019178, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9610751, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9201771, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 888387, "histo_col_type": "", "name": "__auto__", "null_count": 3953308, "row_count": 10000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32306838373457671, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 256987308958299842, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285468876033270893, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 86064426426922099, "histo_col_type": "", "name": "__auto__", "null_count": 290103070946332487, "row_count": 594725010190504921}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 480257490004878634, "histo_buckets": [{"distinct_range": 0, "num_eq": 9187221426407884241, "num_range": 0, "upper_bound": "217.72.249.85/2"}, {"distinct_range": 30000000, "num_eq": 4443472111684595356, "num_range": 30000000, "upper_bound": "946d:e6f9:b76:2ae4:4c34:4a0c:b150:efa7/113"}, {"distinct_range": 8794987457938773000, "num_eq": 5211223748769363961, "num_range": 8932286993669517566, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 554833394628296182, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "1980-07-22 18:52:56.000953+00:00"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 0, "upper_bound": "1984-02-18 21:26:01.000757+00:00"}, {"distinct_range": 874815803.1957792, "num_eq": 4810619998922204437, "num_range": 10000000000, "upper_bound": "1991-04-10 09:40:54.000067+00:00"}, {"distinct_range": 2114928326120328200, "num_eq": 6781966462241523567, "num_range": 3391701886063354549, "upper_bound": "2011-12-29 01:20:46.000213+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 210611696337156233, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 557269361156332130, "histo_buckets": [{"distinct_range": 0, "num_eq": 7083671454242908958, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 400000, "num_eq": 7000, "num_range": 400000, "upper_bound": "]w+\\u0002qU5c"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 93948854033475366, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 269113745735531661, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 578374777065355786, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 289788444328972520, "histo_buckets": [{"distinct_range": 0, "num_eq": 7926266161344488736, "num_range": 0, "upper_bound": "00111001110110110011101100000001101"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 90000000, "upper_bound": "01111010000111011101101011110100000"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 1882906299054673070, "upper_bound": "10011110011100110000110100111010101"}, {"distinct_range": 9000000, "num_eq": 1162532589548372739, "num_range": 9000000, "upper_bound": "11000100000110010010010000000000001"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 1000000, "upper_bound": "11010011111110100000000110010011100"}], "histo_col_type": "BIT(35)", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145985425949961384, "histo_buckets": [{"distinct_range": 0, "num_eq": 4962361821048729677, "num_range": 0, "upper_bound": "\\u0015NFU"}, {"distinct_range": 3695192421042476500, "num_eq": 2920962057297231570, "num_range": 4857296786224723663, "upper_bound": "/\\u000b5\\u0003"}, {"distinct_range": 1000000000, "num_eq": 20000000000, "num_range": 1000000000, "upper_bound": "~\\n"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 75447243622067018, "row_count": 594725010190504921}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 374008163232928880, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 464440405853971897, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 80887946202346068, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 344963863570137548, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 6931594520619171472, "upper_bound": "1970-01-21"}, {"distinct_range": 15620078503.479395, "num_eq": 0, "num_range": 100000000000, "upper_bound": "1977-02-15"}, {"distinct_range": 0, "num_eq": 4581847746906401044, "num_range": 10000, "upper_bound": "1977-09-09"}, {"distinct_range": 1694614062237712600, "num_eq": 200, "num_range": 1694614062237712703, "upper_bound": "1978-09-30"}, {"distinct_range": 311836773183911800, "num_eq": 5000, "num_range": 7576269849819570195, "upper_bound": "1982-03-29"}, {"distinct_range": 80, "num_eq": 30, "num_range": 80, "upper_bound": "1997-04-12"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 200907422013766208, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 594725010190504921}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5702, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000, "num_range": 0, "upper_bound": "-28804"}, {"distinct_range": 5000000, "num_eq": 40, "num_range": 5000000, "upper_bound": "-24663"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 600000, "upper_bound": "-15100"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 6231769694229805770, "upper_bound": "-10690"}, {"distinct_range": 0, "num_eq": 3880303378689485372, "num_range": 900000, "upper_bound": "1699"}, {"distinct_range": 2048639446589245700, "num_eq": 5918590490179461422, "num_range": 2338229887731534137, "upper_bound": "2918"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 1934, "row_count": 10000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6995, "histo_buckets": [{"distinct_range": 0, "num_eq": 4602372830347514781, "num_range": 0, "upper_bound": "-1.124623449807376"}, {"distinct_range": 864.1343589568482, "num_eq": 7523541153219461932, "num_range": 3000, "upper_bound": "-0.8782211503762842"}, {"distinct_range": 5071830239391838000, "num_eq": 6467232323437358361, "num_range": 6185535775952089084, "upper_bound": "-0.18888410588759724"}, {"distinct_range": 2641024772636965000, "num_eq": 1224101210725458509, "num_range": 3287270976195751762, "upper_bound": "1.6612290186607304"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7064, "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": 6407, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4888, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2888, "histo_buckets": [{"distinct_range": 0, "num_eq": 350102554336118980, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 7799521989904158000, "num_eq": 5646626795764174614, "num_range": 7799521989904157543, "upper_bound": "151002036"}, {"distinct_range": 3000000000, "num_eq": 8000000000, "num_range": 3000000000, "upper_bound": "793843143"}, {"distinct_range": 0, "num_eq": 5941913555818799253, "num_range": 40000000, "upper_bound": "1734980427"}, {"distinct_range": 2608658836779643400, "num_eq": 8488267715500721565, "num_range": 8755882950230437695, "upper_bound": "2783506681"}, {"distinct_range": 657244.9467457118, "num_eq": 700, "num_range": 800000, "upper_bound": "2837352327"}, {"distinct_range": 4411451282167389700, "num_eq": 90000000000, "num_range": 4411451282167389585, "upper_bound": "3474533267"}, {"distinct_range": 0, "num_eq": 7643158462347859687, "num_range": 6000000, "upper_bound": "3602322901"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 1391418983941144370, "upper_bound": "4077729057"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 1271, "row_count": 10000}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"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_13"], "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": "11:21:19.783713+09:32:00"}, {"distinct_range": 3000, "num_eq": 900000, "num_range": 3000, "upper_bound": "10:37:15.406379+06:54:00"}, {"distinct_range": 745658645.3754683, "num_eq": 9134399491002832789, "num_range": 900000000, "upper_bound": "07:35:07.194456+02:13:00"}, {"distinct_range": 1000, "num_eq": 90, "num_range": 1000, "upper_bound": "07:37:23.021303-02:25:00"}, {"distinct_range": 0, "num_eq": 1011457792211034026, "num_range": 6241351805954679535, "upper_bound": "21:11:40.00794+07:19:00"}, {"distinct_range": 0, "num_eq": 8213698160786447028, "num_range": 391334285955194401, "upper_bound": "23:46:28.832713+07:10:00"}, {"distinct_range": 4000, "num_eq": 7698082140752919391, "num_range": 4000, "upper_bound": "18:09:01.853475-13:36:00"}, {"distinct_range": 6110040971385742000, "num_eq": 2710476083601641557, "num_range": 7596537254529340937, "upper_bound": "24:00:00-15:59:00"}], "histo_col_type": "TIMETZ", "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_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": ["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": ["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_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_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": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 3710897058866963717, "num_range": 0, "upper_bound": "0.3932988371713163"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col5_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": ["col5_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 6885000958564257839, "num_range": 0, "upper_bound": "-80 years -4 mons -329 days -00:10:11.267134"}, {"distinct_range": 10000000, "num_eq": 20000000, "num_range": 10000000, "upper_bound": "-26 years -8 mons -957 days -02:39:40.111744"}, {"distinct_range": 20000000, "num_eq": 90000000, "num_range": 20000000, "upper_bound": "-28 years -5 mons -316 days -02:17:46.307027"}, {"distinct_range": 2407044685859283000, "num_eq": 5691261550923952618, "num_range": 8485202118387553423, "upper_bound": "00:00:00"}, {"distinct_range": 7925648910734583000, "num_eq": 1645336941988737314, "num_range": 8761776326862657527, "upper_bound": "74 years 2 mons 57 days 23:32:56.338195"}], "histo_col_type": "INTERVAL", "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": 900, "num_range": 0, "upper_bound": "-2.664261617661198995E+24"}], "histo_col_type": "DECIMAL", "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_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "720039844"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 900, "upper_bound": "1018237493"}, {"distinct_range": 7725296301632572000, "num_eq": 4332810719686897849, "num_range": 7725296301632572699, "upper_bound": "1184298965"}, {"distinct_range": 5115605764364632000, "num_eq": 3041238551171943864, "num_range": 8220536050841559479, "upper_bound": "2242902170"}, {"distinct_range": 10000000000, "num_eq": 20000000, "num_range": 10000000000, "upper_bound": "2526947283"}, {"distinct_range": 20, "num_eq": 8879280636075558082, "num_range": 20, "upper_bound": "2854501664"}, {"distinct_range": 6158417180240840000, "num_eq": 3458975134257174648, "num_range": 6796296416246294818, "upper_bound": "3192406580"}, {"distinct_range": 335662350.83166033, "num_eq": 200, "num_range": 400000000, "upper_bound": "3263200870"}], "histo_col_type": "REGPROCEDURE", "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": ["col5_10"], "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": "1909254669984582324"}], "histo_col_type": "INT8", "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_col_type": "", "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}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_cou

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@f5f0f11d6e31a6667fe1cafa46cd1a472df38f76:

        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 (2.12s)
        test_1        |     --- FAIL: TestCompare/postgres (0.93s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.2:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (1.20s)
        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 BIT(42) NULL, col1_1 BIT(3) NOT NULL, col1_2 REGTYPE NULL, col1_3 BOOL NULL, col1_4 INT2 NOT NULL, col1_5 INT4 NOT NULL, col1_6 REGCLASS NOT NULL, col1_7 NAME, PRIMARY KEY (col1_4 ASC), UNIQUE (col1_1 ASC, col1_6, col1_3 DESC, col1_5 ASC) WHERE (((table1.col1_5 <= (-2147483648):::INT8) OR (table1.col1_7 != e'\'':::STRING)) OR (table1.col1_4 != (-1):::INT8)) OR (NOT table1.col1_3), UNIQUE (col1_3, col1_5, col1_0 DESC, col1_2, col1_6, col1_1, col1_7 ASC), UNIQUE (col1_4 ASC, col1_1 DESC) STORING (col1_5, col1_6), UNIQUE (col1_5 DESC, col1_0 ASC, col1_1) WHERE (((table1.col1_5 != 1) AND (NOT table1.col1_3)) AND (table1.col1_7 > e'\U00002603')) AND (table1.col1_4 = -1), UNIQUE (col1_1, col1_4, col1_7, col1_3 ASC, col1_0 DESC, col1_5) STORING (col1_2, col1_6), INDEX (col1_6 ASC, col1_4 DESC, col1_7 ASC), UNIQUE (col1_6 ASC, col1_3 ASC, col1_0, col1_1, col1_4 ASC, col1_7 DESC) STORING (col1_2, col1_5) WHERE (((table1.col1_7 <= '"':::STRING) OR (table1.col1_4 = (-1):::INT8)) OR (table1.col1_5 = 127:::INT8)) AND table1.col1_3, INDEX (col1_0 ASC, col1_5 DESC, col1_7) STORING (col1_2, col1_3) WHERE ((table1.col1_4 <= 0:::INT8) OR table1.col1_3) OR (table1.col1_7 >= e'\'':::STRING), INDEX (col1_3, col1_4, col1_6 DESC, col1_2, col1_1 DESC) STORING (col1_5), FAMILY (col1_2), FAMILY (col1_7), FAMILY (col1_3), FAMILY (col1_4), FAMILY (col1_6, col1_1), FAMILY (col1_5, col1_0));
        test_1        |             CREATE TABLE table2 (col2_0 DECIMAL NOT NULL, col2_1 TIMESTAMP NOT NULL, col2_2 TIMETZ NOT NULL, col2_3 "char" NOT NULL, col2_4 FLOAT8 NOT NULL, PRIMARY KEY (col2_4 DESC, col2_0, col2_2 ASC, col2_3), INDEX (col2_2, col2_0 DESC, col2_3 DESC, col2_1 DESC, col2_4 ASC), UNIQUE (col2_4), UNIQUE (col2_3 DESC, col2_4 ASC, col2_2 DESC) STORING (col2_1) WHERE ((((table2.col2_3 = e'\U00002603') AND (table2.col2_2 <= '00:00:00+15:59:00')) AND (table2.col2_4 > 1.0)) OR (table2.col2_1 = '3000-01-01 00:00:00')) AND (table2.col2_0 <= -Infinity), UNIQUE (col2_0, col2_4, col2_1) WHERE (table2.col2_2 <= '00:00:00+15:59:00') AND (table2.col2_3 = ''), INDEX (col2_1), UNIQUE (col2_3) WHERE (table2.col2_4 != 1.7976931348623157e+308:::FLOAT8) OR (table2.col2_3 <= e'\'':::STRING), UNIQUE (col2_1 DESC, col2_4 ASC, col2_2) WHERE table2.col2_3 >= '"':::STRING, UNIQUE (col2_1, col2_3 DESC, col2_4 ASC) WHERE (((table2.col2_3 >= '"') OR (table2.col2_1 >= '0001-01-01 00:00:00')) OR (table2.col2_4 < +Inf)) OR (table2.col2_2 < '24:00:00-15:59:00'), FAMILY (col2_4, col2_2), FAMILY (col2_0, col2_3), FAMILY (col2_1));
        test_1        |             CREATE TABLE table3 (col3_0 REGTYPE NOT NULL, col3_1 DECIMAL, col3_2 "char" NOT NULL, col3_3 TIMESTAMP NOT NULL, col3_4 TIMESTAMPTZ, col3_5 OID, col3_6 DATE NOT NULL, PRIMARY KEY (col3_6, col3_3 ASC, col3_2 DESC, col3_0), INDEX (col3_3 DESC, col3_2, col3_4 DESC, col3_1) STORING (col3_5) WHERE ((((table3.col3_1 = 1:::DECIMAL) AND (table3.col3_4 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table3.col3_2 >= '"':::STRING)) AND (table3.col3_3 < '0001-01-01 00:00:00':::TIMESTAMP)) AND (table3.col3_6 > '-infinity':::DATE), INDEX (col3_6 ASC, col3_3, col3_0 DESC, col3_5 DESC, col3_2 DESC, col3_1 DESC) WHERE table3.col3_3 > '-2000-01-01 00:00:00', INDEX (col3_0, col3_2) STORING (col3_1), UNIQUE (col3_5 DESC, col3_0 DESC, col3_3 DESC, col3_1, col3_6 DESC) WHERE (table3.col3_4 <= '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table3.col3_3 != '-2000-01-01 00:00:00':::TIMESTAMP), FAMILY (col3_2, col3_6), FAMILY (col3_0), FAMILY (col3_1), FAMILY (col3_3), FAMILY (col3_5, col3_4));
        test_1        |             CREATE TABLE table4 (col2_4 FLOAT8 NOT NULL, col2_0 DECIMAL NOT NULL, col2_2 TIMETZ NOT NULL, col2_3 "char" NOT NULL, col4_4 BIT(43), col4_5 CHAR NOT NULL, col4_6 "char" NOT NULL, col4_7 NAME, col4_8 INTERVAL NULL, col4_9 STRING NOT NULL, col4_10 TIMESTAMP NULL, col4_11 REGPROCEDURE, col4_12 FLOAT4 NULL, col4_13 NAME NOT NULL, col4_14 REGCLASS, col4_15 REGPROCEDURE, col4_16 UUID NOT NULL, col4_17 INT2 NOT NULL, col4_18 CHAR NULL, col4_19 TIMETZ NULL, PRIMARY KEY (col2_4 DESC, col2_0, col2_2 ASC, col2_3, col4_16 DESC, col4_13 ASC, col4_11, col4_19, col4_9, col4_10 ASC, col4_14 DESC), INDEX (col4_19, col4_14, col4_16, col4_7 DESC, col4_12 ASC, col4_13 DESC, col4_17, col2_0 DESC, col2_3 DESC, col4_10, col4_15 ASC, col2_2, col2_4 ASC, col4_18 DESC, col4_8, col4_4, col4_11 DESC), FAMILY (col4_7, col4_8), FAMILY (col4_10, col4_17), FAMILY (col4_12), FAMILY (col4_9), FAMILY (col4_6, col4_5), FAMILY (col2_0, col4_11, col2_3, col4_19, col4_16), FAMILY (col4_4), FAMILY (col4_14), FAMILY (col2_2), FAMILY (col4_15), FAMILY (col4_18), FAMILY (col2_4), FAMILY (col4_13), UNIQUE (col2_4)) INTERLEAVE IN PARENT table2 (col2_4, col2_0, col2_2, col2_3);
        test_1        |             CREATE TABLE table5 (col3_6 DATE NOT NULL, col3_3 TIMESTAMP NOT NULL, col3_2 "char" NOT NULL, col3_0 REGTYPE NOT NULL, col5_4 CHAR, col5_5 DATE NULL, col5_6 DATE NULL, col5_7 "char" NOT NULL, col5_8 REGPROCEDURE NULL, PRIMARY KEY (col3_6, col3_3 ASC, col3_2 DESC, col3_0), UNIQUE (col3_3 DESC, col5_4, col5_6 ASC) STORING (col5_8) WHERE ((((table5.col3_3 > '294276-12-31 23:59:59.999999') AND (table5.col5_4 < '"')) OR (table5.col3_2 = e'\'')) AND (table5.col5_7 <= 'X')) AND (table5.col5_6 >= '-infinity'), FAMILY (col3_6, col5_4, col3_3), FAMILY (col5_7, col3_0, col5_5, col5_6), FAMILY (col5_8, col3_2)) INTERLEAVE IN PARENT table3 (col3_6, col3_3, col3_2, col3_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38452, "histo_buckets": [{"distinct_range": 0, "num_eq": 303551273487993178, "num_range": 0, "upper_bound": "011100100011111100010001100111011000111010"}], "histo_col_type": "BIT(42)", "name": "__auto__", "null_count": 26218, "row_count": 50000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43506, "histo_buckets": [{"distinct_range": 0, "num_eq": 533135609756892290, "num_range": 0, "upper_bound": "0000000000000000000000000000000000000000000000000000000000000000"}, {"distinct_range": 5388776156205611000, "num_eq": 3658257848248991411, "num_range": 5717485656126655661, "upper_bound": "011"}], "histo_col_type": "BIT(3)", "name": "__auto__", "null_count": 0, "row_count": 50000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28245, "histo_col_type": "", "name": "__auto__", "null_count": 14671, "row_count": 50000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45941, "histo_buckets": [{"distinct_range": 0, "num_eq": 5723277026761009567, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 1000000, "num_eq": 300000000, "num_range": 1000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 30044, "row_count": 50000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38139, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "-27577"}, {"distinct_range": 90, "num_eq": 9100884134336471594, "num_range": 90, "upper_bound": "-17252"}, {"distinct_range": 0, "num_eq": 276260383061079723, "num_range": 5000000, "upper_bound": "-4676"}, {"distinct_range": 9000000000, "num_eq": 6000000000, "num_range": 9000000000, "upper_bound": "7273"}, {"distinct_range": 200000, "num_eq": 5422735253955741436, "num_range": 200000, "upper_bound": "15615"}, {"distinct_range": 1179.055559837885, "num_eq": 4000000000, "num_range": 2000, "upper_bound": "20529"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 50000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45062, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "-2147483648"}, {"distinct_range": 35158166352.68976, "num_eq": 100, "num_range": 60000000000, "upper_bound": "-2050248412"}, {"distinct_range": 47545041.0078088, "num_eq": 1050824073474820642, "num_range": 100000000, "upper_bound": "-1806703783"}, {"distinct_range": 3959458921219536400, "num_eq": 4530201850622996056, "num_range": 3959458921219536310, "upper_bound": "-1175824059"}, {"distinct_range": 8109422266646277000, "num_eq": 30, "num_range": 8109422266646276949, "upper_bound": "-1144636010"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 500000, "upper_bound": "377758535"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 50000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30379, "histo_buckets": [{"distinct_range": 0, "num_eq": 3250791081144293343, "num_range": 0, "upper_bound": "1335902993"}, {"distinct_range": 150630282989266940, "num_eq": 0, "num_range": 165261195274510437, "upper_bound": "3345405991"}, {"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "3446486071"}, {"distinct_range": 32343287.103251234, "num_eq": 4277560488002641783, "num_range": 60000000, "upper_bound": "3536068871"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 50000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 38997, "histo_col_type": "", "name": "__auto__", "null_count": 33967, "row_count": 50000}]':::JSONB;
        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": 2612509484325623486, "num_range": 0, "upper_bound": "580220203.927155029"}], "histo_col_type": "DECIMAL", "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": 1936126331171517224, "num_range": 0, "upper_bound": "1995-01-12 01:34:50.000208"}], "histo_col_type": "TIMESTAMP", "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": 600000000, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 300000, "num_eq": 5620102111051315519, "num_range": 300000, "upper_bound": "06:33:58.504205+00:22:00"}, {"distinct_range": 546947.0145287862, "num_eq": 5000000, "num_range": 1000000, "upper_bound": "07:03:02.65145-01:42:00"}], "histo_col_type": "TIMETZ", "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": 8003114069639856029, "num_range": 0, "upper_bound": "\\u001c\\nW*\\u000b\\r\\u001cx"}, {"distinct_range": 4059460390937346600, "num_eq": 4748903860721992053, "num_range": 4059460390937346559, "upper_bound": "\\u001d\\u00176Di:t"}, {"distinct_range": 1316523814942096600, "num_eq": 30000, "num_range": 3669058835385977361, "upper_bound": "6cF{:\\rG*"}, {"distinct_range": 3325754385222862300, "num_eq": 2000, "num_range": 9150563507179638882, "upper_bound": "9r"}, {"distinct_range": 2154589674233771800, "num_eq": 4258077004970294405, "num_range": 2154589674233771794, "upper_bound": "<\\u0006</I\\u00172"}, {"distinct_range": 0, "num_eq": 80, "num_range": 8338213247894189025, "upper_bound": "fU65"}], "histo_col_type": "\\"char\\"", "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": 90000000000, "num_range": 0, "upper_bound": "-2.2494579923371747"}, {"distinct_range": 0, "num_eq": 300, "num_range": 0, "upper_bound": "-0.2929639828584653"}, {"distinct_range": 159395649.8506394, "num_eq": 10000, "num_range": 600000000, "upper_bound": "0.02687538623804414"}, {"distinct_range": 1470489824887965200, "num_eq": 3245338260237846049, "num_range": 1470489824887965152, "upper_bound": "0.2796726077446061"}, {"distinct_range": 0, "num_eq": 70000000, "num_range": 0, "upper_bound": "0.3008827926449631"}, {"distinct_range": 94539750.01018149, "num_eq": 100000, "num_range": 100000000, "upper_bound": "0.3263759067436274"}, {"distinct_range": 946022300165728400, "num_eq": 4000, "num_range": 946022300165728344, "upper_bound": "0.8044672412048702"}, {"distinct_range": 1225.441282117332, "num_eq": 8715977589085100670, "num_range": 6000, "upper_bound": "1.0"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_col_type": "", "name": "__auto__", "null_count": 2007, "row_count": 4000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2142, "histo_col_type": "OID", "name": "__auto__", "null_count": 2995, "row_count": 4000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3624, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1307, "histo_buckets": [{"distinct_range": 0, "num_eq": 6141098608837332511, "num_range": 0, "upper_bound": "14009460"}, {"distinct_range": 4836430903069677000, "num_eq": 400000000, "num_range": 4836430903069676198, "upper_bound": "151413897"}, {"distinct_range": 9090106508618605000, "num_eq": 5000, "num_range": 9090106508618604164, "upper_bound": "160455972"}, {"distinct_range": 7510968295616809000, "num_eq": 9000000, "num_range": 7510968295616809445, "upper_bound": "1152915366"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 591363531298616273, "upper_bound": "1576975713"}, {"distinct_range": 2074822040893910800, "num_eq": 6178931636980758715, "num_range": 2074822040893910782, "upper_bound": "2367613253"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 50000000000, "upper_bound": "3609526275"}, {"distinct_range": 800000000, "num_eq": 6000, "num_range": 800000000, "upper_bound": "3707367097"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1380, "histo_col_type": "", "name": "__auto__", "null_count": 1886, "row_count": 4000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 261, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3705, "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 4000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000, "num_range": 0, "upper_bound": "-0.5829612546276719"}, {"distinct_range": 35947.23475589447, "num_eq": 2572548069704145681, "num_range": 40000, "upper_bound": "0.035217661004476986"}, {"distinct_range": 0, "num_eq": 1825517593489879264, "num_range": 30000000, "upper_bound": "0.13672950431310074"}, {"distinct_range": 3219675907706397700, "num_eq": 0, "num_range": 4055591110490822793, "upper_bound": "0.141573480056297"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_col_type": "", "name": "__auto__", "null_count": 5, "row_count": 70}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_col_type": "", "name": "__auto__", "null_count": 8, "row_count": 70}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 32, "row_count": 70}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52, "histo_col_type": "", "name": "__auto__", "null_count": 2, "row_count": 70}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "03:08:40.938935-01:25:00"}, {"distinct_range": 363026869034449800, "num_eq": 0, "num_range": 363026869034449814, "upper_bound": "08:53:06.675209+02:36:00"}, {"distinct_range": 500, "num_eq": 20000000, "num_range": 500, "upper_bound": "05:51:55.552169-12:20:00"}, {"distinct_range": 0, "num_eq": 2590816180971387117, "num_range": 2791241722740147484, "upper_bound": "17:09:25.347153-04:04:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 65, "row_count": 70}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 16, "row_count": 70}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 63, "row_count": 70}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 43, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24, "histo_col_type": "", "name": "__auto__", "null_count": 22, "row_count": 70}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_col_type": "", "name": "__auto__", "null_count": 40, "row_count": 70}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "histo_col_type": "", "name": "__auto__", "null_count": 11, "row_count": 70}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4843, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "1976-04-07 00:13:41.000328"}, {"distinct_range": 0, "num_eq": 6444966221124258919, "num_range": 0, "upper_bound": "1991-05-25 16:00:31.000748"}, {"distinct_range": 4155009859706443000, "num_eq": 80, "num_range": 8522120416740425146, "upper_bound": "2005-03-04 07:48:24.000106"}, {"distinct_range": 0, "num_eq": 2590271069293729760, "num_range": 400000000, "upper_bound": "2015-11-09 02:28:16.000852"}, {"distinct_range": 7356029075063162000, "num_eq": 500000000, "num_range": 7356029075063162072, "upper_bound": "2017-12-26 21:51:21.000028"}, {"distinct_range": 360468881263092300, "num_eq": 10000, "num_range": 446175522294603910, "upper_bound": "2023-05-18 19:29:42.000605"}, {"distinct_range": 100000000, "num_eq": 6000000, "num_range": 100000000, "upper_bound": "2024-11-20 12:14:54.000957"}, {"distinct_range": 0, "num_eq": 8613087452167969637, "num_range": 9000000000, "upper_bound": "2032-01-23 10:26:36.000025"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 509, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 1964, "row_count": 5000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4678, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "1974-06-03"}, {"distinct_range": 0, "num_eq": 6386368615238804340, "num_range": 4511675670214227852, "upper_bound": "1976-03-28"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 0, "upper_bound": "1978-03-18"}, {"distinct_range": 109987947854289900, "num_eq": 8756321179968425046, "num_range": 109987947854289911, "upper_bound": "1986-06-28"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4559, "histo_col_type": "", "name": "__auto__", "null_count": 2221, "row_count": 5000}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 169, "histo_col_type": "", "name": "__auto__", "null_count": 3037, "row_count": 5000}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 783, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5000}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2345, "histo_col_type": "", "name": "__auto__", "null_count": 1608, "row_count": 5000}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_4) REFERENCES table4 (col2_4);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('kgq', 'llolpe');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('blmxe', 'kj', 'esf');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('xm', 'o', 'wzh', 'xpwhao');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('s', 'bmu', 'gtigr');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('lsvrf', 'a', 'eahh', 'w', 'i', 'io');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1099944009257850034, "histo_col_type": "", "name": "__auto__", "null_count": 466070534678250573, "row_count": 2233620062230594975}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 189192266457435155, "histo_buckets": [{"distinct_range": 0, "num_eq": 7304770746641611933, "num_range": 0, "upper_bound": "000100000010110100011111110101110010010010"}, {"distinct_range": 692100850417721900, "num_eq": 900000, "num_range": 1213008003788081893, "upper_bound": "001011000100111010010001110111001000111110"}, {"distinct_range": 0, "num_eq": 8707286934405866496, "num_range": 1000, "upper_bound": "111101010010110111000000000011100010101011"}], "histo_col_type": "BIT(42)", "name": "__auto__", "null_count": 649214031144242028, "row_count": 2233620062230594975}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 757910240829905187, "histo_col_type": "BIT(3)", "name": "__auto__", "null_count": 0, "row_count": 2233620062230594975}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1094189898482354124, "histo_col_type": "", "name": "__auto__", "null_count": 151573552455237481, "row_count": 2233620062230594975}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1015570486178589640, "histo_buckets": [{"distinct_range": 0, "num_eq": 710788293677509290, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7166809033620931332, "num_range": 2573105778421937131, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 151416529239884861, "row_count": 2233620062230594975}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 962709964851194130, "histo_buckets": [{"distinct_range": 0, "num_eq": 3495612748423271909, "num_range": 0, "upper_bound": "-22290"}, {"distinct_range": 0, "num_eq": 4702580014198783944, "num_range": 500000, "upper_bound": "-21110"}, {"distinct_range": 5000000000, "num_eq": 6749716021206829877, "num_range": 5000000000, "upper_bound": "-17075"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 6966173794345262970, "upper_bound": "-13530"}, {"distinct_range": 1036379603737948900, "num_eq": 6000000, "num_range": 1036379603737948901, "upper_bound": "11544"}, {"distinct_range": 0, "num_eq": 10000, "num_range": 2471132994451900280, "upper_bound": "12277"}, {"distinct_range": 6000000000, "num_eq": 300000000, "num_range": 6000000000, "upper_bound": "19336"}, {"distinct_range": 73.62655302673498, "num_eq": 8000000, "num_range": 400, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 2233620062230594975}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 732485261811284045, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-1874259005"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 0, "upper_bound": "-1663165268"}, {"distinct_range": 0, "num_eq": 5130315619840114112, "num_range": 7972523573283431006, "upper_bound": "-1228639090"}, {"distinct_range": 2203391322339545300, "num_eq": 70, "num_range": 8733366621120900526, "upper_bound": "1"}, {"distinct_range": 5000000000, "num_eq": 5539219137535546428, "num_range": 5000000000, "upper_bound": "1524180293"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 2233620062230594975}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1888854220967864727, "histo_buckets": [{"distinct_range": 0, "num_eq": 3209739761549800469, "num_range": 0, "upper_bound": "719348476"}, {"distinct_range": 14.26477521195636, "num_eq": 30000, "num_range": 80, "upper_bound": "1237020253"}, {"distinct_range": 0, "num_eq": 6650999795873694812, "num_range": 400, "upper_bound": "2903920191"}, {"distinct_range": 0, "num_eq": 5024861784970742459, "num_range": 0, "upper_bound": "3161616295"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 5071349441768862361, "upper_bound": "3298842988"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 2233620062230594975}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5892781, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "-7.7255787861289737E+32"}, {"distinct_range": 6021.772047352625, "num_eq": 3252231864460006824, "num_range": 10000, "upper_bound": "-5.487151265741460496E+21"}, {"distinct_range": 4218019278563033000, "num_eq": 100, "num_range": 7207946646899195458, "upper_bound": "-51866693191.54071705"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 100000000000, "upper_bound": "4.724041589729500908E+21"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 0, "upper_bound": "4.266339962845769814E+31"}, {"distinct_range": 0, "num_eq": 4535981187749140176, "num_range": 20000000, "upper_bound": "8.635131601489353133E+32"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3442280, "histo_buckets": [{"distinct_range": 0, "num_eq": 1799820115210435175, "num_range": 0, "upper_bound": "1979-10-27 10:49:05.000562"}, {"distinct_range": 1093462309022101000, "num_eq": 400, "num_range": 5938821899551663741, "upper_bound": "1982-02-27 03:13:13.000635"}, {"distinct_range": 39071098.14120978, "num_eq": 200000, "num_range": 70000000, "upper_bound": "2004-02-29 18:33:09.000067"}, {"distinct_range": 7185151046332185000, "num_eq": 9043621721455979637, "num_range": 7185151046332184805, "upper_bound": "2015-04-08 12:45:10.000642"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "2020-08-03 13:35:44.000988"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 177309, "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 786498, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "\\u0008^\\u000b\\u001b<F"}, {"distinct_range": 120162657200917600, "num_eq": 3283908604232665462, "num_range": 5004731002707346598, "upper_bound": "&nC=5\\u00055[C"}, {"distinct_range": 2424199171390108000, "num_eq": 332474490879933478, "num_range": 2424199171390108081, "upper_bound": "\'arT\\u0019P!"}, {"distinct_range": 400000000, "num_eq": 500000000, "num_range": 400000000, "upper_bound": "G\\u0007\\u0006!"}, {"distinct_range": 0, "num_eq": 0, "num_range": 7911863206366399294, "upper_bound": "II3\\u0016n|W\\u0018"}, {"distinct_range": 675719.2972717041, "num_eq": 7000000000, "num_range": 4000000, "upper_bound": "K]tK\\u0013|\\u0007"}, {"distinct_range": 1147563621.7777784, "num_eq": 4170360576027034348, "num_range": 2000000000, "upper_bound": "f`v"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 8000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7609724, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-1.3159051267493327"}, {"distinct_range": 1092693590987515300, "num_eq": 2000000000, "num_range": 1092693590987515261, "upper_bound": "-0.5668487579073066"}, {"distinct_range": 8339360733869269000, "num_eq": 2000, "num_range": 9165747779002002751, "upper_bound": "-0.17710922870355517"}, {"distinct_range": 60000000, "num_eq": 0, "num_range": 60000000, "upper_bound": "0.5069482096281768"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 50000, "upper_bound": "0.9875987075672422"}, {"distinct_range": 0, "num_eq": 40, "num_range": 10000, "upper_bound": "1.1118603107693255"}, {"distinct_range": 0, "num_eq": 8547089779937647263, "num_range": 0, "upper_bound": "1.287902604999581"}, {"distinct_range": 100000, "num_eq": 4651557781478150779, "num_range": 100000, "upper_bound": "3.707282882905137"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 8000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 116, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "225933698"}, {"distinct_range": 1286077.3068469192, "num_eq": 50000, "num_range": 2000000, "upper_bound": "4226961309"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 107, "histo_col_type": "", "name": "__auto__", "null_count": 145, "row_count": 400}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 283, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272, "histo_buckets": [{"distinct_range": 0, "num_eq": 8482160877373991097, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00"}, {"distinct_range": 2365002336703926300, "num_eq": 20000000000, "num_range": 4737391636290575545, "upper_bound": "1975-07-14 15:44:11.000508"}, {"distinct_range": 700000, "num_eq": 3875308607780084138, "num_range": 700000, "upper_bound": "1996-04-24 06:41:15.00054"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 5001678442238137616, "upper_bound": "2000-07-05 00:39:40.000249"}, {"distinct_range": 1792828518546783500, "num_eq": 6661573383979815285, "num_range": 1853318285259078595, "upper_bound": "3000-01-01 00:00:00"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 400}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 384, "histo_col_type": "", "name": "__auto__", "null_count": 272, "row_count": 400}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 358, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 900000, "num_eq": 80000000, "num_range": 900000, "upper_bound": "640527113"}, {"distinct_range": 499339638899130300, "num_eq": 0, "num_range": 499339638899130329, "upper_bound": "1219694003"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 319, "row_count": 400}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 327, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": "1977-07-15"}, {"distinct_range": 686953628557331800, "num_eq": 8000000000, "num_range": 3307082795120620465, "upper_bound": "1980-08-12"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 20000000000, "upper_bound": "1990-10-10"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 400}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 655304570, "histo_col_type": "", "name": "__auto__", "null_count": 854522336, "row_count": 3000000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1377148982, "histo_col_type": "", "name": "__auto__", "null_count": 132224632, "row_count": 3000000000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1740741126, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 347586572, "histo_buckets": [{"distinct_range": 0, "num_eq": 5337689464116666147, "num_range": 0, "upper_bound": "02:30:48.775701+10:41:00"}, {"distinct_range": 1000000, "num_eq": 1497735787371142854, "num_range": 1000000, "upper_bound": "17:22:54.125693+10:01:00"}, {"distinct_range": 0, "num_eq": 6354959204744039774, "num_range": 60000000, "upper_bound": "01:46:27.702501-07:41:00"}, {"distinct_range": 0, "num_eq": 7493134566260768570, "num_range": 1000000, "upper_bound": "07:17:33.425195-09:02:00"}, {"distinct_range": 4587247704517583400, "num_eq": 4648680966681172261, "num_range": 4587247704517583487, "upper_bound": "23:34:17.238686+01:23:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 1779366240, "row_count": 3000000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1405815993, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1062070994, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2586711659, "histo_col_type": "", "name": "__auto__", "null_count": 1417884276, "row_count": 3000000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1993020817, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22029342, "histo_col_type": "", "name": "__auto__", "null_count": 2587965466, "row_count": 3000000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1196381337, "histo_col_type": "", "name": "__auto__", "null_count": 2504683912, "row_count": 3000000000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2353062591, "histo_col_type": "", "name": "__auto__", "null_count": 1364007759, "row_count": 3000000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1470126985, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 921551173, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2373968389, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2658127785, "histo_col_type": "", "name": "__auto__", "null_count": 1864476911, "row_count": 3000000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 276697974, "histo_col_type": "", "name": "__auto__", "null_count": 2544592624, "row_count": 3000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1991375793, "histo_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "-1.8154579327375315"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-0.7738341461679968"}, {"distinct_range": 80000, "num_eq": 5652536838182760664, "num_range": 80000, "upper_bound": "-0.6717511688203686"}, {"distinct_range": 2986.647335640384, "num_eq": 900, "num_range": 5000, "upper_bound": "-0.6692684898785672"}, {"distinct_range": 6333058543608799000, "num_eq": 2134566064688846562, "num_range": 6333058543608798849, "upper_bound": "-0.39605021457882716"}, {"distinct_range": 8000000000, "num_eq": 3217893895423190449, "num_range": 8000000000, "upper_bound": "-0.008337386543390557"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "1.401298464324817e-45"}, {"distinct_range": 221696161173521920, "num_eq": 60000, "num_range": 249506028583251737, "upper_bound": "0.07332095066076949"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 3000000000, "upper_bound": "0.5301642826737087"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 494404923, "histo_col_type": "", "name": "__auto__", "null_count": 2433361342, "row_count": 3000000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1674832336, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2625166870, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3000000000}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 146201152118480176, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 703918821622408502}, {"columns": ["col5_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 396794174602770100, "histo_col_type": "", "name": "__auto__", "null_count": 521867829125208671, "row_count": 703918821622408502}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 385186913430378094, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 703918821622408502}, {"columns": ["col5_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 355812093562222228, "histo_col_type": "", "name": "__auto__", "null_count": 234745263031344463, "row_count": 703918821622408502}, {"columns": ["col5_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 555354944365137609, "histo_col_type": "", "name": "__auto__", "null_count": 169377616660884906, "row_count": 703918821622408502}, {"columns": ["col5_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 304005326671759826, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 703918821622408502}, {"columns": ["col5_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 151687691607612424, "histo_col_type": "", "name": "__auto__", "null_count": 283996177163495057, "row_count": 703918821622408502}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 640508498775965192, "histo_buckets": [{"distinct_range": 0, "num_eq": 6260928086094894246, "num_range": 0, "upper_bound": "1971-08-01"}, {"distinct_range": 0, "num_eq": 2164851199248014171, "num_range": 90000000000, "upper_bound": "1972-02-13"}, {"distinct_range": 5169673486024617000, "num_eq": 6000000000, "num_range": 5416275082676083036, "upper_bound": "1972-03-19"}, {"distinct_range": 852819.066936008, "num_eq": 3000000000, "num_range": 1000000, "upper_bound": "1986-09-21"}, {"distinct_range": 0, "num_eq": 100, "num_range": 10000000, "upper_bound": "1989-06-02"}, {"distinct_range": 3000, "num_eq": 5007920438759834109, "num_range": 3000, "upper_bound": "1993-10-18"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 703918821622408502}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1556992518940796, "histo_buckets": [{"distinct_range": 0, "num_eq": 3876542269425977151, "num_range": 0, "upper_bound": "0001-01-01 00:00:00"}, {"distinct_range": 30378208.613791898, "num_eq": 300000000, "num_range": 50000000, "upper_bound": "1974-12-14 10:05:30.000765"}, {"distinct_range": 0, "num_eq": 4309343927247513159, "num_range": 0, "upper_bound": "1986-06-05 06:32:15.000322"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 1181443008609491539, "upper_bound": "1994-11-10 19:27:53.000926"}, {"distinct_range": 1109443810820214300, "num_eq": 6409627966027355006, "num_range": 5078376317081293100, "upper_bound": "2021-01-09 01:08:42.000658"}, {"distinct_range": 400, "num_eq": 7000000, "num_range": 400, "upper_bound": "294276-12-31 23:59:59.999999"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 703918821622408502}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"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_buckets": [{"distinct_range": 0, "num_eq": 300000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 8000000, "num_eq": 10000000000, "num_range": 8000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "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": 0, "num_range": 0, "upper_bound": "-819"}, {"distinct_range": 2782045371818389000, "num_eq": 60000, "num_range": 2782045371818389163, "upper_bound": "2049"}, {"distinct_range": 3000, "num_eq": 2000, "num_range": 3000, "upper_bound": "4492"}, {"distinct_range": 3179159398439377000, "num_eq": 10000000, "num_range": 7605638960958855144, "upper_bound": "12458"}, {"distinct_range": 10000, "num_eq": 500, "num_range": 10000, "upper_bound": "19168"}], "histo_col_type": "INT2", "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": 200000000, "num_range": 0, "upper_bound": "-2147483648"}, {"distinct_range": 4091704351473357300, "num_eq": 611765452983040965, "num_range": 6790118553181660439, "upper_bound": "-1937895032"}, {"distinct_range": 7000, "num_eq": 30000, "num_range": 7000, "upper_bound": "-1189582037"}, {"distinct_range": 0, "num_eq": 5041711026249427506, "num_range": 0, "upper_bound": "-1037825613"}, {"distinct_range": 1660810010503215900, "num_eq": 7400439610924614999, "num_range": 1660810010503215770, "upper_bound": "-695918027"}, {"distinct_range": 112384882363779230, "num_eq": 30000000, "num_range": 3703774697268798247, "upper_bound": "-41609182"}, {"distinct_range": 0, "num_eq": 7782800155893970802, "num_range": 7000, "upper_bound": "32767"}, {"distinct_range": 3678052393631018000, "num_eq": 2937552354558109550, "num_range": 3678052393631017998, "upper_bound": "676500056"}, {"distinct_range": 0, "num_eq": 5471408444896526070, "num_range": 200000, "upper_bound": "1936161192"}], "histo_col_type": "INT4", "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": 20000, "num_range": 0, "upper_bound": "2695601970"}, {"distinct_range": 1233349768512650000, "num_eq": 6000000000, "num_range": 1233349768512650046, "upper_bound": "4128692735"}], "histo_col_type": "REGCLASS", "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_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7348692534238353117, "num_range": 0, "upper_bound": "011110100111010010011001110100010111011111"}], "histo_col_type": "BIT(42)", "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": 7884482893522308404, "num_range": 0, "upper_bound": "001"}, {"distinct_range": 1995.1680524849983, "num_eq": 40000, "num_range": 7000, "upper_bound": "101"}, {"distinct_range": 1000000, "num_eq": 700000, "num_range": 1000000, "upper_bound": "110"}, {"distinct_range": 1117782285768769800, "num_eq": 800000000, "num_range": 1117782285768769846, "upper_bound": "111"}], "histo_col_type": "BIT(3)", "name": "__auto__", "null_count": 0, "row_count": 0}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3271166, "histo_buckets": [{"distinct_range": 0, "num_eq": 6016850351900742183, "num_range": 0, "upper_bound": "-8.368988903140693305E+36"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 100000, "upper_bound": "-5.169557482020200159E+26"}, {"distinct_range": 2285353109601282000, "num_eq": 8982206231276776606, "num_range": 2285353109601282153, "upper_bound": "-51025.6536374852664"}, {"distinct_range": 5905066060278297000, "num_eq": 4217017864689241220, "num_range": 8546526229475102115, "upper_bound": "-662.9080117440477124"}, {"distinct_range": 879713061890604500, "num_eq": 225644307262484402, "num_range": 4204579775097447434, "upper_bound": "72211.75660004742551"}, {"distinct_range": 8413092599924103000, "num_eq": 2573326671849497294, "num_range": 8413092599924102876, "upper_bound": "5329609314823598.714"}, {"distinct_range": 361581807.8300372, "num_eq": 7000000000, "num_range": 400000000, "upper_bound": "7.513472389773854651E+27"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 881835212404806005, "upper_bound": "3.22435506344907355E+36"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1543714, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "1973-06-14 10:01:52.00093"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6675293, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00:03:28.491175+11:14:00"}, {"distinct_range": 0, "num_eq": 200, "num_range": 30, "upper_bound": "03:27:35.017854+12:53:00"}, {"distinct_range": 0, "num_eq": 7548082541885130895, "num_range": 8755256064839905003, "upper_bound": "10:12:50.831586+09:02:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2386361, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000, "num_range": 0, "upper_bound": "5\\u000bAH2"}, {"distinct_range": 4868.271579860402, "num_eq": 1066781995618309153, "num_range": 50000, "upper_bound": "N2=\\u001f|I"}, {"distinct_range": 1695659430107752200, "num_eq": 100000, "num_range": 4723298453862516722, "upper_bound": "QzA\\u0014\\u0002&"}, {"distinct_range": 100000, "num_eq": 1000, "num_range": 100000, "upper_bound": "U\\u0001="}, {"distinct_range": 500, "num_eq": 5149265232888828469, "num_range": 500, "upper_bound": "\U00002603"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2588274, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0.7061132051343645"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1530741688191461211, "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 2791825764275095220}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1434070041532908208, "histo_col_type": "", "name": "__auto__", "null_count": 198233129536867269, "row_count": 2791825764275095220}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2637717833894769682, "histo_buckets": [{"distinct_range": 0, "num_eq": 5267774203709367488, "num_range": 0, "upper_bound": "70195573"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 5000, "upper_bound": "1786069915"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 2349918573175331205, "row_count": 2791825764275095220}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1460735288070562823, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 7930059605961801000, "num_eq": 1505603542018211331, "num_range": 7930059605961800648, "upper_bound": "1983-01-07"}, {"distinct_range": 5111688109767084000, "num_eq": 7018264818001487421, "num_range": 5111688109767083676, "upper_bound": "1984-10-24"}, {"distinct_range": 1890925421183887600, "num_eq": 3856721941627832769, "num_range": 1890925421183887683, "upper_bound": "1985-11-02"}, {"distinct_range": 826934751.3159742, "num_eq": 400000000, "num_range": 900000000, "upper_bound": "1990-10-31"}, {"distinct_range": 6.780604938604418, "num_eq": 1910073293204217415, "num_range": 300, "upper_bound": "1991-04-10"}, {"distinct_range": 0, "num_eq": 8407768461734034615, "num_range": 4668485717180661867, "upper_bound": "1996-11-14"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 2791825764275095220}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1560245006378508806, "histo_buckets": [{"distinct_range": 0, "num_eq": 327815987180523074, "num_range": 0, "upper_bound": "424387942"}, {"distinct_range": 400000000, "num_eq": 4554283857390239349, "num_range": 400000000, "upper_bound": "476768155"}, {"distinct_range": 3968501052800293400, "num_eq": 8272176848194715703, "num_range": 3968501052800293397, "upper_bound": "992950431"}, {"distinct_range": 471307229634244740, "num_eq": 5609477197209552288, "num_range": 1255423889486206404, "upper_bound": "2935868846"}, {"distinct_range": 0, "num_eq": 400000, "num_range": 50000000000, "upper_bound": "3391366988"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 2791825764275095220}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2479109876535193323, "histo_col_type": "", "name": "__auto__", "null_count": 681837149427608418, "row_count": 2791825764275095220}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1963786928311915575, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2791825764275095220}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 287580, "histo_col_type": "", "name": "__auto__", "null_count": 360608, "row_count": 400000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 218093, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 284296, "histo_col_type": "", "name": "__auto__", "null_count": 381066, "row_count": 400000}, {"columns": ["col4_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 334780, "histo_col_type": "", "name": "__auto__", "null_count": 131256, "row_count": 400000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103072, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "-1.3906589055915117"}, {"distinct_range": 23660.017970047356, "num_eq": 4385487230158331124, "num_range": 80000, "upper_bound": "-0.7404195463466915"}, {"distinct_range": 4344098356938539500, "num_eq": 10000000, "num_range": 4344098356938539741, "upper_bound": "-0.6630541830027257"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 4222461728320885760, "upper_bound": "-0.6395153671917714"}, {"distinct_range": 188104.458531967, "num_eq": 30000, "num_range": 600000, "upper_bound": "0.13851277490448818"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 1059235211188882121, "upper_bound": "0.1670002860944504"}, {"distinct_range": 3426793001867138600, "num_eq": 3058492922699962254, "num_range": 3426793001867138497, "upper_bound": "0.29572140798986873"}, {"distinct_range": 5419706578726236000, "num_eq": 4260290978747193725, "num_range": 8308679552429901390, "upper_bound": "1.0818304663434128"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 800, "upper_bound": "1.1457445370686714"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108815, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145322, "histo_col_type": "", "name": "__auto__", "null_count": 294967, "row_count": 400000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 362469, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 340006, "histo_col_type": "", "name": "__auto__", "null_count": 185343, "row_count": 400000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 154928, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73231, "histo_col_type": "", "name": "__auto__", "null_count": 247366, "row_count": 400000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 355619, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 396858, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 380986, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147848, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 165935, "histo_col_type": "", "name": "__auto__", "null_count": 69523, "row_count": 400000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 78744, "histo_col_type": "", "name": "__auto__", "null_count": 208662, "row_count": 400000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13201, "histo_col_type": "", "name": "__auto__", "null_count": 211149, "row_count": 400000}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 219000, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 400000}, {"columns": ["col4_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 137044, "histo_buckets": [{"distinct_range": 0, "num_eq": 5189974718065799548, "num_range": 0, "upper_bound": "00:00:00+15:59:00"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "09:34:32.150715+13:11:00"}], "histo_col_type": "TIMETZ", "name": "__auto__", "null_count": 235075, "row_count": 400000}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS '[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 245471890409588846, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "4714-11-24 BC"}, {"distinct_range": 189197821666347200, "num_eq": 6795896909676096935, "num_range": 927527193234157845, "upper_bound": "1985-09-23"}, {"distinct_range": 100000000000, "num_eq": 0, "num_range": 100000000000, "upper_bound": "1989-08-17"}, {"distinct_range": 148.37203484283333, "num_eq": 22946262523

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@c8e6237257a15f294cfb3a2676528f19e17f829f:

        test_1        | --- FAIL: TestCompare (31.19s)
        test_1        |     --- FAIL: TestCompare/postgres (30.16s)
        test_1        |         compare_test.go:155: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |               	float64(9),
        test_1        |             - 	string("9.0A"),
        test_1        |             + 	string("9A"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT 9.0::FLOAT8 AS col_44980, (9.0::FLOAT8::FLOAT8 || 'A'::TEXT::TEXT)::TEXT AS col_44981) AS tab_23631
        test_1        |             ORDER BY
        test_1        |             	col_44980 NULLS FIRST, col_44981 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        test_1        |             
        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        |             CREATE TABLE table1 (col1_0 REGCLASS NOT NULL, col1_1 TIMESTAMP NOT NULL, col1_2 DECIMAL NOT NULL, col1_3 TIME, col1_4 BIT(21) NOT NULL, col1_5 TIMESTAMPTZ NOT NULL, col1_6 BOOL, col1_7 UUID NOT NULL, col1_8 INT8 NOT NULL, col1_9 UUID NOT NULL, col1_10 BIT(49) NOT NULL, col1_11 INTERVAL NOT NULL, col1_12 BIT NOT NULL, col1_13 STRING NOT NULL, col1_14 OID NULL, col1_15 BOX2D NULL, col1_16 UUID NOT NULL, col1_17 OID NOT NULL, PRIMARY KEY (col1_10 ASC, col1_9 DESC, col1_12 ASC, col1_2 DESC, col1_7 ASC, col1_1 DESC, col1_8, col1_13 ASC, col1_4 ASC, col1_0 DESC, col1_17 ASC), UNIQUE (col1_13 ASC) WHERE ((((((table1.col1_13 != 'X') AND (NOT table1.col1_6)) AND (table1.col1_2 > -1.234E+401)) OR (table1.col1_5 < '-2000-01-01 00:00:00+00:00')) AND (table1.col1_8 != 32767)) OR (table1.col1_1 != '-4713-11-24 00:00:00')) OR (table1.col1_3 <= '00:00:00'), INDEX (col1_4 DESC, col1_17 ASC) STORING (col1_5, col1_14, col1_15, col1_16), UNIQUE (col1_2, col1_17 DESC, col1_1, col1_9 DESC, col1_5, col1_0 ASC, col1_16 DESC, col1_14) STORING (col1_3, col1_6, col1_15) WHERE (((((table1.col1_1 != '-2000-01-01 00:00:00':::TIMESTAMP) AND (table1.col1_13 < e'\x00':::STRING)) OR (NOT table1.col1_6)) AND (table1.col1_5 != '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table1.col1_2 <= '-Infinity':::DECIMAL)) AND (table1.col1_8 < (-9223372036854775807):::INT8), INDEX (col1_5 ASC, col1_10 DESC, col1_8, col1_9 DESC, col1_4, col1_1 DESC, col1_3 DESC, col1_16 DESC, col1_14 DESC, col1_7 DESC) WHERE ((((((table1.col1_13 <= e'\U00002603':::STRING) AND (table1.col1_5 <= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ)) AND (table1.col1_1 >= '-4713-11-24 00:00:00':::TIMESTAMP)) OR (table1.col1_8 = (-32768):::INT8)) AND (table1.col1_2 < 'Infinity':::DECIMAL)) AND table1.col1_6) AND (table1.col1_3 <= '24:00:00':::TIME), INDEX (col1_10, col1_14, col1_16 DESC, col1_9 ASC, col1_8 DESC, col1_2 DESC, col1_6 DESC, col1_1, col1_4 DESC, col1_17 ASC, col1_0 DESC, col1_5 DESC) STORING (col1_11), INDEX (col1_8, col1_0 ASC, col1_12 ASC, col1_15 DESC, col1_16 ASC, col1_6 DESC, col1_10 ASC, col1_9, col1_13 DESC) STORING (col1_5, col1_11, col1_14) WHERE ((((NOT table1.col1_6) AND (table1.col1_3 > '24:00:00')) AND (table1.col1_13 > 'X')) AND (table1.col1_1 >= '294276-12-31 23:59:59.999999')) OR (table1.col1_2 < 0), UNIQUE (col1_10, col1_4, col1_17 ASC, col1_3 ASC, col1_13, col1_16 ASC, col1_8 ASC, col1_11 ASC) STORING (col1_6), INDEX (col1_14 ASC, col1_0 ASC, col1_8, col1_12, col1_5, col1_2) STORING (col1_6, col1_11, col1_15, col1_16) WHERE (((((table1.col1_2 >= 0) AND table1.col1_6) AND (table1.col1_3 <= '00:00:00')) OR (table1.col1_5 < '294276-12-31 23:59:59.999999+00:00')) AND (table1.col1_8 <= -9223372036854775807)) OR (table1.col1_13 <= e'\x00'), UNIQUE (col1_4, col1_0) WHERE ((((((NOT table1.col1_6) AND (table1.col1_1 >= '3000-01-01 00:00:00')) OR (table1.col1_8 >= 0)) OR (table1.col1_13 != '')) AND (table1.col1_3 != '24:00:00')) AND (table1.col1_2 <= -1.234E+401)) OR (table1.col1_5 > '0001-01-01 00:00:00+00:00'), FAMILY (col1_13), FAMILY (col1_16), FAMILY (col1_15), FAMILY (col1_2, col1_7, col1_14), FAMILY (col1_6), FAMILY (col1_8), FAMILY (col1_4, col1_17, col1_12), FAMILY (col1_1), FAMILY (col1_11, col1_10, col1_3, col1_0), FAMILY (col1_5, col1_9));
        test_1        |             CREATE TABLE table2 (col2_0 INT2 NOT NULL, col2_1 VARCHAR NOT NULL, col2_2 STRING NOT NULL, col2_3 BYTES NOT NULL, col2_4 REGTYPE NOT NULL, col2_5 CHAR NOT NULL, col2_6 UUID NOT NULL, col2_7 CHAR NOT NULL, col2_8 INET NOT NULL, col2_9 FLOAT4 NOT NULL, col2_10 "char" NOT NULL, col2_11 DECIMAL NOT NULL, col2_12 BOX2D NOT NULL, col2_13 REGNAMESPACE NOT NULL, col2_14 INTERVAL NOT NULL, col2_15 REGPROCEDURE NOT NULL, PRIMARY KEY (col2_13, col2_3 ASC, col2_12 DESC, col2_14 ASC, col2_11 DESC, col2_5 ASC, col2_2 ASC, col2_1, col2_9, col2_6, col2_10 ASC, col2_4), UNIQUE (col2_15, col2_1 DESC, col2_10, col2_13 DESC, col2_0, col2_14) STORING (col2_7, col2_8) WHERE ((((((table2.col2_9 != 0.0:::FLOAT8) OR (table2.col2_10 = e'\U00002603':::STRING)) AND (table2.col2_3 <= e'\\x00':::BYTES)) AND (table2.col2_5 > 'X':::STRING)) OR (table2.col2_7 = '"':::STRING)) AND (table2.col2_0 <= 127:::INT8)) OR (table2.col2_1 < e'\'':::STRING), INDEX (col2_3 DESC, col2_10, col2_2 ASC) STORING (col2_0, col2_7) WHERE (((((((table2.col2_7 != 'X':::STRING) AND (table2.col2_3 > e'\\x27':::BYTES)) AND (table2.col2_1 != e'\'':::STRING)) OR (table2.col2_9 != 'NaN':::FLOAT8)) OR (table2.col2_11 >= 1:::DECIMAL)) AND (table2.col2_0 > 127:::INT8)) AND (table2.col2_5 = 'X':::STRING)) OR (table2.col2_2 != '':::STRING), INDEX (col2_13, col2_11 DESC) STORING (col2_7, col2_15) WHERE ((((((((table2.col2_0 <= 1:::INT8) AND (table2.col2_11 <= (-1):::DECIMAL)) AND (table2.col2_5 > '':::STRING)) AND (table2.col2_1 >= '':::STRING)) OR (table2.col2_2 >= '':::STRING)) AND (table2.col2_3 != e'\\x27':::BYTES)) AND (table2.col2_10 >= e'\U00002603':::STRING)) AND (table2.col2_7 <= '"':::STRING)) AND (table2.col2_9 < 1.401298464324817e-45:::FLOAT8), INDEX (col2_12 ASC) STORING (col2_15) WHERE ((((((((table2.col2_11 != -Infinity) AND (table2.col2_2 > e'\x00')) AND (table2.col2_9 <= -1.0)) OR (table2.col2_5 > e'\x00')) OR (table2.col2_0 < 1)) AND (table2.col2_10 = '"')) OR (table2.col2_3 < '\x58')) AND (table2.col2_1 = e'\x00')) AND (table2.col2_7 < '"'), UNIQUE (col2_7 DESC, col2_14 ASC, col2_5 ASC, col2_9, col2_2) STORING (col2_15) WHERE table2.col2_0 = -128, UNIQUE (col2_11 ASC, col2_7 DESC, col2_13, col2_6, col2_10 DESC, col2_14, col2_9 DESC) STORING (col2_0, col2_15) WHERE ((((((((table2.col2_5 < e'\U00002603':::STRING) AND (table2.col2_11 < 0:::DECIMAL)) OR (table2.col2_1 < '':::STRING)) OR (table2.col2_0 = 32767:::INT8)) OR (table2.col2_2 != e'\x00':::STRING)) OR (table2.col2_10 != '"':::STRING)) OR (table2.col2_7 > '':::STRING)) AND (table2.col2_9 != 0.0:::FLOAT8)) OR (table2.col2_3 < e'\\x22':::BYTES), UNIQUE (col2_15, col2_2 DESC, col2_13, col2_1 ASC, col2_12, col2_7 ASC, col2_3, col2_8 DESC, col2_10, col2_0, col2_11 DESC, col2_6, col2_4, col2_14 ASC, col2_9 ASC) WHERE ((((((((table2.col2_10 != e'\U00002603':::STRING) OR (table2.col2_11 = (-1):::DECIMAL)) AND (table2.col2_3 < e'\\x27':::BYTES)) AND (table2.col2_0 < (-1):::INT8)) OR (table2.col2_5 != e'\x00':::STRING)) AND (table2.col2_9 < '+Inf':::FLOAT8)) OR (table2.col2_1 = e'\'':::STRING)) OR (table2.col2_2 > e'\'':::STRING)) OR (table2.col2_7 >= e'\U00002603':::STRING), INDEX (col2_14, col2_5, col2_4, col2_7 ASC) STORING (col2_0, col2_8, col2_15) WHERE ((((((((table2.col2_11 = 'NaN':::DECIMAL) OR (table2.col2_2 < '':::STRING)) OR (table2.col2_7 != 'X':::STRING)) AND (table2.col2_10 = '':::STRING)) OR (table2.col2_5 >= 'X':::STRING)) OR (table2.col2_3 <= e'\\x':::BYTES)) AND (table2.col2_9 < 0.0:::FLOAT8)) AND (table2.col2_1 <= 'X':::STRING)) AND (table2.col2_0 < (-1):::INT8), INDEX (col2_8 DESC) STORING (col2_0, col2_7, col2_15), FAMILY (col2_5, col2_10, col2_14, col2_11), FAMILY (col2_6, col2_2, col2_13), FAMILY (col2_9), FAMILY (col2_12), FAMILY (col2_0), FAMILY (col2_7), FAMILY (col2_4, col2_1), FAMILY (col2_15), FAMILY (col2_8), FAMILY (col2_3), UNIQUE (col2_12, col2_1, col2_4) STORING (col2_7));
        test_1        |             CREATE TABLE table3 (col1_10 BIT(49) NOT NULL, col1_9 UUID NOT NULL, col1_12 BIT NOT NULL, col1_2 DECIMAL NOT NULL, col1_7 UUID NOT NULL, col1_1 TIMESTAMP NOT NULL, col1_8 INT8 NOT NULL, col1_13 STRING NOT NULL, col1_4 BIT(21) NOT NULL, col1_0 REGCLASS NOT NULL, col1_17 OID NOT NULL, col3_11 FLOAT8 NOT NULL, col3_12 OID, col3_13 OID NOT NULL, col3_14 INT2, col3_15 BOX2D NOT NULL, col3_16 OID NULL, col3_17 REGCLASS NULL, col3_18 DECIMAL NULL, col3_19 OID NOT NULL, PRIMARY KEY (col1_10 ASC, col1_9 DESC, col1_12 ASC, col1_2 DESC, col1_7 ASC, col1_1 DESC, col1_8, col1_13 ASC, col1_4 ASC, col1_0 DESC, col1_17 ASC, col3_11 ASC, col3_13 DESC, col3_18), UNIQUE (col1_1 ASC, col1_7 ASC, col3_15, col3_16 ASC, col3_17 ASC, col3_13 ASC, col3_19 ASC, col3_14 DESC, col3_18, col1_13 DESC, col3_12 DESC), FAMILY (col1_0), FAMILY (col3_13), FAMILY (col1_1, col1_7), FAMILY (col1_10, col1_12, col1_8), FAMILY (col3_16, col3_19, col3_15), FAMILY (col1_4), FAMILY (col1_17, col3_11), FAMILY (col3_14), FAMILY (col3_17, col3_12, col1_13, col1_9), FAMILY (col1_2), FAMILY (col3_18)) INTERLEAVE IN PARENT table1 (col1_10, col1_9, col1_12, col1_2, col1_7, col1_1, col1_8, col1_13, col1_4, col1_0, col1_17);
        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_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": 4547672197029430837, "num_range": 0, "upper_bound": "-1.234E+401"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 1000, "upper_bound": "31224728981191.4092"}], "histo_col_type": "DECIMAL", "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": "BIT(21)", "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_buckets": [{"distinct_range": 0, "num_eq": 20000000, "num_range": 0, "upper_bound": "0000000000000000000000000000000000000000000000000000000000000000"}, {"distinct_range": 3483.475643839441, "num_eq": 5650834416193008789, "num_range": 5000, "upper_bound": "1100110010010110111110111101011100001111000101001"}], "histo_col_type": "BIT(49)", "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_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": "568680167"}, {"distinct_range": 20013.683923331148, "num_eq": 8286375107912526213, "num_range": 40000, "upper_bound": "773408504"}], "histo_col_type": "OID", "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_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_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_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_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 4489439244174627400, "num_range": 0, "upper_bound": "-4713-11-24 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 0, "upper_bound": "1979-11-24 15:31:02.000887+00:00"}, {"distinct_range": 7338325721372399000, "num_eq": 3253121965099342060, "num_range": 7338325721372398537, "upper_bound": "1995-12-13 02:10:20.000646+00:00"}, {"distinct_range": 4242499433124072400, "num_eq": 1083952576630668468, "num_range": 4242499433124072522, "upper_bound": "2017-04-18 08:10:59.000781+00:00"}, {"distinct_range": 4199.706699963132, "num_eq": 5000, "num_range": 40000, "upper_bound": "2022-08-23 04:43:54.000961+00:00"}, {"distinct_range": 0, "num_eq": 1064122536456266532, "num_range": 50000000, "upper_bound": "2025-02-19 15:53:44.000359+00:00"}, {"distinct_range": 7.914789925778472, "num_eq": 800, "num_range": 10, "upper_bound": "2026-12-11 22:08:13.000047+00:00"}, {"distinct_range": 359839272.70990735, "num_eq": 8006248586752446113, "num_range": 4000000000, "upper_bound": "3000-01-01 00:00:00+00:00"}], "histo_col_type": "TIMESTAMPTZ", "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": 8000000000, "num_range": 0, "upper_bound": "-8823772260500354550"}, {"distinct_range": 80000000, "num_eq": 40000000000, "num_range": 80000000, "upper_bound": "-7454086640045584614"}, {"distinct_range": 100000000, "num_eq": 1242081229822472777, "num_range": 100000000, "upper_bound": "-5372425455409958161"}, {"distinct_range": 1410.2999565781006, "num_eq": 7792650800233585357, "num_range": 4000, "upper_bound": "-3796340903726861024"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 3061114653518923691, "upper_bound": "223216652898474032"}, {"distinct_range": 5817895505039564000, "num_eq": 30000, "num_range": 6954295056682465052, "upper_bound": "4434610316572878183"}, {"distinct_range": 5980327995720212000, "num_eq": 0, "num_range": 5980327995720212566, "upper_bound": "5105993013765551834"}], "histo_col_type": "INT8", "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_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 235034840409092223, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 800, "num_range": 3827312982665385557, "upper_bound": "!D:\\u001f"}, {"distinct_range": 517574551407555200, "num_eq": 1633939320014571149, "num_range": 2668386882361179691, "upper_bound": "\'"}, {"distinct_range": 0, "num_eq": 5032851422828728491, "num_range": 3114932276574229515, "upper_bound": ";!@_M"}, {"distinct_range": 0, "num_eq": 4818287659521454914, "num_range": 0, "upper_bound": "[;P\\\\"}, {"distinct_range": 60000, "num_eq": 2000, "num_range": 60000, "upper_bound": "vfB"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 0}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 558825126634720223, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 820527610555772246, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292835072616975869, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1169381568328951376, "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1393232317936787499, "histo_buckets": [{"distinct_range": 0, "num_eq": 6840367570845255869, "num_range": 0, "upper_bound": "-75 years -10 mons -583 days -24:02:21.646545"}, {"distinct_range": 5376575092222986000, "num_eq": 3504637722678429002, "num_range": 5943345122695623966, "upper_bound": "00:00:00"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 105389333320679278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 442480295799243572, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 291982452943769003, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1164490642071206012, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 562317079383198062, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "-6.26486439491043784E+19"}, {"distinct_range": 5620442001073426000, "num_eq": 50, "num_range": 5620442001073426466, "upper_bound": "-89394928876929.91595"}, {"distinct_range": 4999896049001116000, "num_eq": 100000000, "num_range": 4999896049001116033, "upper_bound": "-569590654.5131900044"}, {"distinct_range": 0, "num_eq": 466632298354174566, "num_range": 8244787636419111652, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": "7374.339393499308018"}, {"distinct_range": 7385.78712888827, "num_eq": 70000000000, "num_range": 8000, "upper_bound": "9116162.832591293609"}, {"distinct_range": 0, "num_eq": 200, "num_range": 10000000, "upper_bound": "2.75937354041880463E+27"}, {"distinct_range": 0, "num_eq": 0, "num_range": 200, "upper_bound": "3.517321134128499314E+33"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 129631756761434357, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "\\\\x4a"}, {"distinct_range": 0, "num_eq": 500, "num_range": 351867203619464590, "upper_bound": "\\\\xf59b3df6de7e50a0"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1205704502483040679, "histo_buckets": [{"distinct_range": 0, "num_eq": 7165906565607182602, "num_range": 0, "upper_bound": "135.18.247.34/6"}, {"distinct_range": 1405135717219058000, "num_eq": 9000000, "num_range": 5846603964046672223, "upper_bound": "15.95.161.199/29"}, {"distinct_range": 1553676605606385000, "num_eq": 4564502978881514171, "num_range": 5303768388088594393, "upper_bound": "f462:b38f:a29c:2a35:3d47:482d:40c9:d686/19"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "3faf:38d0:7ce7:77d8:c24f:608f:b8e2:8cf5/44"}, {"distinct_range": 0, "num_eq": 60000000, "num_range": 1000000, "upper_bound": "f750:79de:8022:3af3:1993:63a0:c281:f038/48"}, {"distinct_range": 29458516.244930472, "num_eq": 1000, "num_range": 30000000, "upper_bound": "f866:7aaf:1806:a40f:eea4:e386:3d24:b031/94"}, {"distinct_range": 330.5027817120145, "num_eq": 1440266441482929107, "num_range": 900, "upper_bound": "869e:a4dd:abf7:23c1:e44e:d672:23ec:efd3/100"}, {"distinct_range": 4389093051863468500, "num_eq": 800000000, "num_range": 5282893149130369253, "upper_bound": "6ed3:74a2:378:7671:3d8c:3f6d:3da1:c6fa/123"}, {"distinct_range": 5626186580126959000, "num_eq": 2631892589266655258, "num_range": 5626186580126958673, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 569257218201457369, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7462329214380048, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "937889179"}, {"distinct_range": 90000000000, "num_eq": 4445775285477926836, "num_range": 90000000000, "upper_bound": "952998995"}, {"distinct_range": 70000000000, "num_eq": 1524274599295957223, "num_range": 70000000000, "upper_bound": "1892590419"}, {"distinct_range": 975125493691773700, "num_eq": 10, "num_range": 3384320272568343708, "upper_bound": "2288422436"}, {"distinct_range": 504309910.7598086, "num_eq": 5768320815722171953, "num_range": 1000000000, "upper_bound": "2400230528"}, {"distinct_range": 85843739490553570, "num_eq": 300000000, "num_range": 757402981122675692, "upper_bound": "2486217808"}, {"distinct_range": 0, "num_eq": 3609466941938404075, "num_range": 0, "upper_bound": "3481436648"}, {"distinct_range": 655469822147910800, "num_eq": 9167697086321526964, "num_range": 3361237024227168345, "upper_bound": "3775766329"}, {"distinct_range": 3746661811472761300, "num_eq": 4000000000, "num_range": 3746661811472761450, "upper_bound": "3886613040"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1344665279847779907, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 756965044144254418, "histo_buckets": [{"distinct_range": 0, "num_eq": 8000000000, "num_range": 0, "upper_bound": "BOX(-1.1381686853954298 0.9575945749707726,0.31835515842512263 1.135550330095502)"}, {"distinct_range": 0, "num_eq": 7360378022038591681, "num_range": 3000, "upper_bound": "BOX(-0.9167675971905134 -0.6876180736096202,0.6098833797396574 1.2918293537319547)"}, {"distinct_range": 2478168715727502000, "num_eq": 2344369328839525487, "num_range": 3802937572755427447, "upper_bound": "BOX(-0.7271636275463249 -0.04629004089925309,-0.6691638168261765 0.4749484170222641)"}, {"distinct_range": 0, "num_eq": 2082755370242472447, "num_range": 0, "upper_bound": "BOX(-0.6730909376002321 -0.8745991836250475,-0.014377859529508208 2.862947749343732)"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 2293551814333912546, "upper_bound": "BOX(-0.32422267034947827 -0.8520956614295231,0.4506682258258299 0.7278486686581344)"}, {"distinct_range": 0, "num_eq": 9104147874694424217, "num_range": 0, "upper_bound": "BOX(-0.15177787024069467 0.4464146970600492,1.2133037293553375 2.1739944936331566)"}, {"distinct_range": 3055168392319211000, "num_eq": 90000000, "num_range": 7690854393521412983, "upper_bound": "BOX(0.4222105342095184 -1.1406899088503057,0.5456678983948038 -0.0402783788501222)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 1422594308375964819}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 493447602, "histo_buckets": [{"distinct_range": 0, "num_eq": 70, "num_range": 0, "upper_bound": "0101000001111100001011010011010000101001011011000"}, {"distinct_range": 0, "num_eq": 7371795904033845125, "num_range": 8004889063317718211, "upper_bound": "0110100100011001101101001110001100101010110010000"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 7097374123033415954, "upper_bound": "0110101101001101111100101100001100011000100001010"}, {"distinct_range": 494743118.5495937, "num_eq": 3934079233139697779, "num_range": 900000000, "upper_bound": "1001101111101101010101011000110011011101101010101"}, {"distinct_range": 0, "num_eq": 600000000, "num_range": 1164868530880496506, "upper_bound": "1011011101011101001001111101000010100110110000101"}, {"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "1011101001100000000000010010100011100101111101101"}, {"distinct_range": 200000, "num_eq": 90000000000, "num_range": 200000, "upper_bound": "1100101110010110010000010000001000010100111100101"}, {"distinct_range": 1403963508310208800, "num_eq": 200000, "num_range": 4327401112309395984, "upper_bound": "1111001001101111100110001101011001111110011010101"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 891024992, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 174764736, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 406442841, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 266504956, "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": 884012375, "histo_col_type": "", "name": "__auto__", "null_count": 782979473, "row_count": 1000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 787439666, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 145916861, "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": 671549940, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 564000026, "histo_col_type": "", "name": "__auto__", "null_count": 403704298, "row_count": 1000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 454437964, "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": 759269778, "histo_buckets": [{"distinct_range": 0, "num_eq": 900, "num_range": 0, "upper_bound": "2008-05-28 18:34:15.000988"}], "histo_col_type": "TIMESTAMP", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 269570639, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 425391297, "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": 689802837, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 306916735, "histo_col_type": "", "name": "__auto__", "null_count": 134240941, "row_count": 1000000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 463171348, "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": 286455611, "histo_col_type": "", "name": "__auto__", "null_count": 716278805, "row_count": 1000000000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114706173, "histo_col_type": "", "name": "__auto__", "null_count": 484936615, "row_count": 1000000000}, {"columns": ["col3_19"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 449983202, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col1_4, col3_16) REFERENCES table1 (col1_4, col1_0) ON DELETE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('kji');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24019404227, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4700280187, "histo_buckets": [{"distinct_range": 0, "num_eq": 1521504269045209103, "num_range": 0, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 80, "num_range": 20000000, "upper_bound": "5v[J\\t\\u0016\\n"}, {"distinct_range": 0, "num_eq": 6892911015590987031, "num_range": 3000000000, "upper_bound": "_AChg#\\u0007"}, {"distinct_range": 125195848515686450, "num_eq": 9201680218347946865, "num_range": 7711394464383500116, "upper_bound": "h"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25800152046, "histo_buckets": [{"distinct_range": 0, "num_eq": 2900750818012819562, "num_range": 0, "upper_bound": "1566046024"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 2876473951, "row_count": 30000000000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17846557441, "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": 25670047008, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "1974-09-19 12:21:21.000092+00:00"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 6000000000, "upper_bound": "1989-11-15 17:11:41.000589+00:00"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 6000, "upper_bound": "2006-11-28 18:00:02.000276+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21344104893, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "1"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21235778122, "histo_buckets": [{"distinct_range": 0, "num_eq": 2245749404046428367, "num_range": 0, "upper_bound": "0001001000111110110001101101100101000110001001101"}, {"distinct_range": 7211647820894811000, "num_eq": 49208661746535374, "num_range": 7211647820894811519, "upper_bound": "0101100010010001101011011101101111001110111000010"}, {"distinct_range": 64337940.67178385, "num_eq": 10000, "num_range": 80000000, "upper_bound": "1010111100001010100010101100000001000101011100011"}, {"distinct_range": 0, "num_eq": 600, "num_range": 8303336074685272959, "upper_bound": "1101010110110010011100001000110000111111101110011"}, {"distinct_range": 4577315449802342000, "num_eq": 5360906818092733636, "num_range": 5951936384716697228, "upper_bound": "1111010111010110011011010100010101111100101010101"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21198567923, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4595647577, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26860887397, "histo_buckets": [{"distinct_range": 0, "num_eq": 3584150839650099960, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 0, "num_eq": 4000, "num_range": 2838394689035593420, "upper_bound": "-Infinity"}, {"distinct_range": 3613662258.937069, "num_eq": 7794772101481259092, "num_range": 10000000000, "upper_bound": "1.515032932255838375E+27"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12832815314, "histo_col_type": "", "name": "__auto__", "null_count": 14802863622, "row_count": 30000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13543512530, "histo_buckets": [{"distinct_range": 0, "num_eq": 6074554645032737512, "num_range": 0, "upper_bound": "001010100010110000110"}, {"distinct_range": 9764283686.64848, "num_eq": 100000000, "num_range": 50000000000, "upper_bound": "010010110011011011111"}, {"distinct_range": 7.035244662378627, "num_eq": 2000, "num_range": 10, "upper_bound": "010010110110001100010"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 5641703216949456941, "upper_bound": "010110100111111110100"}, {"distinct_range": 0, "num_eq": 2530579474936956950, "num_range": 5186540965691781302, "upper_bound": "010111010000111111001"}, {"distinct_range": 6421549.1555498, "num_eq": 3216194774035652245, "num_range": 9000000, "upper_bound": "011111011101110010011"}, {"distinct_range": 8332300378965253000, "num_eq": 10000, "num_range": 8332300378965253247, "upper_bound": "100100110000001111100"}, {"distinct_range": 0, "num_eq": 45758523344992341, "num_range": 8000, "upper_bound": "100110000010100011111"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 108027276, "histo_col_type": "", "name": "__auto__", "null_count": 14484284507, "row_count": 30000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17447485790, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3532046183, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23138552983, "histo_col_type": "", "name": "__auto__", "null_count": 7861018095, "row_count": 30000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23010976632, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7853447308, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 30000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1430496069925432863, "histo_buckets": [{"distinct_range": 0, "num_eq": 9213858614168925401, "num_range": 0, "upper_bound": "BOX(-1.7698556152880935 -0.3679976455124749,1.7268722897217137 0.56193710566702)"}, {"distinct_range": 0, "num_eq": 7164974146721584291, "num_range": 1971193083761405240, "upper_bound": "BOX(-0.04064924593542041 -0.064144558516805,1.0231577094314264 0.5621761381043549)"}, {"distinct_range": 800, "num_eq": 5592665686064442211, "num_range": 800, "upper_bound": "BOX(0.31454472113267806 -0.23459007312355928,0.46886174320223406 -0.22767413627021682)"}], "histo_col_type": "BOX2D", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 591735671289641613, "histo_buckets": [{"distinct_range": 0, "num_eq": 700, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5000000000, "num_eq": 9000, "num_range": 5000000000, "upper_bound": "233759067"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 10000000, "upper_bound": "1579884539"}, {"distinct_range": 6846448674152593000, "num_eq": 500, "num_range": 6846448674152593223, "upper_bound": "1775958791"}, {"distinct_range": 200, "num_eq": 500, "num_range": 200, "upper_bound": "1832597411"}, {"distinct_range": 7215015838876750000, "num_eq": 2249730776457749719, "num_range": 7215015838876749703, "upper_bound": "2004656700"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 7868576988806647704, "upper_bound": "3223288137"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 809682341303394663, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 1000, "num_eq": 5000000000, "num_range": 1000, "upper_bound": "-7.74458176633165557E+20"}, {"distinct_range": 2122523100255604000, "num_eq": 294283088381967268, "num_range": 2122523100255603946, "upper_bound": "-40725535166814.12548"}, {"distinct_range": 0, "num_eq": 2550543491596040132, "num_range": 0, "upper_bound": "-409.7973635802717087"}, {"distinct_range": 6000000, "num_eq": 600000, "num_range": 6000000, "upper_bound": "-0.04734293113437637475"}, {"distinct_range": 1.9373112463823123, "num_eq": 300, "num_range": 100, "upper_bound": "0.8601191409234768208"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1744930335828389852, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1642427119762988090, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 845742389020435344, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 96828945729579615, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 321625722600789573, "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 328058085531109766, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1420926216754186187, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "\\\\x6e882f110bbdd9"}, {"distinct_range": 60789332.92558298, "num_eq": 4471388118736707846, "num_range": 80000000, "upper_bound": "\\\\xd38ee947"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1864947174354410622, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 649865424671379704, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 893426119572668883, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 966315478153231761, "num_range": 0, "upper_bound": "\\u001eb\\u0008 "}, {"distinct_range": 0, "num_eq": 6683545501694809287, "num_range": 0, "upper_bound": " :"}, {"distinct_range": 2008244297422480000, "num_eq": 800000000, "num_range": 2622446865503602050, "upper_bound": "-bu<R8\\u0013z"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 7880955664292010920, "upper_bound": "X"}, {"distinct_range": 5243048122351415000, "num_eq": 4778869884093330766, "num_range": 5243048122351415399, "upper_bound": "]\\u001d"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1301198960122188611, "histo_buckets": [{"distinct_range": 0, "num_eq": 1911681623599384386, "num_range": 0, "upper_bound": "134.54.207.162/5"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 50000000, "upper_bound": "152.122.252.252/6"}, {"distinct_range": 3775285876612375600, "num_eq": 30000000, "num_range": 3775285876612375517, "upper_bound": "21.3.255.99/13"}, {"distinct_range": 5000, "num_eq": 6923600512162573366, "num_range": 5000, "upper_bound": "122.224.13.72/24"}, {"distinct_range": 6787698801410346000, "num_eq": 3123348195557007469, "num_range": 6787698801410345979, "upper_bound": "255.112.86.105/31"}, {"distinct_range": 500000, "num_eq": 10000, "num_range": 500000, "upper_bound": "7646:b43d:dc8d:8340:e31c:a35a:6442:3757/71"}, {"distinct_range": 0, "num_eq": 2968390947906544734, "num_range": 50000000000, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1101405345119231201, "histo_buckets": [{"distinct_range": 0, "num_eq": 1733804337156428798, "num_range": 0, "upper_bound": "463228090"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 518301372841023625, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1943798731863377196}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"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": ["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_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": ["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_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": ["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_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": ["col3_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": ["col3_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_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "0100100110111101101111000000011101111101101001110"}, {"distinct_range": 881002310292705200, "num_eq": 8289062573610249693, "num_range": 1730729576165123533, "upper_bound": "1101001001110111001000001110010011110100111000100"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 164168611802420056, "upper_bound": "1111101010100010000100011011111100110000101010010"}], "histo_col_type": "BIT(49)", "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_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_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_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_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_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_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "1971-01-09 01:07:22.000441"}, {"distinct_range": 0, "num_eq": 5288432357718481849, "num_range": 0, "upper_bound": "1984-06-13 09:07:17.000043"}, {"distinct_range": 4158642482724820000, "num_eq": 8952480186706000355, "num_range": 4158642482724819828, "upper_bound": "2007-04-04 19:13:15.000995"}, {"distinct_range": 80000000, "num_eq": 6162993529952152608, "num_range": 80000000, "upper_bound": "2017-07-06 00:22:04.000617"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "2021-04-17 02:13:07.000285"}, {"distinct_range": 1791446759644357400, "num_eq": 1000000000, "num_range": 2600821489826434752, "upper_bound": "2029-11-14 10:24:58.00046"}], "histo_col_type": "TIMESTAMP", "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_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_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}]';
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_15, col1_13, col1_0) REFERENCES table2 (col2_12, col2_1, col2_4) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2315344767, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "-2.906768371062383803E+25"}, {"distinct_range": 3974063866046178000, "num_eq": 6000000000, "num_range": 3974063866046177719, "upper_bound": "-780320.590822509675"}, {"distinct_range": 56216901.230645545, "num_eq": 6951670572199496585, "num_range": 100000000, "upper_bound": "-478928.4600973342763"}, {"distinct_range": 3078794899170774500, "num_eq": 90, "num_range": 3078794899170774668, "upper_bound": "-6.821850955891307553"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 1440762108935698954, "upper_bound": "-3.13661326160401759"}, {"distinct_range": 16.535585573015428, "num_eq": 1678966096147328670, "num_range": 70, "upper_bound": "-0.19258877837054125"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31822415216, "histo_col_type": "", "name": "__auto__", "null_count": 51351038508, "row_count": 70000000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37194985432, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44342635885, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "-7263870259623104351"}, {"distinct_range": 70000000000, "num_eq": 30000, "num_range": 70000000000, "upper_bound": "-4460067257914706807"}, {"distinct_range": 55762.28787304272, "num_eq": 2303769377018493272, "num_range": 100000, "upper_bound": "-475319903654807145"}, {"distinct_range": 0, "num_eq": 5390277950473445661, "num_range": 0, "upper_bound": "2247686033848494213"}, {"distinct_range": 7874818684616286000, "num_eq": 2439298129574520155, "num_range": 7874818684616285721, "upper_bound": "3047167405934332058"}, {"distinct_range": 4493375090065673000, "num_eq": 8136693882203371993, "num_range": 4493375090065673363, "upper_bound": "8639256404336963442"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42925636907, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10761574723, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35515436461, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50079970909, "histo_buckets": [{"distinct_range": 0, "num_eq": 6542885998218052573, "num_range": 0, "upper_bound": "010001100110111111101"}, {"distinct_range": 10000, "num_eq": 3000, "num_range": 10000, "upper_bound": "010010110001110010001"}, {"distinct_range": 0, "num_eq": 909601164092826011, "num_range": 30000000000, "upper_bound": "0111111111111111111111111111111111111111111111111111111111111111"}, {"distinct_range": 3175660761944463400, "num_eq": 4000000000, "num_range": 5117760119820694252, "upper_bound": "101010011100011100110"}, {"distinct_range": 0, "num_eq": 1897554665073363515, "num_range": 50000, "upper_bound": "101011001011011011010"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 8964055570640797199, "upper_bound": "101110110011001100110"}, {"distinct_range": 12610163064701472, "num_eq": 5236950546895772270, "num_range": 2172421462481997434, "upper_bound": "110100111101101101111"}, {"distinct_range": 600000000, "num_eq": 0, "num_range": 600000000, "upper_bound": "110111111111101111100"}], "histo_col_type": "BIT(21)", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12457499206, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "1971-09-27 03:29:03.000895+00:00"}, {"distinct_range": 7094288617561670000, "num_eq": 5000000000, "num_range": 7094288617561669553, "upper_bound": "1976-06-15 20:26:45.000948+00:00"}, {"distinct_range": 109095132141918050, "num_eq": 3000000, "num_range": 109095132141918045, "upper_bound": "1978-12-11 21:56:43.000215+00:00"}, {"distinct_range": 2201339925999870200, "num_eq": 100, "num_range": 2201339925999870088, "upper_bound": "1992-05-05 11:32:00.000155+00:00"}, {"distinct_range": 0, "num_eq": 6538675258021830338, "num_range": 6855909934928285876, "upper_bound": "1993-04-08 12:40:42.000946+00:00"}, {"distinct_range": 200, "num_eq": 70000000, "num_range": 200, "upper_bound": "2003-11-19 15:34:49.000006+00:00"}, {"distinct_range": 10000000, "num_eq": 20, "num_range": 10000000, "upper_bound": "2024-02-23 23:37:04.000382+00:00"}, {"distinct_range": 3263375229239897600, "num_eq": 0, "num_range": 3263375229239897413, "upper_bound": "2026-06-18 07:30:25.000744+00:00"}, {"distinct_range": 0, "num_eq": 4004532647249714442, "num_range": 3000000, "upper_bound": "2031-05-16 05:33:29.000832+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37820115664, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 44987147133, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69771893000, "histo_col_type": "", "name": "__auto__", "null_count": 35241359069, "row_count": 70000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15073696214, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68776933229, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 457051792749199021, "num_range": 3209372688785028453, "upper_bound": "\\""}, {"distinct_range": 20, "num_eq": 70000, "num_range": 20, "upper_bound": "0\\u001d"}, {"distinct_range": 2247571484915950000, "num_eq": 0, "num_range": 2247571484915950030, "upper_bound": "4\\u0007[A"}, {"distinct_range": 3757330880344247300, "num_eq": 800000, "num_range": 3757330880344247457, "upper_bound": "QLw\\u0002R"}, {"distinct_range": 22897528850.707413, "num_eq": 4439955597718231686, "num_range": 70000000000, "upper_bound": "XQ"}, {"distinct_range": 2183987793122710, "num_eq": 8281340475378235262, "num_range": 54402524015740453, "upper_bound": "d\\u001c9iN3a#"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 8233261583237583061, "upper_bound": "f0BC\\u001c"}, {"distinct_range": 30, "num_eq": 7319158397025423017, "num_range": 30, "upper_bound": "zh&!mB"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36288330306, "histo_col_type": "", "name": "__auto__", "null_count": 3004255026, "row_count": 70000000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64827768452, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "0101010111101010011101010100000000100111101100100"}, {"distinct_range": 1367742933.409814, "num_eq": 1000, "num_range": 4000000000, "upper_bound": "0110000010011011011101000110101111101000000000001"}, {"distinct_range": 5950109973729421000, "num_eq": 20000000, "num_range": 5950109973729420811, "upper_bound": "1010100100000000000010001110100001000111001111010"}, {"distinct_range": 1000000, "num_eq": 80, "num_range": 1000000, "upper_bound": "1101100001100011011110000010110100111000011001100"}], "histo_col_type": "BIT(49)", "name": "__auto__", "null_count": 0, "row_count": 70000000000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25144238840, "histo_col_type": "OID", "name": "__auto__", "null_count": 22024629885, "row_count": 70000000000}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42001517843, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 405805275, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 241329089, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 70274322, "histo_buckets": [{"distinct_range": 0, "num_eq": 3336631849628839726, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 9130954428173286268, "num_range": 1090494224589681114, "upper_bound": "\\u0010\\\\{\\"/\\u000b\\u0008\\n"}, {"distinct_range": 5203.076895615804, "num_eq": 3098743272071907960, "num_range": 8000, "upper_bound": "\\u001dBH`{>VVa"}, {"distinct_range": 3299637033460904000, "num_eq": 0, "num_range": 3299637033460903693, "upper_bound": "$_BA"}, {"distinct_range": 3749230422408382000, "num_eq": 2111990006292974129, "num_range": 3749230422408382011, "upper_bound": ",#;cYXp"}, {"distinct_range": 0, "num_eq": 5648252483752612784, "num_range": 0, "upper_bound": "J\\u001f"}, {"distinct_range": 151.3966404982553, "num_eq": 90, "num_range": 200, "upper_bound": "W|\\u0011R9"}, {"distinct_range": 800, "num_eq": 80000000, "num_range": 800, "upper_bound": "hK\\u001820g\\u0016g"}, {"distinct_range": 59712.94024515157, "num_eq": 8510162885333049233, "num_range": 200000, "upper_bound": "o\\u001fN\\u001ey/A@)"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 147111812, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 139606353, "histo_buckets": [{"distinct_range": 0, "num_eq": 4982113764548918326, "num_range": 0, "upper_bound": "30 years 8 mons 50 days 23:40:17.005058"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 500000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2061565, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 3868928513.047754, "num_eq": 803443533

@cockroach-teamcity
Copy link
Member Author

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

        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....2020-11-24 06:12:41.350 UTC [48] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-11-24 06:12:41.366 UTC [49] LOG:  database system was shut down at 2020-11-24 06:12:41 UTC
        postgres_1    | 2020-11-24 06:12:41.371 UTC [48] LOG:  database system is ready to accept connections
        postgres_1    |  done
        postgres_1    | server started
        postgres_1    | 
        postgres_1    | /usr/local/bin/docker-entrypoint.sh: sourcing /docker-entrypoint-initdb.d/10_postgis.sh
        postgres_1    | CREATE DATABASE
        postgres_1    | Loading PostGIS extensions into template_postgis
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | Loading PostGIS extensions into postgres
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down....2020-11-24 06:12:44.444 UTC [48] LOG:  received fast shutdown request
        postgres_1    | 2020-11-24 06:12:44.446 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2020-11-24 06:12:44.448 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2020-11-24 06:12:44.454 UTC [50] LOG:  shutting down
        postgres_1    | 2020-11-24 06:12:44.598 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    | 2020-11-24 06:12:44.656 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-11-24 06:12:44.656 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-11-24 06:12:44.661 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-11-24 06:12:44.676 UTC [85] LOG:  database system was shut down at 2020-11-24 06:12:44 UTC
        postgres_1    | 2020-11-24 06:12:44.683 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (605.12s)
        test_1        |     --- FAIL: TestCompare/postgres (3.36s)
        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_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@d251e175421d9303492a4923fb933515987163b6:

        postgres_1    | 				'2000-01-01 09:00:00+00:00'::TIMESTAMPTZ AS col_367288,
        postgres_1    | 				tab_192465.tableoid AS col_367289,
        postgres_1    | 				'D'::TEXT AS col_367290,
        postgres_1    | 				'2000-01-01 02:00:00+00:00'::TIMESTAMPTZ AS col_367291
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table4 AS tab_192465
        postgres_1    | 			WHERE
        postgres_1    | 				tab_192465.col4_9
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_192465.col4_4 DESC, tab_192465.col4_8, tab_192465.col4_11 DESC
        postgres_1    | 		)
        postgres_1    | 			AS tab_192466
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_367284 NULLS FIRST,
        postgres_1    | 		col_367285 NULLS FIRST,
        postgres_1    | 		col_367286 NULLS FIRST,
        postgres_1    | 		col_367287 NULLS FIRST,
        postgres_1    | 		col_367288 NULLS FIRST,
        postgres_1    | 		col_367289 NULLS FIRST,
        postgres_1    | 		col_367290 NULLS FIRST,
        postgres_1    | 		col_367291 NULLS FIRST
        test_1        | --- FAIL: TestCompare (806.42s)
        test_1        |     --- FAIL: TestCompare/postgres (204.50s)
        test_1        |         compare_test.go:155: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("trueC"),
        test_1        |             + 	string("tC"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT (true::BOOL || 'C'::TEXT::TEXT)::TEXT AS col_367326) AS tab_192480
        test_1        |             ORDER BY
        test_1        |             	col_367326 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1

More

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@fe5da5c2df069dc7f820f5c3e2f3e03f1cb7b661:

        postgres_1    | waiting for server to start....2020-11-26 06:12:41.909 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-11-26 06:12:41.925 UTC [48] LOG:  database system was shut down at 2020-11-26 06:12:41 UTC
        postgres_1    | 2020-11-26 06:12:41.930 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
        test_1        | --- FAIL: TestCompare (1.90s)
        test_1        |     --- FAIL: TestCompare/postgres (1.15s)
        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        |             CREATE TABLE table1 (col1_0 INT4 NOT NULL, col1_1 REGPROC, col1_2 INTERVAL NOT NULL, col1_3 REGNAMESPACE, col1_4 REGPROCEDURE, col1_5 INET NOT NULL, col1_6 REGCLASS NOT NULL, col1_7 UUID, col1_8 FLOAT4, col1_9 FLOAT8 NOT NULL, col1_10 INT4, col1_11 DATE NULL, col1_12 CHAR, col1_13 TIME NULL, col1_14 NAME NOT NULL, col1_15 INT2 NOT NULL, col1_16 DECIMAL NOT NULL, PRIMARY KEY (col1_6 DESC, col1_2 ASC, col1_9 DESC, col1_5 DESC, col1_16 ASC, col1_0), INDEX (col1_8 DESC, col1_1 DESC, col1_5 ASC, col1_16 DESC, col1_9 ASC, col1_3 DESC, col1_4 ASC, col1_7 DESC, col1_10, col1_15, col1_12 DESC, col1_11 ASC, col1_14 ASC, col1_13 DESC, col1_6, col1_0) WHERE ((table1.col1_9 >= 0.0) AND (table1.col1_16 = NaN)) AND (table1.col1_0 > 1), UNIQUE (col1_12 ASC, col1_3 ASC, col1_0 DESC, col1_16 ASC, col1_4, col1_10, col1_11 ASC, col1_2 ASC, col1_1 ASC, col1_7 DESC, col1_9 DESC, col1_5 ASC, col1_13 ASC) STORING (col1_14, col1_15) WHERE ((((((table1.col1_8 != 1.0:::FLOAT8) OR (table1.col1_14 >= 'X':::STRING)) OR (table1.col1_0 = (-128):::INT8)) AND (table1.col1_16 != 0:::DECIMAL)) OR (table1.col1_9 >= 1.7976931348623157e+308:::FLOAT8)) AND (table1.col1_15 > 0:::INT8)) OR (table1.col1_12 < e'\'':::STRING), INDEX (col1_14 DESC, col1_10, col1_4 ASC, col1_2 ASC, col1_12 ASC, col1_11 ASC) WHERE (((((((((table1.col1_12 < e'\x00') OR (table1.col1_8 >= 1.0)) AND (table1.col1_10 <= 127)) AND (table1.col1_0 < -2147483648)) OR (table1.col1_13 <= '00:00:00')) AND (table1.col1_9 >= NaN)) OR (table1.col1_15 = -128)) AND (table1.col1_14 <= 'X')) AND (table1.col1_16 <= -1.234E+401)) OR (table1.col1_11 >= 'infinity'), UNIQUE (col1_12 ASC, col1_7 ASC, col1_15, col1_11 DESC, col1_16 ASC, col1_9 ASC, col1_8 DESC, col1_2 DESC, col1_0, col1_13 ASC) STORING (col1_4, col1_10), INDEX (col1_16, col1_13, col1_6 DESC, col1_9 DESC, col1_4, col1_5 DESC, col1_8 DESC, col1_10 ASC, col1_11 DESC, col1_3, col1_2, col1_7) STORING (col1_15) WHERE (((((((((table1.col1_12 >= e'\U00002603':::STRING) AND (table1.col1_16 > 'NaN':::DECIMAL)) OR (table1.col1_11 != 'infinity':::DATE)) OR (table1.col1_9 = 0.0:::FLOAT8)) AND (table1.col1_13 != '24:00:00':::TIME)) OR (table1.col1_0 < (-32768):::INT8)) AND (table1.col1_14 = 'X':::STRING)) AND (table1.col1_10 != (-1):::INT8)) OR (table1.col1_8 > 0.0:::FLOAT8)) OR (table1.col1_15 <= 32767:::INT8), INDEX (col1_0 ASC, col1_7 ASC, col1_9, col1_16 DESC, col1_12 ASC, col1_3 ASC, col1_13 DESC, col1_6 DESC, col1_11 ASC, col1_1 DESC, col1_5, col1_15, col1_8, col1_2 ASC, col1_4 DESC, col1_10) STORING (col1_14), FAMILY (col1_14), FAMILY (col1_3), FAMILY (col1_2), FAMILY (col1_15), FAMILY (col1_8), FAMILY (col1_6, col1_10, col1_1), FAMILY (col1_16, col1_9), FAMILY (col1_4, col1_13), FAMILY (col1_11), FAMILY (col1_7, col1_12), FAMILY (col1_0), FAMILY (col1_5));
        test_1        |             CREATE TABLE table2 (col2_0 "char" NULL, col2_1 BOX2D, col2_2 STRING, col2_3 BIT(2), col2_4 NAME NOT NULL, col2_5 TIMESTAMP NOT NULL, col2_6 INET, col2_7 BIT(44), col2_8 INET, col2_9 FLOAT4 NOT NULL, UNIQUE (col2_3 DESC) STORING (col2_2, col2_5, col2_9), INDEX (col2_3 ASC, col2_2 DESC, col2_6, col2_7 ASC, col2_5 ASC, col2_0 ASC) WHERE ((((table2.col2_0 = e'\U00002603') OR (table2.col2_9 != 0.0)) OR (table2.col2_5 <= '-2000-01-01 00:00:00')) AND (table2.col2_4 = 'X')) OR (table2.col2_2 < e'\x00'), UNIQUE (col2_0 DESC) STORING (col2_3, col2_4, col2_6, col2_7, col2_8), UNIQUE (col2_4, col2_9 ASC, col2_6 DESC, col2_1 DESC) WHERE ((((table2.col2_0 >= '"':::STRING) AND (table2.col2_9 != '-Inf':::FLOAT8)) OR (table2.col2_5 <= '-4713-11-24 00:00:00':::TIMESTAMP)) AND (table2.col2_2 < e'\'':::STRING)) AND (table2.col2_4 < e'\'':::STRING), UNIQUE (col2_9 ASC, col2_4, col2_1 ASC, col2_8 DESC, col2_7, col2_3 ASC) STORING (col2_5) WHERE ((((table2.col2_2 > '':::STRING) OR (table2.col2_4 < 'X':::STRING)) AND (table2.col2_5 < '-2000-01-01 00:00:00':::TIMESTAMP)) OR (table2.col2_9 < 3.4028234663852886e+38:::FLOAT8)) AND (table2.col2_0 > '"':::STRING), INDEX (col2_7 DESC, col2_4 ASC, col2_8) STORING (col2_0, col2_2, col2_6, col2_9) WHERE (table2.col2_9 >= 0.0:::FLOAT8) OR (table2.col2_4 >= e'\U00002603':::STRING), UNIQUE (col2_7, col2_4, col2_8 DESC, col2_5 ASC, col2_2 ASC, col2_9 DESC, col2_0 DESC, col2_1 ASC, col2_3) WHERE ((((table2.col2_2 < '':::STRING) AND (table2.col2_4 >= 'X':::STRING)) AND (table2.col2_9 != (-1.0):::FLOAT8)) AND (table2.col2_5 > '-4713-11-24 00:00:00':::TIMESTAMP)) OR (table2.col2_0 <= e'\U00002603':::STRING), INDEX (col2_2 DESC) STORING (col2_0, col2_1, col2_4, col2_7, col2_8, col2_9) WHERE table2.col2_5 = '3000-01-01 00:00:00':::TIMESTAMP, FAMILY (col2_1), FAMILY (col2_6, col2_2), FAMILY (col2_8, col2_0), FAMILY (col2_5), FAMILY (col2_7), FAMILY (col2_4), FAMILY (col2_9, col2_3));
        test_1        |             CREATE TABLE table3 (col3_0 TIME[], col3_1 INT8 NOT NULL, col3_2 VARCHAR NOT NULL, col3_3 BYTES NOT NULL, col3_4 REGCLASS NOT NULL, col3_5 BIT(5) NOT NULL, col3_6 FLOAT4 NOT NULL, col3_7 CHAR NULL, col3_8 DATE NOT NULL, col3_9 REGPROCEDURE NOT NULL, col3_10 REGPROC NOT NULL, col3_11 REGPROCEDURE NOT NULL, col3_12 BOOL NOT NULL, col3_13 INT8 NULL, col3_14 CHAR NOT NULL, col3_15 BIT(49) NULL, PRIMARY KEY (col3_3 DESC, col3_4 ASC, col3_2 DESC, col3_1 ASC, col3_8 DESC, col3_6 DESC, col3_11, col3_5 DESC, col3_10 ASC, col3_9 DESC, col3_12 ASC, col3_14 DESC), INDEX (col3_11, col3_12 DESC, col3_6, col3_7, col3_5 DESC, col3_10 ASC, col3_9 ASC, col3_14 DESC, col3_15 ASC, col3_4 ASC, col3_2 ASC, col3_13 ASC, col3_1) STORING (col3_0) WHERE ((((table3.col3_13 < (-32768):::INT8) OR (NOT table3.col3_12)) OR (table3.col3_8 < '4714-11-24 BC':::DATE)) OR (table3.col3_6 > 0.0:::FLOAT8)) AND (table3.col3_7 <= 'X':::STRING), INDEX (col3_10 ASC) STORING (col3_0, col3_7, col3_13, col3_15) WHERE table3.col3_8 = 'infinity', INDEX (col3_7, col3_8 ASC, col3_2 DESC, col3_14 DESC, col3_15, col3_4 ASC, col3_1 DESC, col3_12, col3_5 DESC, col3_10 ASC, col3_6 DESC, col3_13, col3_9 DESC, col3_3 DESC, col3_11 ASC) STORING (col3_0) WHERE ((((((((table3.col3_14 > e'\x00') AND (table3.col3_8 != '1970-01-01')) AND (table3.col3_1 <= -9223372036854775807)) AND (table3.col3_13 >= -1)) AND (table3.col3_6 != 1.0)) AND table3.col3_12) AND (table3.col3_7 < '')) OR (table3.col3_3 <= '\xff')) AND (table3.col3_2 = e'\x00'), UNIQUE (col3_10 ASC, col3_1 ASC, col3_4 DESC, col3_3, col3_15, col3_5 ASC, col3_7 DESC, col3_11 DESC, col3_6 ASC, col3_9 ASC, col3_2 DESC, col3_14 DESC, col3_13, col3_12, col3_8 DESC) WHERE ((((((((table3.col3_8 < 'infinity':::DATE) AND table3.col3_12) OR (table3.col3_3 < e'\\x00':::BYTES)) OR (table3.col3_14 > '"':::STRING)) AND (table3.col3_2 = e'\'':::STRING)) AND (table3.col3_1 >= 1:::INT8)) AND (table3.col3_7 < e'\x00':::STRING)) AND (table3.col3_13 < 0:::INT8)) AND (table3.col3_6 > '-Inf':::FLOAT8), UNIQUE (col3_6 DESC, col3_8 ASC, col3_7 ASC, col3_9 ASC, col3_1 DESC, col3_11 DESC) STORING (col3_15) WHERE ((table3.col3_12 OR (table3.col3_2 > 'X':::STRING)) OR (table3.col3_6 >= 'NaN':::FLOAT8)) OR (table3.col3_7 >= e'\x00':::STRING), UNIQUE (col3_6, col3_8 ASC, col3_14 DESC, col3_13 ASC, col3_2 DESC, col3_7 DESC, col3_10, col3_3 DESC, col3_11 ASC, col3_9, col3_5, col3_12, col3_15 DESC, col3_4 ASC, col3_1) STORING (col3_0) WHERE ((((((((table3.col3_2 >= e'\x00') AND table3.col3_12) AND (table3.col3_7 > '"')) AND (table3.col3_8 != 'infinity')) OR (table3.col3_1 > 127)) AND (table3.col3_6 > 1.401298464324817e-45)) AND (table3.col3_13 >= -9223372036854775807)) AND (table3.col3_14 >= 'X')) AND (table3.col3_3 != '\x'), UNIQUE (col3_8 DESC, col3_15, col3_6 ASC, col3_9 ASC, col3_4 ASC) WHERE ((((table3.col3_13 > 32767) AND (table3.col3_1 = 32767)) OR (table3.col3_8 > '5874897-12-31')) AND (table3.col3_3 = '\xff')) AND (table3.col3_2 >= e'\x00'), UNIQUE (col3_2 DESC, col3_11 DESC, col3_7, col3_14 DESC, col3_13, col3_6 ASC) STORING (col3_15) WHERE (((((table3.col3_7 != e'\x00':::STRING) AND (table3.col3_1 = 9223372036854775807:::INT8)) AND (table3.col3_8 != '1970-01-01':::DATE)) AND (table3.col3_14 >= '"':::STRING)) OR (NOT table3.col3_12)) OR (table3.col3_3 < e'\\x':::BYTES), FAMILY (col3_1, col3_3, col3_8, col3_6, col3_4, col3_10, col3_14, col3_9, col3_11), FAMILY (col3_0, col3_12, col3_5, col3_13), FAMILY (col3_15), FAMILY (col3_2), FAMILY (col3_7));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 5110600724389820572, "num_range": 0, "upper_bound": "-2038363101"}, {"distinct_range": 30000000000, "num_eq": 8995334634096095544, "num_range": 30000000000, "upper_bound": "-1947189087"}, {"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "-1219131514"}, {"distinct_range": 5146956270805578000, "num_eq": 6588501307895791195, "num_range": 6449745568997254295, "upper_bound": "-891065221"}, {"distinct_range": 218024.8654465742, "num_eq": 900000000, "num_range": 3000000, "upper_bound": "61593447"}, {"distinct_range": 0, "num_eq": 2411619672803734801, "num_range": 800000, "upper_bound": "933230891"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30, "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 65, "histo_col_type": "", "name": "__auto__", "null_count": 26, "row_count": 90}, {"columns": ["col1_9"], "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": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 80, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 56, "row_count": 90}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "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": 3, "histo_col_type": "", "name": "__auto__", "null_count": 8, "row_count": 90}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51, "histo_col_type": "", "name": "__auto__", "null_count": 47, "row_count": 90}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "-1.004253625869751"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 4164716947845354860, "upper_bound": "-0.9401665925979614"}, {"distinct_range": 5000000, "num_eq": 5546992837532729515, "num_range": 5000000, "upper_bound": "-0.6667612195014954"}, {"distinct_range": 4000, "num_eq": 7000, "num_range": 4000, "upper_bound": "0.3522248864173889"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 6686293549057123842, "upper_bound": "0.5593598484992981"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 41, "row_count": 90}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_col_type": "", "name": "__auto__", "null_count": 17, "row_count": 90}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 51, "histo_col_type": "", "name": "__auto__", "null_count": 9, "row_count": 90}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 21, "histo_col_type": "", "name": "__auto__", "null_count": 78, "row_count": 90}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 40, "histo_col_type": "", "name": "__auto__", "null_count": 13, "row_count": 90}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "histo_buckets": [{"distinct_range": 0, "num_eq": 6801123969611924755, "num_range": 0, "upper_bound": ""}, {"distinct_range": 368383502923035900, "num_eq": 1030993845849597236, "num_range": 8284307875897753882, "upper_bound": "\\u0008"}, {"distinct_range": 1487382338472064000, "num_eq": 4483636271412458890, "num_range": 1487382338472064015, "upper_bound": "\\u0008o"}, {"distinct_range": 10000000, "num_eq": 100, "num_range": 10000000, "upper_bound": "G"}, {"distinct_range": 7564631484276782000, "num_eq": 8844627936978839028, "num_range": 8293258141697644697, "upper_bound": "L"}, {"distinct_range": 1400717688578795500, "num_eq": 80000000000, "num_range": 4090639497057995717, "upper_bound": "[\\u001d\\t\\u00107#5"}, {"distinct_range": 0, "num_eq": 60, "num_range": 936564920230108911, "upper_bound": "x\\u0012YgT"}, {"distinct_range": 503220729547579200, "num_eq": 70000000, "num_range": 510677740179440525, "upper_bound": "}\\u0002U["}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 42, "histo_buckets": [{"distinct_range": 0, "num_eq": 2770816837348781903, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 600000000, "upper_bound": "-1.234E+401"}, {"distinct_range": 8061044824819084000, "num_eq": 6000000000, "num_range": 8061044824819084025, "upper_bound": "-68500675235781.1055"}, {"distinct_range": 1333970417086968800, "num_eq": 4201709367894377026, "num_range": 6318408373875127385, "upper_bound": "-0.0375192454719310767"}, {"distinct_range": 64811767462.771484, "num_eq": 90000000000, "num_range": 90000000000, "upper_bound": "1.980636408087017412E+27"}, {"distinct_range": 50, "num_eq": 1408136605613996460, "num_range": 50, "upper_bound": "9.15200891877644644E+29"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 90}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9037598, "histo_col_type": "BIT(2)", "name": "__auto__", "null_count": 47040451, "row_count": 60000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11266899, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18292359, "histo_buckets": [{"distinct_range": 0, "num_eq": 1948663989369991306, "num_range": 0, "upper_bound": "X"}, {"distinct_range": 4000, "num_eq": 5000, "num_range": 4000, "upper_bound": "[>\\u0017\\n\\u0006\\u0010!\\u0003"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 56694265, "row_count": 60000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 39963815, "histo_col_type": "", "name": "__auto__", "null_count": 23923434, "row_count": 60000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23336023, "histo_buckets": [{"distinct_range": 0, "num_eq": 1417271219381297178, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 8696367463906105945, "num_range": 312324443585181041, "upper_bound": " "}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 1447462664536877573, "upper_bound": "8E@z "}, {"distinct_range": 5356323248794985000, "num_eq": 900000, "num_range": 5356323248794985626, "upper_bound": ":6\\u000fg=$UY"}, {"distinct_range": 0, "num_eq": 6287088347683111225, "num_range": 7987328094403243759, "upper_bound": "?ay~\'LI"}, {"distinct_range": 4382128023713124400, "num_eq": 7000000000, "num_range": 4382128023713124548, "upper_bound": "S:?\\u0012($ni"}, {"distinct_range": 1823693349185747500, "num_eq": 60000000, "num_range": 7758021228235081720, "upper_bound": "h"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32410742, "histo_col_type": "", "name": "__auto__", "null_count": 29097567, "row_count": 60000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 30717647, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "00001110000110010010001010001101100111110110"}, {"distinct_range": 809117707577449700, "num_eq": 50000000, "num_range": 3174877300045278528, "upper_bound": "01101010010010000101001011101111101111110010"}, {"distinct_range": 70, "num_eq": 0, "num_range": 70, "upper_bound": "10001000110100101000011111010000001111100111"}, {"distinct_range": 3411554913406760400, "num_eq": 100, "num_range": 5959197834092764119, "upper_bound": "10100010101010100101100101011101110111110011"}, {"distinct_range": 0, "num_eq": 6874078191384079984, "num_range": 7000000, "upper_bound": "11000110111011000000000101001111100010101011"}], "histo_col_type": "BIT(44)", "name": "__auto__", "null_count": 48684740, "row_count": 60000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27349567, "histo_col_type": "", "name": "__auto__", "null_count": 8870044, "row_count": 60000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7057380, "histo_buckets": [{"distinct_range": 0, "num_eq": 4641419084116945073, "num_range": 0, "upper_bound": "-1.5297725200653076"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 3580741299203186856, "upper_bound": "-1.140720248222351"}, {"distinct_range": 10000000000, "num_eq": 2154345767704637264, "num_range": 10000000000, "upper_bound": "-0.09569627046585083"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 5318716116843947486, "upper_bound": "0.04730211943387985"}, {"distinct_range": 30000000, "num_eq": 20000, "num_range": 30000000, "upper_bound": "0.16552291810512543"}, {"distinct_range": 200000, "num_eq": 6000000, "num_range": 200000, "upper_bound": "0.4083329141139984"}, {"distinct_range": 727460107.2873309, "num_eq": 10000, "num_range": 1000000000, "upper_bound": "0.4290940761566162"}, {"distinct_range": 0, "num_eq": 8002437738081228126, "num_range": 6258572973219906684, "upper_bound": "1.3261831998825073"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 60000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9059777, "histo_buckets": [{"distinct_range": 0, "num_eq": 6330320400340303506, "num_range": 0, "upper_bound": ""}, {"distinct_range": 647730942361006000, "num_eq": 4219005091432352012, "num_range": 3762929953307063039, "upper_bound": "\\u0002\\u0008Edm\\u0012hAB"}, {"distinct_range": 500, "num_eq": 160432346379321760, "num_range": 500, "upper_bound": "\\u0015\\u0013"}, {"distinct_range": 1175123205.1193302, "num_eq": 3000000000, "num_range": 7000000000, "upper_bound": "\\u0015\\u0017T5\\u0001`3"}, {"distinct_range": 10000000, "num_eq": 5000000, "num_range": 10000000, "upper_bound": "]\\u0014ECu-"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 80, "upper_bound": "aEeA+"}, {"distinct_range": 9000000, "num_eq": 10000, "num_range": 9000000, "upper_bound": "\x7f\x7frXw9\\u0016"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 40422737, "row_count": 60000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 10, "row_count": 20}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 14, "row_count": 20}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_buckets": [{"distinct_range": 0, "num_eq": 6517699922340543678, "num_range": 0, "upper_bound": "-0.7411007881164551"}, {"distinct_range": 58434535.70280526, "num_eq": 0, "num_range": 60000000, "upper_bound": "0.11981840431690216"}, {"distinct_range": 400000, "num_eq": 3132927982553486342, "num_range": 400000, "upper_bound": "0.18212167918682098"}, {"distinct_range": 76362965.52933873, "num_eq": 700000, "num_range": 80000000, "upper_bound": "0.6438499093055725"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 885505246760133847, "upper_bound": "1.1683107614517212"}, {"distinct_range": 6000, "num_eq": 700, "num_range": 6000, "upper_bound": "1.2514727115631104"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13, "histo_buckets": [{"distinct_range": 0, "num_eq": 7799688193300768663, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 944672171247834900, "num_eq": 1000000, "num_range": 6929601391460357478, "upper_bound": "314567564"}, {"distinct_range": 4794522917410002000, "num_eq": 6000000000, "num_range": 6632835993223559499, "upper_bound": "2404697856"}, {"distinct_range": 0, "num_eq": 800000, "num_range": 2160793825690665214, "upper_bound": "2559313321"}, {"distinct_range": 200000, "num_eq": 40000, "num_range": 200000, "upper_bound": "2667401080"}, {"distinct_range": 80000000, "num_eq": 80000000, "num_range": 80000000, "upper_bound": "3876062816"}, {"distinct_range": 0, "num_eq": 0, "num_range": 139486197514690442, "upper_bound": "3986845762"}, {"distinct_range": 576.7856969481527, "num_eq": 500000000, "num_range": 800, "upper_bound": "4108719010"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "histo_col_type": "", "name": "__auto__", "null_count": 18, "row_count": 20}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4, "histo_buckets": [{"distinct_range": 0, "num_eq": 6915293481658684683, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 300000000, "upper_bound": "422732015"}, {"distinct_range": 0, "num_eq": 7310910608709405095, "num_range": 10000000000, "upper_bound": "555068177"}, {"distinct_range": 0, "num_eq": 4000000, "num_range": 5756230651451418142, "upper_bound": "607336669"}, {"distinct_range": 5342829506074376000, "num_eq": 700, "num_range": 5342829506074376050, "upper_bound": "914762481"}, {"distinct_range": 0, "num_eq": 8242303522160463151, "num_range": 0, "upper_bound": "3416693631"}, {"distinct_range": 7418289396945792000, "num_eq": 200, "num_range": 7418289396945792508, "upper_bound": "3918935464"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_buckets": [{"distinct_range": 0, "num_eq": 177781913376099492, "num_range": 0, "upper_bound": "P"}, {"distinct_range": 1000, "num_eq": 9052428982697780721, "num_range": 1000, "upper_bound": "X"}, {"distinct_range": 24172279.996378068, "num_eq": 30000000000, "num_range": 40000000, "upper_bound": "}3+}\\u0018"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 20}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3, "histo_col_type": "CHAR", "name": "__auto__", "null_count": 16, "row_count": 20}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 20}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('kfply', 'g', 'pbc', 'x');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('gretgf', 'knbf');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('hko', 'gcu', 'ijc');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('hovmp', 'ewmecz', 'zp');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('jxlzsx', 'gpu', 'cqlrmv');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 198009, "histo_buckets": [{"distinct_range": 0, "num_eq": 4554706772738851227, "num_range": 0, "upper_bound": "1421811737"}, {"distinct_range": 14.415489185142992, "num_eq": 8988465036956854580, "num_range": 20, "upper_bound": "2116849966"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 459897, "histo_col_type": "", "name": "__auto__", "null_count": 495091, "row_count": 500000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 315353, "histo_col_type": "", "name": "__auto__", "null_count": 120768, "row_count": 500000}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 402010, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 33048, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "-4894432242398277.575"}, {"distinct_range": 1000000, "num_eq": 4160504794702012360, "num_range": 1000000, "upper_bound": "-275942590356272.2601"}, {"distinct_range": 50000000, "num_eq": 2000, "num_range": 50000000, "upper_bound": "-7223351.072237656557"}, {"distinct_range": 293.27425497837356, "num_eq": 4000000, "num_range": 500, "upper_bound": "0"}, {"distinct_range": 6468704151072943000, "num_eq": 4000, "num_range": 6468704151072942942, "upper_bound": "77963.5068681137346"}, {"distinct_range": 0, "num_eq": 3990637736465700362, "num_range": 600, "upper_bound": "2.710009455569767732E+33"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 342141, "histo_col_type": "", "name": "__auto__", "null_count": 420150, "row_count": 500000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15871, "histo_col_type": "", "name": "__auto__", "null_count": 429505, "row_count": 500000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45053, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 76995, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 284701.39218328183, "num_eq": 0, "num_range": 300000, "upper_bound": "493721667"}, {"distinct_range": 0, "num_eq": 4759817833411683754, "num_range": 10000000, "upper_bound": "758121730"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 7000000, "upper_bound": "2016721414"}, {"distinct_range": 3136.9082446563625, "num_eq": 5000000, "num_range": 6000, "upper_bound": "2083860715"}, {"distinct_range": 0, "num_eq": 3282309954596640897, "num_range": 50000000, "upper_bound": "2094389956"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 0, "upper_bound": "3946347795"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 267082, "histo_col_type": "", "name": "__auto__", "null_count": 167678, "row_count": 500000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 84239, "histo_buckets": [{"distinct_range": 0, "num_eq": 6730537511061419182, "num_range": 0, "upper_bound": ":f<[phE"}, {"distinct_range": 930570305173349100, "num_eq": 8000000, "num_range": 1000114554937043905, "upper_bound": "Z\\u001ea>I"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 464978, "row_count": 500000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 140755, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 200677, "histo_buckets": [{"distinct_range": 0, "num_eq": 624239835291914778, "num_range": 0, "upper_bound": "-0.4684862792491913"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 400000000, "upper_bound": "-0.15660405158996582"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 241846, "row_count": 500000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 122032, "histo_col_type": "", "name": "__auto__", "null_count": 253277, "row_count": 500000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 62539, "histo_col_type": "", "name": "__auto__", "null_count": 242956, "row_count": 500000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 420785, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 500000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 290280, "histo_buckets": [{"distinct_range": 0, "num_eq": 8842593417102175467, "num_range": 0, "upper_bound": ""}, {"distinct_range": 3856.755593693023, "num_eq": 7099588278785136454, "num_range": 4000, "upper_bound": "\\u0018\\u000bG\\u000c"}, {"distinct_range": 2331382713739228700, "num_eq": 0, "num_range": 4067093381456287693, "upper_bound": " k(\\u0019\\u000cod"}, {"distinct_range": 14.400459635241303, "num_eq": 100000000, "num_range": 90, "upper_bound": "%u\\u001akD\\u001b"}, {"distinct_range": 0, "num_eq": 3140251010909198227, "num_range": 10000, "upper_bound": "\'(&"}, {"distinct_range": 0, "num_eq": 2424593923493942110, "num_range": 7655028214547127016, "upper_bound": "Tj\\u001bM*\\u000eF68"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 40000000, "upper_bound": "uOp\\u001ar^]\\u000b"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 500000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4806383519997800709, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000000, "num_range": 0, "upper_bound": "0000000000000000000000000000000000000000000000000000000000000000"}, {"distinct_range": 691732.709086111, "num_eq": 9000000000, "num_range": 1000000, "upper_bound": "00011100101011110011100000111101101010011001"}, {"distinct_range": 30000000, "num_eq": 10000, "num_range": 30000000, "upper_bound": "01110010110111010010111001100010100101111101"}, {"distinct_range": 369689804.8363962, "num_eq": 1017145340771254333, "num_range": 1000000000, "upper_bound": "0111111111111111111111111111111111111111111111111111111111111111"}, {"distinct_range": 0, "num_eq": 6967342026901495198, "num_range": 525215804638202605, "upper_bound": "11001101001001100001011111101010100100111001"}], "histo_col_type": "BIT(44)", "name": "__auto__", "null_count": 584630914762865842, "row_count": 5241463974187804673}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4613037154787925452, "histo_col_type": "", "name": "__auto__", "null_count": 1293632307826081978, "row_count": 5241463974187804673}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4714838606756769743, "histo_col_type": "", "name": "__auto__", "null_count": 262257185036128605, "row_count": 5241463974187804673}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4675904168895680591, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000000000, "num_range": 0, "upper_bound": ";_\\u0011#U69N"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 10000000000, "upper_bound": "?]"}, {"distinct_range": 3325528366305917000, "num_eq": 100000, "num_range": 7251290771846046664, "upper_bound": "@g\\r"}, {"distinct_range": 50000000000, "num_eq": 6937336404565669070, "num_range": 50000000000, "upper_bound": "Le33w\\u000cr"}, {"distinct_range": 600000000, "num_eq": 859755885894125910, "num_range": 600000000, "upper_bound": "W\\tq"}, {"distinct_range": 1681507874812641000, "num_eq": 8582263906004992011, "num_range": 9128157337407715247, "upper_bound": "`8va"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 9001818286573855175, "upper_bound": "d\\\\i\\u0014"}, {"distinct_range": 0, "num_eq": 7842169712958405479, "num_range": 5716318188679077243, "upper_bound": "\x7fc!M\\u000bf\\u0006\\u0017+"}, {"distinct_range": 256956646564570400, "num_eq": 8944731344787385387, "num_range": 256956646564570402, "upper_bound": "\U00002603"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 2315182204140367485, "row_count": 5241463974187804673}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4283357867663777449, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "00"}, {"distinct_range": 0, "num_eq": 7272548175186924107, "num_range": 5000000000, "upper_bound": "01"}, {"distinct_range": 0, "num_eq": 100000000000, "num_range": 0, "upper_bound": "10"}, {"distinct_range": 0, "num_eq": 9000000000, "num_range": 60000, "upper_bound": "11"}], "histo_col_type": "BIT(2)", "name": "__auto__", "null_count": 3988315667080951560, "row_count": 5241463974187804673}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1356503714264991054, "histo_col_type": "", "name": "__auto__", "null_count": 2769069944890885273, "row_count": 5241463974187804673}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3422200361899364666, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 5241463974187804673}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 690592959262552659, "histo_buckets": [{"distinct_range": 0, "num_eq": 8063587464778553883, "num_range": 0, "upper_bound": "\\""}, {"distinct_range": 7593732583697416000, "num_eq": 8836562124363502469, "num_range": 7593732583697415827, "upper_bound": "fg\\"!Y"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 1334675544270041789, "row_count": 5241463974187804673}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5098277735488877921, "histo_buckets": [{"distinct_range": 0, "num_eq": 9129241272690377618, "num_range": 0, "upper_bound": "\\u0004"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6880971571394619177, "upper_bound": "\\r"}, {"distinct_range": 3670357680513538600, "num_eq": 3489537907328391601, "num_range": 5960225627674813961, "upper_bound": "\\u0018"}, {"distinct_range": 5302009845023131000, "num_eq": 20, "num_range": 7977416789591637539, "upper_bound": "2"}, {"distinct_range": 0, "num_eq": 60000, "num_range": 500000, "upper_bound": "<%5("}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "te7\\u0017rX\\u0014\\u001aP"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 5241463974187804673}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 91908640019005433, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5241463974187804673}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1998404528382226581, "histo_col_type": "", "name": "__auto__", "null_count": 1714041799156117487, "row_count": 2383537918066375815}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1434467022412732807, "histo_buckets": [{"distinct_range": 0, "num_eq": 3930332677901136725, "num_range": 0, "upper_bound": "/n"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "9\\u0013k\\u001d\\u0018CD"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 547785025348390438, "histo_buckets": [{"distinct_range": 0, "num_eq": 4792580805581636999, "num_range": 0, "upper_bound": "\\\\x2db1"}, {"distinct_range": 543657612825015100, "num_eq": 7000, "num_range": 5034107267402355026, "upper_bound": "\\\\x7ed72b7125a4a4f7"}, {"distinct_range": 974232666976383000, "num_eq": 1000000, "num_range": 2317479737116340496, "upper_bound": "\\\\xa1ede6708e9d58"}, {"distinct_range": 1177326885517026300, "num_eq": 2550497103312136720, "num_range": 2499592892636991986, "upper_bound": "\\\\xba31806630"}, {"distinct_range": 4229308200664876000, "num_eq": 40, "num_range": 4229308200664875992, "upper_bound": "\\\\xe356f992"}, {"distinct_range": 500000000, "num_eq": 9020830957473682379, "num_range": 500000000, "upper_bound": "\\\\xe3e8f2e6"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 992138353140388524, "histo_col_type": "", "name": "__auto__", "null_count": 304550545864315855, "row_count": 2383537918066375815}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1780604919602876430, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 401967271907195939, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 433953818733664349, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 0, "num_eq": 300000000, "num_range": 7000000, "upper_bound": "1711655200"}, {"distinct_range": 6014857333059414000, "num_eq": 8000, "num_range": 6904927638956085282, "upper_bound": "1992433914"}, {"distinct_range": 6031341974370263000, "num_eq": 4156748482230534958, "num_range": 6031341974370263189, "upper_bound": "2486076739"}, {"distinct_range": 2608448538.896036, "num_eq": 100, "num_range": 3000000000, "upper_bound": "3007432153"}, {"distinct_range": 500000, "num_eq": 1094101936435423969, "num_range": 500000, "upper_bound": "3219153395"}, {"distinct_range": 4303693363033723400, "num_eq": 6856013341107043388, "num_range": 5341670024251267774, "upper_bound": "3985352571"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 779981903959677170, "histo_buckets": [{"distinct_range": 0, "num_eq": 30000000000, "num_range": 0, "upper_bound": "3341849764"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2094685192406685336, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1606203103718751908, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1466558624267992664, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000, "num_range": 0, "upper_bound": "-0.9080224633216858"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1044093541936642114, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "\\u0011J>u@"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 8000, "upper_bound": "\\""}, {"distinct_range": 1883922026922888400, "num_eq": 472421051761450242, "num_range": 2802896293128603351, "upper_bound": "\'#wdv2"}, {"distinct_range": 3638615505406934000, "num_eq": 6073480184071294427, "num_range": 3638615505406933914, "upper_bound": "V\\u0004"}, {"distinct_range": 1158.0253854486918, "num_eq": 30000000000, "num_range": 2000, "upper_bound": "W\\u001fsj\\u0017#"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 802305001896157008, "row_count": 2383537918066375815}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1777674046233623104, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": "-infinity"}, {"distinct_range": 3026193354279865300, "num_eq": 549985985453590622, "num_range": 3026193354279865199, "upper_bound": "1972-05-01"}, {"distinct_range": 292285665.958292, "num_eq": 30, "num_range": 400000000, "upper_bound": "1975-12-11"}, {"distinct_range": 3431567759487999000, "num_eq": 3152474385530089866, "num_range": 3431567759487998773, "upper_bound": "1983-06-25"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1894221829307689660, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1087969798545644135, "histo_col_type": "", "name": "__auto__", "null_count": 943173200560331032, "row_count": 2383537918066375815}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2311175916546541814, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2383537918066375815}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3634524830384446404, "histo_col_type": "", "name": "__auto__", "null_count": 3169418954440352811, "row_count": 8536039505070130330}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6466050288128009466, "histo_buckets": [{"distinct_range": 0, "num_eq": 818815164344935296, "num_range": 0, "upper_bound": "-1.234E+401"}, {"distinct_range": 1755769649242521300, "num_eq": 9000000, "num_range": 8320384023903603837, "upper_bound": "-3.295288369186306608E+37"}, {"distinct_range": 4039805334127094000, "num_eq": 80000000000, "num_range": 4039805334127093754, "upper_bound": "-1"}, {"distinct_range": 0, "num_eq": 5667016723191658688, "num_range": 60000000, "upper_bound": "-0.5289364970705241322"}, {"distinct_range": 0, "num_eq": 900000, "num_range": 80000000000, "upper_bound": "-0.4047882278867247064"}, {"distinct_range": 0, "num_eq": 3502974648526739481, "num_range": 30000000000, "upper_bound": "4.127323609754587974E+21"}, {"distinct_range": 700000, "num_eq": 113918737803638437, "num_range": 700000, "upper_bound": "3.958063771485068188E+36"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5691761029028513518, "histo_col_type": "", "name": "__auto__", "null_count": 1657029218903807713, "row_count": 8536039505070130330}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8523416715722126658, "histo_col_type": "", "name": "__auto__", "null_count": 5763288273220827161, "row_count": 8536039505070130330}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5033897101915325702, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 622006482601142325, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000, "num_range": 0, "upper_bound": "1672335420"}, {"distinct_range": 0, "num_eq": 20, "num_range": 7799576681249123607, "upper_bound": "4205767526"}], "histo_col_type": "REGCLASS", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8244610783160251862, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 20000, "upper_bound": "330287748"}, {"distinct_range": 366.3395294362518, "num_eq": 10000000, "num_range": 1000, "upper_bound": "441541913"}, {"distinct_range": 1894950583825048000, "num_eq": 200000, "num_range": 6445553877720801339, "upper_bound": "573034921"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4446780442202947894, "histo_col_type": "", "name": "__auto__", "null_count": 5891851422361827283, "row_count": 8536039505070130330}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7177017293180117357, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "-0.1270720660686493"}, {"distinct_range": 800000000, "num_eq": 4000000, "num_range": 800000000, "upper_bound": "0.48151659965515137"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 2056258322268967362, "upper_bound": "0.9458360075950623"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 7573265857281001129, "row_count": 8536039505070130330}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7776030055338298936, "histo_buckets": [{"distinct_range": 0, "num_eq": 4661176473528560338, "num_range": 0, "upper_bound": ""}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7223216189032025350, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5614201299665768778, "histo_col_type": "", "name": "__auto__", "null_count": 4996068051271955613, "row_count": 8536039505070130330}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1382291803837653314, "histo_col_type": "", "name": "__auto__", "null_count": 7940533118660179691, "row_count": 8536039505070130330}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3056783045818141710, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 10.570473494994234, "num_eq": 90, "num_range": 30, "upper_bound": "\\u0014mQ\\u0016Q"}, {"distinct_range": 9928.77200901896, "num_eq": 1000, "num_range": 10000, "upper_bound": "1\x7f\\u001e\\u0008"}, {"distinct_range": 93695.84803314363, "num_eq": 6221223594192401163, "num_range": 800000, "upper_bound": "<?\\u000bF/[=#"}, {"distinct_range": 0, "num_eq": 7000, "num_range": 4238936348112448301, "upper_bound": "EUNU"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 239462928895238011, "upper_bound": "J<\\u000e"}, {"distinct_range": 669315.1946475842, "num_eq": 80000000000, "num_range": 1000000, "upper_bound": "X"}, {"distinct_range": 4171993178973052400, "num_eq": 1097632947266587053, "num_range": 4171993178973052256, "upper_bound": "Y\\u0006C"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 2033331288770414515, "row_count": 8536039505070130330}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3887533779056087295, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8126816876257232812, "histo_col_type": "", "name": "__auto__", "null_count": 7528888055659437526, "row_count": 8536039505070130330}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2353014848922166771, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8536039505070130330}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS e'[{"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 320719716007072574, "histo_buckets": [{"distinct_range": 0, "num_eq": 2983121218323062981, "num_range": 0, "upper_bound": "-0.17355069518089294"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 2527621723300496747}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 201444347009494575, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": ""}, {"distinct_range": 33540869224.591396, "num_eq": 40, "num_range": 50000000000, "upper_bound": "\\u000elq60WW"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 0, "upper_bound": "*;L\\n\\""}, {"distinct_range": 980688.6491515834, "num_eq": 100000, "num_range": 2000000, "upper_bound": "+g\\u0010g9"}, {"distinct_range": 5933893768651976000, "num_eq": 0, "num_range": 5933893768651976149, "upper_bound": "N|"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 243757403045189883, "row_count": 2527621723300496747}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1001513482352539366, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2527621723300496747}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1317101222842275490, "histo_col_type": "", "name": "__auto__", "null_count": 1667732786955377680, "row_count": 2527621723300496747}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 732542743174285823, "histo_buckets": [{"distinct_range": 0, "num_eq": 5049431262399237873, "num_range": 0, "upper_bound": "01010100100010100000100010011001100001010101"}, {"distinct_range": 1938461731428245500, "num_eq": 8820438255841205349, "num_range": 5122763138198264608, "upper_bound": "01100111111110110001001110000110011111000000"}, {"distinct_range": 0, "num_eq": 7281934086621146458, "num_range": 1850802724286484265, "upper_bound": "10010000101000110000101100100011101001101110"}, {"distinct_range": 1207375958927434200, "num_eq": 8580658349944259160, "num_range": 1207375958927434153, "upper_bound": "10010011101001111110110111000001100010110011"}, {"distinct_range": 0, "num_eq": 100, "num_range": 2400124518102337361, "upper_bound": "11000011000010100111011100110111000110000101"}, {"distinct_range": 0, "num_eq": 5529017120165387636, "num_range": 6000000000, "upper_bound": "11010011000101110000100111100110011101110010"}, {"distinct_range": 600000, "num_eq": 1388583403432394294, "num_range": 600000, "upper_bound": "11111100001000001011111011000000111011011000"}], "histo_col_type": "BIT(44)", "name": "__auto__", "null_count": 505251351115794046, "row_count": 2527621723300496747}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2507589582656764996, "histo_col_type": "", "name": "__auto__", "null_count": 565632159323872006, "row_count": 2527621723300496747}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 705785768086689946, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "\\t("}, {"distinct_range": 336078362.3080659, "num_eq": 2000000, "num_range": 400000000, "upper_bound": "\\""}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "4vp&W 6"}, {"distinct_range": 982117218918448500, "num_eq": 600, "num_range": 3431910217805363053, "upper_bound": ":Jo\\u0015O#"}, {"distinct_range": 7205101586867725000, "num_eq": 200, "num_range": 7205101586867725098, "upper_bound": "Tv"}, {"distinct_range": 0, "num_eq": 2392308799972826572, "num_range": 8284663111562763972, "upper_bound": "[\\u0001\\u0004"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 835987204477534674, "row_count": 2527621723300496747}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 361874861185381958, "histo_col_type": "", "name": "__auto__", "null_count": 2139837999260886053, "row_count": 2527621723300496747}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 274121897933850611, "histo_buckets": [{"distinct_range": 0, "num_eq": 8571657824282088403, "num_range": 0, "upper_bound": "00"}], "histo_col_type": "BIT(2)", "name": "__auto__", "null_count": 1650255922095056876, "row_count": 2527621723300496747}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1369535744660645969, "histo_buckets": [{"distinct_range": 0, "num_eq": 9196613045468207469, "num_range": 0, "upper_bound": ""}, {"distinct_range": 1664701187.9894855, "num_eq": 70000000, "num_range": 8000000000, "upper_bound": "+\\u000fq\\u0014\\u0017"}, {"distinct_range": 0, "num_eq": 7678095938235754153, "num_range": 500000000, "upper_bound": "Cc\\u0010cW\\u0002HE"}, {"distinct_range": 596362884887616500, "num_eq": 5000000000, "num_range": 1696590205413819712, "upper_bound": "G\\u0011{"}, {"distinct_range": 999144.3883519508, "num_eq": 20000, "num_range": 1000000, "upper_bound": "H^J;"}, {"distinct_range": 1432420070300475000, "num_eq": 5648225651855835759, "num_range": 2169723788126569339, "upper_bound": "IwGf1t^X"}, {"distinct_range": 0, "num_eq": 0, "num_range": 1415037306529415226, "upper_bound": "X"}, {"distinct_range": 0, "num_eq": 8205441179029647342, "num_range": 700000000, "upper_bound": "u\\u000f#.~w"}, {"distinct_range": 5210622538857327000, "num_eq": 50000, "num_range": 5210622538857326490, "upper_bound": "|\\nV\\u0010"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 2527621723300496747}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS e'[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71, "histo_buckets": [{"distinct_range": 0, "num_eq": 600000000, "num_range": 0, "upper_bound": "1979-12-28"}, {"distinct_range": 126401875052385330, "num_eq": 300000000, "num_range": 8035582890316588175, "upper_bound": "1981-05-10"}], "histo_col_type": "DATE", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 72, "histo_buckets": [{"distinct_range": 0, "num_eq": 7000, "num_range": 0, "upper_bound": "3363032623"}], "histo_col_type": "REGPROC", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9, "histo_col_type": "", "name": "__auto__", "null_count": 61, "row_count": 90}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 83, "row_count": 90}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 68, "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": 26, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "\\\\x5bae"}, {"distinct_range": 0, "num_eq": 0, "num_range": 2148109360352551117, "upper_bound": "\\\\xd93b6bcf"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71, "histo_buckets": [{"distinct_range": 0, "num_eq": 3335439654133462285, "num_range": 0, "upper_bound": ""}, {"distinct_range": 976967.7834789685, "num_eq": 7989226087620136667, "num_range": 1000000, "upper_bound": "\\n\\u0016\\u0001pA"}, {"distinct_range": 0, "num_eq": 500, "num_range": 451049660751112851, "upper_bound": "BL\\u0010,o\\u0001\\""}, {"distinct_range": 0, "num_eq": 700000, "num_range": 80000000, "upper_bound": "i\\u0012\\n\\u001fJ\\u0017SM"}], "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 76, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col3_6"], "created_at": "2000-01-01

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@361215163c597bd1460bba65ca3298f37e29aacc:

        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
        test_1        | --- FAIL: TestCompare (2.19s)
        test_1        |     --- FAIL: TestCompare/postgres (1.12s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (1.07s)
        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 REGNAMESPACE NOT NULL, col1_1 INTERVAL, col1_2 INT2 NOT NULL, col1_3 INET, col1_4 FLOAT4 NOT NULL, col1_5 DECIMAL NULL, col1_6 REGPROCEDURE NOT NULL, col1_7 INTERVAL NULL, col1_8 BYTES, col1_9 INT4 NULL, col1_10 REGCLASS NOT NULL, col1_11 NAME, col1_12 DATE NULL, col1_13 VARCHAR NOT NULL, PRIMARY KEY (col1_6 DESC, col1_10 DESC, col1_13 ASC, col1_0 ASC), FAMILY (col1_2), FAMILY (col1_0), FAMILY (col1_1, col1_4, col1_11, col1_8, col1_3, col1_7), FAMILY (col1_10), FAMILY (col1_13), FAMILY (col1_5), FAMILY (col1_6, col1_9, col1_12), UNIQUE (col1_4) WHERE (((((table1.col1_5 <= -1) AND (table1.col1_2 >= 32767)) AND (table1.col1_8 = '\xe29883')) OR (table1.col1_11 >= e'\x00')) AND (table1.col1_9 >= 2147483647)) AND (table1.col1_4 != +Inf), UNIQUE (col1_0));
        test_1        |             CREATE TABLE table2 (col2_0 TIMESTAMPTZ NOT NULL, col2_1 OID NOT NULL, col2_2 FLOAT8 NOT NULL, col2_3 REGCLASS NOT NULL, col2_4 TIMESTAMPTZ NOT NULL, col2_5 UUID, PRIMARY KEY (col2_0 ASC, col2_2, col2_4 ASC), UNIQUE (col2_5, col2_0 ASC, col2_2, col2_4 DESC, col2_1 DESC, col2_3) WHERE table2.col2_0 < '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ, INDEX (col2_2, col2_3 DESC, col2_0 DESC, col2_4 ASC) STORING (col2_5) WHERE ((table2.col2_0 = '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) OR (table2.col2_2 > 1.7976931348623157e+308:::FLOAT8)) AND (table2.col2_4 >= '294276-12-31 23:59:59.999999+00:00':::TIMESTAMPTZ), UNIQUE (col2_2 DESC, col2_4, col2_5 ASC, col2_1, col2_3 DESC) WHERE ((table2.col2_0 > '-2000-01-01 00:00:00+00:00') AND (table2.col2_2 >= 1.0)) OR (table2.col2_4 > '3000-01-01 00:00:00+00:00'), FAMILY (col2_1), FAMILY (col2_3, col2_0), FAMILY (col2_5), FAMILY (col2_2), FAMILY (col2_4));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1717674552263503527, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2392584643304495551, "histo_col_type": "", "name": "__auto__", "null_count": 1779980373125102398, "row_count": 3402068488254635103}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 705533796950414014, "histo_buckets": [{"distinct_range": 0, "num_eq": 50000000, "num_range": 0, "upper_bound": "7382807"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 400, "upper_bound": "933824725"}, {"distinct_range": 0, "num_eq": 7272210657335392385, "num_range": 4000, "upper_bound": "967584545"}, {"distinct_range": 5673673155460612000, "num_eq": 4023658811025771041, "num_range": 5673673155460612020, "upper_bound": "1598205638"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 8355256021013873557, "upper_bound": "1612159746"}, {"distinct_range": 500, "num_eq": 971881222053142179, "num_range": 500, "upper_bound": "2799382068"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 930166831536112142, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1159972447899706939, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3145163995903959197, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3097395355529049168, "histo_col_type": "", "name": "__auto__", "null_count": 1609999617601266487, "row_count": 3402068488254635103}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1067864816311296851, "histo_col_type": "", "name": "__auto__", "null_count": 893795077920739159, "row_count": 3402068488254635103}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232999266467671220, "histo_col_type": "", "name": "__auto__", "null_count": 1912303145831581851, "row_count": 3402068488254635103}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3386269260844581295, "histo_col_type": "", "name": "__auto__", "null_count": 2422661394994784758, "row_count": 3402068488254635103}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1821149085976265143, "histo_col_type": "", "name": "__auto__", "null_count": 1182852656292808624, "row_count": 3402068488254635103}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2895211621847313196, "histo_col_type": "", "name": "__auto__", "null_count": 1559766658044443882, "row_count": 3402068488254635103}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 938922418461526229, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3402068488254635103}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2563009438689217150, "histo_col_type": "", "name": "__auto__", "null_count": 2320484754451053781, "row_count": 3402068488254635103}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5865388, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "7054f157-b001-448c-ac50-b3a399469e9f"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 1632568, "row_count": 10000000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5833102, "histo_buckets": [{"distinct_range": 0, "num_eq": 700000000, "num_range": 0, "upper_bound": "1999-04-06 07:30:27.000445+00:00"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 70000, "upper_bound": "2005-10-07 07:19:47.00011+00:00"}, {"distinct_range": 4192.824096867166, "num_eq": 80, "num_range": 5000, "upper_bound": "2008-06-08 18:27:02.000273+00:00"}, {"distinct_range": 0, "num_eq": 2238351446341281900, "num_range": 0, "upper_bound": "2021-03-30 11:47:30.00073+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5223145, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 614315, "histo_buckets": [{"distinct_range": 0, "num_eq": 1754455829113423261, "num_range": 0, "upper_bound": "-2.718090142420091"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 200, "upper_bound": "-0.5725093094551388"}, {"distinct_range": 5408220601867965000, "num_eq": 3000000, "num_range": 6864860195783014004, "upper_bound": "-0.20099852565431697"}, {"distinct_range": 0, "num_eq": 0, "num_range": 3614837596461853045, "upper_bound": "0.015119189188637139"}, {"distinct_range": 9186342162909427000, "num_eq": 600000000, "num_range": 9186342162909426946, "upper_bound": "0.029772108567161615"}, {"distinct_range": 53027814.05848147, "num_eq": 8000000, "num_range": 70000000, "upper_bound": "1.0078316080927552"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8310564, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 385865, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_2) REFERENCES table1 (col1_4);
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_1) REFERENCES table1 (col1_0) ON DELETE CASCADE;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('bcaseu', 'knvf', 'zxzv', 'y');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('gzlkgx', 'jxjuly', 'yytfn', 'r', 'fshsod');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('cyeph');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('p', 'x', 'w', 'ev', 'hdek');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('zzenp', 'eijsk', 'dwkfio', 'ui', 'wzllw');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1184141327334301657, "histo_buckets": [{"distinct_range": 0, "num_eq": 6000000, "num_range": 0, "upper_bound": "312302656"}, {"distinct_range": 0, "num_eq": 3267922016683120978, "num_range": 80000000, "upper_bound": "2303918721"}, {"distinct_range": 6249727115228189000, "num_eq": 60000000000, "num_range": 6249727115228188688, "upper_bound": "3079620635"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 467415942080137837, "histo_col_type": "", "name": "__auto__", "null_count": 373790266748441766, "row_count": 1186122113717285531}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 774365354474894849, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 446936410115902214, "histo_col_type": "", "name": "__auto__", "null_count": 741437645193899094, "row_count": 1186122113717285531}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 117102804000140809, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1086459507848517294, "histo_col_type": "", "name": "__auto__", "null_count": 422500119574626596, "row_count": 1186122113717285531}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1106218689704727452, "histo_col_type": "", "name": "__auto__", "null_count": 37317293716968104, "row_count": 1186122113717285531}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 816282551571458161, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "-1.3904199600219727"}, {"distinct_range": 6173103647472195000, "num_eq": 5401575261290444207, "num_range": 7788111115888576807, "upper_bound": "-0.5251715183258057"}, {"distinct_range": 253227442258417600, "num_eq": 10000, "num_range": 7694835111233489314, "upper_bound": "-0.4531900882720947"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3659510736197249, "histo_col_type": "", "name": "__auto__", "null_count": 1031862384691697345, "row_count": 1186122113717285531}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 666660923281977197, "histo_col_type": "", "name": "__auto__", "null_count": 1029532819797819951, "row_count": 1186122113717285531}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 860076378486445031, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 176092835232161462, "histo_col_type": "", "name": "__auto__", "null_count": 368030847538555044, "row_count": 1186122113717285531}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 73904715442681403, "histo_buckets": [{"distinct_range": 0, "num_eq": 50, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 7893883777765859000, "num_eq": 10000, "num_range": 8300772304649367809, "upper_bound": "43154430"}, {"distinct_range": 70000000, "num_eq": 80000000, "num_range": 70000000, "upper_bound": "641513439"}, {"distinct_range": 0, "num_eq": 700, "num_range": 90, "upper_bound": "1450251332"}, {"distinct_range": 19603137.232744753, "num_eq": 10000000000, "num_range": 20000000, "upper_bound": "1968936617"}, {"distinct_range": 66474567.96867537, "num_eq": 500000, "num_range": 80000000, "upper_bound": "2216963529"}, {"distinct_range": 2294084682341404200, "num_eq": 8233259659475823464, "num_range": 2294084682341404235, "upper_bound": "2411781573"}, {"distinct_range": 0, "num_eq": 8124502304637529010, "num_range": 1905674212087386847, "upper_bound": "2873846425"}, {"distinct_range": 5817315267703174000, "num_eq": 6793002307265007300, "num_range": 5817315267703174401, "upper_bound": "3476600499"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 1186122113717285531}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125246001220315668, "histo_col_type": "", "name": "__auto__", "null_count": 693923255467478065, "row_count": 1186122113717285531}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3559889566053487447, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "1987-09-24 09:49:42.000689+00:00"}, {"distinct_range": 70000000000, "num_eq": 700000, "num_range": 70000000000, "upper_bound": "1989-11-15 09:38:10.000473+00:00"}, {"distinct_range": 0, "num_eq": 6530646201124174867, "num_range": 0, "upper_bound": "2000-03-18 21:32:48.000966+00:00"}, {"distinct_range": 40491623.56067833, "num_eq": 50000000, "num_range": 70000000, "upper_bound": "2006-02-27 20:12:42.000821+00:00"}, {"distinct_range": 90000, "num_eq": 755559006767244876, "num_range": 90000, "upper_bound": "2008-01-04 02:11:47.000251+00:00"}, {"distinct_range": 40000000, "num_eq": 1422312783602741441, "num_range": 40000000, "upper_bound": "2011-06-17 10:00:38.00066+00:00"}, {"distinct_range": 7354265966581920000, "num_eq": 40000000, "num_range": 7354265966581920253, "upper_bound": "2023-03-17 03:49:08.000644+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 7896003599538049586}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6053369711735037362, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7896003599538049586}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3034240937788668343, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "-1.2087694875891868"}, {"distinct_range": 0, "num_eq": 1092017472033522992, "num_range": 2000000, "upper_bound": "0.06383604148162703"}, {"distinct_range": 0, "num_eq": 5860947753358202444, "num_range": 0, "upper_bound": "1.7976931348623157e+308"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7896003599538049586}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1734977587957926111, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7896003599538049586}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6171319403281149013, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7896003599538049586}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2239886646057262608, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000, "num_range": 0, "upper_bound": "07475ff6-5b8f-431d-a345-732102fcd416"}, {"distinct_range": 0, "num_eq": 20000000000, "num_range": 100, "upper_bound": "5fc3a728-f4d8-4e2d-b7c6-419d656bf681"}, {"distinct_range": 1015410001779607700, "num_eq": 4674080344902848598, "num_range": 1015410001779607711, "upper_bound": "a9d6e1d9-e7d3-483d-ba54-ed12ff412b29"}, {"distinct_range": 0, "num_eq": 6509727070331095574, "num_range": 6893236689294126112, "upper_bound": "b4732a09-e5e9-48fc-8c20-056edc65974f"}, {"distinct_range": 0, "num_eq": 20000, "num_range": 3000, "upper_bound": "b5f5036c-38fe-4d6d-9956-1e7632bf38a3"}, {"distinct_range": 289.9212275314686, "num_eq": 153144039082986877, "num_range": 1000, "upper_bound": "fa76c3c6-d1c9-45f5-bcaf-12e04a428938"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 7529760920598465140, "row_count": 7896003599538049586}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 899665331711203429, "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 198568555563342716, "histo_col_type": "", "name": "__auto__", "null_count": 298680658228240595, "row_count": 1425896502927862055}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1041940949754884531, "histo_col_type": "", "name": "__auto__", "null_count": 15612103101698972, "row_count": 1425896502927862055}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 491382716973595711, "histo_buckets": [{"distinct_range": 0, "num_eq": 2810379066164149104, "num_range": 0, "upper_bound": "1407923458"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57223288275674758, "histo_buckets": [{"distinct_range": 0, "num_eq": 9015593327550648371, "num_range": 0, "upper_bound": "201337524"}, {"distinct_range": 1000000, "num_eq": 300000, "num_range": 1000000, "upper_bound": "287980368"}, {"distinct_range": 75960.45738230456, "num_eq": 9191422431777678954, "num_range": 90000, "upper_bound": "307298408"}, {"distinct_range": 2000000000, "num_eq": 85696991191552107, "num_range": 2000000000, "upper_bound": "528941464"}, {"distinct_range": 761424835767424400, "num_eq": 7956249683098876940, "num_range": 761424835767424385, "upper_bound": "760505345"}, {"distinct_range": 0, "num_eq": 9051015100700817355, "num_range": 2348179723793389792, "upper_bound": "1656113311"}, {"distinct_range": 80, "num_eq": 642548031345365235, "num_range": 80, "upper_bound": "1872012488"}, {"distinct_range": 0, "num_eq": 80, "num_range": 4085874743554811989, "upper_bound": "2172294631"}], "histo_col_type": "REGNAMESPACE", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1070881741863874561, "histo_col_type": "", "name": "__auto__", "null_count": 1378931872240124766, "row_count": 1425896502927862055}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1387040232947654826, "histo_col_type": "", "name": "__auto__", "null_count": 1297931949978975876, "row_count": 1425896502927862055}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 379629743845568690, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 141973020058199413, "histo_col_type": "", "name": "__auto__", "null_count": 169377727817232358, "row_count": 1425896502927862055}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 388358695098991640, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 126022397896972441, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 1425896502927862055}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 329057683793202049, "histo_col_type": "", "name": "__auto__", "null_count": 101216036874957682, "row_count": 1425896502927862055}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 335816280670556747, "histo_col_type": "", "name": "__auto__", "null_count": 1292993153494793999, "row_count": 1425896502927862055}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1305834944702414104, "histo_col_type": "", "name": "__auto__", "null_count": 1092194759675867569, "row_count": 1425896502927862055}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1856464229347712256, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7996659797832968230}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6097905671415488869, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 508937779740171665, "row_count": 7996659797832968230}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4822063987131292847, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "1974-12-06 09:11:23.000561+00:00"}, {"distinct_range": 757625588882918500, "num_eq": 9000000000, "num_range": 3086299418054144316, "upper_bound": "1976-03-08 23:15:09.000248+00:00"}, {"distinct_range": 401060167629689300, "num_eq": 1480772205803583773, "num_range": 401060167629689274, "upper_bound": "1982-08-31 10:40:28.00022+00:00"}, {"distinct_range": 0, "num_eq": 7186153912302343590, "num_range": 700, "upper_bound": "1994-09-04 13:37:30.000585+00:00"}, {"distinct_range": 9097331847515717000, "num_eq": 3817160225986716993, "num_range": 9097331847515717103, "upper_bound": "2009-10-15 01:16:39.000671+00:00"}, {"distinct_range": 0, "num_eq": 4151912293956540793, "num_range": 0, "upper_bound": "2029-06-13 14:54:39.000732+00:00"}, {"distinct_range": 50000000000, "num_eq": 4000, "num_range": 50000000000, "upper_bound": "2030-02-23 08:38:42.000984+00:00"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 4212111283226173032, "upper_bound": "2031-11-04 01:27:01.000928+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 7996659797832968230}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3800697323138576533, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7996659797832968230}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104779809872687227, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "-0.011735068413898653"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 0, "row_count": 7996659797832968230}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5943825906591388599, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7996659797832968230}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "inf" does not exist (SQLSTATE 42703)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | 
        postgres_1    | waiting for server to shut down...2020-11-27 06:11:56.392 UTC [47] LOG:  received fast shutdown request
        postgres_1    | .2020-11-27 06:11:56.395 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2020-11-27 06:11:56.396 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2020-11-27 06:11:56.402 UTC [49] LOG:  shutting down
        postgres_1    | 2020-11-27 06:11:56.522 UTC [47] LOG:  database system is shut down
        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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@54cdc5fec0e7dc835af7d2fc4231b52d49a71bf8:

        postgres_1    | 				JOIN postgres.public.table2 AS tab_149995 ON
        postgres_1    | 						(tab_149994.tableoid) = (tab_149995.col2_14)
        postgres_1    | 						AND (tab_149994.tableoid) = (tab_149995.col2_10)
        postgres_1    | 						AND (tab_149994.crdb_internal_mvcc_timestamp) = (tab_149995.crdb_internal_mvcc_timestamp)
        postgres_1    | 						AND (tab_149994.crdb_internal_mvcc_timestamp) = (tab_149995.col2_1)
        postgres_1    | 			WHERE
        postgres_1    | 				tab_149995.col2_7
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_149995.col2_13 DESC, tab_149995.col2_8 ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_149996
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_252552 NULLS FIRST,
        postgres_1    | 		col_252553 NULLS FIRST,
        postgres_1    | 		col_252554 NULLS FIRST,
        postgres_1    | 		col_252555 NULLS FIRST,
        postgres_1    | 		col_252556 NULLS FIRST,
        postgres_1    | 		col_252557 NULLS FIRST,
        postgres_1    | 		col_252558 NULLS FIRST,
        postgres_1    | 		col_252559 NULLS FIRST,
        postgres_1    | 		col_252560 NULLS FIRST
        test_1        | --- FAIL: TestCompare (760.22s)
        test_1        |     --- FAIL: TestCompare/postgres (158.18s)
        test_1        |         compare_test.go:155: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("J6"),
        test_1        |             + 	string("J6.0"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('J'::TEXT::TEXT || 6.0::FLOAT8::FLOAT8)::TEXT AS col_252561) AS tab_149997
        test_1        |             ORDER BY
        test_1        |             	col_252561 NULLS FIRST;
        test_1        |             
        test_1        |             postgres: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1

More

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@76935fd62c5a76f88b754cd3f9a5bfb3ccf1d8c2:

        test_1        | --- FAIL: TestCompare (607.77s)
        test_1        |     --- FAIL: TestCompare/postgres (4.54s)
        test_1        |         compare_test.go:129: CREATE TABLE table1 (col1_0 BOOL NOT NULL, col1_1 TIME NULL, col1_2 BOOL, col1_3 TIMESTAMP NOT NULL, col1_4 BYTEA NULL, col1_5 INT8 NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_7 DECIMAL NULL, col1_8 VARCHAR NOT NULL, col1_9 DECIMAL, col1_10 DATE[], col1_11 TIMESTAMPTZ, col1_12 TIMESTAMPTZ, PRIMARY KEY (col1_8, col1_6, col1_3));
        test_1        |             CREATE INDEX ON table1 (col1_12, col1_1 DESC, col1_8 ASC) INCLUDE (col1_0, col1_2, col1_4, col1_5, col1_11);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_1 DESC, col1_3, col1_9 ASC, col1_7, col1_4 DESC, col1_8 ASC, col1_12 DESC, col1_6 ASC) INCLUDE (col1_5);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_9, col1_11, col1_5 DESC, col1_8 ASC, col1_0) INCLUDE (col1_1, col1_4, col1_7, col1_10, col1_12);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0 DESC, col1_1 ASC, col1_3 DESC, col1_12, col1_8, col1_7 DESC, col1_11 ASC, col1_4 DESC, col1_5, col1_6 ASC, col1_2, col1_9 DESC);
        test_1        |             CREATE TABLE table2 (col1_8 VARCHAR NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_3 TIMESTAMP NOT NULL, col2_3 FLOAT8, col2_4 INT8, col2_5 TEXT, col2_6 INTERVAL, col2_7 REGPROCEDURE, col2_8 TEXT, col2_9 REGCLASS NOT NULL, col2_10 OID NOT NULL, col2_11 "char" NOT NULL, col2_12 DECIMAL, col2_13 BOX2D NULL, col2_14 INT8 NOT NULL, col2_15 TIMESTAMP NOT NULL, col2_16 REGPROCEDURE NOT NULL, col2_17 TIMESTAMPTZ, col2_18 REGCLASS NULL, col2_19 INTERVAL NULL, col2_20 TIMESTAMP NOT NULL, PRIMARY KEY (col1_8, col1_6, col1_3));
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_3 DESC, col2_12, col2_20, col2_18 ASC, col2_14 ASC, col2_9 ASC, col1_6 DESC, col2_6, col2_7 ASC, col2_8, col2_16, col2_13, col2_10 DESC, col1_3, col2_4 ASC, col1_8 DESC, col2_17 DESC, col2_15, col2_5 DESC, col2_11, col2_19);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_18);
        test_1        |             CREATE TABLE table3 (col1_8 VARCHAR NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_3 TIMESTAMP NOT NULL, col3_3 FLOAT8 NULL, col3_4 CHAR NOT NULL, col3_5 INT8 NOT NULL, col3_6 OID NOT NULL, col3_7 DECIMAL NULL, col3_8 OID NULL, col3_9 INT8 NOT NULL, col3_10 TIMESTAMPTZ, col3_11 REGPROCEDURE NULL, col3_12 REGTYPE NOT NULL, col3_13 BYTEA, col3_14 TEXT NULL, col3_15 BIT(6) NOT NULL, PRIMARY KEY (col1_8, col1_6, col1_3, col3_8, col3_15, col3_4, col3_6, col3_7, col3_5));
        test_1        |             CREATE INDEX ON table3 (col3_4, col3_15, col3_6, col3_12 ASC, col3_14, col3_7 ASC, col1_6 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7 ASC, col3_11 ASC, col1_3 DESC, col3_10 ASC, col3_13 ASC, col3_4 ASC, col3_6 DESC, col3_5, col3_12 ASC, col3_15 DESC, col3_8, col3_14 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_10, col3_7, col3_6 DESC, col3_15 DESC, col3_3, col3_12) INCLUDE (col3_9, col3_11);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7 ASC, col3_9 DESC, col3_8 ASC, col3_15 DESC, col3_5 ASC, col1_3 DESC, col3_11, col1_8, col3_10 DESC, col3_13 ASC, col3_3 ASC, col3_12, col3_14 ASC, col3_6 ASC, col1_6, col3_4 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_12 ASC, col3_4, col3_15 DESC, col3_11 ASC, col3_14 DESC, col3_13, col3_6 ASC, col3_3 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_8 DESC, col3_12, col3_9 DESC, col3_15 DESC, col1_6, col3_10 DESC, col3_5, col3_14, col3_6 DESC, col1_3 DESC, col3_4 DESC, col3_3, col3_7 ASC, col3_8, col3_13 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_14 DESC, col3_9 ASC, col3_3 ASC, col1_6, col3_6 DESC, col3_7 DESC, col3_15 ASC, col3_11 ASC, col1_3 DESC, col3_10, col1_8, col3_13 DESC, col3_12 ASC, col3_4 ASC, col3_8 ASC, col3_5 DESC);
        test_1        |             CREATE TABLE table4 (col1_8 VARCHAR NOT NULL, col1_6 TIMESTAMPTZ NOT NULL, col1_3 TIMESTAMP NOT NULL, col4_3 "char", col4_4 BIT(42) NULL, col4_5 "char" NOT NULL, col4_6 DECIMAL, col4_7 OID NOT NULL, col4_8 REGNAMESPACE NOT NULL, col4_9 BOX2D NULL, col4_10 BIT(4) NULL, col4_11 INET NOT NULL, col4_12 FLOAT8 NOT NULL, col4_13 REGPROC NULL, PRIMARY KEY (col1_8, col1_6, col1_3, col4_12, col4_10, col4_11, col4_3));
        test_1        |             CREATE INDEX ON table4 (col1_3, col4_10 ASC, col4_4 DESC) INCLUDE (col4_5, col4_13);
        test_1        |             CREATE INDEX ON table4 (col4_4 ASC, col4_9 DESC, col1_3 ASC) INCLUDE (col4_5, col4_6, col4_7, col4_8);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col1_8 ASC, col4_11, col4_9 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_11 DESC, col1_6 DESC, col4_4, col4_6 DESC, col1_3 DESC, col4_10 ASC, col4_12 ASC, col4_7, col4_5 DESC, col4_8 DESC, col4_13);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col1_6, col4_11, col1_3 ASC, col4_9 DESC, col4_10 ASC, col4_12 ASC, col4_3 DESC) INCLUDE (col4_5, col4_7);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_6, col4_5, col4_9 ASC, col4_4 ASC, col1_3 DESC, col4_7 ASC, col4_12, col4_10, col1_6 DESC, col4_11) INCLUDE (col4_8);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col1_6 DESC, col4_5 ASC, col4_7, col4_13 DESC, col4_11 DESC, col4_9 ASC, col4_12 DESC, col4_8 DESC) INCLUDE (col4_6);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_5, col4_4, col1_3 DESC, col4_9);
        test_1        |             CREATE INDEX ON table4 (col4_9 ASC, col4_7 ASC, col4_8 DESC, col4_10 DESC, col4_13 ASC, col1_8, col1_6, col1_3 DESC, col4_5, col4_12, col4_4 ASC);
        test_1        |             CREATE TABLE table5 (col5_0 INT8[], col5_1 BYTEA, col5_2 TIME NOT NULL, col5_3 INTERVAL NOT NULL, col5_4 NAME NOT NULL, col5_5 CHAR NOT NULL, col5_6 BOX2D NOT NULL, col5_7 REGPROCEDURE NULL, col5_8 INT8 NOT NULL, col5_9 DATE NOT NULL, col5_10 VARCHAR NOT NULL, col5_11 OID NULL, col5_12 REGCLASS NOT NULL, col5_13 TEXT NOT NULL, col5_14 OID NOT NULL, PRIMARY KEY (col5_4, col5_12, col5_9, col5_2, col5_5, col5_8, col5_10, col5_6, col5_3, col5_13, col5_14));
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_9 ASC, col5_10 ASC, col5_2 DESC, col5_7 ASC, col5_14 DESC, col5_6 DESC, col5_13 ASC, col5_11 ASC, col5_12 ASC, col5_5, col5_1, col5_3 DESC, col5_4 DESC);
        test_1        |             CREATE INDEX ON table5 (col5_3 DESC, col5_4 DESC, col5_5 DESC, col5_12 ASC, col5_11, col5_14 ASC, col5_1 ASC, col5_10 DESC, col5_9, col5_13 ASC);
        test_1        |             CREATE INDEX ON table5 (col5_14 ASC, col5_8 ASC, col5_9 ASC, col5_10, col5_1 ASC, col5_3 ASC, col5_5 ASC, col5_7 DESC, col5_6) INCLUDE (col5_0, col5_11);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_8 DESC, col5_9 ASC, col5_12 ASC, col5_2, col5_13, col5_4, col5_1 DESC, col5_5 ASC, col5_7 ASC, col5_10) INCLUDE (col5_11);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_6 ASC, col5_8, col5_13, col5_1 ASC, col5_11 DESC, col5_7 ASC, col5_10, col5_14, col5_3 DESC, col5_5 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table5 (col5_3, col5_14 DESC, col5_5, col5_12 ASC, col5_7 DESC, col5_2);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('lq', 'qpb');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('vjwbj', 'esskn', 'urws', 'arzerk', 'tk');
        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_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1

More

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@22906f72e795f9f2c69828e65194f4177833ffbb:

        postgres_1    | 	CREATE TYPE rand_typ_0 AS ENUM ('aqi', 'x');
        postgres_1    | 	CREATE TYPE rand_typ_1 AS ENUM ('ea');
        postgres_1    | 	CREATE TYPE rand_typ_2 AS ENUM ('f', 'slvzd', 'o', 'rdgu', 'bwvn', 'iro');
        postgres_1    | 	CREATE TYPE rand_typ_3 AS ENUM ('blgc');
        postgres_1    | 	CREATE TYPE rand_typ_4 AS ENUM ('xc', 'lnqn', 'vayctr', 'i');
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (605.36s)
        test_1        |     --- FAIL: TestCompare/postgres (3.63s)
        test_1        |         compare_test.go:129: CREATE TABLE table1 (col1_0 REGPROCEDURE NOT NULL, col1_1 TIMETZ NOT NULL, col1_2 REGTYPE NOT NULL, col1_3 REGTYPE NOT NULL, col1_4 UUID, col1_5 FLOAT8, col1_6 UUID NOT NULL, col1_7 FLOAT8 NOT NULL, col1_8 REGNAMESPACE NULL, col1_9 REGNAMESPACE NOT NULL, col1_10 DECIMAL NOT NULL, col1_11 FLOAT8 NOT NULL, PRIMARY KEY (col1_7, col1_0, col1_11, col1_9));
        test_1        |             CREATE INDEX ON table1 (col1_7 DESC, col1_3 DESC, col1_8 ASC, col1_2 DESC, col1_9 ASC, col1_6, col1_10, col1_1, col1_0 DESC, col1_11 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_8 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_0, col1_3 ASC, col1_8, col1_2 DESC, col1_7 DESC, col1_9, col1_4, col1_11 ASC) INCLUDE (col1_5, col1_6, col1_10);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_1, col1_3 DESC, col1_8) INCLUDE (col1_2, col1_4);
        test_1        |             CREATE INDEX ON table1 (col1_8 DESC, col1_7 DESC, col1_9 DESC, col1_11 DESC, col1_2, col1_1 DESC);
        test_1        |             CREATE INDEX ON table1 (col1_5) INCLUDE (col1_3, col1_4, col1_6, col1_8);
        test_1        |             CREATE INDEX ON table1 (col1_5, col1_6 DESC, col1_3 ASC, col1_0, col1_2 ASC, col1_10 ASC, col1_11, col1_9 DESC) INCLUDE (col1_4);
        test_1        |             CREATE INDEX ON table1 (col1_8 ASC, col1_10 ASC, col1_3 DESC, col1_1 DESC, col1_11 ASC, col1_9 ASC, col1_4 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_5, col1_1 ASC, col1_10, col1_2 ASC, col1_4, col1_11, col1_7 DESC, col1_6 DESC);
        test_1        |             CREATE TABLE table2 (col1_7 FLOAT8 NOT NULL, col1_0 REGPROCEDURE NOT NULL, col1_11 FLOAT8 NOT NULL, col1_9 REGNAMESPACE NOT NULL, col2_4 TIME NOT NULL, col2_5 BYTEA NOT NULL, col2_6 BIT(26) NULL, col2_7 BIT(9), col2_8 INTERVAL NOT NULL, col2_9 TEXT NULL, col2_10 "char" NULL, col2_11 REGTYPE NOT NULL, col2_12 TEXT NOT NULL, col2_13 REGCLASS NULL, col2_14 BYTEA NULL, PRIMARY KEY (col1_7, col1_0, col1_11, col1_9, col2_4, col2_5));
        test_1        |             CREATE UNIQUE INDEX ON table2 (col2_7, col1_11 ASC) INCLUDE (col2_6, col2_9, col2_10, col2_11, col2_12, col2_13, col2_14);
        test_1        |             CREATE TABLE table3 (col3_0 TIMETZ NULL, col3_1 REGPROC NULL, col3_2 TEXT[] NULL, col3_3 TIMETZ, col3_4 TIMESTAMP NOT NULL, col3_5 BOX2D NOT NULL, col3_6 "char" NULL, col3_7 TIMESTAMPTZ, col3_8 "char" NOT NULL, col3_9 REGCLASS NOT NULL, PRIMARY KEY (col3_4));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_4 DESC, col3_6 DESC, col3_1) INCLUDE (col3_0, col3_2, col3_3, col3_5, col3_7, col3_8);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_9, col3_4, col3_1 DESC, col3_8 DESC, col3_3 ASC, col3_7 DESC, col3_5 DESC) INCLUDE (col3_6);
        test_1        |             CREATE INDEX ON table3 (col3_0) INCLUDE (col3_2, col3_6, col3_7, col3_9);
        test_1        |             CREATE INDEX ON table3 (col3_5) INCLUDE (col3_7, col3_9);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_3 DESC) INCLUDE (col3_2, col3_6, col3_8, col3_9);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_5 ASC, col3_4 ASC, col3_3, col3_1 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_0 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_8 DESC, col3_4 ASC, col3_5 DESC, col3_7 DESC, col3_0 ASC, col3_6 ASC, col3_1 DESC, col3_3, col3_9);
        test_1        |             CREATE TABLE table4 (col4_0 INET NULL, col4_1 INT8);
        test_1        |             CREATE INDEX ON table4 (col4_0 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_1 DESC, col4_0 DESC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('aqi', 'x');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ea');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('f', 'slvzd', 'o', 'rdgu', 'bwvn', 'iro');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('blgc');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('xc', 'lnqn', 'vayctr', 'i');
        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_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

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

        postgres_1    | 2020-12-02 06:13:58.696 UTC [92] ERROR:  column tab_1419.crdb_internal_mvcc_timestamp does not exist at character 54
        postgres_1    | 2020-12-02 06:13:58.696 UTC [92] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				6::OID AS col_2462,
        postgres_1    | 				tab_1419.crdb_internal_mvcc_timestamp AS col_2463,
        postgres_1    | 				tab_1419.col2_0 AS col_2464,
        postgres_1    | 				9.0::FLOAT8 AS col_2465
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table4 AS tab_1419
        postgres_1    | 			WHERE
        postgres_1    | 				true
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_1419.tableoid
        postgres_1    | 		)
        postgres_1    | 			AS tab_1420
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_2462 NULLS FIRST, col_2463 NULLS FIRST, col_2464 NULLS FIRST, col_2465 NULLS FIRST
        test_1        | --- FAIL: TestCompare (605.34s)
        test_1        |     --- FAIL: TestCompare/postgres (4.60s)
        test_1        |         compare_test.go:155: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("2000-01-01 06:00:00A"),
        test_1        |             + 	string("2000-01-01 06:00:00+00A"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('2000-01-01 06:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ || 'A'::TEXT::TEXT)::TEXT AS col_2466)
        test_1        |             		AS tab_1421
        test_1        |             ORDER BY
        test_1        |             	col_2466 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1: [same as previous]
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@677f6f89f97d492f5eb443fcdb326d5695ddc5d7:

        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-temp273898687
        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:           cff1f60e-6d90-490a-8ac1-1ec17bcee970
        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....2020-12-03 06:14:43.780 UTC [48] LOG:  received fast shutdown request
        postgres_1    | 2020-12-03 06:14:43.782 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2020-12-03 06:14:43.784 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2020-12-03 06:14:43.790 UTC [50] LOG:  shutting down
        postgres_1    | 2020-12-03 06:14:43.919 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    | 2020-12-03 06:14:43.991 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-12-03 06:14:43.991 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-12-03 06:14:43.996 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-03 06:14:44.009 UTC [85] LOG:  database system was shut down at 2020-12-03 06:14:43 UTC
        postgres_1    | 2020-12-03 06:14:44.015 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (602.70s)
        test_1        |     --- FAIL: TestCompare/postgres (1.81s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@aa69b42032f89d1bb777986ff7a8d4f753b71d83:

        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....2020-12-04 06:15:02.620 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-04 06:15:02.633 UTC [48] LOG:  database system was shut down at 2020-12-04 06:15:02 UTC
        postgres_1    | 2020-12-04 06:15:02.637 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...2020-12-04 06:15:05.489 UTC [47] LOG:  received fast shutdown request
        postgres_1    | .2020-12-04 06:15:05.490 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2020-12-04 06:15:05.493 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2020-12-04 06:15:05.500 UTC [49] LOG:  shutting down
        postgres_1    | 2020-12-04 06:15:05.610 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    | 2020-12-04 06:15:05.700 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-12-04 06:15:05.700 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-12-04 06:15:05.705 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-04 06:15:05.719 UTC [84] LOG:  database system was shut down at 2020-12-04 06:15:05 UTC
        postgres_1    | 2020-12-04 06:15:05.724 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (603.10s)
        test_1        |     --- FAIL: TestCompare/postgres (1.41s)
        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_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@ce3f9b29fee565a2994ca84d2ecd20db7fe59d0b:

        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-temp172442576
        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:           e4e050d2-9c00-4ed5-bdef-f5c743921dd0
        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....2020-12-05 06:13:23.224 UTC [47] LOG:  received fast shutdown request
        postgres_1    | 2020-12-05 06:13:23.226 UTC [47] LOG:  aborting any active transactions
        postgres_1    | 2020-12-05 06:13:23.227 UTC [47] LOG:  background worker "logical replication launcher" (PID 54) exited with exit code 1
        postgres_1    | 2020-12-05 06:13:23.234 UTC [49] LOG:  shutting down
        postgres_1    | 2020-12-05 06:13:23.357 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    | 2020-12-05 06:13:23.434 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-12-05 06:13:23.434 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-12-05 06:13:23.438 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-05 06:13:23.449 UTC [84] LOG:  database system was shut down at 2020-12-05 06:13:23 UTC
        postgres_1    | 2020-12-05 06:13:23.454 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (602.99s)
        test_1        |     --- FAIL: TestCompare/postgres (1.80s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1

More

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

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

        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    | 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    | waiting for server to start....2020-12-07 06:14:25.440 UTC [47] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-07 06:14:25.453 UTC [48] LOG:  database system was shut down at 2020-12-07 06:14:25 UTC
        postgres_1    | 2020-12-07 06:14:25.458 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
        test_1        | --- FAIL: TestCompare (1.34s)
        test_1        |     --- FAIL: TestCompare/postgres (0.84s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.3:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (0.50s)
        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 REGNAMESPACE NOT NULL, col1_1 REGNAMESPACE NOT NULL, col1_2 FLOAT8 NOT NULL, col1_3 BIT(5) NOT NULL, col1_4 BOX2D NOT NULL, col1_5 DECIMAL NOT NULL, col1_6 FLOAT4 NOT NULL, col1_7 INTERVAL NOT NULL, col1_8 INT2 NOT NULL, col1_9 REGTYPE NOT NULL, col1_10 TIMESTAMPTZ NOT NULL, col1_11 BIT(39) NOT NULL, col1_12 TIMESTAMP NOT NULL, col1_13 INT8 NOT NULL, col1_14 REGCLASS NOT NULL, col1_15 INET NOT NULL, col1_16 BYTES NOT NULL, col1_17 UUID NOT NULL, col1_18 BOOL NOT NULL, PRIMARY KEY (col1_5 ASC, col1_18 DESC, col1_14 ASC, col1_8 DESC, col1_1, col1_16 ASC, col1_0, col1_7, col1_9 DESC, col1_13, col1_6 ASC, col1_11 DESC, col1_12 DESC, col1_10 DESC, col1_4 ASC, col1_15 DESC, col1_3 DESC, col1_2, col1_17 ASC), UNIQUE (col1_3 ASC, col1_7 ASC, col1_12 ASC, col1_9 DESC, col1_1, col1_5 DESC, col1_16 DESC, col1_2 DESC, col1_4, col1_10, col1_17 DESC, col1_14), UNIQUE (col1_17 ASC, col1_12 ASC, col1_3 ASC, col1_0 ASC, col1_4 DESC, col1_6 DESC, col1_8, col1_1 ASC, col1_11 ASC, col1_18 DESC) WHERE ((((((((table1.col1_13 <= -1) OR (table1.col1_16 > '\x00')) OR (table1.col1_6 < 1.401298464324817e-45)) OR (table1.col1_12 != '3000-01-01 00:00:00')) OR (table1.col1_10 > '3000-01-01 00:00:00+00:00')) OR (table1.col1_8 > 127)) AND table1.col1_18) OR (table1.col1_2 >= 1.7976931348623157e+308)) OR (table1.col1_5 <= NaN), UNIQUE (col1_11 DESC, col1_4, col1_1 DESC, col1_15 ASC, col1_13, col1_7 DESC, col1_17 ASC, col1_14 DESC, col1_0, col1_5, col1_9, col1_16 ASC, col1_2 ASC) WHERE ((((((((table1.col1_2 = 'NaN':::FLOAT8) AND (table1.col1_12 > '-2000-01-01 00:00:00':::TIMESTAMP)) OR (table1.col1_5 <= '-Infinity':::DECIMAL)) AND (table1.col1_8 < (-1):::INT8)) OR (NOT table1.col1_18)) OR (table1.col1_16 > e'\\xe29883':::BYTES)) AND (table1.col1_6 < '-Inf':::FLOAT8)) OR (table1.col1_10 <= '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_13 < (-2147483648):::INT8), UNIQUE (col1_6 DESC, col1_16 ASC, col1_10, col1_9 DESC, col1_17 DESC, col1_13 DESC, col1_2 ASC, col1_15 ASC, col1_0 DESC, col1_7 DESC, col1_1, col1_3 ASC, col1_5 ASC, col1_18 DESC, col1_12, col1_14 DESC) WHERE (((((table1.col1_10 > '0001-01-01 00:00:00+00:00') OR (table1.col1_6 >= 3.4028234663852886e+38)) AND (table1.col1_2 >= -1.0)) OR (table1.col1_12 <= '-2000-01-01 00:00:00')) AND (table1.col1_8 > -1)) OR table1.col1_18, INDEX (col1_5 ASC, col1_16, col1_13 ASC, col1_18 ASC, col1_10 DESC, col1_3, col1_1, col1_6 ASC, col1_8 DESC, col1_17 ASC, col1_0, col1_4 ASC) WHERE ((((((((table1.col1_13 > 1:::INT8) OR (table1.col1_5 >= (-1.234E+401):::DECIMAL)) OR (table1.col1_16 <= e'\\x27':::BYTES)) AND (NOT table1.col1_18)) OR (table1.col1_8 != 32767:::INT8)) AND (table1.col1_6 != '+Inf':::FLOAT8)) AND (table1.col1_10 != '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) AND (table1.col1_12 = '294276-12-31 23:59:59.999999':::TIMESTAMP)) AND (table1.col1_2 != '-Inf':::FLOAT8), FAMILY (col1_8, col1_17, col1_9, col1_6), FAMILY (col1_5, col1_1), FAMILY (col1_4), FAMILY (col1_11, col1_12), FAMILY (col1_13), FAMILY (col1_18, col1_7, col1_0, col1_16), FAMILY (col1_15, col1_10, col1_3, col1_2, col1_14));
        test_1        |             CREATE TABLE table2 (col2_0 FLOAT8 NOT NULL, col2_1 REGPROCEDURE NULL, col2_2 DATE, col2_3 REGNAMESPACE NULL, col2_4 BOX2D NOT NULL, col2_5 VARCHAR NULL, col2_6 INT4, col2_7 INT4, col2_8 REGCLASS NOT NULL, col2_9 INT2, col2_10 BOX2D NULL, col2_11 BOX2D NULL, col2_12 REGCLASS, col2_13 INT2 NULL, col2_14 REGPROCEDURE, col2_15 INT2, col2_16 STRING, INDEX (col2_9, col2_2 DESC, col2_8 DESC, col2_16 DESC, col2_13, col2_0 ASC, col2_4 ASC, col2_11 DESC, col2_6, col2_7 ASC, col2_1, col2_15 ASC, col2_3 DESC, col2_12, col2_14 DESC, col2_5, col2_10) WHERE table2.col2_16 > e'\U00002603', FAMILY (col2_3, col2_13), FAMILY (col2_14), FAMILY (col2_8), FAMILY (col2_11), FAMILY (col2_5), FAMILY (col2_0), FAMILY (col2_15), FAMILY (col2_1), FAMILY (col2_7, col2_12, col2_2), FAMILY (col2_10), FAMILY (col2_6, col2_9), FAMILY (col2_4), FAMILY (col2_16));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15, "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": 550, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 37, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 426, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125, "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": 90, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 673, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 362, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "40718a77-ce41-498c-87b3-90caf06371aa"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 537, "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": 452, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "-1.0633761882781982"}, {"distinct_range": 0, "num_eq": 7070295410477950058, "num_range": 1000000, "upper_bound": "-0.35531970858573914"}, {"distinct_range": 0, "num_eq": 933241670259528630, "num_range": 117882968585153253, "upper_bound": "0.6834092140197754"}, {"distinct_range": 0, "num_eq": 2275641429907948161, "num_range": 9000, "upper_bound": "1.022737741470337"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 50, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "011011001001110100001011011000011100110"}], "histo_col_type": "BIT(39)", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 513, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 452, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 237, "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": 283, "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": 133, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "00000"}, {"distinct_range": 227299661206333020, "num_eq": 8603169105451399349, "num_range": 1055290414030659304, "upper_bound": "00011"}, {"distinct_range": 232043565300534370, "num_eq": 7265132281110170234, "num_range": 504259297498446483, "upper_bound": "10011"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 562, "histo_buckets": [{"distinct_range": 0, "num_eq": 600, "num_range": 0, "upper_bound": "-Infinity"}, {"distinct_range": 759605.490078298, "num_eq": 70000000000, "num_range": 2000000, "upper_bound": "551137257851359149.4"}, {"distinct_range": 0, "num_eq": 600000, "num_range": 7206151939353439718, "upper_bound": "9.159173867188882041E+35"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 700}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 626, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1726, "histo_col_type": "", "name": "__auto__", "null_count": 2373, "row_count": 4000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1508, "histo_col_type": "", "name": "__auto__", "null_count": 832, "row_count": 4000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497, "histo_col_type": "", "name": "__auto__", "null_count": 3473, "row_count": 4000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1655, "histo_col_type": "", "name": "__auto__", "null_count": 3768, "row_count": 4000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 126, "histo_col_type": "", "name": "__auto__", "null_count": 3902, "row_count": 4000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1884, "histo_col_type": "", "name": "__auto__", "null_count": 1044, "row_count": 4000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2176, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2013, "histo_col_type": "", "name": "__auto__", "null_count": 168, "row_count": 4000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2573, "histo_buckets": [{"distinct_range": 0, "num_eq": 4833013496368488536, "num_range": 0, "upper_bound": "-22869"}, {"distinct_range": 0, "num_eq": 6806698657198820915, "num_range": 2891051510084960248, "upper_bound": "-21710"}, {"distinct_range": 167.59746686740942, "num_eq": 50000, "num_range": 1000, "upper_bound": "-14286"}, {"distinct_range": 9000000, "num_eq": 6041995942024279264, "num_range": 9000000, "upper_bound": "-1"}, {"distinct_range": 5046770553995163000, "num_eq": 7497277914087576815, "num_range": 5046770553995162970, "upper_bound": "15932"}, {"distinct_range": 0, "num_eq": 1177347732255393013, "num_range": 5422755729144871955, "upper_bound": "21879"}, {"distinct_range": 5000000000, "num_eq": 60000000000, "num_range": 5000000000, "upper_bound": "32767"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 2156, "row_count": 4000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2410, "histo_col_type": "", "name": "__auto__", "null_count": 81, "row_count": 4000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 634, "histo_col_type": "", "name": "__auto__", "null_count": 3763, "row_count": 4000}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3591, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1084, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 4000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2215, "histo_col_type": "", "name": "__auto__", "null_count": 343, "row_count": 4000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 666, "histo_col_type": "", "name": "__auto__", "null_count": 2941, "row_count": 4000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1473, "histo_col_type": "", "name": "__auto__", "null_count": 2774, "row_count": 4000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3475, "histo_col_type": "", "name": "__auto__", "null_count": 715, "row_count": 4000}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('lzytx', 'rrssjp', 'dgspgk', 'bz', 'duppvj');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ynkobu', 'fz', 'qxasuc', 'umj');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('dkm', 'ntnj', 'hv', 'rmv');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4930346533417632538, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7208779371351735135, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 797867529326688048, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 248523844625920451, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2756936261989000684, "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8893492606020942088, "histo_buckets": [{"distinct_range": 0, "num_eq": 800000000, "num_range": 0, "upper_bound": "-7.301312452032320856E+25"}, {"distinct_range": 242010462410386300, "num_eq": 100, "num_range": 464915720832725377, "upper_bound": "6.4759771523456687E+17"}, {"distinct_range": 755477287186628700, "num_eq": 70, "num_range": 1994178025161888239, "upper_bound": "7.084308546436682111E+19"}, {"distinct_range": 1009644.8185036313, "num_eq": 6580188778183236808, "num_range": 9000000, "upper_bound": "8.82421444875805445E+26"}, {"distinct_range": 2982246188752960000, "num_eq": 8000, "num_range": 6609538837751393883, "upper_bound": "Infinity"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8713434913543561703, "histo_buckets": [{"distinct_range": 0, "num_eq": 3987014012079856818, "num_range": 0, "upper_bound": "-0.07302670925855637"}, {"distinct_range": 200000000, "num_eq": 2297481714169194276, "num_range": 200000000, "upper_bound": "-0.05358833819627762"}, {"distinct_range": 0, "num_eq": 2510881001842864663, "num_range": 3000, "upper_bound": "0.0"}, {"distinct_range": 7000000, "num_eq": 8237198305741176445, "num_range": 7000000, "upper_bound": "0.13262300193309784"}, {"distinct_range": 0, "num_eq": 0, "num_range": 300, "upper_bound": "0.33270972967147827"}, {"distinct_range": 0, "num_eq": 4753808207750904022, "num_range": 5393244118930165477, "upper_bound": "1.4219046831130981"}, {"distinct_range": 1370351430787064300, "num_eq": 2624405866361445044, "num_range": 1469118196151029047, "upper_bound": "1.4298930168151855"}, {"distinct_range": 8000000, "num_eq": 4247977125313319008, "num_range": 8000000, "upper_bound": "+Inf"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7294897870837579521, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2400846514342408105, "histo_buckets": [{"distinct_range": 0, "num_eq": 5849196649837449686, "num_range": 0, "upper_bound": "000011001001000000110110011100100000110"}, {"distinct_range": 1491206834045356500, "num_eq": 4000000, "num_range": 4827194198323208819, "upper_bound": "000100010001101110100100000100110010100"}, {"distinct_range": 0, "num_eq": 800, "num_range": 3000000000, "upper_bound": "001101011111111111000111011000000111000"}, {"distinct_range": 8250058328353134000, "num_eq": 800, "num_range": 8250058328353133636, "upper_bound": "100110110011111001111011011111100010000"}], "histo_col_type": "BIT(39)", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1903835033638576724, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5050139770188731951, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1584760275670111779, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2488836027591111403, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4661956857878476124, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2670961024030741972, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5223927400232158390, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 329.1227075535551, "num_eq": 1000000000, "num_range": 500, "upper_bound": "35af3c62-6908-49da-ae2f-a21220cb9e18"}, {"distinct_range": 10770079863.98416, "num_eq": 669829772284712890, "num_range": 30000000000, "upper_bound": "5752aed1-9860-44a5-9409-3cdb78e4325d"}, {"distinct_range": 65966.19835289022, "num_eq": 6000, "num_range": 200000, "upper_bound": "bd3d4b2e-c8e0-4e4e-be2b-0892dd479c00"}, {"distinct_range": 1584861903266554600, "num_eq": 7481749533628715014, "num_range": 2453314907077534851, "upper_bound": "e82bcd0f-5ec6-41b9-b3d0-74f6cbbca7c4"}, {"distinct_range": 608229.34024546, "num_eq": 2000000000, "num_range": 4000000, "upper_bound": "e88ebc9d-32d6-4f34-a0ad-c060d4eb7c87"}, {"distinct_range": 4000000, "num_eq": 1000000000, "num_range": 4000000, "upper_bound": "f44b34d5-28e7-47bd-acf0-798794c978d6"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8194431039879503911, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3020569476432159505, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7603223765439868296, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8920373053588799025}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 142, "histo_col_type": "", "name": "__auto__", "null_count": 163, "row_count": 200}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7, "histo_col_type": "", "name": "__auto__", "null_count": 187, "row_count": 200}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184, "histo_col_type": "", "name": "__auto__", "null_count": 31, "row_count": 200}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 104, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 54, "row_count": 200}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 183, "histo_col_type": "INT2", "name": "__auto__", "null_count": 141, "row_count": 200}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 193, "histo_col_type": "", "name": "__auto__", "null_count": 191, "row_count": 200}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 141, "histo_col_type": "", "name": "__auto__", "null_count": 104, "row_count": 200}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179, "histo_col_type": "", "name": "__auto__", "null_count": 175, "row_count": 200}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 192, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11, "histo_col_type": "", "name": "__auto__", "null_count": 45, "row_count": 200}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 178, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 200}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85, "histo_col_type": "", "name": "__auto__", "null_count": 198, "row_count": 200}, {"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 200}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_col_type": "", "name": "__auto__", "null_count": 175, "row_count": 200}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75, "histo_col_type": "", "name": "__auto__", "null_count": 11, "row_count": 200}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 75, "histo_col_type": "", "name": "__auto__", "null_count": 3, "row_count": 200}]';
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_buckets": [{"distinct_range": 0, "num_eq": 2123742015048237910, "num_range": 0, "upper_bound": "110000000111010010001011011001110010000"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 50000000000, "upper_bound": "110101001101010000010100011100000001000"}], "histo_col_type": "BIT(39)", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 71, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1a1c0622-5a21-4b2f-ba03-1a59ce4ac8aa"}, {"distinct_range": 0, "num_eq": 1950624964696554201, "num_range": 895271215657578089, "upper_bound": "d0ff1189-c941-4bee-8bae-9e723f784e8d"}, {"distinct_range": 1853005372357974800, "num_eq": 800000, "num_range": 1853005372357974718, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "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": 40, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 36, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "00110"}, {"distinct_range": 0, "num_eq": 291469459063981725, "num_range": 2290508793656156966, "upper_bound": "01000"}, {"distinct_range": 200000, "num_eq": 700000, "num_range": 200000, "upper_bound": "10001"}, {"distinct_range": 1177635.3568751856, "num_eq": 766803585331416666, "num_range": 2000000, "upper_bound": "11100"}, {"distinct_range": 0, "num_eq": 8342498817629431958, "num_range": 60, "upper_bound": "11111"}], "histo_col_type": "BIT(5)", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_4"], "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": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "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": 10, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "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": 15, "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": 73, "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": 1, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1, "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": 67, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000, "num_range": 0, "upper_bound": "-3.551574445346471128E+23"}, {"distinct_range": 8039969943256010000, "num_eq": 800000, "num_range": 8039969943256009528, "upper_bound": "-9.21222527394248348E+18"}, {"distinct_range": 4446752375555848000, "num_eq": 20000000, "num_range": 8754062216304343116, "upper_bound": "84517.86625204583327"}, {"distinct_range": 3883864239330435600, "num_eq": 900000, "num_range": 5982950007126018982, "upper_bound": "9021869.683270853452"}], "histo_col_type": "DECIMAL", "name": "__auto__", "null_count": 0, "row_count": 90}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 25, "histo_col_type": "", "name": "__auto__", "null_count": 42, "row_count": 70}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 57, "histo_col_type": "", "name": "__auto__", "null_count": 2, "row_count": 70}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 31, "histo_buckets": [{"distinct_range": 0, "num_eq": 4719972871250049625, "num_range": 0, "upper_bound": "-30731"}, {"distinct_range": 3674075987399301600, "num_eq": 500000, "num_range": 5581870455046091408, "upper_bound": "-21504"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 4000, "upper_bound": "-21195"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 200000000, "upper_bound": "-13140"}, {"distinct_range": 0, "num_eq": 4000000000, "num_range": 585621257755573561, "upper_bound": "8840"}, {"distinct_range": 1000000000, "num_eq": 90000000000, "num_range": 1000000000, "upper_bound": "26328"}, {"distinct_range": 356994292.74753743, "num_eq": 300000000, "num_range": 800000000, "upper_bound": "30197"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 3, "row_count": 70}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 64, "histo_col_type": "", "name": "__auto__", "null_count": 18, "row_count": 70}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 69, "histo_col_type": "", "name": "__auto__", "null_count": 24, "row_count": 70}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 59, "histo_col_type": "", "name": "__auto__", "null_count": 14, "row_count": 70}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10, "histo_col_type": "", "name": "__auto__", "null_count": 63, "row_count": 70}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35, "histo_col_type": "", "name": "__auto__", "null_count": 63, "row_count": 70}, {"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": 70}, {"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": 70}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67, "histo_col_type": "", "name": "__auto__", "null_count": 41, "row_count": 70}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8, "histo_col_type": "", "name": "__auto__", "null_count": 63, "row_count": 70}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34, "histo_col_type": "", "name": "__auto__", "null_count": 44, "row_count": 70}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 23, "histo_col_type": "", "name": "__auto__", "null_count": 60, "row_count": 70}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19, "histo_col_type": "", "name": "__auto__", "null_count": 41, "row_count": 70}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16, "histo_col_type": "", "name": "__auto__", "null_count": 35, "row_count": 70}]';
        test_1        |             
        test_1        |         compare_test.go:130: cockroach2: exec: ERROR: column "nan" does not exist (SQLSTATE 42703)
        test_1        | FAIL
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        postgres_1    | CREATE EXTENSION
        compare_test_1 exited with code 1
        Stopping compare_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

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

        test_1        |             	(
        test_1        |             		WITH
        test_1        |             			with_2317 (col_14541)
        test_1        |             				AS (
        test_1        |             					SELECT * FROM (VALUES ('s'::TEXT)) AS tab_8918 (col_14541)
        test_1        |             					UNION SELECT * FROM (VALUES (e'\x18'::TEXT), (NULL)) AS tab_8919 (col_14542)
        test_1        |             				),
        test_1        |             			with_2318 (col_14543)
        test_1        |             				AS (
        test_1        |             					SELECT
        test_1        |             						*
        test_1        |             					FROM
        test_1        |             						(
        test_1        |             							VALUES
        test_1        |             								(e'.i\x19R1\tp\x0b'::TEXT),
        test_1        |             								(upper('"'::TEXT::TEXT)::TEXT),
        test_1        |             								('W'::TEXT),
        test_1        |             								(''::TEXT),
        test_1        |             								('xQ|:m'::TEXT)
        test_1        |             						)
        test_1        |             							AS tab_8920 (col_14543)
        test_1        |             				)
        test_1        |             		SELECT
        test_1        |             			string_agg(cte_ref_653.col_14543::TEXT, cte_ref_653.col_14543::TEXT)::TEXT AS col_14544,
        test_1        |             			string_agg(cte_ref_652.col_14543::TEXT, cte_ref_653.col_14543::TEXT) OVER (PARTITION BY cte_ref_653.col_14543 ORDER BY cte_ref_653.col_14543 RANGE UNBOUNDED PRECEDING)::TEXT
        test_1        |             				AS col_14545
        test_1        |             		FROM
        test_1        |             			with_2318 AS cte_ref_652, with_2318 AS cte_ref_653
        test_1        |             		GROUP BY
        test_1        |             			cte_ref_652.col_14543, cte_ref_653.col_14543
        test_1        |             		ORDER BY
        test_1        |             			cte_ref_653.col_14543 DESC
        test_1        |             	)
        test_1        |             		AS tab_8921
        test_1        |             ORDER BY
        test_1        |             	col_14544 NULLS FIRST, col_14545 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_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
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@258ef5765d0205f487b1481a9c26059db2a70362:

        postgres_1    | 
        postgres_1    | 2020-12-09 06:13:46.887 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-12-09 06:13:46.887 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-12-09 06:13:46.893 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-09 06:13:46.906 UTC [88] LOG:  database system was shut down at 2020-12-09 06:13:46 UTC
        postgres_1    | 2020-12-09 06:13:46.912 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (2.84s)
        test_1        |     --- FAIL: TestCompare/postgres (1.34s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        |     --- FAIL: TestCompare/mutators (1.50s)
        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 REGCLASS, col1_2 TIME NOT NULL, col1_3 FLOAT4, col1_4 TIMESTAMPTZ NULL, PRIMARY KEY (col1_2 DESC), UNIQUE (col1_3, col1_1 DESC, col1_0, col1_4 ASC) WHERE (((table1.col1_4 > '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table1.col1_3 = '+Inf':::FLOAT8)) OR (table1.col1_2 < '00:00:00':::TIME)) OR (table1.col1_0 > '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col1_2, col1_1) STORING (col1_3, col1_4) WHERE ((table1.col1_0 <= '3000-01-01 00:00:00+00:00':::TIMESTAMPTZ) OR (table1.col1_3 >= '+Inf':::FLOAT8)) AND (table1.col1_4 > '-2000-01-01 00:00:00+00:00':::TIMESTAMPTZ), UNIQUE (col1_4 DESC, col1_1 DESC, col1_2) WHERE (((table1.col1_0 < '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ) AND (table1.col1_2 <= '24:00:00':::TIME)) OR (table1.col1_3 != '-Inf':::FLOAT8)) OR (table1.col1_4 <= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ), INDEX (col1_2, col1_3 ASC), UNIQUE (col1_3 ASC, col1_4 ASC, col1_1 ASC, col1_0 ASC, col1_2 ASC) WHERE ((table1.col1_4 < '0001-01-01 00:00:00+00:00') OR (table1.col1_2 <= '24:00:00')) OR (table1.col1_0 >= '-4713-11-24 00:00:00+00:00'), INDEX (col1_2 DESC, col1_1 ASC, col1_4 ASC) STORING (col1_0, col1_3) WHERE (((table1.col1_0 < '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ) AND (table1.col1_4 = '0001-01-01 00:00:00+00:00':::TIMESTAMPTZ)) OR (table1.col1_3 > 'NaN':::FLOAT8)) AND (table1.col1_2 = '24:00:00':::TIME), INDEX (col1_4) STORING (col1_1, col1_3), UNIQUE (col1_0, col1_3 ASC) STORING (col1_4), FAMILY (col1_3), FAMILY (col1_2, col1_1, col1_0), FAMILY (col1_4));
        test_1        |             CREATE TABLE table2 (col1_2 TIME NOT NULL, col2_1 DATE, col2_2 UUID NOT NULL, col2_3 UUID NULL, col2_4 DATE, col2_5 TIME NOT NULL, col2_6 REGPROC, col2_7 TIME, col2_8 FLOAT8 NOT NULL, col2_9 INT8 NULL, col2_10 NAME NOT NULL, col2_11 INT2, col2_12 TIMESTAMP NULL, col2_13 CHAR NULL, col2_14 VARCHAR NULL, PRIMARY KEY (col1_2 DESC, col2_14 DESC, col2_4 DESC, col2_12 DESC, col2_5 ASC, col2_1 DESC, col2_8 DESC, col2_11 DESC, col2_10 DESC), UNIQUE (col1_2 DESC, col2_10 DESC, col2_7 ASC, col2_6 DESC, col2_2 DESC, col2_12 DESC, col2_5 ASC, col2_11, col2_14 ASC) STORING (col2_3, col2_13), UNIQUE (col2_7 ASC, col2_12 DESC, col2_10, col2_4 DESC, col2_13, col2_8 DESC, col2_1 DESC, col2_11, col2_2 DESC, col2_6 ASC, col1_2 ASC) STORING (col2_3, col2_9), UNIQUE (col2_3 ASC, col2_7, col2_5, col1_2 ASC) STORING (col2_9), UNIQUE (col2_9) STORING (col2_2, col2_6, col2_7), UNIQUE (col1_2) WHERE ((((table2.col2_9 < -32768) OR (table2.col2_12 >= '0001-01-01 00:00:00')) OR (table2.col2_5 < '24:00:00')) AND (table2.col2_8 > 0.0)) OR (table2.col2_1 <= 'infinity'), FAMILY (col2_12, col2_3), FAMILY (col1_2, col2_9), FAMILY (col2_2), FAMILY (col2_5), FAMILY (col2_7), FAMILY (col2_11), FAMILY (col2_8, col2_6, col2_10, col2_13), FAMILY (col2_1), FAMILY (col2_14), FAMILY (col2_4)) INTERLEAVE IN PARENT table1 (col1_2);
        test_1        |             CREATE TABLE table3 (col1_2 TIME NOT NULL, col3_1 TIMESTAMPTZ NOT NULL, col3_2 INT4 NULL, col3_3 CHAR, col3_4 FLOAT4 NOT NULL, col3_5 REGPROCEDURE NULL, col3_6 STRING NULL, col3_7 INET NOT NULL, col3_8 BIT(17), col3_9 TIME, col3_10 REGPROCEDURE, col3_11 INT2 NOT NULL, col3_12 "char" NULL, col3_13 FLOAT8 NULL, col3_14 DATE NULL, col3_15 VARCHAR, PRIMARY KEY (col1_2 DESC), UNIQUE (col3_4 DESC, col3_6 DESC, col3_8, col3_1 ASC, col3_11 DESC, col3_7 ASC, col3_10 ASC, col1_2 DESC, col3_14 DESC) WHERE (((((((((((table3.col3_13 = 1.0:::FLOAT8) AND (table3.col3_6 <= '"':::STRING)) OR (table3.col3_2 <= 2147483647:::INT8)) OR (table3.col1_2 = '24:00:00':::TIME)) AND (table3.col3_3 != '':::STRING)) AND (table3.col3_14 > '5874897-12-31':::DATE)) OR (table3.col3_1 <= '-4713-11-24 00:00:00+00:00':::TIMESTAMPTZ)) AND (table3.col3_11 <= (-1):::INT8)) OR (table3.col3_9 > '24:00:00':::TIME)) OR (table3.col3_15 > e'\x00':::STRING)) AND (table3.col3_12 >= e'\x00':::STRING)) AND (table3.col3_4 > 1.0:::FLOAT8), INDEX (col3_2 DESC, col3_8 ASC, col3_12 DESC, col3_10 ASC, col3_7 ASC, col3_11 DESC, col3_13, col3_15, col3_3 DESC) STORING (col3_5, col3_14) WHERE ((table3.col3_3 = e'\'':::STRING) OR (table3.col3_4 < 0.0:::FLOAT8)) OR (table3.col3_6 = '':::STRING), INDEX (col3_5, col3_4, col1_2 ASC, col3_14 DESC, col3_12, col3_2, col3_6, col3_13, col3_9 DESC, col3_15, col3_7) STORING (col3_11), UNIQUE (col3_11 ASC, col3_13 ASC, col3_14 DESC, col3_2 DESC, col1_2 DESC, col3_5, col3_9, col3_4, col3_6 ASC, col3_1 DESC, col3_3, col3_8) WHERE (((table3.col3_15 <= '':::STRING) OR (table3.col3_2 < (-1):::INT8)) OR (table3.col3_6 > 'X':::STRING)) AND (table3.col3_4 <= 1.401298464324817e-45:::FLOAT8), INDEX (col3_10 ASC, col1_2 DESC, col3_14, col3_13 DESC, col3_5 DESC, col3_6, col3_4 DESC, col3_11 ASC) STORING (col3_1, col3_2, col3_7, col3_12), UNIQUE (col3_5 ASC, col3_14 ASC, col3_7 DESC, col3_12, col3_10 DESC, col3_6, col3_15 ASC, col3_13 DESC, col3_3 DESC, col3_4 ASC, col1_2) STORING (col3_1, col3_9), INDEX (col3_10 DESC, col3_15 ASC, col3_5 ASC, col3_1 ASC, col3_13 DESC, col3_3 ASC, col3_6 ASC, col3_4 DESC, col3_12 ASC) STORING (col3_2, col3_7, col3_8, col3_14), UNIQUE (col3_13 DESC, col3_4, col3_5 DESC, col3_8, col3_14 ASC, col3_11 ASC, col3_1 DESC, col3_2, col3_12) STORING (col3_6, col3_9, col3_15) WHERE (((((((((((table3.col3_15 < e'\x00') OR (table3.col3_3 > '"')) OR (table3.col3_14 != '1970-01-01')) AND (table3.col3_6 > '')) AND (table3.col3_12 >= '"')) AND (table3.col3_1 <= '3000-01-01 00:00:00+00:00')) AND (table3.col3_2 <= 1)) AND (table3.col3_13 = NaN)) OR (table3.col3_9 != '24:00:00')) OR (table3.col3_11 = 1)) AND (table3.col3_4 != 0.0)) AND (table3.col1_2 < '24:00:00'), UNIQUE (col3_1) WHERE ((table3.col3_4 < NaN) AND (table3.col3_2 = 0)) AND (table3.col3_14 = '1970-01-01'), UNIQUE (col3_4, col3_5), FAMILY (col3_6), FAMILY (col3_4, col3_11, col3_1), FAMILY (col3_15), FAMILY (col1_2), FAMILY (col3_3), FAMILY (col3_2), FAMILY (col3_7, col3_13), FAMILY (col3_12, col3_9), FAMILY (col3_10), FAMILY (col3_14), FAMILY (col3_8), FAMILY (col3_5)) INTERLEAVE IN PARENT table1 (col1_2);
        test_1        |             CREATE TABLE table4 (col4_0 INT2 NOT NULL, col4_1 BOOL NOT NULL, col4_2 BOOL NOT NULL, col4_3 UUID NOT NULL, col4_4 DATE NOT NULL, col4_5 BIT(34), col4_6 CHAR NOT NULL, col4_7 FLOAT4 NOT NULL, col4_8 "char" NOT NULL, col4_9 STRING NOT NULL, col4_10 BOX2D NULL, col4_11 STRING NOT NULL, col4_12 BIT(27) NOT NULL, col4_13 INET NULL, col4_14 FLOAT8 NOT NULL, col4_15 REGNAMESPACE NOT NULL, PRIMARY KEY (col4_0 DESC, col4_3, col4_7 ASC, col4_15, col4_12, col4_11 DESC, col4_9 DESC, col4_6 DESC, col4_2 ASC, col4_8, col4_1 ASC, col4_4 DESC, col4_14 DESC), UNIQUE (col4_11 ASC, col4_6 ASC, col4_15, col4_4 DESC, col4_0, col4_1 ASC, col4_5, col4_8 DESC, col4_10 ASC, col4_14 DESC, col4_9 DESC, col4_7 ASC, col4_3 DESC, col4_12, col4_13 DESC, col4_2) WHERE ((((table4.col4_9 <= '"':::STRING) AND (table4.col4_8 != '"':::STRING)) AND (table4.col4_0 = 0:::INT8)) OR (table4.col4_7 >= 0.0:::FLOAT8)) AND (table4.col4_4 <= '-infinity':::DATE), UNIQUE (col4_13 ASC, col4_2 DESC, col4_4 ASC, col4_8, col4_0 ASC, col4_11 DESC, col4_6 ASC) STORING (col4_5) WHERE (((((((((table4.col4_0 >= 1:::INT8) AND (table4.col4_11 >= 'X':::STRING)) AND (table4.col4_6 != '"':::STRING)) AND (NOT table4.col4_1)) AND (table4.col4_8 >= '"':::STRING)) AND (table4.col4_7 <= 0.0:::FLOAT8)) OR (NOT table4.col4_2)) AND (table4.col4_14 < 5e-324:::FLOAT8)) AND (table4.col4_9 > '':::STRING)) OR (table4.col4_4 >= '5874897-12-31':::DATE), UNIQUE (col4_1 ASC, col4_8 ASC) STORING (col4_5, col4_10, col4_13), INDEX (col4_0 DESC, col4_5, col4_3 ASC, col4_1 DESC, col4_11 DESC, col4_6 ASC, col4_12 ASC) STORING (col4_10, col4_13) WHERE (((((((((table4.col4_14 != 5e-324:::FLOAT8) OR (NOT table4.col4_2)) OR (table4.col4_8 <= '"':::STRING)) OR (NOT table4.col4_1)) OR (table4.col4_7 < 0.0:::FLOAT8)) OR (table4.col4_4 = '5874897-12-31':::DATE)) AND (table4.col4_11 = e'\'':::STRING)) OR (table4.col4_0 != 0:::INT8)) OR (table4.col4_9 = e'\'':::STRING)) AND (table4.col4_6 > e'\'':::STRING), UNIQUE (col4_12 DESC, col4_8 ASC, col4_15, col4_13 ASC, col4_4 DESC, col4_10, col4_5, col4_3 DESC, col4_11 ASC, col4_6 ASC, col4_14 ASC), UNIQUE (col4_13, col4_9 DESC, col4_12 ASC, col4_6 ASC, col4_14 DESC, col4_5, col4_2 DESC, col4_11 DESC, col4_10, col4_1 DESC, col4_4, col4_0 DESC, col4_7 ASC, col4_8 DESC), UNIQUE (col4_5 ASC, col4_3, col4_11 DESC, col4_8, col4_14, col4_12 ASC, col4_0 DESC, col4_6, col4_13 DESC, col4_4) STORING (col4_10) WHERE ((((((table4.col4_9 < e'\U00002603':::STRING) OR table4.col4_2) OR (table4.col4_8 = '':::STRING)) AND (table4.col4_7 != '+Inf':::FLOAT8)) AND (table4.col4_14 = 'NaN':::FLOAT8)) AND (table4.col4_4 >= '4714-11-24 BC':::DATE)) OR table4.col4_1, FAMILY (col4_14, col4_11, col4_4), FAMILY (col4_0), FAMILY (col4_10), FAMILY (col4_1), FAMILY (col4_9, col4_8), FAMILY (col4_5), FAMILY (col4_12, col4_13), FAMILY (col4_6), FAMILY (col4_15, col4_7, col4_2), FAMILY (col4_3));
        test_1        |             CREATE TABLE table5 (col1_2 TIME NOT NULL, col2_14 VARCHAR NULL, col2_4 DATE, col2_12 TIMESTAMP NULL, col2_5 TIME NOT NULL, col2_1 DATE, col2_8 FLOAT8 NOT NULL, col2_11 INT2, col2_10 NAME NOT NULL, col5_9 REGTYPE NOT NULL, col5_10 INT4 NULL, PRIMARY KEY (col1_2 DESC, col2_14 DESC, col2_4 DESC, col2_12 DESC, col2_5 ASC, col2_1 DESC, col2_8 DESC, col2_11 DESC, col2_10 DESC, col5_10 DESC), UNIQUE (col2_14 ASC, col5_10 DESC) WHERE table5.col2_8 > 3.4028234663852886e+38:::FLOAT8, INDEX (col2_10 DESC, col2_12 DESC, col5_9 ASC, col2_4 ASC, col2_8, col1_2 ASC, col2_11 ASC, col5_10 ASC, col2_5 ASC, col2_1 DESC, col2_14) WHERE ((((table5.col2_12 >= '0001-01-01 00:00:00') AND (table5.col2_5 != '24:00:00')) OR (table5.col2_1 > '4714-11-24 BC')) AND (table5.col2_4 > '-infinity')) AND (table5.col2_10 = ''), INDEX (col2_11, col2_4, col5_10 DESC, col2_10) STORING (col5_9) WHERE ((table5.col2_5 <= '00:00:00':::TIME) OR (table5.col2_4 = '4714-11-24 BC':::DATE)) AND (table5.col2_11 < 32767:::INT8), FAMILY (col2_10, col2_5, col2_11, col2_4, col5_10), FAMILY (col2_12, col2_14), FAMILY (col2_1), FAMILY (col1_2, col2_8, col5_9)) INTERLEAVE IN PARENT table2 (col1_2, col2_14, col2_4, col2_12, col2_5, col2_1, col2_8, col2_11, col2_10);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4846670353860857953, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00+00:00"}, {"distinct_range": 0, "num_eq": 500, "num_range": 9000000000, "upper_bound": "1974-11-11 15:57:45.000432+00:00"}, {"distinct_range": 0, "num_eq": 5827841046700764406, "num_range": 700000000, "upper_bound": "1980-10-17 09:04:29.000726+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 5866021801982246326}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2486747811543351642, "histo_col_type": "", "name": "__auto__", "null_count": 2552258107397426144, "row_count": 5866021801982246326}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4489229598627880654, "histo_buckets": [{"distinct_range": 0, "num_eq": 4929906398611415438, "num_range": 0, "upper_bound": "07:44:12.242513"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 5866021801982246326}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3140094383591085403, "histo_buckets": [{"distinct_range": 0, "num_eq": 70000000000, "num_range": 0, "upper_bound": "-1.0797587633132935"}, {"distinct_range": 114110356671983280, "num_eq": 4000000000, "num_range": 125806075477142251, "upper_bound": "0.2179243415594101"}, {"distinct_range": 2112536341470458600, "num_eq": 9000000, "num_range": 2333900033619348472, "upper_bound": "0.38012993335723877"}, {"distinct_range": 4856211559062267000, "num_eq": 70000000, "num_range": 4856211559062266930, "upper_bound": "0.4559743106365204"}, {"distinct_range": 0, "num_eq": 900000000, "num_range": 50000000, "upper_bound": "1.084549069404602"}, {"distinct_range": 667181710566137100, "num_eq": 5596584262105144331, "num_range": 1598158882549599026, "upper_bound": "1.2585570812225342"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 164625947300635420, "row_count": 5866021801982246326}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1742882992267851214, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "-2000-01-01 00:00:00+00:00"}, {"distinct_range": 6441419470301082000, "num_eq": 7000000, "num_range": 6441419470301081669, "upper_bound": "1992-10-01 11:25:44.000882+00:00"}, {"distinct_range": 70, "num_eq": 5000000000, "num_range": 70, "upper_bound": "1997-01-16 02:40:11.000687+00:00"}, {"distinct_range": 0, "num_eq": 0, "num_range": 90000000, "upper_bound": "2005-06-05 08:28:46.000426+00:00"}, {"distinct_range": 496.94602118516775, "num_eq": 800000000, "num_range": 500, "upper_bound": "2007-03-06 20:45:08.000336+00:00"}, {"distinct_range": 600000, "num_eq": 7641171669216872711, "num_range": 600000, "upper_bound": "2014-02-24 13:52:40.000933+00:00"}, {"distinct_range": 0, "num_eq": 1739884572152992110, "num_range": 2291310359949848870, "upper_bound": "2028-11-08 19:34:02.000349+00:00"}, {"distinct_range": 748044791067183000, "num_eq": 6849995884921923698, "num_range": 1144183595269543233, "upper_bound": "2028-12-02 04:33:38.000048+00:00"}, {"distinct_range": 0, "num_eq": 4937890304887898374, "num_range": 6532592080838176052, "upper_bound": "2033-05-12 05:43:44.0006+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 4175712840683896174, "row_count": 5866021801982246326}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 634820, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 703722, "histo_col_type": "", "name": "__auto__", "null_count": 170673, "row_count": 800000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 173419, "histo_col_type": "", "name": "__auto__", "null_count": 161643, "row_count": 800000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 278009, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 757858, "histo_col_type": "", "name": "__auto__", "null_count": 125887, "row_count": 800000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 580454, "histo_buckets": [{"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "04:00:03.707824"}, {"distinct_range": 7394673528853967000, "num_eq": 800000000, "num_range": 7394673528853966615, "upper_bound": "08:22:48.057122"}, {"distinct_range": 0, "num_eq": 4967043275336616446, "num_range": 6000, "upper_bound": "11:05:35.992087"}, {"distinct_range": 0, "num_eq": 50, "num_range": 6467693351881545117, "upper_bound": "17:04:30.013671"}, {"distinct_range": 40000000, "num_eq": 7529231967944306387, "num_range": 40000000, "upper_bound": "18:05:05.537009"}, {"distinct_range": 0, "num_eq": 30, "num_range": 7708124406041054621, "upper_bound": "18:12:44.549444"}, {"distinct_range": 8821707343065020000, "num_eq": 90, "num_range": 8821707343065020726, "upper_bound": "21:06:00.436654"}, {"distinct_range": 4000, "num_eq": 700000, "num_range": 4000, "upper_bound": "22:46:53.080118"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26146, "histo_col_type": "", "name": "__auto__", "null_count": 413618, "row_count": 800000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 764581, "histo_buckets": [{"distinct_range": 0, "num_eq": 1047636220094561159, "num_range": 0, "upper_bound": "01:28:00.539337"}, {"distinct_range": 49420458.340552814, "num_eq": 5983345470077424268, "num_range": 80000000, "upper_bound": "03:29:00.009438"}, {"distinct_range": 0, "num_eq": 80000000000, "num_range": 700000000, "upper_bound": "03:31:04.540324"}, {"distinct_range": 2285.9684733193794, "num_eq": 10000, "num_range": 3000, "upper_bound": "09:13:39.637127"}, {"distinct_range": 4656614654111539000, "num_eq": 100000000000, "num_range": 6904482665335812171, "upper_bound": "12:14:23.270638"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 900, "upper_bound": "14:56:48.391736"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 251166, "row_count": 800000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 366162, "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": 533994, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 111352, "histo_col_type": "", "name": "__auto__", "null_count": 727151, "row_count": 800000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 591367, "histo_col_type": "", "name": "__auto__", "null_count": 47840, "row_count": 800000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 301106, "histo_col_type": "", "name": "__auto__", "null_count": 57929, "row_count": 800000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18494, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "2f861701-2a00-4b82-bc13-8867d8168394"}, {"distinct_range": 4000000000, "num_eq": 283331112208904359, "num_range": 4000000000, "upper_bound": "5054b6a6-a2aa-40a9-9801-64a77ba3afc6"}, {"distinct_range": 0, "num_eq": 9000000, "num_range": 7219544367644696309, "upper_bound": "7e8d9105-4709-4829-9ebd-d0685faaa0d0"}, {"distinct_range": 20000000000, "num_eq": 1000000, "num_range": 20000000000, "upper_bound": "cf4b5840-99b1-4c3e-981e-10488e068b0c"}, {"distinct_range": 0, "num_eq": 1000000, "num_range": 80000000, "upper_bound": "e9af2f67-6135-4abc-9afe-8c96540bf01c"}, {"distinct_range": 50000000, "num_eq": 8467336469007358992, "num_range": 50000000, "upper_bound": "ec32af3b-5c4b-4e3c-8ee1-73df2f45e9ae"}, {"distinct_range": 100, "num_eq": 0, "num_range": 100, "upper_bound": "ef2cf9d0-6fe9-4fe9-88be-cd5c0f5ad017"}, {"distinct_range": 5285341232191742000, "num_eq": 30, "num_range": 5285341232191741750, "upper_bound": "f38f590b-3998-4d3a-a964-5a3b563b17e2"}, {"distinct_range": 0, "num_eq": 20, "num_range": 5817221768743704477, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 229525, "row_count": 800000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 454150, "histo_col_type": "", "name": "__auto__", "null_count": 133761, "row_count": 800000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 8816, "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49064, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18712, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-1245448783"}, {"distinct_range": 452.798697235877, "num_eq": 300000, "num_range": 1000, "upper_bound": "-883922699"}, {"distinct_range": 616904693399191000, "num_eq": 300, "num_range": 2518341323754280432, "upper_bound": "-810162591"}, {"distinct_range": 1923097003460467200, "num_eq": 2581810261086540980, "num_range": 5062549426864006113, "upper_bound": "-658134732"}, {"distinct_range": 4220036001053473300, "num_eq": 0, "num_range": 4220036001053473452, "upper_bound": "854061721"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 461187315091984512, "upper_bound": "1822619552"}], "histo_col_type": "INT4", "name": "__auto__", "null_count": 52162, "row_count": 70000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15271, "histo_col_type": "", "name": "__auto__", "null_count": 50478, "row_count": 70000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63692, "histo_col_type": "", "name": "__auto__", "null_count": 41351, "row_count": 70000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60359, "histo_buckets": [{"distinct_range": 0, "num_eq": 6411396728916985059, "num_range": 0, "upper_bound": "-0.9567985534667969"}, {"distinct_range": 2770.51454817674, "num_eq": 100000, "num_range": 10000, "upper_bound": "-0.6092013120651245"}, {"distinct_range": 0, "num_eq": 5364586096058250363, "num_range": 1000000, "upper_bound": "1.7878080606460571"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 63182, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 10927, "row_count": 70000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41705, "histo_col_type": "", "name": "__auto__", "null_count": 52318, "row_count": 70000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41589, "histo_col_type": "", "name": "__auto__", "null_count": 40727, "row_count": 70000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 48131, "histo_buckets": [{"distinct_range": 0, "num_eq": 4137081452246199997, "num_range": 0, "upper_bound": "-28111"}, {"distinct_range": 3436780205913382000, "num_eq": 3950948142077467905, "num_range": 5927289057515743169, "upper_bound": "-26409"}, {"distinct_range": 9000, "num_eq": 300000, "num_range": 9000, "upper_bound": "-14385"}, {"distinct_range": 2028748428669990700, "num_eq": 10000000000, "num_range": 2028748428669990649, "upper_bound": "-10038"}, {"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 100000000, "num_eq": 900, "num_range": 100000000, "upper_bound": "8900"}, {"distinct_range": 0, "num_eq": 40000, "num_range": 40000, "upper_bound": "19426"}, {"distinct_range": 2415.1807723894462, "num_eq": 6534153586136699273, "num_range": 10000, "upper_bound": "25594"}, {"distinct_range": 0, "num_eq": 3751589636783216049, "num_range": 3850561631919739153, "upper_bound": "29634"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 70000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 12680, "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 36771, "row_count": 70000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28378, "histo_col_type": "", "name": "__auto__", "null_count": 27806, "row_count": 70000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 13680, "histo_buckets": [{"distinct_range": 0, "num_eq": 3084741332251044790, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 561630591757083400, "num_eq": 9172700535704011756, "num_range": 8004545430349537767, "upper_bound": "90260765"}, {"distinct_range": 608374437656484400, "num_eq": 300000, "num_range": 608374437656484370, "upper_bound": "666257111"}, {"distinct_range": 3000000000, "num_eq": 1007088462462539887, "num_range": 3000000000, "upper_bound": "909725148"}, {"distinct_range": 0, "num_eq": 700, "num_range": 5555045757066264355, "upper_bound": "2104771127"}, {"distinct_range": 6000000, "num_eq": 4576176790963696487, "num_range": 6000000, "upper_bound": "2180417183"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 13141, "row_count": 70000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 56300, "histo_col_type": "", "name": "__auto__", "null_count": 26941, "row_count": 70000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16971, "histo_col_type": "", "name": "__auto__", "null_count": 9757, "row_count": 70000}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 257137, "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1287492, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 16207, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1127419, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1166585, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "180.253.153.27/3"}, {"distinct_range": 30000000000, "num_eq": 20, "num_range": 30000000000, "upper_bound": "213.55.61.18/3"}, {"distinct_range": 1963484833735380500, "num_eq": 5447742913454459682, "num_range": 1963484833735380416, "upper_bound": "1.55.71.132/12"}, {"distinct_range": 0, "num_eq": 9204087415992354994, "num_range": 5522230541762105152, "upper_bound": "214.80.230.222/24"}, {"distinct_range": 2000, "num_eq": 193021141762305126, "num_range": 2000, "upper_bound": "22.90.114.14/29"}, {"distinct_range": 80000000, "num_eq": 3000000, "num_range": 80000000, "upper_bound": "42e0:46cc:3d93:bc29:e0f7:259a:fbcf:ee9b/80"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 272895, "row_count": 2000000}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1419620, "histo_buckets": [{"distinct_range": 0, "num_eq": 9205291978412992440, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 0, "num_eq": 7175033712083398627, "num_range": 40000000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 565947, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1359086, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 777170, "histo_col_type": "", "name": "__auto__", "null_count": 1901976, "row_count": 2000000}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1585027, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000, "num_range": 0, "upper_bound": "000000000000000000000000000"}, {"distinct_range": 4156697158647147500, "num_eq": 4400117201248654896, "num_range": 8972313650207810717, "upper_bound": "000111110100101110101100100"}, {"distinct_range": 5509877351643054000, "num_eq": 2000, "num_range": 5509877351643054488, "upper_bound": "001111010101001011011101001"}, {"distinct_range": 7000000000, "num_eq": 5298344172730485076, "num_range": 7000000000, "upper_bound": "101000010010110011011010001"}, {"distinct_range": 30000, "num_eq": 1000000, "num_range": 30000, "upper_bound": "110100111011111110101010101"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 858276, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1706771, "histo_col_type": "BIT(34)", "name": "__auto__", "null_count": 1247609, "row_count": 2000000}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1149457, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 400123, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1882886, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 9000, "num_range": 10000, "upper_bound": "(}\\u001bu\\u0007?\\u0001\\u0003"}, {"distinct_range": 0, "num_eq": 70000, "num_range": 7939350003661749662, "upper_bound": "X"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 2000000}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 542430, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 2000000}]':::JSONB;
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 55049920352, "histo_buckets": [{"distinct_range": 0, "num_eq": 30, "num_range": 0, "upper_bound": "01:17:49.840633"}, {"distinct_range": 0, "num_eq": 50000000000, "num_range": 2000000000, "upper_bound": "05:26:23.452129"}, {"distinct_range": 0, "num_eq": 4044210073194850264, "num_range": 90000000000, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27820073661, "histo_col_type": "", "name": "__auto__", "null_count": 57651689284, "row_count": 90000000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9406923776, "histo_buckets": [{"distinct_range": 0, "num_eq": 8888126506052622899, "num_range": 0, "upper_bound": "-32304"}, {"distinct_range": 20000, "num_eq": 700000000, "num_range": 20000, "upper_bound": "-31905"}, {"distinct_range": 880.2653111432552, "num_eq": 10000000000, "num_range": 8000, "upper_bound": "-29723"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 10000000, "upper_bound": "-1"}, {"distinct_range": 1000, "num_eq": 5069314899715799251, "num_range": 1000, "upper_bound": "1"}, {"distinct_range": 700000, "num_eq": 10000000000, "num_range": 700000, "upper_bound": "16305"}, {"distinct_range": 123229206185656720, "num_eq": 5767696100562292384, "num_range": 7170477611472837300, "upper_bound": "26853"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 25006761123, "row_count": 90000000000}, {"columns": ["col5_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 15240215027, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18058325193, "histo_col_type": "", "name": "__auto__", "null_count": 5625446478, "row_count": 90000000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 35452979605, "histo_col_type": "VARCHAR", "name": "__auto__", "null_count": 22991232542, "row_count": 90000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88946708257, "histo_col_type": "", "name": "__auto__", "null_count": 17169169075, "row_count": 90000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 11169447881, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 88938119059, "histo_col_type": "", "name": "__auto__", "null_count": 7109884148, "row_count": 90000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5045127347, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 90000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1202111597, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 7000000000, "num_range": 6107241816484013357, "upper_bound": "\\u000bO\\u0016hu\\\\;"}, {"distinct_range": 6729461138769905000, "num_eq": 5353833663363602738, "num_range": 6729461138769904387, "upper_bound": ".#"}, {"distinct_range": 43493115802.543785, "num_eq": 8332905879080286360, "num_range": 60000000000, "upper_bound": "NG\\u001d\\nGi1g"}, {"distinct_range": 300000, "num_eq": 5052345324623140309, "num_range": 300000, "upper_bound": "v"}, {"distinct_range": 80000, "num_eq": 500, "num_range": 80000, "upper_bound": "~/\\u0002IpH"}], "histo_col_type": "NAME", "name": "__auto__", "null_count": 0, "row_count": 90000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_11) REFERENCES table2 (col2_9) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_2) REFERENCES table2 (col1_2);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_0) REFERENCES table3 (col3_1) ON DELETE RESTRICT ON UPDATE RESTRICT;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('erhyw', 'w', 'jmze');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS '[{"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 129017874452159150, "histo_buckets": [{"distinct_range": 0, "num_eq": 4195875004166604600, "num_range": 0, "upper_bound": "1974-04-17 18:13:23.000161+00:00"}, {"distinct_range": 20000000000, "num_eq": 7360312413149887559, "num_range": 20000000000, "upper_bound": "1976-06-28 17:33:18.000563+00:00"}, {"distinct_range": 2155670145664191500, "num_eq": 4060513804587758809, "num_range": 5716331800605213941, "upper_bound": "1981-02-10 01:09:26.000022+00:00"}, {"distinct_range": 0, "num_eq": 50, "num_range": 700000, "upper_bound": "2013-01-14 15:37:43.000386+00:00"}, {"distinct_range": 0, "num_eq": 6000000, "num_range": 2916215618535808513, "upper_bound": "2028-02-22 11:54:29.000214+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 85626137613124441, "row_count": 218534130614147977}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 190624739468490380, "histo_buckets": [{"distinct_range": 0, "num_eq": 878197904522181090, "num_range": 0, "upper_bound": "1983-09-24 09:08:22.000962+00:00"}, {"distinct_range": 5613496208.038565, "num_eq": 300, "num_range": 6000000000, "upper_bound": "2000-02-12 23:09:05.0009+00:00"}, {"distinct_range": 2078064431868723000, "num_eq": 4000000, "num_range": 2078064431868722859, "upper_bound": "2010-05-06 12:27:38.000458+00:00"}, {"distinct_range": 1043.3713698342383, "num_eq": 8609708296083786882, "num_range": 2000, "upper_bound": "2011-07-12 21:14:35.000064+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 218534130614147977}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 180174404084233987, "histo_col_type": "", "name": "__auto__", "null_count": 138452635354474576, "row_count": 218534130614147977}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 194184848989573365, "histo_buckets": [{"distinct_range": 0, "num_eq": 8274320454295232827, "num_range": 0, "upper_bound": "12:08:39.900372"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 218534130614147977}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 10995320355704010, "histo_buckets": [{"distinct_range": 0, "num_eq": 20, "num_range": 0, "upper_bound": "-2.7516517639160156"}, {"distinct_range": 7103936429715027000, "num_eq": 3626377068722954570, "num_range": 7103936429715026596, "upper_bound": "-1.9647129774093628"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 6000000, "upper_bound": "-1.3399288654327393"}, {"distinct_range": 4138221032323849700, "num_eq": 1000, "num_range": 4138221032323849711, "upper_bound": "-0.7831025719642639"}, {"distinct_range": 0, "num_eq": 40, "num_range": 8641835475688815875, "upper_bound": "-0.14899791777133942"}, {"distinct_range": 0, "num_eq": 2243156331760962663, "num_range": 8019776903093722014, "upper_bound": "0.0721757784485817"}, {"distinct_range": 0, "num_eq": 8362342517312690960, "num_range": 6773755288480967148, "upper_bound": "1.0101137161254883"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 141272320288250200, "row_count": 218534130614147977}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7796047062239991333, "histo_col_type": "", "name": "__auto__", "null_count": 279909610593354976, "row_count": 8085280832740461711}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1024539594473430686, "histo_buckets": [{"distinct_range": 0, "num_eq": 6672254827564624681, "num_range": 0, "upper_bound": "0e0310ec-9cc7-42d0-8443-8e203701adf0"}, {"distinct_range": 80000000, "num_eq": 1000000000, "num_range": 80000000, "upper_bound": "4889a30d-0f9c-4a23-bc2e-2251b5e6df3b"}, {"distinct_range": 80000, "num_eq": 70000000, "num_range": 80000, "upper_bound": "6e561080-7c08-4c7a-992f-4382fd16cf65"}, {"distinct_range": 16.83353628670128, "num_eq": 5165419676059501145, "num_range": 40, "upper_bound": "74fe6642-8823-4c47-ab34-877eab98e5e4"}, {"distinct_range": 0, "num_eq": 6000, "num_range": 8024710028829469888, "upper_bound": "7bbdc776-e61e-4a70-b540-64bf49f03149"}, {"distinct_range": 0, "num_eq": 6133302491646713367, "num_range": 0, "upper_bound": "ad5a5685-923d-4350-86c7-ea262ed8248c"}, {"distinct_range": 227136270.38441187, "num_eq": 100000000000, "num_range": 300000000, "upper_bound": "d7bb3acf-e4c6-4380-a456-d5bfd6a5e8a9"}, {"distinct_range": 0, "num_eq": 30000, "num_range": 400, "upper_bound": "f37b6c94-768e-45f9-9738-d39b884f4f9a"}, {"distinct_range": 444058420542734460, "num_eq": 20, "num_range": 553453662561726930, "upper_bound": "ffffffff-ffff-ffff-ffff-ffffffffffff"}], "histo_col_type": "UUID", "name": "__auto__", "null_count": 4275932187220757062, "row_count": 8085280832740461711}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6287214142138472710, "histo_col_type": "", "name": "__auto__", "null_count": 1010011920939823192, "row_count": 8085280832740461711}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2317730063778215848, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "02:48:36.560619"}, {"distinct_range": 100, "num_eq": 1000000, "num_range": 100, "upper_bound": "05:25:54.051878"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 1319036944677322051, "upper_bound": "07:22:49.651355"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 0, "upper_bound": "12:15:37.253787"}, {"distinct_range": 1165463582061380000, "num_eq": 2409534059234358743, "num_range": 1295824339179708070, "upper_bound": "12:41:52.921273"}, {"distinct_range": 700, "num_eq": 3241152307489400868, "num_range": 700, "upper_bound": "17:54:08.067226"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 7161787003329267793, "upper_bound": "18:50:04.014958"}, {"distinct_range": 0, "num_eq": 5287920030673929852, "num_range": 200, "upper_bound": "21:11:51.098171"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 7097602869577804895, "row_count": 8085280832740461711}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3772702703300020768, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8085280832740461711}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1139044344655721678, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8085280832740461711}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2926965541681608421, "histo_col_type": "", "name": "__auto__", "null_count": 6856476180293057643, "row_count": 8085280832740461711}, {"columns": ["col2_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1373234306611229619, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8085280832740461711}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3384735130900406707, "histo_col_type": "INT8", "name": "__auto__", "null_count": 567105893584243935, "row_count": 8085280832740461711}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5820589467873887158, "histo_col_type": "", "name": "__auto__", "null_count": 5510231370291190335, "row_count": 8085280832740461711}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1104044605072020661, "histo_buckets": [{"distinct_range": 0, "num_eq": 2101485344731375064, "num_range": 0, "upper_bound": "24:00:00"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 8085280832740461711}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1587049163642926673, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8085280832740461711}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7704553931977382856, "histo_col_type": "", "name": "__auto__", "null_count": 4437834571003472231, "row_count": 8085280832740461711}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5614378034651509103, "histo_col_type": "", "name": "__auto__", "null_count": 7724588390665379000, "row_count": 8085280832740461711}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6343981046379737003, "histo_col_type": "", "name": "__auto__", "null_count": 116750979012924594, "row_count": 8085280832740461711}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6811117, "histo_col_type": "", "name": "__auto__", "null_count": 6974658, "row_count": 10000000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7694680, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "-10982"}, {"distinct_range": 0, "num_eq": 60000000000, "num_range": 6654620339174384611, "upper_bound": "1189"}, {"distinct_range": 0, "num_eq": 2945525134888112408, "num_range": 70, "upper_bound": "17826"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1144282, "histo_col_type": "", "name": "__auto__", "null_count": 7947550, "row_count": 10000000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6526984, "histo_col_type": "", "name": "__auto__", "null_count": 4040760, "row_count": 10000000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9333100, "histo_col_type": "", "name": "__auto__", "null_count": 6934520, "row_count": 10000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 7997256, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000, "num_range": 0, "upper_bound": "00:00:00"}, {"distinct_range": 296585251548979460, "num_eq": 0, "num_range": 296585251548979479, "upper_bound": "02:33:08.166196"}, {"distinct_range": 0, "num_eq": 8869052938962667261, "num_range": 0, "upper_bound": "04:50:07.94252"}, {"distinct_range": 2062121150120384000, "num_eq": 50000000000, "num_range": 3228871078089708485, "upper_bound": "06:56:36.045973"}, {"distinct_range": 0, "num_eq": 4393554090345918025, "num_range": 0, "upper_bound": "12:32:59.718335"}, {"distinct_range": 0, "num_eq": 900, "num_range": 5000, "upper_bound": "13:17:50.450337"}, {"distinct_range": 0, "num_eq": 3420382200907784402, "num_range": 40000000000, "upper_bound": "14:00:22.805949"}, {"distinct_range": 7340397422809292000, "num_eq": 4359669082239385496, "num_range": 7340397422809291567, "upper_bound": "16:24:44.865123"}], "histo_col_type": "TIME", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2342862, "histo_col_type": "", "name": "__auto__", "null_count": 4170235, "row_count": 10000000}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5961973, "histo_buckets": [{"distinct_range": 0, "num_eq": 60000000, "num_range": 0, "upper_bound": "-1.0046364068984985"}, {"distinct_range": 400, "num_eq": 10000, "num_range": 400, "upper_bound": "-0.6442777514457703"}, {"distinct_range": 4423539919468773400, "num_eq": 7000000, "num_range": 7156610061850636636, "upper_bound": "-0.1681525558233261"}, {"distinct_range": 30, "num_eq": 6697749272188878349, "num_range": 30, "upper_bound": "-0.10320442914962769"}, {"distinct_range": 400, "num_eq": 6452537397562995667, "num_range": 400, "upper_bound": "0.0"}, {"distinct_range": 0, "num_eq": 90000000, "num_range": 6290632751445662679, "upper_bound": "0.46677926182746887"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 9992458, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2681217, "histo_buckets": [{"distinct_range": 0, "num_eq": 10, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 506990.8562942566, "num_eq": 1538791338283235799, "num_range": 700000, "upper_bound": "1971023313"}, {"distinct_range": 1241535438019121400, "num_eq": 2824285769137627949, "num_range": 8216093479899150998, "upper_bound": "2659028489"}, {"distinct_range": 3631467183.072005, "num_eq": 3059714287771608717, "num_range": 40000000000, "upper_bound": "2938725680"}, {"distinct_range": 0, "num_eq": 0, "num_range": 8907281049003040604, "upper_bound": "3264872368"}, {"distinct_range": 2277029374695776500, "num_eq": 9000000000, "num_range": 2381363074877489647, "upper_bound": "4012135693"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 8042408, "row_count": 10000000}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 20758, "histo_col_type": "INT4", "name": "__auto__", "null_count": 970500, "row_count": 10000000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2772214, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "1050264157"}, {"distinct_range": 0, "num_eq": 3720953701523184306, "num_range": 10000000, "upper_bound": "2167000572"}, {"distinct_range": 0, "num_eq": 3059596145758257730, "num_range": 0, "upper_bound": "2414483222"}, {"distinct_range": 0, "num_eq": 200, "num_range": 30000000000, "upper_bound": "2919008595"}, {"distinct_range": 0, "num_eq": 7468719734084787046, "num_range": 30000, "upper_bound": "3232408484"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 10000000, "upper_bound": "3952609777"}, {"distinct_range": 543.9410541680032, "num_eq": 800, "num_range": 800, "upper_bound": "4236401643"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 5516514, "row_count": 10000000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2967033, "histo_col_type": "", "name": "__auto__", "null_count": 3682479, "row_count": 10000000}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4057649, "histo_buckets": [{"distinct_range": 0, "num_eq": 1486683267722404148, "num_range": 0, "upper_bound": "1980-11-17 06:05:54.000869+00:00"}, {"distinct_range": 20952905748046090, "num_eq": 6730192290783842278, "num_range": 55815227711438419, "upper_bound": "1983-06-21 19:33:17.000998+00:00"}, {"distinct_range": 0, "num_eq": 1000, "num_range": 6694115564825911318, "upper_bound": "1988-06-06 08:34:46.000026+00:00"}, {"distinct_range": 196728.32444383483, "num_eq": 7043925568234768786, "num_range": 400000, "upper_bound": "2009-08-11 21:50:51.000331+00:00"}, {"distinct_range": 0, "num_eq": 90000000000, "num_range": 5326573707066318201, "upper_bound": "2011-05-19 11:30:13.000222+00:00"}, {"distinct_range": 46071882651188056, "num_eq": 5687751306812703300, "num_range": 5278644905706803696, "upper_bound": "2025-09-11 19:14:23.000427+00:00"}], "histo_col_type": "TIMESTAMPTZ", "name": "__auto__", "null_count": 0, "row_count": 10000000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3387104, "histo_buckets": [{"distinct_range": 0, "num_eq": 316619039846745942, "num_range": 0, "upper_bound": "NaN"}, {"distinct_range": 7806390253698415000, "num_eq": 5733779287373944635, "num_range": 8145111692484607437, "upper_bound": "-1.1862609322392714"}, {"distinct_range": 1984484432263309300, "num_eq": 3501849902957966511, "num_range": 2775209879419956665, "upper_bound": "-0.9854380501059765"}, {"distinct_range": 66218.1731338895, "num_eq": 934194201259109683, "num_range": 400000, "upper_bound": "-0.9759078545571565"}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 20000, "upper_bound": "0.22546475350955628"}, {"distinct_range": 3000, "num_eq": 7569178477072641242, "num_range": 3000, "upper_bound": "0.29736168351786196"}, {"distinct_range": 1670326.6838743559, "num_eq": 2000000, "num_range": 8000000, "upper_bound": "1.0"}, {"distinct_range": 2951873620138953700, "num_eq": 6796099116889710660, "num_range": 4495421257014999470, "upper_bound": "1.2227423223511549"}], "histo_col_type": "FLOAT8", "name": "__auto__", "null_count": 7653835, "row_count": 10000000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4247452, "histo_col_type": "", "name": "__auto__", "null_count": 2428255, "row_count": 10000000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3762972354046909766, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000000, "num_range": 0, "upper_bound": "false"}, {"distinct_range": 26943.07234307297, "num_eq": 2000, "num_range": 30000, "upper_bound": "true"}], "histo_col_type": "BOOL", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1392334789576824020, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1120387964224354206, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1221028595678977837, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5524741789185292484, "histo_buckets": [{"distinct_range": 0, "num_eq": 4000, "num_range": 0, "upper_bound": "22.52.78.135/0"}, {"distinct_range": 600000000, "num_eq": 395822988790541401, "num_range": 600000000, "upper_bound": "223.254.178.102/11"}, {"distinct_range": 0, "num_eq": 1560746015845101858, "num_range": 600000, "upper_bound": "160.53.156.211/14"}, {"distinct_range": 131810777709454380, "num_eq": 300000, "num_range": 448221105792236707, "upper_bound": "39.215.32.47/16"}, {"distinct_range": 7980784520798885000, "num_eq": 600000000, "num_range": 7980784520798884359, "upper_bound": "147.168.189.172/21"}, {"distinct_range": 0, "num_eq": 100, "num_range": 8216004710420656644, "upper_bound": "3252:252d:d77b:271d:67c8:8ee1:bf9b:5ec3/14"}, {"distinct_range": 533691102.95063233, "num_eq": 5789348914352624387, "num_range": 800000000, "upper_bound": "98ef:2a68:efdc:5f9a:dbfa:7f3b:7e23:7549/121"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 4131230139674747605, "row_count": 6409993052140120120}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2206440298202930018, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5692763503809738177, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000, "num_range": 0, "upper_bound": "0001010001000101000001100010011001"}, {"distinct_range": 0, "num_eq": 6172250915367711614, "num_range": 5147856114356333109, "upper_bound": "0110100110010111000011110110000010"}, {"distinct_range": 46.250505896957634, "num_eq": 30000, "num_range": 100, "upper_bound": "1000101001111011010011010001011100"}, {"distinct_range": 0, "num_eq": 3995989715379567990, "num_range": 944459466075631977, "upper_bound": "1001111011000111000000001001101100"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 6241008869290183553, "upper_bound": "1010111100111011111111000000011111"}, {"distinct_range": 10000000, "num_eq": 70, "num_range": 10000000, "upper_bound": "1111000110110000101000100111111000"}], "histo_col_type": "BIT(34)", "name": "__auto__", "null_count": 4686241501443381877, "row_count": 6409993052140120120}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5676368147308726268, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000000000, "num_range": 0, "upper_bound": "000000000000000000000000000"}, {"distinct_range": 5716328653080846000, "num_eq": 7157405566334927035, "num_range": 5716328653080846356, "upper_bound": "001000101101011111101011101"}, {"distinct_range": 0, "num_eq": 5000000, "num_range": 100, "upper_bound": "010100010000000010001001100"}, {"distinct_range": 7127209739021981000, "num_eq": 3393041246690970083, "num_range": 7127209739021980350, "upper_bound": "011111111111111111111111111"}, {"distinct_range": 0, "num_eq": 6000000000, "num_range": 10000000, "upper_bound": "100111110010100110011011001"}], "histo_col_type": "BIT(27)", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2325170561003600883, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4872192570319717206, "histo_col_type": "", "name": "__auto__", "null_count": 4431758557001249614, "row_count": 6409993052140120120}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 847071413962727708, "histo_buckets": [{"distinct_range": 0, "num_eq": 5468452856865582958, "num_range": 0, "upper_bound": "(t6ai|Mj"}, {"distinct_range": 0, "num_eq": 3483338236800419715, "num_range": 4406169708324014692, "upper_bound": ",R.[ "}, {"distinct_range": 0, "num_eq": 487113959889911154, "num_range": 8952177815269430824, "upper_bound": "Pv"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5695906086785315117, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000000, "num_range": 0, "upper_bound": "-26772"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 0, "upper_bound": "-23762"}, {"distinct_range": 0, "num_eq": 4706580636549360377, "num_range": 8000, "upper_bound": "-14856"}, {"distinct_range": 0, "num_eq": 7062106029001026749, "num_range": 0, "upper_bound": "5902"}], "histo_col_type": "INT2", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5265715788398416363, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3707389947298159675, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6141781835921401583, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2699469491890641232, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6409993052140120120}]';
        test_1        |             ALTER TABLE table5 INJECT STATISTICS e'[{"columns": ["col5_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2610266047030463975, "histo_col_type": "", "name": "__auto__", "null_count": 1284970062380947147, "row_count": 5131891129973892064}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 514651421384812054, "histo_col_type": "", "name": "__auto__", "null_count": 1580982451196938109, "row_count": 5131891129973892064}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 606793632799541802, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5131891129973892064}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 167889369389788199, "histo_col_type": "INT2", "name": "__auto__", "null_count": 3946

@cockroach-teamcity
Copy link
Member Author

(compose).TestComposeCompare failed on master@c41a2ed503cd31d95bc3ee4365663811772c8bd3:

        test_1        |             CREATE TABLE table4 (col3_13 REGTYPE NOT NULL, col4_1 INT8 NULL, col4_2 BYTEA, col4_3 VARCHAR NOT NULL, col4_4 BOOL, col4_5 REGPROC NULL, col4_6 BIT(23) NULL, col4_7 TIMESTAMP NOT NULL, col4_8 REGTYPE, col4_9 BYTEA NOT NULL, col4_10 REGTYPE NOT NULL, col4_11 VARCHAR NOT NULL, col4_12 CHAR, col4_13 CHAR NULL, col4_14 BIT(49) NULL, col4_15 INT8 NOT NULL, col4_16 BIT(19), col4_17 TIMESTAMP, PRIMARY KEY (col3_13, col4_5, col4_7, col4_14, col4_11, col4_15, col4_17, col4_3, col4_13, col4_10, col4_4, col4_8, col4_16, col4_1, col4_9));
        test_1        |             CREATE INDEX ON table4 (col4_12 DESC, col4_6 ASC, col4_17, col4_5 DESC, col4_11, col4_7 DESC, col4_8 DESC, col4_4 ASC, col4_13 DESC, col4_15, col4_10, col4_16, col4_3 ASC, col4_2 ASC, col3_13 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_14, col4_15, col4_2) INCLUDE (col4_6, col4_12);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_14 DESC, col4_6 DESC, col4_7, col3_13 DESC) INCLUDE (col4_12);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_10 ASC, col4_3 DESC, col4_6, col3_13 ASC, col4_4 ASC, col4_16 ASC, col4_12 DESC, col4_7, col4_2, col4_11 DESC, col4_17, col4_5, col4_9, col4_15, col4_14 ASC, col4_1 ASC, col4_8);
        test_1        |             ALTER TABLE table1 ADD FOREIGN KEY (col1_9, col1_7) REFERENCES table2 (col2_6, col2_4);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('rocnf', 'eq', 'iea', 'oq', 'tqv', 'kfucx');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('t', 'pdpgp', 'kbpv', 'rtsf', 'qmj');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('yh', 'jh', 'o', 'jier', 'xs');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('yua');
        test_1        |             CREATE TYPE rand_typ_4 AS ENUM ('frbtk', 'nu', 'sinn');
        test_1        |             
        test_1        |         compare_test.go:130: postgres: exec: ERROR: type "box2d" does not exist (SQLSTATE 42704)
        test_1        |     --- FAIL: TestCompare/mutators (1.46s)
        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 REGTYPE NOT NULL, col1_1 TIMETZ NULL, col1_2 TIMETZ NOT NULL, col1_3 DATE NULL, col1_4 "char", col1_5 REGPROC, col1_6 FLOAT4 NOT NULL, col1_7 STRING NULL, col1_8 TIMETZ NULL, col1_9 OID NOT NULL, col1_10 INTERVAL, col1_11 INT4[], col1_12 STRING NOT NULL, col1_13 CHAR NOT NULL, col1_14 BOOL, PRIMARY KEY (col1_0 DESC, col1_13, col1_9), UNIQUE (col1_12 ASC) STORING (col1_2, col1_3, col1_4, col1_5, col1_6, col1_7, col1_10, col1_11) WHERE (((((table1.col1_8 > '24:00:00-15:59:00') OR (table1.col1_4 > e'\U00002603')) AND (table1.col1_2 > '00:00:00+15:59:00')) AND (table1.col1_13 != '"')) OR (table1.col1_7 > '')) OR (table1.col1_3 != '1970-01-01'), FAMILY (col1_5, col1_13), FAMILY (col1_6, col1_3, col1_8, col1_12), FAMILY (col1_4, col1_11, col1_14), FAMILY (col1_2, col1_7), FAMILY (col1_9), FAMILY (col1_0, col1_1), FAMILY (col1_10));
        test_1        |             CREATE TABLE table2 (col1_0 REGTYPE NOT NULL, col1_13 CHAR NOT NULL, col1_9 OID NOT NULL, col2_3 INET, col2_4 CHAR NOT NULL, col2_5 REGPROCEDURE NOT NULL, col2_6 NAME NULL, col2_7 UUID NULL, col2_8 BOX2D NULL, col2_9 OID NOT NULL, col2_10 INET NULL, col2_11 OID NOT NULL, col2_12 INET, col2_13 INET, col2_14 TIME, col2_15 STRING NOT NULL, col2_16 INET, col2_17 INTERVAL NOT NULL, PRIMARY KEY (col1_0 DESC, col1_13, col1_9, col2_10, col2_6), UNIQUE (col2_9, col2_3, col2_11, col2_12, col1_13 DESC, col1_9 DESC, col2_8 DESC, col2_16 ASC, col2_13 DESC, col2_17, col1_0) STORING (col2_4, col2_5, col2_7, col2_14, col2_15) WHERE ((((table2.col1_13 > e'\U00002603':::STRING) AND (table2.col2_6 <= '"':::STRING)) AND (table2.col2_4 != e'\'':::STRING)) AND (table2.col2_15 >= 'X':::STRING)) OR (table2.col2_14 <= '24:00:00':::TIME), INDEX (col2_16 DESC, col2_10, col2_8 ASC, col2_5, col2_3) STORING (col2_4, col2_7, col2_9, col2_11, col2_12, col2_13, col2_17) WHERE (((table2.col2_15 <= e'\'':::STRING) OR (table2.col2_14 < '00:00:00':::TIME)) OR (table2.col1_13 != '':::STRING)) OR (table2.col2_6 < 'X':::STRING), INDEX (col2_5 ASC, col1_13 DESC, col2_6 ASC, col2_10 DESC, col2_13 DESC, col2_4, col2_7 DESC, col2_9 DESC, col2_12) STORING (col2_16, col2_17), FAMILY (col1_9, col2_16, col2_4, col2_3, col1_13, col2_14, col2_8), FAMILY (col2_6, col2_10, col2_15), FAMILY (col2_5), FAMILY (col1_0), FAMILY (col2_12, col2_9), FAMILY (col2_7, col2_11), FAMILY (col2_13, col2_17)) INTERLEAVE IN PARENT table1 (col1_0, col1_13, col1_9);
        test_1        |             CREATE TABLE table3 (col1_0 REGTYPE NOT NULL, col1_13 CHAR NOT NULL, col1_9 OID NOT NULL, col2_10 INET NULL, col2_6 NAME NULL, col3_5 CHAR, col3_6 INT8 NULL, col3_7 INT8 NULL, col3_8 FLOAT4 NULL, col3_9 CHAR NULL, col3_10 INT4 NULL, col3_11 INET NOT NULL, col3_12 INT4 NULL, col3_13 UUID NOT NULL, col3_14 FLOAT8 NULL, col3_15 REGCLASS, col3_16 TIME, col3_17 OID NOT NULL, col3_18 INT4, PRIMARY KEY (col1_0 DESC, col1_13, col1_9, col2_10, col2_6, col3_16 ASC), UNIQUE (col1_0 DESC, col3_16 DESC) STORING (col3_5, col3_7, col3_8, col3_9, col3_10, col3_11, col3_13, col3_14, col3_17, col3_18), INDEX (col3_17 DESC, col2_6) STORING (col3_6, col3_8, col3_9, col3_11, col3_14, col3_15, col3_18), FAMILY (col3_10, col2_6), FAMILY (col3_18), FAMILY (col3_17, col3_15, col3_16, col3_5, col3_8, col1_0), FAMILY (col1_9), FAMILY (col3_12), FAMILY (col3_7, col1_13), FAMILY (col3_11), FAMILY (col2_10), FAMILY (col3_13, col3_9), FAMILY (col3_14), FAMILY (col3_6), UNIQUE (col3_13) WHERE (((((table3.col1_13 != '') OR (table3.col3_10 >= 1)) AND (table3.col3_5 <= e'\U00002603')) OR (table3.col3_16 >= '24:00:00')) AND (table3.col3_9 <= '')) AND (table3.col2_6 <= e'\U00002603')) INTERLEAVE IN PARENT table2 (col1_0, col1_13, col1_9, col2_10, col2_6);
        test_1        |             CREATE TABLE table4 (col4_0 NAME NOT NULL, col4_1 UUID NULL, col4_2 INTERVAL NOT NULL, col4_3 BYTES NOT NULL, col4_4 STRING, col4_5 DECIMAL NULL, col4_6 BIT(48) NULL, col4_7 INTERVAL, col4_8 TIMETZ NOT NULL, col4_9 INT8 NOT NULL, col4_10 REGPROCEDURE NOT NULL, col4_11 REGPROCEDURE, col4_12 REGPROC, col4_13 FLOAT4 NULL, col4_14 NAME NOT NULL, col4_15 "char" NOT NULL, col4_16 VARCHAR NOT NULL, col4_17 INT4 NULL, PRIMARY KEY (col4_9 ASC, col4_15 ASC, col4_0 ASC, col4_8 ASC, col4_16 ASC, col4_3 ASC), UNIQUE (col4_13 DESC) WHERE ((((((((table4.col4_13 <= 3.4028234663852886e+38) OR (table4.col4_0 <= '')) OR (table4.col4_3 <= '\x')) OR (table4.col4_9 <= 32767)) OR (table4.col4_16 < e'\x00')) AND (table4.col4_5 <= -1)) AND (table4.col4_14 <= e'\'')) AND (table4.col4_17 != 32767)) OR (table4.col4_8 = '00:00:00+15:59:00'), UNIQUE (col4_15, col4_14, col4_12 DESC, col4_1 ASC, col4_4 ASC, col4_13 ASC) STORING (col4_2, col4_6, col4_7, col4_10) WHERE ((((((((((table4.col4_15 >= '"':::STRING) AND (table4.col4_16 <= '"':::STRING)) OR (table4.col4_8 != '00:00:00+15:59:00':::TIMETZ)) OR (table4.col4_17 < 2147483647:::INT8)) OR (table4.col4_13 = 1.401298464324817e-45:::FLOAT8)) AND (table4.col4_3 != e'\\x22':::BYTES)) OR (table4.col4_9 = 0:::INT8)) OR (table4.col4_5 = 1:::DECIMAL)) OR (table4.col4_14 > 'X':::STRING)) OR (table4.col4_4 >= e'\'':::STRING)) OR (table4.col4_0 != e'\'':::STRING), INDEX (col4_2 DESC, col4_0 DESC) STORING (col4_1, col4_4, col4_5, col4_7, col4_14, col4_17) WHERE (((((table4.col4_15 > '"') AND (table4.col4_3 != '\xff')) AND (table4.col4_17 = -2147483648)) OR (table4.col4_5 >= 1)) OR (table4.col4_14 <= e'\x00')) OR (table4.col4_13 >= 0.0), INDEX (col4_3 ASC, col4_9, col4_7 DESC, col4_2 ASC) STORING (col4_4, col4_6, col4_11, col4_12) WHERE ((((((table4.col4_13 > '+Inf':::FLOAT8) AND (table4.col4_4 != '"':::STRING)) AND (table4.col4_9 != (-1):::INT8)) AND (table4.col4_15 != '':::STRING)) AND (table4.col4_3 >= e'\\xff':::BYTES)) OR (table4.col4_5 != (-1.234E+401):::DECIMAL)) OR (table4.col4_16 < 'X':::STRING), FAMILY (col4_11, col4_4, col4_6, col4_12, col4_17), FAMILY (col4_10, col4_7), FAMILY (col4_3), FAMILY (col4_5), FAMILY (col4_8), FAMILY (col4_9), FAMILY (col4_14, col4_0), FAMILY (col4_15), FAMILY (col4_1, col4_13, col4_16), FAMILY (col4_2));
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 193586, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 102102, "histo_col_type": "", "name": "__auto__", "null_count": 518376, "row_count": 800000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 24194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 157017, "histo_col_type": "", "name": "__auto__", "null_count": 45213, "row_count": 800000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 654153, "histo_col_type": "", "name": "__auto__", "null_count": 591270, "row_count": 800000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 701368, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 602571, "histo_col_type": "", "name": "__auto__", "null_count": 792469, "row_count": 800000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 127553, "histo_col_type": "", "name": "__auto__", "null_count": 256066, "row_count": 800000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 562219, "histo_buckets": [{"distinct_range": 0, "num_eq": 3508845474140787431, "num_range": 0, "upper_bound": "148585424"}, {"distinct_range": 0, "num_eq": 7875483296763114941, "num_range": 3475089803942820871, "upper_bound": "2602022314"}, {"distinct_range": 800, "num_eq": 60000000, "num_range": 800, "upper_bound": "3485983942"}, {"distinct_range": 0, "num_eq": 600, "num_range": 2770047965265172178, "upper_bound": "3486232296"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 601075, "histo_col_type": "", "name": "__auto__", "null_count": 754999, "row_count": 800000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 458324, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 535584, "histo_col_type": "", "name": "__auto__", "null_count": 234288, "row_count": 800000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 448740, "histo_buckets": [{"distinct_range": 0, "num_eq": 900000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 0, "num_eq": 8435457553184442332, "num_range": 500000, "upper_bound": "\\u0015dIq"}, {"distinct_range": 0, "num_eq": 100, "num_range": 6197695544208984969, "upper_bound": "+0~g.j"}, {"distinct_range": 6.51152654056078, "num_eq": 60, "num_range": 50, "upper_bound": "n_2+3\\u0005a"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 800000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 215898, "histo_col_type": "", "name": "__auto__", "null_count": 735833, "row_count": 800000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 288561, "histo_col_type": "", "name": "__auto__", "null_count": 783040, "row_count": 800000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 353086244, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 644214747, "histo_col_type": "", "name": "__auto__", "null_count": 257551993, "row_count": 700000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 85476693, "histo_col_type": "", "name": "__auto__", "null_count": 358953297, "row_count": 700000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 514481416, "histo_col_type": "", "name": "__auto__", "null_count": 390315347, "row_count": 700000000}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 245621691, "histo_col_type": "", "name": "__auto__", "null_count": 410734439, "row_count": 700000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 377885868, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41194451, "histo_col_type": "", "name": "__auto__", "null_count": 579588179, "row_count": 700000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47938377, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 387832800, "histo_col_type": "", "name": "__auto__", "null_count": 485522111, "row_count": 700000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 117758016, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 238711318, "histo_col_type": "", "name": "__auto__", "null_count": 60162711, "row_count": 700000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 101181288, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 132408837116064720, "num_eq": 800, "num_range": 132408837116064717, "upper_bound": "99823457"}, {"distinct_range": 0, "num_eq": 7016006127055756750, "num_range": 9000, "upper_bound": "392400687"}, {"distinct_range": 41.60210843255375, "num_eq": 900, "num_range": 100, "upper_bound": "1182548107"}, {"distinct_range": 0, "num_eq": 700000000, "num_range": 1849472667462184694, "upper_bound": "2530739103"}, {"distinct_range": 9.811231605167121, "num_eq": 1000000000, "num_range": 30, "upper_bound": "3066493796"}, {"distinct_range": 4815900964987001000, "num_eq": 1000000000, "num_range": 5956288549032938982, "upper_bound": "3643036670"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 492785554, "histo_col_type": "", "name": "__auto__", "null_count": 256680274, "row_count": 700000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 422804620, "histo_col_type": "INET", "name": "__auto__", "null_count": 427023360, "row_count": 700000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 349733587, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 446293908, "histo_buckets": [{"distinct_range": 0, "num_eq": 80000000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 3427514.4362611864, "num_eq": 1773679110562791573, "num_range": 5000000, "upper_bound": "252540503"}, {"distinct_range": 0, "num_eq": 8504870573122211394, "num_range": 0, "upper_bound": "1368560372"}, {"distinct_range": 0, "num_eq": 500000, "num_range": 0, "upper_bound": "1880709338"}, {"distinct_range": 6471497982200170000, "num_eq": 3823077116838154663, "num_range": 6471497982200170030, "upper_bound": "2520632750"}, {"distinct_range": 0, "num_eq": 585513334114932805, "num_range": 8188636128456576497, "upper_bound": "3590495284"}, {"distinct_range": 35.84464591517695, "num_eq": 7420220051123120573, "num_range": 60, "upper_bound": "4270277012"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 497234070, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296210506, "histo_buckets": [{"distinct_range": 0, "num_eq": 500000000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 5864713083564979000, "num_eq": 500000, "num_range": 5864713083564979062, "upper_bound": "974629202"}, {"distinct_range": 1000000000, "num_eq": 10000, "num_range": 1000000000, "upper_bound": "2782661181"}, {"distinct_range": 0, "num_eq": 1285346412875333975, "num_range": 5643119810643413766, "upper_bound": "2984775620"}, {"distinct_range": 80000, "num_eq": 4988387132798207680, "num_range": 80000, "upper_bound": "3196616372"}, {"distinct_range": 0, "num_eq": 70, "num_range": 80000000000, "upper_bound": "3833933243"}, {"distinct_range": 100000, "num_eq": 8000, "num_range": 100000, "upper_bound": "4142449567"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 700000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 121, "histo_col_type": "", "name": "__auto__", "null_count": 98, "row_count": 300}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 230, "histo_col_type": "", "name": "__auto__", "null_count": 70, "row_count": 300}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 179, "histo_col_type": "", "name": "__auto__", "null_count": 250, "row_count": 300}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 58, "histo_col_type": "", "name": "__auto__", "null_count": 249, "row_count": 300}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 81, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 292, "histo_col_type": "", "name": "__auto__", "null_count": 162, "row_count": 300}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 103, "histo_col_type": "", "name": "__auto__", "null_count": 44, "row_count": 300}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 296, "histo_col_type": "", "name": "__auto__", "null_count": 191, "row_count": 300}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 194, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 188, "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 204, "histo_buckets": [{"distinct_range": 0, "num_eq": 800, "num_range": 0, "upper_bound": "1534309030"}, {"distinct_range": 15613825086.67105, "num_eq": 500000, "num_range": 20000000000, "upper_bound": "2417018763"}, {"distinct_range": 0, "num_eq": 30000000, "num_range": 3164807564076545824, "upper_bound": "2428650108"}, {"distinct_range": 76.29128521563098, "num_eq": 7166410955990895401, "num_range": 80, "upper_bound": "3950112122"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 300}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 153, "histo_col_type": "", "name": "__auto__", "null_count": 49, "row_count": 300}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 60, "histo_col_type": "", "name": "__auto__", "null_count": 105, "row_count": 300}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 61, "histo_col_type": "", "name": "__auto__", "null_count": 38, "row_count": 300}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 22, "histo_col_type": "", "name": "__auto__", "null_count": 297, "row_count": 300}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 32, "histo_col_type": "", "name": "__auto__", "null_count": 153, "row_count": 300}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184, "histo_col_type": "", "name": "__auto__", "null_count": 127, "row_count": 300}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 99, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 300}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"columns": ["col4_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3864163524705336993, "histo_col_type": "", "name": "__auto__", "null_count": 3136520796414920112, "row_count": 5199628374650278054}, {"columns": ["col4_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2969030442774947328, "histo_col_type": "", "name": "__auto__", "null_count": 1657242573655363835, "row_count": 5199628374650278054}, {"columns": ["col4_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4241137187567252501, "histo_col_type": "", "name": "__auto__", "null_count": 676950451438912783, "row_count": 5199628374650278054}, {"columns": ["col4_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4996183654745827699, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3211186445365494234, "histo_col_type": "", "name": "__auto__", "null_count": 3807462346066770386, "row_count": 5199628374650278054}, {"columns": ["col4_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 694545060638955532, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4699556738755759395, "histo_col_type": "", "name": "__auto__", "null_count": 2079746103110025132, "row_count": 5199628374650278054}, {"columns": ["col4_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 661474274246233664, "histo_col_type": "", "name": "__auto__", "null_count": 2853278094128972003, "row_count": 5199628374650278054}, {"columns": ["col4_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4080624256564803878, "histo_buckets": [{"distinct_range": 0, "num_eq": 6864326871233640742, "num_range": 0, "upper_bound": "\\u0000"}, {"distinct_range": 6000000000, "num_eq": 8000000000, "num_range": 6000000000, "upper_bound": "\\r"}, {"distinct_range": 7000, "num_eq": 9000, "num_range": 7000, "upper_bound": "$"}, {"distinct_range": 0, "num_eq": 7000000, "num_range": 6987455288463724967, "upper_bound": ")"}, {"distinct_range": 8380504854299974000, "num_eq": 90000, "num_range": 9043430211428650364, "upper_bound": ","}, {"distinct_range": 10, "num_eq": 2769466880209328946, "num_range": 10, "upper_bound": "@"}, {"distinct_range": 2695383251723764000, "num_eq": 2972130180554443630, "num_range": 6503224168699593537, "upper_bound": "G"}, {"distinct_range": 0, "num_eq": 800, "num_range": 1008734831943060154, "upper_bound": "H"}], "histo_col_type": "\\"char\\"", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3243778990592860980, "histo_buckets": [{"distinct_range": 0, "num_eq": 3340357142947607728, "num_range": 0, "upper_bound": "-0.996345043182373"}, {"distinct_range": 0, "num_eq": 318269413938382587, "num_range": 400, "upper_bound": "0.22846195101737976"}, {"distinct_range": 7510381195608619000, "num_eq": 4329379104429284712, "num_range": 7510381195608618932, "upper_bound": "1.5561668872833252"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 0, "upper_bound": "1.909018635749817"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 3321167507102283624, "row_count": 5199628374650278054}, {"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2858653224794659774, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2926292250638897296, "histo_col_type": "", "name": "__auto__", "null_count": 1126148562158090317, "row_count": 5199628374650278054}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3743378145890368588, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "-21 years -3 mons -606 days -19:33:39.703507"}, {"distinct_range": 400, "num_eq": 80, "num_range": 400, "upper_bound": "32 years 820 days 08:07:25.460106"}, {"distinct_range": 400000000, "num_eq": 800000000, "num_range": 400000000, "upper_bound": "46 years 2 mons 147 days 10:21:25.822362"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2125097173369670002, "histo_buckets": [{"distinct_range": 0, "num_eq": 4536596720535466297, "num_range": 0, "upper_bound": "\\\\x560472ec"}, {"distinct_range": 3571303579309428000, "num_eq": 8729607126078628685, "num_range": 3571303579309428112, "upper_bound": "\\\\x73170ad6"}, {"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "\\\\xda0ebdd0"}, {"distinct_range": 1566453204192398000, "num_eq": 40000, "num_range": 3359953608694962586, "upper_bound": "\\\\xe29883"}, {"distinct_range": 0, "num_eq": 2102716452193664585, "num_range": 7733901634521322132, "upper_bound": "\\\\xf3cf02c1eb00a7"}], "histo_col_type": "BYTES", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2182926211716635728, "histo_buckets": [{"distinct_range": 0, "num_eq": 400000, "num_range": 0, "upper_bound": "-6933678914393572793"}, {"distinct_range": 0, "num_eq": 40000000000, "num_range": 500000, "upper_bound": "-4137696948812116949"}, {"distinct_range": 0, "num_eq": 1224387302429206869, "num_range": 4853240458479118244, "upper_bound": "-718306023057935152"}, {"distinct_range": 2540237732.6871767, "num_eq": 400, "num_range": 5000000000, "upper_bound": "2907389234408758432"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1332669008943452277, "histo_col_type": "", "name": "__auto__", "null_count": 5037044998341801366, "row_count": 5199628374650278054}, {"columns": ["col4_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2112473813313308044, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}, {"columns": ["col4_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3768942300789952948, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5199628374650278054}]':::JSONB;
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('od', 'wtgo');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('ycmhl', 'scesva');
        test_1        |             CREATE TYPE rand_typ_2 AS ENUM ('qn');
        test_1        |             CREATE TYPE rand_typ_3 AS ENUM ('lj', 'p');
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3105844698189257312, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2052785725486824324, "histo_col_type": "", "name": "__auto__", "null_count": 784296999578187439, "row_count": 5210799177531854025}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5025610404746397292, "histo_col_type": "", "name": "__auto__", "null_count": 2426987385187261253, "row_count": 5210799177531854025}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2381070842600051963, "histo_col_type": "", "name": "__auto__", "null_count": 3116985316265817833, "row_count": 5210799177531854025}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2069539835355419255, "histo_col_type": "", "name": "__auto__", "null_count": 3147139023514529167, "row_count": 5210799177531854025}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 524855357534571297, "histo_col_type": "", "name": "__auto__", "null_count": 281722621942793818, "row_count": 5210799177531854025}, {"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4831988643370887959, "histo_col_type": "", "name": "__auto__", "null_count": 433043971175510831, "row_count": 5210799177531854025}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 303585976422498835, "histo_buckets": [{"distinct_range": 0, "num_eq": 400, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6545776365324089000, "num_eq": 8612223428004965893, "num_range": 6545776365324089817, "upper_bound": "236300856"}, {"distinct_range": 0, "num_eq": 10000000000, "num_range": 1179014318621486839, "upper_bound": "878401008"}, {"distinct_range": 1732307927251011800, "num_eq": 80000000000, "num_range": 1732307927251011811, "upper_bound": "1808827871"}, {"distinct_range": 0, "num_eq": 8660180440600715677, "num_range": 9000000, "upper_bound": "2461886612"}, {"distinct_range": 0, "num_eq": 1000000000, "num_range": 0, "upper_bound": "3777584469"}, {"distinct_range": 0, "num_eq": 186650845008029323, "num_range": 800, "upper_bound": "3928002197"}, {"distinct_range": 3000000, "num_eq": 30000000, "num_range": 3000000, "upper_bound": "4037838762"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3837209359423280284, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1565828100433650748, "histo_col_type": "", "name": "__auto__", "null_count": 1862928352668608239, "row_count": 5210799177531854025}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3462385298020905278, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4510482671692550020, "histo_col_type": "", "name": "__auto__", "null_count": 3498714792096086217, "row_count": 5210799177531854025}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 27623436308428316, "histo_col_type": "", "name": "__auto__", "null_count": 1835411345817759114, "row_count": 5210799177531854025}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3182337206137042336, "histo_buckets": [{"distinct_range": 0, "num_eq": 40, "num_range": 0, "upper_bound": "K\\u0008M\\u0003,Nu\\u0011"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2871468642777014058, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5210799177531854025}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col1_9"], "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_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 21, "row_count": 50}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 49, "histo_col_type": "", "name": "__auto__", "null_count": 34, "row_count": 50}, {"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": 50}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 46, "histo_buckets": [{"distinct_range": 0, "num_eq": 3917429160026904108, "num_range": 0, "upper_bound": "160.106.28.162/5"}, {"distinct_range": 43520400382387620, "num_eq": 1210838881280910485, "num_range": 43520400382387620, "upper_bound": "244.209.117.32/5"}, {"distinct_range": 2777524802741401600, "num_eq": 3000000000, "num_range": 2777524802741401596, "upper_bound": "86.163.111.204/19"}, {"distinct_range": 1364588187039300600, "num_eq": 3081557716790379377, "num_range": 2965074655199408982, "upper_bound": "226.22.208.198/19"}, {"distinct_range": 80000, "num_eq": 3316402422590680633, "num_range": 80000, "upper_bound": "b25e:b0d7:58df:5fe5:e8f5:d5d9:5b1b:8d18/35"}, {"distinct_range": 7000000000, "num_eq": 8683834739334170465, "num_range": 7000000000, "upper_bound": "e4c6:65ea:6317:5163:8e40:f328:e6ef:4ddc/50"}, {"distinct_range": 0, "num_eq": 7413730205567588575, "num_range": 616173054237806220, "upper_bound": "bcc8:36e1:7c56:e804:c2f9:7a59:b0ce:3f49/124"}, {"distinct_range": 4165279624649792000, "num_eq": 3000, "num_range": 4165279624649791766, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 40, "row_count": 50}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 34, "histo_col_type": "", "name": "__auto__", "null_count": 36, "row_count": 50}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "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": 31, "histo_col_type": "", "name": "__auto__", "null_count": 14, "row_count": 50}, {"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 18, "histo_col_type": "", "name": "__auto__", "null_count": 10, "row_count": 50}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 26, "histo_col_type": "", "name": "__auto__", "null_count": 6, "row_count": 50}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 14, "histo_col_type": "", "name": "__auto__", "null_count": 45, "row_count": 50}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 29, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "1687065469"}, {"distinct_range": 0, "num_eq": 8000000, "num_range": 2144506021042626046, "upper_bound": "2933560310"}, {"distinct_range": 347263647854186900, "num_eq": 3884645023552614417, "num_range": 433423142178448114, "upper_bound": "3898017228"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 41, "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": 34, "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 17, "histo_buckets": [{"distinct_range": 0, "num_eq": 2000000000, "num_range": 0, "upper_bound": "907002861"}, {"distinct_range": 493809.54088524455, "num_eq": 895312170646976413, "num_range": 1000000, "upper_bound": "1212830665"}, {"distinct_range": 0, "num_eq": 9169307801085413332, "num_range": 7637674365235846659, "upper_bound": "1375781025"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 50}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 47, "histo_col_type": "", "name": "__auto__", "null_count": 11, "row_count": 50}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 45, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 50}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 228104, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 272659, "histo_col_type": "", "name": "__auto__", "null_count": 607828, "row_count": 700000}, {"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 199010, "histo_col_type": "", "name": "__auto__", "null_count": 545612, "row_count": 700000}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 122978, "histo_col_type": "", "name": "__auto__", "null_count": 415963, "row_count": 700000}, {"columns": ["col3_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 19272, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col3_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 295808, "histo_col_type": "", "name": "__auto__", "null_count": 253556, "row_count": 700000}, {"columns": ["col3_18"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 359155, "histo_col_type": "", "name": "__auto__", "null_count": 73386, "row_count": 700000}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 354407, "histo_col_type": "", "name": "__auto__", "null_count": 304073, "row_count": 700000}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 364671, "histo_col_type": "", "name": "__auto__", "null_count": 245500, "row_count": 700000}, {"columns": ["col3_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 403183, "histo_col_type": "", "name": "__auto__", "null_count": 34938, "row_count": 700000}, {"columns": ["col3_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 652458, "histo_col_type": "", "name": "__auto__", "null_count": 342129, "row_count": 700000}, {"columns": ["col3_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 345285, "histo_buckets": [{"distinct_range": 0, "num_eq": 40000, "num_range": 0, "upper_bound": "0"}, {"distinct_range": 6026707592557398000, "num_eq": 7663606455560514520, "num_range": 6026707592557398078, "upper_bound": "351159044"}, {"distinct_range": 1446254945092297200, "num_eq": 7580097202282775762, "num_range": 3226991563528893807, "upper_bound": "875257229"}, {"distinct_range": 2619177925612460500, "num_eq": 90000, "num_range": 2619177925612460512, "upper_bound": "886869728"}, {"distinct_range": 700371086431750300, "num_eq": 5000, "num_range": 1225821942833881414, "upper_bound": "1310788416"}, {"distinct_range": 800000, "num_eq": 8000, "num_range": 800000, "upper_bound": "1933025044"}, {"distinct_range": 0, "num_eq": 7676726870155734510, "num_range": 900000000, "upper_bound": "3270054035"}, {"distinct_range": 0, "num_eq": 7022354399346596716, "num_range": 6992603168693949327, "upper_bound": "3858746940"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 52900, "histo_buckets": [{"distinct_range": 0, "num_eq": 3000000000, "num_range": 0, "upper_bound": "1959734652"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 358173, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 184874, "histo_col_type": "", "name": "__auto__", "null_count": 582432, "row_count": 700000}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 218009, "histo_col_type": "", "name": "__auto__", "null_count": 541860, "row_count": 700000}, {"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 114675, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 700000}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 424937, "histo_col_type": "", "name": "__auto__", "null_count": 4377, "row_count": 700000}, {"columns": ["col3_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 79936, "histo_col_type": "", "name": "__auto__", "null_count": 266128, "row_count": 700000}]';
        test_1        |             ALTER TABLE table4 INJECT STATISTICS e'[{"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_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_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": ["col4_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 100000000, "num_range": 0, "upper_bound": "-4300175675840645749"}, {"distinct_range": 0, "num_eq": 100000, "num_range": 80000000, "upper_bound": "6311355126670962916"}, {"distinct_range": 3221655232902710000, "num_eq": 1825465387706285893, "num_range": 3221655232902709555, "upper_bound": "7844918945890700468"}], "histo_col_type": "INT8", "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_buckets": [{"distinct_range": 0, "num_eq": 5191227085302201781, "num_range": 0, "upper_bound": "-1.800526738166809"}, {"distinct_range": 0, "num_eq": 80000000, "num_range": 0, "upper_bound": "-1.4348584413528442"}, {"distinct_range": 1000000, "num_eq": 7766174369418226376, "num_range": 1000000, "upper_bound": "-1.2732161283493042"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 7782363801169605701, "upper_bound": "-0.4371127486228943"}, {"distinct_range": 0, "num_eq": 7413609950510324286, "num_range": 9221476367997660399, "upper_bound": "-0.19088159501552582"}, {"distinct_range": 0, "num_eq": 0, "num_range": 4706876985833377179, "upper_bound": "0.05055299028754234"}, {"distinct_range": 7376861956021766000, "num_eq": 0, "num_range": 7376861956021765746, "upper_bound": "0.5553134083747864"}, {"distinct_range": 0, "num_eq": 60, "num_range": 4531659836346184706, "upper_bound": "0.5761203169822693"}, {"distinct_range": 0, "num_eq": 20000000, "num_range": 70, "upper_bound": "1.4382203817367554"}], "histo_col_type": "FLOAT4", "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_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_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 7189641831151523998, "num_range": 0, "upper_bound": "\\u000f"}, {"distinct_range": 139425107468411650, "num_eq": 1000000, "num_range": 3306511791898268628, "upper_bound": "\\u001e"}, {"distinct_range": 693008797135485700, "num_eq": 90000000000, "num_range": 4101894741101822774, "upper_bound": "("}, {"distinct_range": 0, "num_eq": 100000000, "num_range": 20, "upper_bound": ","}, {"distinct_range": 579944.1461018992, "num_eq": 3819667481550828968, "num_range": 1000000, "upper_bound": "2"}, {"distinct_range": 3790975792290349000, "num_eq": 2433044522317061686, "num_range": 3790975792290348914, "upper_bound": "6"}, {"distinct_range": 0, "num_eq": 50000000, "num_range": 7000, "upper_bound": "B"}, {"distinct_range": 2972870437768804400, "num_eq": 965668007750480321, "num_range": 2972870437768804316, "upper_bound": "^"}, {"distinct_range": 0, "num_eq": 70000000000, "num_range": 400, "upper_bound": "q"}], "histo_col_type": "\\"char\\"", "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_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000, "num_range": 0, "upper_bound": "\\\\x31"}, {"distinct_range": 7.963245767691492, "num_eq": 90000, "num_range": 10, "upper_bound": "\\\\x58"}], "histo_col_type": "BYTES", "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_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_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_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 0, "histo_buckets": [{"distinct_range": 0, "num_eq": 90000000, "num_range": 0, "upper_bound": "-70 years -6 mons -521 days -08:34:24.451758"}, {"distinct_range": 68279.9078051028, "num_eq": 50, "num_range": 600000, "upper_bound": "-59 years -8 mons -803 days -21:02:03.870465"}, {"distinct_range": 5000000, "num_eq": 700000, "num_range": 5000000, "upper_bound": "-56 years -5 mons -585 days -08:50:30.14414"}, {"distinct_range": 0, "num_eq": 20, "num_range": 4000, "upper_bound": "-15 years -9 mons -533 days -12:59:35.067513"}, {"distinct_range": 0, "num_eq": 2000, "num_range": 3078167126550242017, "upper_bound": "-7 years -10 mons -96 days -23:30:59.078506"}, {"distinct_range": 0, "num_eq": 8000000000, "num_range": 10, "upper_bound": "1 mon 1 day"}, {"distinct_range": 3114503033088425500, "num_eq": 3359781873147761877, "num_range": 6093163123775594901, "upper_bound": "40 years 2 mons 797 days 08:03:39.898451"}, {"distinct_range": 90700.6919737249, "num_eq": 8254388348214622449, "num_range": 5000000, "upper_bound": "68 years 9 mons 666 days 11:39:59.767677"}], "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_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}]';
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_7) REFERENCES table3 (col3_13) ON DELETE CASCADE;
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2656389, "histo_col_type": "", "name": "__auto__", "null_count": 2247296, "row_count": 7000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 386459, "histo_buckets": [{"distinct_range": 0, "num_eq": 4123103456628929094, "num_range": 0, "upper_bound": "883342996"}, {"distinct_range": 3103709151762958300, "num_eq": 800000, "num_range": 3103709151762958289, "upper_bound": "1841020764"}, {"distinct_range": 0, "num_eq": 3000, "num_range": 104288110897131280, "upper_bound": "2895022305"}, {"distinct_range": 2112.7459530971764, "num_eq": 580398850124513662, "num_range": 100000, "upper_bound": "3232606739"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 232021, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col1_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 499207, "histo_col_type": "", "name": "__auto__", "null_count": 2343812, "row_count": 7000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1264663, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col1_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3739498, "histo_col_type": "", "name": "__auto__", "null_count": 4317947, "row_count": 7000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6854588, "histo_col_type": "", "name": "__auto__", "null_count": 2481279, "row_count": 7000000}, {"columns": ["col1_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1944265, "histo_col_type": "", "name": "__auto__", "null_count": 5111056, "row_count": 7000000}, {"columns": ["col1_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4443815, "histo_col_type": "", "name": "__auto__", "null_count": 5014211, "row_count": 7000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1802297, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1802059, "histo_col_type": "", "name": "__auto__", "null_count": 2987612, "row_count": 7000000}, {"columns": ["col1_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1737513, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 7000000}, {"columns": ["col1_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 181328, "histo_col_type": "", "name": "__auto__", "null_count": 5269420, "row_count": 7000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4904557, "histo_col_type": "", "name": "__auto__", "null_count": 488154, "row_count": 7000000}, {"columns": ["col1_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 67938, "histo_buckets": [{"distinct_range": 0, "num_eq": 10000000, "num_range": 0, "upper_bound": "\\u000cC;\\u0004"}, {"distinct_range": 9091590506753330000, "num_eq": 844766662799790499, "num_range": 9091590506753330056, "upper_bound": "\\u000e[)\\u000b\\"ZZ\\u0005\\u0010"}, {"distinct_range": 0, "num_eq": 90000, "num_range": 1450623657369868825, "upper_bound": "@9"}, {"distinct_range": 913852170110507800, "num_eq": 8921192559492211164, "num_range": 913852170110507752, "upper_bound": "Wh\\u0005\\u0013)L-T "}, {"distinct_range": 0, "num_eq": 200000000, "num_range": 5892124824012194198, "upper_bound": "cf\\u001a\\u001d]\\u0008 |Z"}, {"distinct_range": 2446970.3713247855, "num_eq": 0, "num_range": 20000000, "upper_bound": "g"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 7000000}]';
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2262913895, "histo_col_type": "", "name": "__auto__", "null_count": 788995001, "row_count": 6000000000}, {"columns": ["col2_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 618680966, "histo_col_type": "", "name": "__auto__", "null_count": 5798730877, "row_count": 6000000000}, {"columns": ["col2_12"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4528992449, "histo_col_type": "", "name": "__auto__", "null_count": 3459057817, "row_count": 6000000000}, {"columns": ["col1_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3571380342, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4809738915, "histo_buckets": [{"distinct_range": 0, "num_eq": 1879771782562152978, "num_range": 0, "upper_bound": "146093408"}, {"distinct_range": 3778507858511263000, "num_eq": 400, "num_range": 4786697231338647741, "upper_bound": "227964229"}, {"distinct_range": 3000000000, "num_eq": 1460135118386265113, "num_range": 3000000000, "upper_bound": "437839566"}, {"distinct_range": 0, "num_eq": 700, "num_range": 2860703894933453155, "upper_bound": "2877272769"}], "histo_col_type": "REGPROCEDURE", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4886417907, "histo_col_type": "", "name": "__auto__", "null_count": 4813203274, "row_count": 6000000000}, {"columns": ["col2_16"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5257851130, "histo_buckets": [{"distinct_range": 0, "num_eq": 3780728054013309592, "num_range": 0, "upper_bound": "101.24.172.35/5"}, {"distinct_range": 4536361036214279000, "num_eq": 1745438348958074456, "num_range": 4536361036214279148, "upper_bound": "174.127.161.99/5"}, {"distinct_range": 6787968120634250000, "num_eq": 200000, "num_range": 6787968120634249982, "upper_bound": "88.154.102.98/12"}, {"distinct_range": 0, "num_eq": 345412384011578197, "num_range": 80000000, "upper_bound": "f078:bb34:c198:b98e:7ddc:4d05:a256:b6a/5"}, {"distinct_range": 4454.569711103344, "num_eq": 900000000, "num_range": 9000, "upper_bound": "b901:a361:91db:b419:6c6b:fb31:b7c3:7e58/12"}, {"distinct_range": 16.663922883004826, "num_eq": 80, "num_range": 800, "upper_bound": "7c4c:4ae9:49:bcc9:f749:9589:5c78:3ffe/91"}, {"distinct_range": 1535798177732588000, "num_eq": 100000000, "num_range": 3295450010984182787, "upper_bound": "507:9229:9ed5:568e:f9af:9ff:e089:1bce/102"}, {"distinct_range": 0, "num_eq": 70, "num_range": 1000, "upper_bound": "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"}], "histo_col_type": "INET", "name": "__auto__", "null_count": 5245344734, "row_count": 6000000000}, {"columns": ["col2_17"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4554515418, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1437033768, "histo_buckets": [{"distinct_range": 0, "num_eq": 60, "num_range": 0, "upper_bound": "109896694"}, {"distinct_range": 0, "num_eq": 1387939743712978943, "num_range": 700000, "upper_bound": "136090738"}, {"distinct_range": 3000000000, "num_eq": 4603820733826638467, "num_range": 3000000000, "upper_bound": "340072793"}, {"distinct_range": 633282086425310600, "num_eq": 6172397043542388473, "num_range": 1512037716992040817, "upper_bound": "420297050"}, {"distinct_range": 3979202949028119600, "num_eq": 400, "num_range": 3979202949028119577, "upper_bound": "581247694"}, {"distinct_range": 0, "num_eq": 1209033941513777327, "num_range": 4384582945079902882, "upper_bound": "3489850836"}], "histo_col_type": "REGTYPE", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 972365060, "histo_col_type": "", "name": "__auto__", "null_count": 1266130369, "row_count": 6000000000}, {"columns": ["col2_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3085278289, "histo_col_type": "", "name": "__auto__", "null_count": 3589194387, "row_count": 6000000000}, {"columns": ["col2_14"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3293604098, "histo_col_type": "", "name": "__auto__", "null_count": 3868815891, "row_count": 6000000000}, {"columns": ["col2_15"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5638321632, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col1_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 285851589, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1405561913, "histo_buckets": [{"distinct_range": 0, "num_eq": 200000000, "num_range": 0, "upper_bound": "2105993303"}], "histo_col_type": "OID", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_11"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5681361804, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3718762701, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 6000000000}, {"columns": ["col2_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4101146296, "histo_col_type": "", "name": "__auto__", "null_count": 590836537, "row_count": 6000000000}]';
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_13"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3045384441069141974, "histo_buckets": [{"distinct_range": 0, "num_eq": 100, "num_range": 0, "upper_bound": "00000000-0000-0000-0000-000000000000"}, {"distinct_range": 1076897215532515100, "num_eq": 8000000000, "num_range": 3801277233886133133, "upper_bound": "475064f1-d189-4642-82ba-7fb6c89c6bd4"}, {"distinct_range": 2212518541697542000, "num_eq": 80, "num_range": 2212518541697541898, "upper_bound": "581f2ed8-3d0e-44d3-8e44-28126874ff5a"}, {"distinct_range": 0, "num_eq": 30, "num_range": 8000000000, "upper_bound": "6e5ede61-47b5-409d-8d29-428babc0e993"}, {"distinct_range": 214475732184254700, "num_eq": 700, "num_range": 2681581744162904262, "upper_bound": "6fc64af9-197b-459f-88a9-153279b12432"}, {"distinct_range": 70000, "num_eq": 0, "num_range": 70000, "upper_bound": "7410d951-4bc6-4974-a5ac-061446a50f89"}, {"distinct_range": 5402335893784356000, "num_eq": 400, "num_range": 8617198378518160143, "upper_bound": "aac950d1-12d2-4c33-8c3a-357bef91772c"}, {"distinct_range"

@cockroach-teamcity
Copy link
Member Author

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

        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-temp217673188
        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:           5e8ab714-489b-4b6d-b362-b216cc46845e
        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    | 2020-12-11 06:13:56.102 UTC [48] LOG:  received fast shutdown request
        postgres_1    | waiting for server to shut down....2020-12-11 06:13:56.105 UTC [48] LOG:  aborting any active transactions
        postgres_1    | 2020-12-11 06:13:56.106 UTC [48] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
        postgres_1    | 2020-12-11 06:13:56.112 UTC [50] LOG:  shutting down
        postgres_1    | 2020-12-11 06:13:56.232 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    | 2020-12-11 06:13:56.313 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
        postgres_1    | 2020-12-11 06:13:56.313 UTC [1] LOG:  listening on IPv6 address "::", port 5432
        postgres_1    | 2020-12-11 06:13:56.318 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
        postgres_1    | 2020-12-11 06:13:56.332 UTC [85] LOG:  database system was shut down at 2020-12-11 06:13:56 UTC
        postgres_1    | 2020-12-11 06:13:56.337 UTC [1] LOG:  database system is ready to accept connections
        test_1        | --- FAIL: TestCompare (601.46s)
        test_1        |     --- FAIL: TestCompare/postgres (0.81s)
        test_1        |         compare_test.go:119: pgx conn: dial tcp 172.18.0.4:5432: connect: connection refused
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1

More

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

See this test on roachdash
powered by pkg/cmd/internal/issues

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 95028269160e0bfa2b94477238e72670bf780e9d:

        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).makeSelect(0xc0001921c0, 0xc000cb4050, 0x1, 0x1, 0xc0000a9400, 0xa, 0xa, 0x436b25, 0xc000a173f0, 0x5a78df, ...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:726 +0xcf
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeExists(0xc0001921c0, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0xa, 0x8, 0xc000b19c50)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:569 +0x8a
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.scalarNoContext.func1(0xc0001921c0, 0x0, 0xc0000a9400, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0x0, 0x0, 0x48)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:58 +0x5a
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeScalarSample(0xc0009c6bd0, 0xc0001921c0, 0x0, 0x0, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0x2f09118, 0x4147c00)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:93 +0xb2
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeBoolExprContext(...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:77
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeBoolExpr(...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:73
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeOr(0xc0001921c0, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0xa, 0x2, 0xc000b19c50)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:216 +0x12f
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.scalarNoContext.func1(0xc0001921c0, 0x0, 0xc0002b6000, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0xc000b19c50, 0x6e1e89d200000002, 0xc000000000)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:58 +0x5a
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeScalarSample(0xc0009c6bd0, 0xc0001921c0, 0x0, 0x0, 0x3dfe380, 0xc0000a9400, 0xa, 0xa, 0x1aa97a2, 0xc0002b6000)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:93 +0xb2
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeBoolExprContext(...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:77
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeBoolExpr(...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/scalar.go:73
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).makeWhere(0xc0001921c0, 0xc0000a9400, 0xa, 0xa, 0x1)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:1145 +0xa9
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).makeSelectClause(0xc0001921c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:552 +0x2fe
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).makeSelect(0xc0001921c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x54423e, 0xc0000a9318, 0xc000056001, ...)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:726 +0xcf
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.makeSelect(0xc0001921c0, 0x25915c8, 0x0, 0x0)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:679 +0x52
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).makeStmt(0xc0001921c0, 0x4321fa, 0xc0002f2de0, 0x0)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/relational.go:20 +0x45
        test_1        | github.com/cockroachdb/cockroach/pkg/internal/sqlsmith.(*Smither).Generate(0xc0001921c0, 0xc0002f2de0, 0x0)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/internal/sqlsmith/sqlsmith.go:158 +0x36
        test_1        | github.com/cockroachdb/cockroach/pkg/compose/compare/compare.TestCompare.func2(0xc000303c80)
        test_1        | 	/go/src/github.com/cockroachdb/cockroach/pkg/compose/compare/compare/compare_test.go:167 +0x9aa
        test_1        | testing.tRunner(0xc000303c80, 0xc000b19bf0)
        test_1        | 	/usr/local/go/src/testing/testing.go:1193 +0xef
        test_1        | created by testing.(*T).Run
        test_1        | 	/usr/local/go/src/testing/testing.go:1238 +0x2b3
        compare_test_1 exited with code 2
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 2
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ ea42b77e7b29fc97871a49b31f5b7ea951e6b7a4:

        postgres_1    | 2021-06-25 05:20:52.624 UTC [105] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2021-06-25 05:20:52.624 UTC [105] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(SELECT 1::OID AS col_327600, ulid_to_uuid('D'::TEXT::TEXT)::UUID AS col_327601) AS tab_251903
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_327600 NULLS FIRST, col_327601 NULLS FIRST
        test_1        | --- FAIL: TestCompare (832.59s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (229.53s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("2000-01-01 04:00:00F"),
        test_1        |             + 	string("2000-01-01 04:00:00+00F"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('2000-01-01 04:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ || 'F':::STRING::STRING)::STRING AS col_327994)
        test_1        |             		AS tab_252188
        test_1        |             ORDER BY
        test_1        |             	col_327994 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('2000-01-01 04:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ || 'F'::TEXT::TEXT)::TEXT AS col_327994)
        test_1        |             		AS tab_252188
        test_1        |             ORDER BY
        test_1        |             	col_327994 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 6b9d2a15f0c223c8dda04c5b2a39abe784b58bdd:

        postgres_1    | 	CREATE INDEX ON table2 (col2_2 DESC, col1_0 ASC, col2_1 DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col1_0 ASC, col2_1 ASC, col2_2 DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table2 (col1_0 DESC, col2_1, col2_2 ASC);
        postgres_1    | 	CREATE TABLE table3 (col1_0 INT4 NOT NULL, col3_1 "char" NOT NULL, col3_2 REGPROC NOT NULL, col3_3 BOOL, col3_4 FLOAT4, col3_5 INTERVAL, col3_6 REGTYPE NOT NULL, col3_7 REGPROC NOT NULL, col3_8 "char" NULL, col3_9 BIT(16) NULL, col3_10 FLOAT4 NULL, col3_11 REGCLASS NOT NULL, col3_12 INT4, col3_13 BYTEA NOT NULL, col3_14 BOOL NULL, col3_15 TIMETZ, col3_16 INT4, col3_17 FLOAT8 NOT NULL, PRIMARY KEY (col1_0, col3_1, col3_12, col3_5, col3_4, col3_2, col3_14, col3_6, col3_13, col3_16, col3_9, col3_3, col3_8));
        postgres_1    | 	CREATE UNIQUE INDEX ON table3 (col1_0, col3_14 DESC, col3_16 ASC, col3_9 ASC, col3_11 ASC, col3_6 ASC, col3_15, col3_2 DESC, col3_10 ASC, col3_13 DESC);
        postgres_1    | 	CREATE INDEX ON table3 (col3_15 DESC, col3_6, col3_7 DESC, col3_8 DESC, col3_14 DESC, col3_10, col3_3 DESC, col3_2 ASC, col3_5, col3_12);
        postgres_1    | 	CREATE UNIQUE INDEX ON table3 (col3_5 DESC, col3_14 DESC, col3_15 DESC);
        postgres_1    | 	CREATE UNIQUE INDEX ON table3 (col3_12 ASC, col3_1) INCLUDE (col3_7, col3_11, col3_15);
        postgres_1    | 	CREATE UNIQUE INDEX ON table3 (col3_13 ASC, col3_1, col3_7 DESC, col1_0 DESC, col3_6 ASC, col3_8, col3_11 ASC);
        postgres_1    | 	CREATE INDEX ON table3 (col3_15 DESC, col3_12, col3_17, col3_2 DESC);
        postgres_1    | 	CREATE INDEX ON table3 (col3_14, col3_2);
        postgres_1    | 	CREATE UNIQUE INDEX ON table3 (col3_7 ASC, col3_13, col3_11, col3_1, col3_2 ASC, col3_15 DESC, col3_3 ASC);
        postgres_1    | 	CREATE TYPE rand_typ_0 AS ENUM ('h', 'xblax', 'xrasft', 'uderv', 'su');
        postgres_1    | 	
        test_1        | --- FAIL: TestCompare (608.23s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (4.05s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:149: CREATE TABLE table1 (col1_0 INT4 NOT NULL, col1_1 TEXT NOT NULL, col1_2 REGNAMESPACE, col1_3 UUID, col1_4 REGPROCEDURE, col1_5 GEOGRAPHY, col1_6 REGCLASS NOT NULL, col1_7 OID NULL, col1_8 NAME NOT NULL, col1_9 INET NULL, PRIMARY KEY (col1_0), col1_10 TEXT GENERATED ALWAYS AS (lower(CAST(col1_3 AS TEXT))) STORED, col1_11 TEXT GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN e'\x1a'::TEXT ELSE e'9/*3W\x1f\x18'::TEXT END) STORED, col1_12 TEXT NOT NULL GENERATED ALWAYS AS (lower(col1_8)) STORED, col1_13 TEXT GENERATED ALWAYS AS (CASE WHEN col1_4 IS NULL THEN e'"N\n>|'::TEXT ELSE e'f\x01;'::TEXT END) STORED, col1_14 TEXT NULL GENERATED ALWAYS AS (lower(CAST(col1_9 AS TEXT))) STORED, col1_15 TEXT GENERATED ALWAYS AS (CASE WHEN col1_2 IS NULL THEN NULL ELSE e'\U00002603'::TEXT END) STORED, col1_16 TEXT NOT NULL GENERATED ALWAYS AS (lower(col1_1)) STORED);
        test_1        |             CREATE TABLE table2 (col1_0 INT4 NOT NULL, col2_1 TIMESTAMPTZ, col2_2 TIMESTAMPTZ, PRIMARY KEY (col1_0));
        test_1        |             CREATE INDEX ON table2 (col2_2 DESC, col1_0 ASC, col2_1 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_0 ASC, col2_1 ASC, col2_2 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table2 (col1_0 DESC, col2_1, col2_2 ASC);
        test_1        |             CREATE TABLE table3 (col1_0 INT4 NOT NULL, col3_1 "char" NOT NULL, col3_2 REGPROC NOT NULL, col3_3 BOOL, col3_4 FLOAT4, col3_5 INTERVAL, col3_6 REGTYPE NOT NULL, col3_7 REGPROC NOT NULL, col3_8 "char" NULL, col3_9 BIT(16) NULL, col3_10 FLOAT4 NULL, col3_11 REGCLASS NOT NULL, col3_12 INT4, col3_13 BYTEA NOT NULL, col3_14 BOOL NULL, col3_15 TIMETZ, col3_16 INT4, col3_17 FLOAT8 NOT NULL, PRIMARY KEY (col1_0, col3_1, col3_12, col3_5, col3_4, col3_2, col3_14, col3_6, col3_13, col3_16, col3_9, col3_3, col3_8));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col1_0, col3_14 DESC, col3_16 ASC, col3_9 ASC, col3_11 ASC, col3_6 ASC, col3_15, col3_2 DESC, col3_10 ASC, col3_13 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_15 DESC, col3_6, col3_7 DESC, col3_8 DESC, col3_14 DESC, col3_10, col3_3 DESC, col3_2 ASC, col3_5, col3_12);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_5 DESC, col3_14 DESC, col3_15 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_12 ASC, col3_1) INCLUDE (col3_7, col3_11, col3_15);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_13 ASC, col3_1, col3_7 DESC, col1_0 DESC, col3_6 ASC, col3_8, col3_11 ASC);
        test_1        |             CREATE INDEX ON table3 (col3_15 DESC, col3_12, col3_17, col3_2 DESC);
        test_1        |             CREATE INDEX ON table3 (col3_14, col3_2);
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_7 ASC, col3_13, col3_11, col3_1, col3_2 ASC, col3_15 DESC, col3_3 ASC);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('h', 'xblax', 'xrasft', 'uderv', 'su');
        test_1        |             
        test_1        |         compare_test.go:150: postgres: exec: ERROR: conversion between UTF8 and SQL_ASCII is not supported (SQLSTATE 0A000)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_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
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ a142e392ddebb2d8a7c575170ac168cdefa90088:

        test_1        |     --- FAIL: TestCompare/postgres (123.85s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |               	nil,
        test_1        |             - 	string("2000-01-01 00:00:00+00D"),
        test_1        |             + 	string("2000-01-01 00:00:00D"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			NULL AS col_139698,
        test_1        |             			((('2000-01-01 06:00:00':::TIMESTAMP::TIMESTAMP - '2000-01-01 07:00:00':::TIMESTAMP::TIMESTAMP)::INTERVAL::INTERVAL + '2000-01-01 01:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)::TIMESTAMPTZ::TIMESTAMPTZ || 'D':::STRING::STRING)::STRING
        test_1        |             				AS col_139699
        test_1        |             	)
        test_1        |             		AS tab_82540
        test_1        |             ORDER BY
        test_1        |             	col_139698 NULLS FIRST, col_139699 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			NULL AS col_139698,
        test_1        |             			((('2000-01-01 06:00:00'::TIMESTAMP::TIMESTAMP - '2000-01-01 07:00:00'::TIMESTAMP::TIMESTAMP)::INTERVAL::INTERVAL + '2000-01-01 01:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TIMESTAMPTZ::TIMESTAMPTZ || 'D'::TEXT::TEXT)::TEXT
        test_1        |             				AS col_139699
        test_1        |             	)
        test_1        |             		AS tab_82540
        test_1        |             ORDER BY
        test_1        |             	col_139698 NULLS FIRST, col_139699 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ d43d9fddbebac7eff03804a7d86f7b6af119f24f:

        test_1        |             			NULL AS col_30680
        test_1        |             		FROM
        test_1        |             			postgres.public.table2@primary AS tab_16761
        test_1        |             			JOIN postgres.public.table2@[0] AS tab_16762 ON (tab_16761.col2_1) = (tab_16762.col2_5)
        test_1        |             			JOIN postgres.public.table2@[0] AS tab_16763
        test_1        |             				JOIN postgres.public.table1@[0] AS tab_16764
        test_1        |             					JOIN postgres.public.table2 AS tab_16765
        test_1        |             						JOIN postgres.public.table2 AS tab_16766 ON
        test_1        |             								(tab_16765.col2_3) = (tab_16766.col2_3) AND (tab_16765.col2_1) = (tab_16766.col2_1) ON
        test_1        |             							(tab_16764.col1_1) = (tab_16766.col2_1)
        test_1        |             							AND (tab_16764.col1_1) = (tab_16765.col2_1)
        test_1        |             							AND (tab_16764.col1_1) = (tab_16766.col2_1)
        test_1        |             					JOIN postgres.public.table1@[0] AS tab_16767 ON (tab_16764.col1_7) = (tab_16767.col1_9)
        test_1        |             					JOIN postgres.public.table2@primary AS tab_16768 ON
        test_1        |             							(tab_16765.col2_1) = (tab_16768.col2_6) AND (tab_16766.col2_1) = (tab_16768.col2_4) ON
        test_1        |             						(tab_16763.col2_3) = (tab_16765.col2_1)
        test_1        |             						AND (tab_16763.col2_4) = (tab_16767.col1_1)
        test_1        |             						AND (tab_16763.col2_1) = (tab_16768.col2_1)
        test_1        |             				LEFT JOIN postgres.public.table1@[0] AS tab_16769
        test_1        |             					CROSS JOIN postgres.public.table1@[0] AS tab_16770
        test_1        |             						JOIN postgres.public.table2@primary AS tab_16771
        test_1        |             							JOIN postgres.public.table1@[0] AS tab_16772 ON (tab_16771.tableoid) = (tab_16772.col1_7) ON
        test_1        |             								(tab_16770.col1_11) = (tab_16772.col1_12) ON true ON
        test_1        |             					(tab_16762.col2_5) = (tab_16763.col2_3) AND (tab_16762.col2_5) = (tab_16771.col2_5)
        test_1        |             		WHERE
        test_1        |             			true
        test_1        |             	)
        test_1        |             		AS tab_16773
        test_1        |             ORDER BY
        test_1        |             	col_30672 NULLS FIRST,
        test_1        |             	CAST(col_30673 AS STRING) NULLS FIRST,
        test_1        |             	col_30674 NULLS FIRST,
        test_1        |             	col_30675 NULLS FIRST,
        test_1        |             	col_30676 NULLS FIRST,
        test_1        |             	col_30677 NULLS FIRST,
        test_1        |             	col_30678 NULLS FIRST,
        test_1        |             	CAST(col_30679 AS STRING) NULLS FIRST,
        test_1        |             	CAST(col_30680 AS STRING) NULLS FIRST
        test_1        |         compare_test.go:182: cockroach1: ping: context deadline exceeded
        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
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 085d7116cbe862f3ced540508778367ce42146f8:

        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (9.70s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	s"0",
        test_1        |             + 	s"1",
        test_1        |               	[]uint8{0x43},
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			ceil(pow(0:::DECIMAL::DECIMAL, 0:::DECIMAL::DECIMAL)::DECIMAL::DECIMAL)::DECIMAL AS col_8087,
        test_1        |             			'\x43':::BYTES AS col_8088
        test_1        |             	)
        test_1        |             		AS tab_4600
        test_1        |             ORDER BY
        test_1        |             	col_8087 NULLS FIRST, col_8088 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			ceil(pow(0::DECIMAL::DECIMAL, 0::DECIMAL::DECIMAL)::DECIMAL::DECIMAL)::DECIMAL AS col_8087,
        test_1        |             			'\x43'::BYTEA AS col_8088
        test_1        |             	)
        test_1        |             		AS tab_4600
        test_1        |             ORDER BY
        test_1        |             	col_8087 NULLS FIRST, col_8088 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ cea4a80a82676db34f9b743469e75b87b1e75a06:

        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				(true AND NULL) AS col_41090,
        postgres_1    | 				st_polygonfromtext('J'::TEXT::TEXT, 2::INT8::INT4)::GEOMETRY AS col_41091
        postgres_1    | 		)
        postgres_1    | 			AS tab_23375
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_41090 NULLS FIRST, col_41091 NULLS FIRST
        test_1        | --- FAIL: TestCompare (633.93s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (30.81s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	s"8",
        test_1        |             + 	int16(8),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT COALESCE(st_zmflag(NULL::GEOMETRY)::INT2, 8:::INT8) AS col_41254) AS tab_23488
        test_1        |             ORDER BY
        test_1        |             	col_41254 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT COALESCE(st_zmflag(NULL::GEOMETRY)::INT2, 8::INT8) AS col_41254) AS tab_23488
        test_1        |             ORDER BY
        test_1        |             	col_41254 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ eb7f3fe2991992472a68d701d65543f7a9c7fb56:

        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, B'1000', '00:06:00':::TIME),
        test_1        |             					(0:::INT8, B'0100', '00:06:00':::TIME),
        test_1        |             					(9:::INT8, B'0110', '00:09:00':::TIME),
        test_1        |             					(1:::INT8, B'1000', '00:05:00':::TIME),
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, B'0011', '00:00:00':::TIME),
        test_1        |             					(7:::INT8, B'1001', '00:09:00':::TIME)
        test_1        |             			)
        test_1        |             				AS tab_406450 (col_738553, col_738554, col_738555)
        test_1        |             	)
        test_1        |             		AS tab_406451
        test_1        |             ORDER BY
        test_1        |             	col_738556 NULLS FIRST, col_738557 NULLS FIRST, col_738558 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			'00:03:00'::TIME AS col_738556, B'0110' AS col_738557, tab_406450.col_738553 AS col_738558
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, B'1000', '00:06:00'::TIME),
        test_1        |             					(0::INT8, B'0100', '00:06:00'::TIME),
        test_1        |             					(9::INT8, B'0110', '00:09:00'::TIME),
        test_1        |             					(1::INT8, B'1000', '00:05:00'::TIME),
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, B'0011', '00:00:00'::TIME),
        test_1        |             					(7::INT8, B'1001', '00:09:00'::TIME)
        test_1        |             			)
        test_1        |             				AS tab_406450 (col_738553, col_738554, col_738555)
        test_1        |             	)
        test_1        |             		AS tab_406451
        test_1        |             ORDER BY
        test_1        |             	col_738556 NULLS FIRST, col_738557 NULLS FIRST, col_738558 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7121f6d80505801cc432a178ad8b6dacbaac1448:

        postgres_1    | 			AS tab_92066
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_143481 NULLS FIRST,
        postgres_1    | 		col_143482 NULLS FIRST,
        postgres_1    | 		col_143483 NULLS FIRST,
        postgres_1    | 		col_143484 NULLS FIRST,
        postgres_1    | 		col_143485 NULLS FIRST
        test_1        | --- FAIL: TestCompare (694.95s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (93.72s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("J2000-01-01 00:00:00"),
        test_1        |             + 	string("J2000-01-01 00:00:00+00"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('J'::TEXT::TEXT || '2000-01-01 00:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT AS col_143772)
        test_1        |             		AS tab_92267
        test_1        |             ORDER BY
        test_1        |             	col_143772 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('J':::STRING::STRING || '2000-01-01 00:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)::STRING AS col_143772)
        test_1        |             		AS tab_92267
        test_1        |             ORDER BY
        test_1        |             	col_143772 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 84ec89c77841016da0b9c4c71772a4304bad45a5:

        postgres_1    | 2021-07-06 05:15:10.706 UTC [96] LOG:  database system was shut down at 2021-07-06 05:15:10 UTC
        postgres_1    | 2021-07-06 05:15:10.711 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2021-07-06 05:15:17.841 UTC [106] ERROR:  cannot cast type interval to double precision at character 67
        postgres_1    | 2021-07-06 05:15:17.841 UTC [106] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				percentile_cont('00:00:09'::INTERVAL::FLOAT8)::INTERVAL AS col_123, 6::INT8 AS col_124, NULL AS col_125
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_68
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_68.col1_3, tab_68.col1_2, tab_68.col1_0
        postgres_1    | 			HAVING
        postgres_1    | 				bool_and(NULL::BOOL)::BOOL
        postgres_1    | 		)
        postgres_1    | 			AS tab_69
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_123 NULLS FIRST, col_124 NULLS FIRST, col_125 NULLS FIRST
        test_1        | --- FAIL: TestCompare (613.50s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (6.95s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare postgres to cockroach1:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("3.1.2 cbe925d"),
        test_1        |             + 	string("3.0.1 ec2a9aa"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT * FROM (SELECT postgis_scripts_installed()::STRING AS col_261) AS tab_140 ORDER BY col_261 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT * FROM (SELECT postgis_scripts_installed()::TEXT AS col_261) AS tab_140 ORDER BY col_261 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ ba689f91a5bbd7737a8a229522048b2ba91b2ec0:

        postgres_1    | 2021-07-07 05:16:12.249 UTC [107] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				count(*) AS col_80674
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table2 AS tab_48716
        postgres_1    | 			WHERE
        postgres_1    | 				parse_timestamp(tab_48716.col2_13::TEXT)::TIMESTAMP::TIMESTAMP
        postgres_1    | 				NOT IN (SELECT '2000-01-01 01:00:00'::TIMESTAMP::TIMESTAMP AS col_80675)
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_48716.col2_4
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_48716.col2_4 ASC
        postgres_1    | 		)
        postgres_1    | 			AS tab_48717
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_80674 NULLS FIRST
        test_1        | --- FAIL: TestCompare (704.29s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (101.03s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("3.0.1 ec2a9aa"),
        test_1        |             + 	string("3.1.2 cbe925d"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT * FROM (SELECT postgis_scripts_installed()::STRING AS col_80744) AS tab_48764 ORDER BY col_80744 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT * FROM (SELECT postgis_scripts_installed()::TEXT AS col_80744) AS tab_48764 ORDER BY col_80744 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 7d0fd136a538b22cbf9bfff03b2885b7783711aa:

        postgres_1    | 				postgres.public.table1 AS tab_395201
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_395201.col1_2, tab_395201.tableoid, tab_395201.col1_0
        postgres_1    | 		)
        postgres_1    | 			AS tab_395202
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_510249 NULLS FIRST
        test_1        | --- FAIL: TestCompare (984.32s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (380.90s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("I2000-01-01 05:00:00"),
        test_1        |             + 	string("I2000-01-01 05:00:00+00"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('I'::TEXT::TEXT || '2000-01-01 05:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ)::TEXT AS col_510279)
        test_1        |             		AS tab_395224
        test_1        |             ORDER BY
        test_1        |             	col_510279 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT ('I':::STRING::STRING || '2000-01-01 05:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ)::STRING AS col_510279)
        test_1        |             		AS tab_395224
        test_1        |             ORDER BY
        test_1        |             	col_510279 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ c543d448266e2e1e3adefe3a55f920beacd848b3:

        postgres_1    | 				true
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_34972.tableoid, tab_34973.col1_5, tab_34973.col1_7, tab_34972.col1_3, tab_34972.col1_1
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_34972.col1_1, tab_34973.col1_5 DESC, tab_34973.col1_7, tab_34972.col1_3
        postgres_1    | 		)
        postgres_1    | 			AS tab_34974
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_63343 NULLS FIRST
        test_1        | --- FAIL: TestCompare (644.05s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (39.64s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	int16(3),
        test_1        |             + 	s"3",
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT COALESCE(st_zmflag(NULL::GEOMETRY)::INT2, 3:::INT8) AS col_64053) AS tab_35364
        test_1        |             ORDER BY
        test_1        |             	col_64053 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT COALESCE(st_zmflag(NULL::GEOMETRY)::INT2, 3::INT8) AS col_64053) AS tab_35364
        test_1        |             ORDER BY
        test_1        |             	col_64053 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 0a48b0b74b0a6057f1d418875b97830359a52ec6:

        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	int16(2),
        test_1        |             + 	s"2",
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab_107193.col_177797 AS col_177798
        test_1        |             		FROM
        test_1        |             			(VALUES (st_zmflag(NULL::GEOMETRY)::INT2), (7:::INT8), (2:::INT8), (9:::INT8), (NULL))
        test_1        |             				AS tab_107193 (col_177797)
        test_1        |             	)
        test_1        |             		AS tab_107194
        test_1        |             ORDER BY
        test_1        |             	col_177798 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab_107193.col_177797 AS col_177798
        test_1        |             		FROM
        test_1        |             			(VALUES (st_zmflag(NULL::GEOMETRY)::INT2), (7::INT8), (2::INT8), (9::INT8), (NULL))
        test_1        |             				AS tab_107193 (col_177797)
        test_1        |             	)
        test_1        |             		AS tab_107194
        test_1        |             ORDER BY
        test_1        |             	col_177798 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_postgres_1   ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 9ba3068987a973a92757db53800dfafbf8a262e7:

        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (22.48s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("2000-01-01 01:00:00E"),
        test_1        |             + 	string("2000-01-01 01:00:00+00E"),
        test_1        |               	string("H"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			('2000-01-01 01:00:00+00:00':::TIMESTAMPTZ::TIMESTAMPTZ || 'E':::STRING::STRING)::STRING AS col_27620,
        test_1        |             			'H':::STRING AS col_27621
        test_1        |             	)
        test_1        |             		AS tab_14127
        test_1        |             ORDER BY
        test_1        |             	col_27620 NULLS FIRST, col_27621 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			('2000-01-01 01:00:00+00:00'::TIMESTAMPTZ::TIMESTAMPTZ || 'E'::TEXT::TEXT)::TEXT AS col_27620,
        test_1        |             			'H'::TEXT AS col_27621
        test_1        |             	)
        test_1        |             		AS tab_14127
        test_1        |             ORDER BY
        test_1        |             	col_27620 NULLS FIRST, col_27621 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ dd1cdfc3b542c500e62986a7250c4f44137701c7:

        test_1        |             						AND (tab_300556.tableoid) = (tab_300557.tableoid)
        test_1        |             						AND (tab_300556.col3_2) = (tab_300559.col1_9)
        test_1        |             						AND (tab_300556.col3_1) = (tab_300560.col3_1)
        test_1        |             						AND (tab_300556.col3_0) = (tab_300557.col3_2)
        test_1        |             						AND (tab_300556.col3_2) = (tab_300559.col1_2)
        test_1        |             						AND (tab_300556.crdb_internal_mvcc_timestamp) = (tab_300558.crdb_internal_mvcc_timestamp)
        test_1        |             						AND (tab_300556.col3_0) = (tab_300559.col1_8) ON
        test_1        |             					(tab_300554.col3_2) = (tab_300558.col3_2)
        test_1        |             					AND (tab_300555.col3_2) = (tab_300559.col1_2)
        test_1        |             					AND (tab_300555.col3_2) = (tab_300558.col3_2)
        test_1        |             			JOIN postgres.public.table1@[0] AS tab_300561
        test_1        |             				JOIN postgres.public.table3@[0] AS tab_300562
        test_1        |             					JOIN postgres.public.table2@primary AS tab_300563
        test_1        |             						JOIN postgres.public.table2@primary AS tab_300564 ON
        test_1        |             								(tab_300563.col2_9) = (tab_300564.col2_0) ON
        test_1        |             							(tab_300562.col3_1) = (tab_300564.col2_4) ON
        test_1        |             						(tab_300561.tableoid) = (tab_300562.tableoid) AND (tab_300561.col1_12) = (tab_300563.col2_10) ON
        test_1        |             					(tab_300559.col1_8) = (tab_300561.col1_9)
        test_1        |             					AND (tab_300558.tableoid) = (tab_300564.col2_6)
        test_1        |             					AND (tab_300560.col3_2) = (tab_300562.col3_0)
        test_1        |             					AND (tab_300557.col3_0) = (tab_300561.col1_7)
        test_1        |             					AND (tab_300560.col3_0) = (tab_300562.col3_0)
        test_1        |             					AND (tab_300556.col3_2) = (tab_300562.col3_2)
        test_1        |             					AND (tab_300559.col1_7) = (tab_300561.col1_10)
        test_1        |             					AND (tab_300556.col3_1) = (tab_300564.col2_4)
        test_1        |             		ORDER BY
        test_1        |             			tab_300559.col1_9
        test_1        |             	)
        test_1        |             		AS tab_300565
        test_1        |             ORDER BY
        test_1        |             	col_468640 NULLS FIRST,
        test_1        |             	col_468641 NULLS FIRST,
        test_1        |             	col_468642 NULLS FIRST,
        test_1        |             	col_468643 NULLS FIRST,
        test_1        |             	col_468644 NULLS FIRST,
        test_1        |             	col_468645 NULLS FIRST,
        test_1        |             	col_468646 NULLS FIRST,
        test_1        |             	col_468647 NULLS FIRST
        test_1        |         compare_test.go:182: cockroach1: ping: context deadline exceeded
        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
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 5a0b11e4208ad8dc2a957f3f70199c2600155ba6:

        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab_47406.col_89114 AS col_89116, tab_47406.col_89115 AS col_89117, tab_47406.col_89113 AS col_89118
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, '00:01:00':::TIME, 'H':::STRING),
        test_1        |             					(8:::INT8, ('00:02:00':::TIME::TIME + '00:00:03':::INTERVAL::INTERVAL)::TIME, 'D':::STRING),
        test_1        |             					(4:::INT8, '00:03:00':::TIME, 'G':::STRING),
        test_1        |             					(1:::INT8, '00:00:00':::TIME, 'I':::STRING)
        test_1        |             			)
        test_1        |             				AS tab_47406 (col_89113, col_89114, col_89115)
        test_1        |             	)
        test_1        |             		AS tab_47407
        test_1        |             ORDER BY
        test_1        |             	col_89116 NULLS FIRST, col_89117 NULLS FIRST, col_89118 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(
        test_1        |             		SELECT
        test_1        |             			tab_47406.col_89114 AS col_89116, tab_47406.col_89115 AS col_89117, tab_47406.col_89113 AS col_89118
        test_1        |             		FROM
        test_1        |             			(
        test_1        |             				VALUES
        test_1        |             					(st_zmflag(NULL::GEOMETRY)::INT2, '00:01:00'::TIME, 'H'::TEXT),
        test_1        |             					(8::INT8, ('00:02:00'::TIME::TIME + '00:00:03'::INTERVAL::INTERVAL)::TIME, 'D'::TEXT),
        test_1        |             					(4::INT8, '00:03:00'::TIME, 'G'::TEXT),
        test_1        |             					(1::INT8, '00:00:00'::TIME, 'I'::TEXT)
        test_1        |             			)
        test_1        |             				AS tab_47406 (col_89113, col_89114, col_89115)
        test_1        |             	)
        test_1        |             		AS tab_47407
        test_1        |             ORDER BY
        test_1        |             	col_89116 NULLS FIRST, col_89117 NULLS FIRST, col_89118 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 31cdc0e4e0c5dda4cf67b53b45c36faf6a24eb33:

        postgres_1    | 2021-07-15 05:16:26.540 UTC [105] ERROR:  operator does not exist: bigint >> bigint at character 68
        postgres_1    | 2021-07-15 05:16:26.540 UTC [105] HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2021-07-15 05:16:26.540 UTC [105] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(SELECT NULL::OID AS col_237, (0::INT8::INT8::INT8 >> 6::INT8::INT8::INT8)::INT8 AS col_238) AS tab_101
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_237 NULLS FIRST, col_238 NULLS FIRST
        test_1        | --- FAIL: TestCompare (606.54s)
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     --- FAIL: TestCompare/postgres (2.12s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |               	s"4",
        test_1        |             - 	string("0"),
        test_1        |             + 	string("-"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT 4::INT8::INT8 AS col_513, 0::OID::REGCLASS AS col_514) AS tab_234
        test_1        |             ORDER BY
        test_1        |             	col_513 NULLS FIRST, col_514 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT
        test_1        |             	*
        test_1        |             FROM
        test_1        |             	(SELECT 4:::INT8::INT8 AS col_513, 0:::OID::REGCLASS AS col_514) AS tab_234
        test_1        |             ORDER BY
        test_1        |             	col_513 NULLS FIRST, col_514 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach2_1 ... 
        Stopping compare_cockroach1_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach2_1 ... done
        Stopping compare_cockroach1_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 4e2ee35288faf691d655d51e315a14fffab431ac:

        postgres_1    | 		col_206 NULLS FIRST
        postgres_1    | 2021-07-16 05:16:29.991 UTC [106] ERROR:  function xor_agg(bytea) does not exist at character 60
        postgres_1    | 2021-07-16 05:16:29.991 UTC [106] HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
        postgres_1    | 2021-07-16 05:16:29.991 UTC [106] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				tab_131.tableoid AS col_241, xor_agg(tab_131.col2_5::BYTEA)::BYTEA AS col_242
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table2 AS tab_131
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_131.tableoid, tab_131.col2_5
        postgres_1    | 			ORDER BY
        postgres_1    | 				tab_131.col2_5
        postgres_1    | 		)
        postgres_1    | 			AS tab_132
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_241 NULLS FIRST, col_242 NULLS FIRST
        test_1        | --- FAIL: TestCompare (605.45s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     --- FAIL: TestCompare/postgres (2.01s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("0"),
        test_1        |             + 	string("-"),
        test_1        |               }))
        test_1        |             postgres:
        test_1        |             SELECT * FROM (SELECT 0::OID::REGNAMESPACE AS col_288) AS tab_159 ORDER BY col_288 NULLS FIRST;
        test_1        |             
        test_1        |             cockroach1:
        test_1        |             SELECT * FROM (SELECT 0:::OID::REGNAMESPACE AS col_288) AS tab_159 ORDER BY col_288 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

craig bot pushed a commit that referenced this issue Jul 19, 2021
67718: sqlsmith: avoid reg* casts in postgres mode r=otan a=rafiss

These casts are not deterministic, so cause flaky tests.

After adding this, I ran #56845 locally for 10 minutes
and it passed.

Release note: None

Co-authored-by: Rafi Shamim <[email protected]>
@rafiss rafiss linked a pull request Jul 19, 2021 that will close this issue
@rafiss rafiss self-assigned this Jul 19, 2021
@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ 5a5b3dc446fcfc2d3e28b6775ae9bb1a63376210:

        test_1        |             			JOIN postgres.public.table1 AS tab_156663
        test_1        |             				JOIN postgres.public.table1 AS tab_156664 ON
        test_1        |             						(tab_156663.col1_14) = (tab_156664.col1_14)
        test_1        |             						AND (tab_156663.col1_11) = (tab_156664.col1_11)
        test_1        |             						AND (tab_156663.col1_9) = (tab_156664.col1_9)
        test_1        |             						AND (tab_156663.col1_16) = (tab_156664.col1_16)
        test_1        |             				JOIN postgres.public.table1@[0] AS tab_156665
        test_1        |             					JOIN postgres.public.table1 AS tab_156666
        test_1        |             						JOIN postgres.public.table1 AS tab_156667 ON (tab_156666.col1_11) = (tab_156667.col1_14)
        test_1        |             						JOIN postgres.public.table1@table1_col1_11_col1_12_col1_0_col1_8_col1_17_col1_1_col1_2_idx
        test_1        |             								AS tab_156668
        test_1        |             							JOIN postgres.public.table1@table1_col1_14_col1_8_col1_17_col1_16_col1_9_col1_11_idx
        test_1        |             									AS tab_156669 ON
        test_1        |             									(tab_156668.col1_10) = (tab_156669.col1_6)
        test_1        |             									AND (tab_156668.col1_11) = (tab_156669.col1_17)
        test_1        |             							JOIN postgres.public.table1@table1_col1_11_col1_12_col1_0_col1_8_col1_17_col1_1_col1_2_idx
        test_1        |             									AS tab_156670 ON (tab_156669.col1_13) = (tab_156670.col1_17) ON
        test_1        |             								(tab_156667.col1_14) = (tab_156668.col1_11) ON
        test_1        |             							(tab_156665.col1_11) = (tab_156668.col1_14)
        test_1        |             							AND (tab_156665.col1_14) = (tab_156669.col1_13) ON
        test_1        |             						(tab_156663.col1_8) = (tab_156669.col1_8) AND (tab_156664.col1_8) = (tab_156670.col1_8)
        test_1        |             				CROSS JOIN postgres.public.table1@table1_col1_14_col1_8_col1_17_col1_16_col1_9_col1_11_idx
        test_1        |             						AS tab_156671 ON
        test_1        |             					(tab_156662.col1_13) = (tab_156665.col1_17) AND (tab_156662.col1_4) = (tab_156669.col1_4)
        test_1        |             			JOIN postgres.public.table1@[0] AS tab_156672 ON
        test_1        |             					(tab_156669.col1_10) = (tab_156672.col1_15)
        test_1        |             					AND (tab_156665.col1_11) = (tab_156672.col1_17)
        test_1        |             					AND (tab_156669.col1_16) = (tab_156672.col1_11)
        test_1        |             		GROUP BY
        test_1        |             			tab_156671.col1_1, tab_156664.col1_8, tab_156663.col1_8, tab_156669.col1_16, tab_156670.col1_12
        test_1        |             	)
        test_1        |             		AS tab_156673
        test_1        |             ORDER BY
        test_1        |             	col_269126 NULLS FIRST,
        test_1        |             	col_269127 NULLS FIRST,
        test_1        |             	col_269128 NULLS FIRST,
        test_1        |             	col_269129 NULLS FIRST,
        test_1        |             	col_269130 NULLS FIRST
        test_1        |         compare_test.go:182: cockroach1: ping: context deadline exceeded
        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
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ efb4fd2b406cd47b505b4f1a1d5700fc79841469:

        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:149: SET CLUSTER SETTING "sql.defaults.drop_enum_value.enabled" = true;
        test_1        |             SET enable_drop_enum_value = true;
        test_1        |             SET CLUSTER SETTING "sql.stats.automatic_collection.enabled" = false;
        test_1        |             SET CLUSTER SETTING "sql.stats.histogram_collection.enabled" = false;
        test_1        |             SET CLUSTER SETTING "sql.defaults.interleaved_tables.enabled" = true;
        test_1        |             CREATE TABLE table1 (col1_0 FLOAT4 NULL, col1_1 BOX2D, col1_2 REGPROCEDURE, col1_3 CHAR NOT NULL, PRIMARY KEY (col1_3), col1_4 STRING NOT NULL AS (lower(col1_3)) VIRTUAL, FAMILY (col1_0, col1_1), FAMILY (col1_3, col1_2));
        test_1        |             CREATE INDEX ON table1 (col1_0, col1_3 DESC) STORING (col1_1, col1_2);
        test_1        |             CREATE INDEX ON table1 (col1_0 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_0, col1_3) STORING (col1_2);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_2 ASC, col1_0, col1_4 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_3 ASC, col1_2, col1_0 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_4 DESC, col1_0 ASC, col1_3, col1_2 ASC);
        test_1        |             CREATE INDEX ON table1 (col1_0 DESC, col1_4 DESC, col1_3 DESC, col1_2 DESC);
        test_1        |             CREATE INDEX ON table1 (col1_4) STORING (col1_0, col1_1);
        test_1        |             CREATE UNIQUE INDEX ON table1 (col1_3, col1_2);
        test_1        |             CREATE TABLE table2 (col2_0 INT8 NOT NULL, col2_1 BOX2D NOT NULL, PRIMARY KEY (col2_0), FAMILY (col2_0), FAMILY (col2_1));
        test_1        |             CREATE TABLE table3 (col3_0 INTERVAL[], col3_1 REGPROCEDURE, col3_2 REGPROC, col3_3 STRING NOT NULL, col3_4 VARCHAR, col3_5 TIME, col3_6 INT4, col3_7 UUID NULL, col3_8 DECIMAL, col3_9 STRING AS (lower(CAST(col3_5 AS STRING))) STORED, col3_10 STRING AS (lower(CAST(col3_5 AS STRING))) STORED, FAMILY (col3_5, col3_10), FAMILY (col3_3), FAMILY (col3_7, col3_0, col3_9), FAMILY (col3_8), FAMILY (col3_1, col3_6, col3_2, col3_4));
        test_1        |             CREATE UNIQUE INDEX ON table3 (col3_2 ASC, col3_8 ASC, col3_10 DESC, col3_5, col3_4 DESC, col3_3 DESC, col3_6 ASC, col3_1 DESC, col3_9 DESC);
        test_1        |             CREATE TABLE table4 (col4_0 REGPROCEDURE NOT NULL, col4_1 INTERVAL NULL, col4_2 STRING NOT NULL AS (CASE WHEN col4_0 IS NULL THEN NULL ELSE e'gFR\x1dX\x06':::STRING END) STORED);
        test_1        |             CREATE INDEX ON table4 (col4_2, col4_1, col4_0);
        test_1        |             CREATE INDEX ON table4 (col4_1 DESC, col4_2) STORING (col4_0);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_2, col4_0 DESC, col4_1 ASC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_2);
        test_1        |             CREATE INDEX ON table4 (col4_2 ASC) STORING (col4_0, col4_1);
        test_1        |             CREATE INDEX ON table4 (col4_2 DESC, col4_1 ASC, col4_0);
        test_1        |             CREATE INDEX ON table4 (col4_1, col4_2 ASC, col4_0 DESC);
        test_1        |             CREATE INDEX ON table4 (col4_2 DESC);
        test_1        |             CREATE UNIQUE INDEX ON table4 (col4_1 DESC) STORING (col4_0);
        test_1        |             ALTER TABLE table1 INJECT STATISTICS e'[{"columns": ["col1_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5927383799, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000000000, "num_range": 0, "upper_bound": "-0.6403723359107971"}, {"distinct_range": 418907.11835735396, "num_eq": 7807824149118136424, "num_range": 500000, "upper_bound": "-0.5772502422332764"}, {"distinct_range": 411601.25857082463, "num_eq": 4000000, "num_range": 2000000, "upper_bound": "1.551409363746643"}], "histo_col_type": "FLOAT4", "name": "__auto__", "null_count": 5285169536, "row_count": 10000000000}, {"columns": ["col1_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 125000333, "histo_col_type": "", "name": "__auto__", "null_count": 1617187703, "row_count": 10000000000}, {"columns": ["col1_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 4974851521, "histo_col_type": "", "name": "__auto__", "null_count": 4111343495, "row_count": 10000000000}, {"columns": ["col1_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1046348220, "histo_buckets": [{"distinct_range": 0, "num_eq": 1010100944634062141, "num_range": 0, "upper_bound": "#"}, {"distinct_range": 23600351428.831707, "num_eq": 90000000, "num_range": 30000000000, "upper_bound": "*"}, {"distinct_range": 0, "num_eq": 5610536975232273970, "num_range": 8000000, "upper_bound": "G"}, {"distinct_range": 3827723.840865599, "num_eq": 100, "num_range": 6000000, "upper_bound": "b"}, {"distinct_range": 3690690932609106400, "num_eq": 4619886535006361609, "num_range": 7804862320802841388, "upper_bound": "i"}, {"distinct_range": 9148418664403315000, "num_eq": 4000000, "num_range": 9148418664403314374, "upper_bound": "q"}, {"distinct_range": 0, "num_eq": 700000, "num_range": 500, "upper_bound": "~"}], "histo_col_type": "CHAR", "name": "__auto__", "null_count": 0, "row_count": 10000000000}, {"columns": ["col1_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 6161893612, "histo_buckets": [{"distinct_range": 0, "num_eq": 9000, "num_range": 0, "upper_bound": ""}, {"distinct_range": 16188266.11410099, "num_eq": 2359247805852793990, "num_range": 40000000, "upper_bound": "\\u0006P"}, {"distinct_range": 0, "num_eq": 80000, "num_range": 4538088459483600666, "upper_bound": "\\nG82"}, {"distinct_range": 9000000, "num_eq": 300, "num_range": 9000000, "upper_bound": "\\u0011#p4"}, {"distinct_range": 8897025022488396000, "num_eq": 5008845433115771232, "num_range": 8897025022488395650, "upper_bound": "-\\n\\u0011QL\\u0015"}, {"distinct_range": 21482634047694970, "num_eq": 200, "num_range": 21482634047694966, "upper_bound": ">\\u00077"}, {"distinct_range": 1778545435526860800, "num_eq": 2761322574439507072, "num_range": 1778545435526860737, "upper_bound": "W"}, {"distinct_range": 0, "num_eq": 5316538548269473409, "num_range": 40000000000, "upper_bound": "gp\\u0019k3\\u0018t\\r}"}, {"distinct_range": 400000, "num_eq": 250817856201546556, "num_range": 400000, "upper_bound": "sfH\\u001a{``iFO"}], "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 10000000000}]':::JSONB;
        test_1        |             ALTER TABLE table2 INJECT STATISTICS '[{"columns": ["col2_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1283745313, "histo_buckets": [{"distinct_range": 0, "num_eq": 8739049032618943539, "num_range": 0, "upper_bound": "-7853304054577642095"}, {"distinct_range": 80, "num_eq": 4070877839798100539, "num_range": 80, "upper_bound": "-5139166969197552526"}, {"distinct_range": 0, "num_eq": 3230005538105325380, "num_range": 600, "upper_bound": "-1933469622038666495"}, {"distinct_range": 600, "num_eq": 5273990786378257925, "num_range": 600, "upper_bound": "-491116620288221815"}, {"distinct_range": 8259704100.80146, "num_eq": 6992731260909808507, "num_range": 90000000000, "upper_bound": "-128"}, {"distinct_range": 0, "num_eq": 400, "num_range": 5767851605220610589, "upper_bound": "195147551122054567"}, {"distinct_range": 500000, "num_eq": 4002542136200777471, "num_range": 500000, "upper_bound": "4100924304601711283"}, {"distinct_range": 600000000, "num_eq": 1000, "num_range": 600000000, "upper_bound": "4845246856954885091"}, {"distinct_range": 0, "num_eq": 40000000, "num_range": 70, "upper_bound": "7634456204117456819"}], "histo_col_type": "INT8", "name": "__auto__", "null_count": 0, "row_count": 8000000000}, {"columns": ["col2_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 5184858347, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 8000000000}]':::JSONB;
        test_1        |             ALTER TABLE table3 INJECT STATISTICS '[{"columns": ["col3_8"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1435587448779843308, "histo_col_type": "", "name": "__auto__", "null_count": 4355749026127051218, "row_count": 5741344123783230328}, {"columns": ["col3_9"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1383436543197468575, "histo_col_type": "", "name": "__auto__", "null_count": 677241802344826561, "row_count": 5741344123783230328}, {"columns": ["col3_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2351470748546369626, "histo_col_type": "", "name": "__auto__", "null_count": 1553170573971548809, "row_count": 5741344123783230328}, {"columns": ["col3_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 686646806428706378, "histo_col_type": "", "name": "__auto__", "null_count": 4938644712183580332, "row_count": 5741344123783230328}, {"columns": ["col3_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2631499679529134382, "histo_col_type": "", "name": "__auto__", "null_count": 5121780444688904157, "row_count": 5741344123783230328}, {"columns": ["col3_6"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1102915572460917618, "histo_col_type": "", "name": "__auto__", "null_count": 1272522593073160330, "row_count": 5741344123783230328}, {"columns": ["col3_7"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3215712122476656652, "histo_col_type": "", "name": "__auto__", "null_count": 5408138484768773735, "row_count": 5741344123783230328}, {"columns": ["col3_3"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 539710334770077019, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 5741344123783230328}, {"columns": ["col3_4"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2070277894705166007, "histo_col_type": "", "name": "__auto__", "null_count": 1171532469104734899, "row_count": 5741344123783230328}, {"columns": ["col3_5"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2444074423639793932, "histo_col_type": "", "name": "__auto__", "null_count": 3200487131187354302, "row_count": 5741344123783230328}, {"columns": ["col3_10"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 3279522585474807616, "histo_col_type": "", "name": "__auto__", "null_count": 1433164067593564355, "row_count": 5741344123783230328}]':::JSONB;
        test_1        |             ALTER TABLE table4 INJECT STATISTICS '[{"columns": ["col4_0"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 28231392411205281, "histo_col_type": "", "name": "__auto__", "null_count": 0, "row_count": 3036582858582291723}, {"columns": ["col4_1"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 2648228668997276529, "histo_buckets": [{"distinct_range": 0, "num_eq": 0, "num_range": 0, "upper_bound": "-75 years -4 mons -999 days -11:21:49.019218"}, {"distinct_range": 0, "num_eq": 9000, "num_range": 120332123263747416, "upper_bound": "-20 years -5 mons -552 days -16:45:36.693685"}], "histo_col_type": "INTERVAL", "name": "__auto__", "null_count": 1652981982189740869, "row_count": 3036582858582291723}, {"columns": ["col4_2"], "created_at": "2000-01-01 00:00:00+00:00", "distinct_count": 1227458811194902817, "histo_col_type": "STRING", "name": "__auto__", "null_count": 0, "row_count": 3036582858582291723}]':::JSONB;
        test_1        |             ALTER TABLE table3 ADD FOREIGN KEY (col3_4, col3_1) REFERENCES table1 (col1_3, col1_2) ON UPDATE CASCADE;
        test_1        |             ALTER TABLE table2 ADD FOREIGN KEY (col2_1) REFERENCES table1 (col1_1);
        test_1        |             CREATE TYPE rand_typ_0 AS ENUM ('w', 'ok', 'kbje', 'woexr', 'yuwcg');
        test_1        |             CREATE TYPE rand_typ_1 AS ENUM ('hc', 'slpzds', 'p', 'v', 'eqq', 'leyu');
        test_1        |             
        test_1        |         compare_test.go:150: cockroach1: exec: ERROR: there is no unique constraint matching given keys for referenced table table1 (SQLSTATE 23503)
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_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
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

@cockroach-teamcity
Copy link
Member Author

compose.TestComposeCompare failed with artifacts on master @ fa1da4ac2872533007e4ed4c70127f85040ecb25:

        postgres_1    | 2021-07-19 14:29:29.921 UTC [1] LOG:  database system is ready to accept connections
        postgres_1    | 2021-07-19 14:29:31.774 UTC [107] ERROR:  frame starting offset must not be null
        postgres_1    | 2021-07-19 14:29:31.774 UTC [107] STATEMENT:  SELECT
        postgres_1    | 		*
        postgres_1    | 	FROM
        postgres_1    | 		(
        postgres_1    | 			SELECT
        postgres_1    | 				string_agg(tab_118.col1_4::TEXT, tab_118.col1_4::TEXT) OVER (PARTITION BY tab_118.col1_4 ROWS BETWEEN NULL::INT8 PRECEDING AND CURRENT ROW)::TEXT
        postgres_1    | 					AS col_201
        postgres_1    | 			FROM
        postgres_1    | 				postgres.public.table1 AS tab_118
        postgres_1    | 			GROUP BY
        postgres_1    | 				tab_118.col1_4
        postgres_1    | 			HAVING
        postgres_1    | 				bool_or(true::BOOL::BOOL)::BOOL
        postgres_1    | 		)
        postgres_1    | 			AS tab_119
        postgres_1    | 	ORDER BY
        postgres_1    | 		col_201 NULLS FIRST
        test_1        | --- FAIL: TestCompare (605.89s)
        test_1        |     compare_test.go:116: Checking connection to: cockroach2
        test_1        |     compare_test.go:116: Checking connection to: postgres
        test_1        |     compare_test.go:116: Checking connection to: cockroach1
        test_1        |     --- FAIL: TestCompare/postgres (1.34s)
        test_1        |         compare_test.go:125: starting test: postgres
        test_1        |         compare_test.go:132: initializing connection: cockroach1
        test_1        |         compare_test.go:132: initializing connection: postgres
        test_1        |         compare_test.go:175: compare cockroach1 to postgres:
        test_1        |             unexpected diff:
        test_1        |               []interface{}(Inverse(func1, []interface{}{
        test_1        |             - 	string("0"),
        test_1        |             + 	string("-"),
        test_1        |               }))
        test_1        |             cockroach1:
        test_1        |             SELECT * FROM (SELECT 0:::OID::REGNAMESPACE AS col_310) AS tab_188 ORDER BY col_310 NULLS FIRST;
        test_1        |             
        test_1        |             postgres:
        test_1        |             SELECT * FROM (SELECT 0::OID::REGNAMESPACE AS col_310) AS tab_188 ORDER BY col_310 NULLS FIRST;
        test_1        |             
        test_1        | FAIL
        compare_test_1 exited with code 1
        Stopping compare_cockroach1_1 ... 
        Stopping compare_cockroach2_1 ... 
        Stopping compare_postgres_1   ... 
        Stopping compare_postgres_1   ... done
        Stopping compare_cockroach1_1 ... done
        Stopping compare_cockroach2_1 ... done
        Aborting on container exit...
        
    compose_test.go:49: exit status 1
Reproduce

To reproduce, try:

make stressrace TESTS=TestComposeCompare PKG=./pkg/compose TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Same failure on other branches

Internal log

mjibson marked as alumn{us/a}; resolving to rafiss instead

/cc @cockroachdb/sql-experience rafiss

This test on roachdash | Improve this report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants