ドラッグ&ドロップ
KQLデータベースを含むFabricイベントハウスがあります。データベースにはTaxiDat aというテーブルが含まれています。以下はTaxiDataのデータのサンプルです。

2つのKQLクエリを構築する必要があります。ソリューションは以下の要件を満たす必要があります。
クエリの 1 つは、RunningTotalAmount を VendorID でパーティション分割する必要があります。
もう 1 つのクエリでは、payment_type でパーティション化された tpep_pickup_datetime から各時間の最初の値を表示する FirstPickupDateTime という列を作成する必要があります。
各クエリをどのように完了すればよいですか?回答するには、適切な値を正しいターゲットにドラッグしてください。各値は1回、複数回、または全く使用されない場合があります。コンテンツを表示するには、ペイン間の分割バーをドラッグするか、スクロールする必要がある場合があります。
注意: 正しい選択ごとに 1 ポイントが付与されます。

正解:

Explanation:

Partition the RunningTotalAmount by VendorID. - Row_cumsum
The Row_cumsum function computes the cumulative sum of a column while optionally restarting the accumulation based on a condition. In this case, it calculates the cumulative sum of total_amount for each VendorID, restarting when the VendorID changes (VendorID != prev(VendorID)).

Create a column FirstPickupDateTime that shows the first value of each hour from tpep_pickup_datetime, partitioned by payment_type - Row_window_session
