-
Notifications
You must be signed in to change notification settings - Fork 409
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
Implement basic insert
support for SAP HANA
#2732
Conversation
I get this error with task lint locally.
Is there a way to suppress it? Or how come its in the deny list? |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2732 +/- ##
==========================================
- Coverage 64.25% 4.17% -60.09%
==========================================
Files 450 447 -3
Lines 23125 23137 +12
==========================================
- Hits 14860 966 -13894
- Misses 7299 22098 +14799
+ Partials 966 73 -893
... and 263 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
See
Lines 161 to 194 in 70d692c
# only `pg` handler can import `pgdb` package, no other handler can do that | |
- linters: [depguard] | |
path: internal/handlers/pg | |
text: pgdb | |
- linters: [depguard] | |
path: internal/handlers/registry | |
text: pgdb | |
- linters: [depguard] | |
path: cmd/envtool | |
text: pgdb | |
# only `pg` handler and `sqlite` backend can import `sjson` package, no other handlers or backends can do that | |
- linters: [depguard] | |
path: internal/handlers/pg | |
text: sjson | |
- linters: [depguard] | |
path: internal/backends/sqlite | |
test: sjson | |
# only `tigris` handler can import `tigrisdb` package, no other handler can do that | |
- linters: [depguard] | |
path: internal/handlers/tigris | |
text: tigrisdb | |
- linters: [depguard] | |
path: internal/handlers/registry | |
text: tigrisdb | |
- linters: [depguard] | |
path: cmd/envtool | |
text: tigrisdb | |
# only `tigris` handler can import `tjson` package, no other handler can do that | |
- linters: [depguard] | |
path: internal/handlers/tigris | |
text: tjson |
@polyal this pull request has merge conflicts. |
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.
Please implement listDatabases
command as it is required for our tests
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.
2023-06-16T23:59:57.985Z INFO setup/startup.go:87 Target system: ferretdb-hana (built-in).
2023-06-16T23:59:57.986Z INFO debug debug/debug.go:95 Starting debug server on http://127.0.0.1:41195/
2023-06-16T23:59:57.990Z INFO setup/startup.go:98 Compat system: MongoDB (mongodb://127.0.0.1:47017/).
-test.shuffle 1686959997990741692
2023-06-17T00:00:00.122Z INFO slog/handler.go:119 ERROR DB conn read error conn=1 error=EOF "local address"=10.0.0.36:54396 "remote address"=3.214.124.25:443
2023-06-17T00:00:02.231Z INFO slog/handler.go:119 ERROR DB conn read error conn=2 error=EOF "local address"=10.0.0.36:37788 "remote address"=23.23.150.204:443
2023-06-17T00:00:04.255Z INFO slog/handler.go:119 ERROR DB conn read error conn=3 error=EOF "local address"=10.0.0.36:54410 "remote address"=3.214.124.25:443
--- FAIL: TestCommandsAdministrationServerStatusFreeMonitoring (9.26s)
commands_administration_test.go:1019: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF
panic: setupClient: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF [recovered]
panic: setupClient: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF [recovered]
panic: setupClient: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF [recovered]
panic: setupClient: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF [recovered]
panic: setupClient: [client.go:94 setup.makeClient] (InternalError) [msg_listdatabases.go:33 hana.(*Handler).MsgListDatabases] [hana.go:105 hana.(*Handler).DBPool] hanadb.NewPool: driver: bad connection: EOF
Let's discuss on Slack or email how we could get a working database for testing
insert
support for SAP HANA
Description
Closes #{issue_number}.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.