Skip to content

Commit

Permalink
test fetch 100000 rows
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel committed Oct 18, 2024
1 parent 3987de4 commit b023351
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions e2e_test/source_legacy/tvf/postgres_query.slt
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,13 @@ select * from postgres_query('db', '5432', 'postgres', 'postgres', 'cdc_test', '
98 t 1 1 1 1 1 1.0 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 08:00:00+00:00 text varchar 1 day {} \x01
99 t 1 1 1 1 1 1.0 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 08:00:00+00:00 text varchar 1 day {} \x01
100 t 1 1 1 1 1 1.0 2021-01-01 00:00:00 2021-01-01 00:00:00 2021-01-01 08:00:00+00:00 text varchar 1 day {} \x01

system ok
PGHOST=db PGPORT=5432 PGUSER=postgres PGPASSWORD=postgres PGDATABASE=cdc_test psql -c "
INSERT INTO test SELECT generate_series(101, 100000), true, 1, 1, 1, 1.0, 1.0, 1.0, '2021-01-01', '00:00:00', '2021-01-01 00:00:00', '2021-01-01 00:00:00 pst', 'text', 'varchar', '1 day', '{}', '\x01';
"

query I
select count(*) from postgres_query('db', '5432', 'postgres', 'postgres', 'cdc_test', 'select * from test;');
----
100000

0 comments on commit b023351

Please sign in to comment.