Skip to content

Commit

Permalink
mysql e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed Jun 4, 2024
1 parent 240302c commit 6b45cc3
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions e2e_test/source/cdc_inline/auto_schema_map_mysql.slt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,39 @@ primary key c_boolean, c_bigint, c_date NULL NULL
distribution key c_boolean, c_bigint, c_date NULL NULL
table description rw_mysql_types_test NULL NULL

query TTTTTTTTTTTTT
SELECT
c_boolean,
c_bit,
c_tinyint,
c_smallint,
c_mediumint,
c_integer,
c_bigint,
c_decimal,
c_float,
c_double,
c_char_255,
c_varchar_10000,
FROM rw_mysql_types_test order by c_integer;
----
0 NULL NULL NULL -8388608 -2147483647 9223372036854775806 -10 -10000 -10000 c d
1 NULL -128 -32767 -8388608 -2147483647 -9223372036854775807 -10 -10000 -10000 a b

query TTTTTTTT
SELECT
c_binary_255,
c_varbinary_10000,
c_date,
c_time,
c_datetime,
c_timestamp,
c_enum,
c_json
FROM rw_mysql_types_test order by c_integer;
----
\x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 \x 1001-01-01 NULL 2000-01-01 00:00:00 NULL happy [1, 2]
\x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 \x 1001-01-01 00:00:00 1998-01-01 00:00:00 1970-01-01 00:00:01+00:00 sad [3, 4]

#statement ok
#drop source mysql_source cascade;
statement ok
drop source mysql_source cascade;

0 comments on commit 6b45cc3

Please sign in to comment.