Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion data-explorer/get-data-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For general information on data ingestion, see [Azure Data Explorer data ingesti

> [!WARNING]
>
> The Get Data Wizard doesn't support creating a data connection to Event Hubs through [private endpoints](security-network-private-endpoint.md) or [managed private endpoints](security-network-private-endpoint.md#managed-private-endpoints). Follow the instructions to get data using the [.ingest](/kusto/management/data-ingestion/ingest-from-storage-queued?view=azure-data-explorer&preserve-view=true) command.
> The Get Data Wizard doesn't support ingestion from Azure Storage through [private endpoints](security-network-private-endpoint.md) or [managed private endpoints](security-network-private-endpoint.md#managed-private-endpoints). Follow the instructions to get data using the [.ingest](/kusto/management/data-ingestion/ingest-from-storage-queued?view=azure-data-explorer&preserve-view=true) command.

## Prerequisites

Expand Down
28 changes: 14 additions & 14 deletions data-explorer/kusto/query/mv-apply-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,32 +280,32 @@ This query dynamically removes properties from the packed values object based on

:::moniker range="azure-data-explorer"
> [!div class="nextstepaction"]
> <a href="https://dataexplorer.azure.com/clusters/help/databases/Samples?query=H4sIAAAAAAAAA21PwW6DMAy98xVeL4BEpdG1O1Tqqfdp2nqrEDLUooyQICdAmfrxczMOa7VEtuSX955fTujkFoqiT9NzSW99WxBvwTqudZXAAbki94juz8h2b3rttqCMruLgGICccLPZLG+Vrl7WYfJ3Tlcyr1+TR57HQ6lau0j3SsVBFlyBLo70CQZUPVnYQYdlk6NSUSyP7bDErlMTMLVmoHc2HbGrPXFWGA1+U+S7COjSoRg2tbQdIDNOM9czrjCeiWmGjmkGT9YhOzvW7gwLybqYebZvW+T6m6CTvfZgPnwIMW2xodySi2aT5yz2mvif/xRY5b/p84YmO0uSe8+bUIAvKt0SRwl89/oDn62shLsBAAA=" target="_blank">Run the query</a>
> <a href="https://dataexplorer.azure.com/clusters/help/databases/Samples?query=H4sIAAAAAAAAA1VPwW6DMAy98xVeLwUJpMGgh0k97QeqrbcKIZdaNCMkURKgTP34edkm1ERxHL%2Fn55cLet5nSfGHHm1Lr%2BC8FapL4Yi2I7%2B%2B3%2FSo%2BCm16pLoFAGvbVVVWV68lNv0P88LzstduuJFWQScj1A%2BVqOUSVRHd6CbJ3WBA7Y97MHw1aCUccLQMGVojFzA0qAnOlhtyHpBjomBrxWECXGITKebQRbrBYc9oLW4BGbA7zBfyVIonPIanpxH690s%2FBU27HHzx3LjMKAVXwSGJ7qjfg%2FjWXDAnhpHPg4Sz3USOpL1FxPKMdg7Y9f8um56WlxoSB%2F1ftq48Emtz3Bmow%2FoNx7hPWmSAQAA" target="_blank">Run the query</a>
::: moniker-end

```kusto
datatable(SourceNumber: string, TargetNumber: string, CharsCount: long)
datatable(Source: string, Target: string, Count: long)
[
'555-555-1234', '555-555-1212', 46,
'555-555-1212', '', int(null)
'555-1234', '555-1212', 46,
'555-2424', '', int(null)
]
| extend values = pack_all()
| mv-apply removeProperties = values on
| extend Pack = pack_all()
| mv-apply removeProperties = Pack on
(
mv-expand kind = array values
| where values[1] !startswith "555"
| summarize propsToRemove = make_set(values[0])
mv-expand kind = array Pack
| where Pack[1] !startswith "555"
| summarize propsToRemove = make_set(Pack[0])
)
| extend values = bag_remove_keys(values, propsToRemove)
| extend values = bag_remove_keys(Pack, propsToRemove)
| project-away propsToRemove
```

**Output**

| SourceNumber | TargetNumber | CharsCount | values |
|--|--|--|--|
| 555-555-1234 | 555-555-1212 | 46 | {<br> "SourceNumber": "555-555-1234",<br> "TargetNumber": "555-555-1212"<br> } |
| 555-555-1212 | &nbsp; | &nbsp; | {<br> "SourceNumber": "555-555-1212"<br> } |
| Source | Target | Count | Pack | `values` |
|--|--|--|--|--|
| 555-1234 | 555-1212 | 46 | {<br> "Source": "555-1234",<br> "Target": "555-1212",<br> "Count": 46<br>} | {<br> "Source": "555-1234",<br> "Target": "555-1212"<br> } |
| 555-2424 | &nbsp; | &nbsp; | {<br> "Source": "555-2424",<br> "Target": "",<br> "Count": null<br>} | {<br> "Source": "555-2424"<br> } |

## Related content

Expand Down