cds-dbs icon indicating copy to clipboard operation
cds-dbs copied to clipboard

test(cqn4sql): with very deeply nested JSON, cqn4sql might not terminate

Open patricebender opened this issue 1 year ago • 1 comments

reason is to be investigated, 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

patricebender avatar Apr 10 '24 13:04 patricebender

The issue here seems more related to deep-queries.js. Where getExpandForDeep tries to get all data deeply nested. While in the test the data affected it is clear that it could be represented by a few simple deep deletes.

If the concern is the issue of cqn4sql hanging. It makes sense to continue, but if the issue is just making the test scenario work. It might be best to wait for the deep queries rework.

BobdenOs avatar Apr 15 '24 08:04 BobdenOs