diff --git a/Microsoft.Azure.Cosmos/src/Resource/FeedIterators/FeedIteratorCore.cs b/Microsoft.Azure.Cosmos/src/Resource/FeedIterators/FeedIteratorCore.cs
index 7c4c3688b0..900f9a87b1 100644
--- a/Microsoft.Azure.Cosmos/src/Resource/FeedIterators/FeedIteratorCore.cs
+++ b/Microsoft.Azure.Cosmos/src/Resource/FeedIterators/FeedIteratorCore.cs
@@ -218,6 +218,8 @@ internal FeedIteratorCore(
this.operationName = feedIterator.operationName;
this.operationType = feedIterator.operationType;
+
+ this.querySpec = feedIterator.querySpec;
}
public override bool HasMoreResults => this.feedIterator.HasMoreResults;
diff --git a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml
index 9322af3446..7cfb1f4ac3 100644
--- a/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml
+++ b/Microsoft.Azure.Cosmos/tests/Microsoft.Azure.Cosmos.EmulatorTests/BaselineTest/TestBaseline/EndToEndTraceWriterBaselineTests.QueryAsync.xml
@@ -1354,6 +1354,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -1375,6 +1376,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -1396,6 +1398,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -1417,6 +1420,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -2782,6 +2786,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c WHERE c.id != @customIdentifier
South Central US
@@ -2803,6 +2808,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c WHERE c.id != @customIdentifier
South Central US
@@ -2824,6 +2830,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c WHERE c.id != @customIdentifier
South Central US
@@ -2845,6 +2852,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c WHERE c.id != @customIdentifier
South Central US
@@ -3578,6 +3586,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -3599,6 +3608,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -3620,6 +3630,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -3641,6 +3652,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -5024,6 +5036,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -5045,6 +5058,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -5066,6 +5080,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US
@@ -5087,6 +5102,7 @@
Some Value
Some Value
Some Value
+ SELECT * FROM c
South Central US