Steps to reproduce:
- In the aggregations app of compass, click on the 'down-arrow' right to the "+" sign, to open the dropdown-menu and then choose 'New Pipeline from text'.
- Paste the following Text:
[ {"$project": {"_id": NumberInt("1")}} ]
Current Result:
A new pipeline is created with the following conent:
{
_id: NumberIntUnknown macro: {'[object Object]') }
Below the step, the following error Message is displayed:
"Expected "[" or AggregationStage but "{" found."
Expected result:
The new pipeline should have the following content:
Unknown macro: { _id}
- related to
-
COMPASS-4210 Creating a query by clicking on a number in the schema analyzer fails
- Closed