-
Notifications
You must be signed in to change notification settings - Fork 2
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
Main future branch #9
Main future branch #9
Conversation
right now on `sbt run test` it fails due to a misplaced file: [error] java.sql.SQLException: java.sql.SQLException: IO Error: No files found that match the pattern "/home/bbi/ticklish/tyql/bench/data/tc/edge.csv" [error] at org.duckdb.DuckDBPreparedStatement.prepare(DuckDBPreparedStatement.java:121) [error] at org.duckdb.DuckDBPreparedStatement.execute(DuckDBPreparedStatement.java:195) [error] at tyql.main$package$.main(main.scala:57) [error] at tyql.main.main(main.scala:39) [error] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [error] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [error] Caused by: java.sql.SQLException: IO Error: No files found that match the pattern "/home/bbi/ticklish/tyql/bench/data/tc/edge.csv" [error] at org.duckdb.DuckDBNative.duckdb_jdbc_prepare(Native Method) [error] at org.duckdb.DuckDBPreparedStatement.prepare(DuckDBPreparedStatement.java:115) [error] at org.duckdb.DuckDBPreparedStatement.execute(DuckDBPreparedStatement.java:195) [error] at tyql.main$package$.main(main.scala:57) [error] at tyql.main.main(main.scala:39) [error] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [error] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [error] stack trace is suppressed; run last Compile / run for the full output [error] (Compile / run) java.sql.SQLException: java.sql.SQLException: IO Error: No files found that match the pattern "/home/bbi/ticklish/tyql/bench/data/tc/edge.csv" [error] Total time: 1 s, completed 2 Nov 2024, 16:30:15
24.11.02 fix broken tests
I've copied over basic test to see if we have a connection. |
There is only one tag now, for expensive tests. Untagged tests are cheap. `sbt test` runs all tests. `sbt "testOnly -- --include-tags=Expensive"` runs only the expensive tests. `sbt "testOnly -- --exclude-tags=Expensive"` runs only the cheap tests.
523aec1
to
2a2bbbb
Compare
@aherlihy Why did you decide on this specific munit version? |
@aherlihy This is the compile-time error message that happens when a user wants to use a dialect feature that was not defined for the current dialect:
What do you think of the readability of this? We could define it as something that fails at runtime, but then the compiler will not error and the IDE will not draw red lines under incorrect code. What do you think? It tell you which dialects have it, but it a shame that it does not show you somehow the current dialect (but that's in the source code unless you're using ANSI SQL which is the default). |
On my laptop I sometimes get this error when running tests
but this happens only on my laptop, it works perfectly on Docker. If you see this, it's not a problem, I think. |
GitHub CI is already enabled on this branch: https://github.com/belamenso/tyql/tree/better-containerization These tests run for around ~3 minutes (mostly installing). This could perhaps be optimized, but I don't know Docker/docker-compose well enough for now. |
@aherlihy Questions is, what to do with equality and null-safe equality. Postgres and DuckDB and H2 will fail at runtime when you try to compare things that are not of the same type affinity (!). Our options
Example things that fail at runtime in Postgres:
For now what you can compare is fully dialect-dependent. |
The main branch of my fork is now on |
No description provided.