Repository navigation
feat(vertica-driver): VerticaDriver - #7289
timbrownls20 wants to merge 60 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 8 Skipped Deployments
|
|
@timbrownls20 Thanks for contributing! Could you please write a readme on your npm package on how to install and use it? We'll add a backlink to it in the third-party driver list. |
No problem. Added instructions to README for the npm package. Wasn't sure what you wanted, so hope this is OK. If you need amends could you post a link to an example. Many Thanks |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7289 +/- ##
==========================================
- Coverage 48.02% 47.04% -0.99%
==========================================
Files 154 155 +1
Lines 21019 20768 -251
Branches 5264 5224 -40
==========================================
- Hits 10095 9770 -325
+ Misses 10723 10678 -45
- Partials 201 320 +119
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
@timbrownls20 I actually meant README of |
No probs - I've fixed some lint issues to other files within the packages that I'd changed. Hope that's what you meant. Cheers |
Hi - docs added. Cheers |
|
@timbrownls20 thnx for resolving linter issues! Could you please sync with the upstream? Cause |
No problem - conflicts resolved |
|
@timbrownls20 Thanks for a quick update! That fixes jest failures! Sadly, the Vertica test fails. I think that might be due to how you use LogWaitStrategy: import { LogWaitStrategy } from 'testcontainers/build/wait-strategies/log-wait-strategy';Maybe try to do it like: .withWaitStrategy(Wait.forLogMessage("Node Status: v_test_node0001: (UP)"))Here are docs for testcontainers strategies |
So I think the problem is that the vertica runner doesn't exist in the cube repo (yet) so it can't find it - so I've published a version to our own repo https://github.com/knowitall (terrible name - sorry) so it will work and I can raise another PR to point it back to the cube repo. Hope that makes sense - can you see if that fixes the issue. Thanks EDIT: Seen test is still failing - looking |
|
Still see this error in the integration test :( |
|
Hey @timbrownls20, Merry Christmas and Happy New Year! |
|
Hello, dear @KSDaemon 11.x is out of support and has some known issues in Docker. Also, it's better to update this method like this: It removes some initiation scripts (because they're not required for tests) and this message shows at the end of the initialization (at this stage a database should be run). I don't think that it requires separate PR and I can't edit the current one. I tested it in my repo and the integration passed successfully. |
|
@timbrownls20 Hehey! Thnx for the notes! I can't make edits in your fork, so I pulled your changes to the local branch, and updated as you suggest! And..... It works! Yahoo! Finally! |
Check List
Issue Reference this PR resolves
[#690]
Description of Changes Made (if issue reference is not provided)
New @cubejs-backend/vertica-driver package based on vertica-nodejs -- it includes driver itself and basic tests for overridden BaseDriver methods.
published to npm
npm i @knowitall/vertica-drivercontinuation of this stale PR #5100