== Physical Plan ==
AppendData (14)
+- AdaptiveSparkPlan (13)
+- == Final Plan ==
ResultQueryStage (9), Statistics(sizeInBytes=8.0 EiB)
+- * Project (8)
+- * BroadcastNestedLoopJoin Cross BuildRight (7)
:- * Project (2)
: +- * Range (1)
+- BroadcastQueryStage (6), Statistics(sizeInBytes=0.0 B, rowCount=1.00E+3)
+- BroadcastExchange (5)
+- * Project (4)
+- * Range (3)
+- == Initial Plan ==
Project (12)
+- BroadcastNestedLoopJoin Cross BuildRight (11)
:- Project (2)
: +- Range (1)
+- BroadcastExchange (10)
+- Project (4)
+- Range (3)
(1) Range [codegen id : 2]
Output [1]: [id#296L]
Arguments: Range (0, 1000, step=1)
(2) Project [codegen id : 2]
Output [4]: [id#296L AS raw_id#297L, uuid(Some(-4745322123252152692)) AS session_id#298, cast((rand(-4094072418319456051) * 10000.0) as int) AS category_id#299, CASE WHEN (rand(-2165723559764250934) > 0.5) THEN ACTIVE ELSE INACTIVE END AS status#300]
Input [1]: [id#296L]
(3) Range [codegen id : 1]
Output [1]: [id#302L]
Arguments: Range (0, 1000, step=1)
(4) Project [codegen id : 1]
Output: []
Input [1]: [id#302L]
(5) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=402]
(6) BroadcastQueryStage
Output: []
Arguments: 0
(7) BroadcastNestedLoopJoin [codegen id : 2]
Join type: Cross
Join condition: None
(8) Project [codegen id : 2]
Output [8]: [raw_id#297L, session_id#298, sha2(cast(concat(cast(raw_id#297L as string), session_id#298) as binary), 256) AS record_hash#259, sha2(cast(reverse(session_id#298) as binary), 512) AS security_token#260, category_id#299, status#300, 2026-05-11 04:41:33.181965 AS ts#273, repeat(sha2(cast(cast(raw_id#297L as string) as binary), 256), 5) AS padding_data#261]
Input [4]: [raw_id#297L, session_id#298, category_id#299, status#300]
(9) ResultQueryStage
Output [8]: [raw_id#297L, session_id#298, record_hash#259, security_token#260, category_id#299, status#300, ts#273, padding_data#261]
Arguments: 1
(10) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=394]
(11) BroadcastNestedLoopJoin
Join type: Cross
Join condition: None
(12) Project
Output [8]: [raw_id#297L, session_id#298, sha2(cast(concat(cast(raw_id#297L as string), session_id#298) as binary), 256) AS record_hash#259, sha2(cast(reverse(session_id#298) as binary), 512) AS security_token#260, category_id#299, status#300, 2026-05-11 04:41:33.181965 AS ts#273, repeat(sha2(cast(cast(raw_id#297L as string) as binary), 256), 5) AS padding_data#261]
Input [4]: [raw_id#297L, session_id#298, category_id#299, status#300]
(13) AdaptiveSparkPlan
Output [8]: [raw_id#297L, session_id#298, record_hash#259, security_token#260, category_id#299, status#300, ts#273, padding_data#261]
Arguments: isFinalPlan=true
(14) AppendData
Input [8]: [raw_id#297L, session_id#298, record_hash#259, security_token#260, category_id#299, status#300, ts#273, padding_data#261]