-
Notifications
You must be signed in to change notification settings - Fork 13
DB‐Layer Sync Agenda
Please add new topics at the top of the document under Topic Pool
### Short Topic Title
- Duration:
- Responsible:
- Link:
- Decision:
Things to discuss when "Next Sync" does not have enough items.
Enabling On-Premise Database Connections through the Cloud with New Proxy Configuration Feature in @cap-js/postgres
Federico has successfully developed a solution for connecting to an on-premise database through the cloud by using a socket as a proxy. This approach involves redirecting the database connection to the Cloud Connector via a destination service, thereby reaching the on-premise system without directly involving the Postgres connector. Federico suggests integrating the ability to specify a destination in the database configuration into the @cap-js/postgres package. This would allow the pg client to initiate a socket connection based on the destination, rather than the standard hostname and port configuration.
- Duration: 15 min
- Responsible: POs
- Link: https://github.com/cap-js/cds-dbs/issues/523#issuecomment-2045517520
see test 'PUT delete deep composition must not affect other same level composition in response' in runtime: cds/tests/_runtime/odata/__tests__/integration/complexAssociationsAndCompositions.test.js
→ A huge CQN is produced which leds to a hung up SQL Service, probably due to cqn4sql
not terminating.
- Duration: 15 min
- Responsible: Lars / Patrice
- Link: https://github.com/cap-js/cds-dbs/pull/576
https://github.com/cap-js/cds-dbs/pull/252
- Duration: 10 min
- Responsible: Johannes
- Duration: 10 min
- Responsible: Johannes
https://github.com/cap-js/cds-dbs/pull/520/files
- Duration: 10 min
- Responsible: Johannes
Mail by Daniel
- Duration: 10 min
- Responsible: Johannes
await cds.delete({ ref: [E.name], as: 'a' }).where(`value1 < 10`)
.where({ 'not exists': cds.read(E, ['1']).alias('b').where('b.value1 = a.value1 AND b.value2 >= 10')})
- Duration: 10 min
- Responsible: Johannes
- Link: snow ticket
- Decision: Children should be deleted; Johannes will build a test for this. Was this supported before?? → https://github.com/cap-js/cds-dbs/pull/571 → according to issue creator, it worked before.
At the moment, this is done by the protocol adapter. However, that should be solved by the database. Can compiler generate a default value?
- Duration: 10 min
- Responsible: All
- Link: https://docs.oasis-open.org/odata/odata-json-format/v4.01/odata-json-format-v4.01.html#_Toc38457755
- Decision:
- Ask Ralph how this is represented in ODATA → Johannes
-
default
values for arrayed type → spec meeting → Patrice
- Duration:
- Responsible:
- Link:
- Decision:
use compilers keywords via cds (cds needs to export postgres
and hana
keywords like it does for sqlite
)
- Duration: 10 min
- Responsible: Patrice
- Link: https://github.com/cap-js/cds-dbs/pull/526 && https://github.com/cap-js/cds-dbs/pull/525
- Decision:
- Duration: 30 min
- Responsible: Bob & Patrice
- Link: https://github.com/cap-js/cds-dbs/pull/488
- Decision:
- Compiler removes beta and allows views with params
- document limitations in runtimes (Write operations, Deep operations...) → Johannes
- sync with java RT: what do they support? → also sync on documentation → Patrice
- alternative for
sqlite
? → Bob - → We could use session variables for each view and use them whereever the parameters are followed
- Duration: 5 min
- Responsible: all
- Link: https://github.com/cap-js/cds-dbs/issues/411
- Decision: → Not so bad, old DB behaves alike. We create children without parents in the worst case.
- Duration: 10 min
- Responsible: Patrice / Lars
- Link: https://github.com/cap-js/cds-dbs/pull/524
- Decision: we need to do it that way. Those queries are e.g. used in sflights analytical list page.
- Duration: 10 min
- Responsible: Bob & Patrice & Daniel
- Link: https://github.tools.sap/cap/cds/pull/3971/files#diff-db08970c1dd2813413de0f2569564d2358c6df1eb227813652bce2cb09dc1b8a
- Decision: Close PR, we do not set the
target
to the first arg of the join args, but use a generic cds.entity as prototype → Johannes
How to handle postgres issues
- Duration: 5 min
- Responsible: all
- Decision:
- We can't help everyone in every scenario, it is okay if issues stay open for a while.
- during reCAP we can suggest a technical committee, including externals especially for PG. → Meet regularly and sync on community, features, issues, … → Patrice
- Duration: 5 min
- Responsible: all
- Decision: Mail to Sebastian → we want a 40 minute timeslot for promoting the new dbs → Patrice
- Duration: 5 min
- Responsible: all
- Link: https://github.com/cap-js/cds-dbs/issues/423#issuecomment-1914588468
- Decision:
- Find better default max pool size for postgres and align with other dbs
- Update troubleshooting docs re pool timeout error messages, Steffen / Sebastian
- Duration: 5 min
- Responsible: Johannes
- Link: https://github.com/cap-js/cds-dbs/pull/490
- Decision: Do it → https://github.com/cap-js/cds-dbs/pull/495