[SERVER-31168] Add integration testing for $jsonSchema in contexts other than doc validation Created: 19/Sep/17  Updated: 30/Oct/23  Resolved: 06/Oct/17

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.6.0-rc0

Type: Task Priority: Major - P3
Reporter: David Storch Assignee: Nicholas Zolnierz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-30987 Enable and test $jsonSchema in the ag... Closed
Related
related to SERVER-31201 JSON Schema inside an arrayFilter sho... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2017-10-02, Query 2017-10-23
Participants:

 Description   
  • Test that $jsonSchema is illegal in arrayFilters.
  • Test that $jsonSchema is illegal in partial filter expressions.
  • Test that $jsonSchema is legal in read commands like count, geoNear, and distinct.
  • Test that $jsonSchema is legal in predicates for write commands (delete, update, and findAndModify). We should also ensure that such writes can replicate correctly.
  • Test $jsonSchema in the precondition checking for applyOps?
  • Test that $jsonSchema does not respect either the collection-default collation or a collation set explicitly on a query.
  • Test that $jsonSchema can be included in a $match stage within a view. This should include a multiversion test which ensures that once this view has been created, you cannot downgrade to 3.4. We might also want to write a descriptive check showing that view creation with $jsonSchema is not gated on feature compatibility version.
  • Test $jsonSchema queries alongside $text and $geoNear
  • Test $jsonSchema in a sharded cluster where the schema contains the shard key.
  • Test $jsonSchema within an eval command.
  • Test index usage for queries containing $jsonSchema
  • Test $jsonSchema in an $elemMatch projection
  • Test queries containing $jsonSchema wrapped in logical operator(s) ($or, $and,...)


 Comments   
Comment by Githook User [ 06/Oct/17 ]

Author:

{'email': 'nicholas.zolnierz@mongodb.com', 'name': 'Nick Zolnierz', 'username': 'nzolnierzmdb'}

Message: SERVER-31168: Add integration testing for $jsonSchema in contexts other than doc validation
Branch: master
https://github.com/mongodb/mongo/commit/dc09f8a83b9f13429b5938e975a9cc03b021583c

Generated at Thu Feb 08 04:26:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.