-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
feat: Introduce sqllogictest #152
Conversation
a8490d6
to
20a31ad
Compare
d11c996
to
5c67e4f
Compare
tests/sqllogictests/src/arrow.rs
Outdated
// TECH DEBT: This file is a copy of the `db.rs` file from https://github.com/paradedb/paradedb/blob/dev/shared/src/fixtures/db.rs | ||
// We duplicated because the paradedb repo may use a different version of pgrx than pg_analytics, but eventually we should | ||
// move this into a separate crate without any dependencies on pgrx. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We an probably remove this, we don't plan to have different versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please explain what sqllogictest does better than our existing test suite? Is it a replacement, or an addition to our current test suite?
This all looks quite complicated and a lot more code to maintain. What is missing from our current test suite that justifies this?
50cdbc2
to
712e2b1
Compare
I think sqllogictest is a better addition to the current test suite. Because
Additionally, after #107 is completed, our sqllogictest test suite could use For example statement ok
COPY (SELECT 42 AS a, 'hello' AS b) TO 'query.parquet' (FORMAT PARQUET);
statement ok
CREATE FOREIGN DATA WRAPPER parquet_wrapper
HANDLER parquet_fdw_handler VALIDATOR parquet_fdw_validator;
statement ok
CREATE SERVER parquet_server FOREIGN DATA WRAPPER parquet_wrapper;
statement ok
CREATE FOREIGN TABLE trips ()
SERVER parquet_server
OPTIONS (files 'test_files/scratch/query.parquet');
# specific testing
statement ok
CREATE VIEW query_view AS
SELECT * FROM query_table;
...... |
712e2b1
to
05b21c2
Compare
Got it. That's convincing. Alright, then! I'm in favour of it, especially after splitting our |
a13de31
to
24bdf2e
Compare
At this time, we've decided this is not a priority. |
Ticket(s) Closed
What
Why
How
.slt
Tests