Skip to content

Commit b67bbe1

Browse files
committed
Cosmos WIP
1 parent 9f3714c commit b67bbe1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

function-app/adb-to-purview/src/Function.Domain/Helpers/OlProcessing/OlMessageConsolodation.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ private bool IsStartEventEnvironment(Event olEvent)
298298
/// </summary>
299299
private bool isDataSourceV2Event(Event olEvent) {
300300
string[] special_cases = {"azurecosmos://", "iceberg://"}; // todo: make this configurable?
301-
// // Don't need to process START events here as they have both inputs and outputs
302-
// if (olEvent.EventType == "COMPLETE") return false;
303301

304302
foreach (var outp in olEvent.Outputs)
305303
{

function-app/adb-to-purview/tests/unit-tests/Function.Domain/Helpers/Parser/QnParserTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public QnParserTests()
149149
"table01",
150150
"https://qpll4l5hchczm.eastus2.kusto.windows.net/database01/table01")]
151151
// Cosmos
152-
[InlineData("azurecosmos://6ch4pkm5tpniq.documents.azure.com/dbs/myDatabase",
153-
"/colls/yourContainer",
152+
[InlineData("azurecosmos://6ch4pkm5tpniq.documents.azure.com/dbs/mydatabase",
153+
"/colls/yourcontainer",
154154
"https://6ch4pkm5tpniq.documents.azure.com/dbs/mydatabase/colls/yourcontainer")]
155155

156156
public void GetIdentifiers_OlSource_ReturnsPurviewIdentifier(string nameSpace, string name, string expectedResult)

0 commit comments

Comments
 (0)