-
Notifications
You must be signed in to change notification settings - Fork 68
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
Major NB JDBC driver updates in order to support pg-vector #1624
Conversation
yabinmeng
commented
Oct 16, 2023
- Add PreparedStatement support
- Add batch update for DML write statements
- Add client-side connection pooling (needed for thread safety)
- Address issues caused by the fact that JDBC connection and statement are not thread-safe
- Fix the issue of no Vector value returned when running Vector queries
- Add the template yaml file for NB pg vector with relevancy score verificationn
- Add PreparedStatement support - Add batch update for DML write statements - Add client-side connection pooling (needed for thread safety) - Address issues caused by the fact that JDBC connection and statement are not thread-safe - Fix the issue of no Vector value returned when running Vector queries - Add the template yaml file for NB pg vector with relevancy score verificationn
...bc/src/main/java/io/nosqlbench/adapter/jdbc/exceptions/JDBCAdapterInvalidParamException.java
Outdated
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Outdated
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Outdated
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Show resolved
Hide resolved
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.
LGTM
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/opdispensers/JDBCDMLOpDispenser.java
Outdated
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLOp.java
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLReadOp.java
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/optypes/JDBCDMLWriteOp.java
Show resolved
Hide resolved
adapter-jdbc/src/main/java/io/nosqlbench/adapter/jdbc/utils/JDBCAdapterUtil.java
Show resolved
Hide resolved
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.
I have some design/structural concerns which we'll need to address before calling this adapter finished. For now, let's roll with it and get some UAT time on it.
Confirming |
Merge |
We may have to modify/update the other workload yamls under |