== 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#200L]
Arguments: Range (0, 1000, step=1)
(2) Project [codegen id : 2]
Output [4]: [id#200L AS raw_id#201L, uuid(Some(-4860725140463134981)) AS session_id#202, cast((rand(-4079120270676037735) * 10000.0) as int) AS category_id#203, CASE WHEN (rand(-7835718064969387128) > 0.5) THEN ACTIVE ELSE INACTIVE END AS status#204]
Input [1]: [id#200L]
(3) Range [codegen id : 1]
Output [1]: [id#206L]
Arguments: Range (0, 1000, step=1)
(4) Project [codegen id : 1]
Output: []
Input [1]: [id#206L]
(5) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=267]
(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#201L, session_id#202, sha2(cast(concat(cast(raw_id#201L as string), session_id#202) as binary), 256) AS record_hash#163, sha2(cast(reverse(session_id#202) as binary), 512) AS security_token#164, category_id#203, status#204, 2026-05-11 04:36:26.789473 AS ts#177, repeat(sha2(cast(cast(raw_id#201L as string) as binary), 256), 5) AS padding_data#165]
Input [4]: [raw_id#201L, session_id#202, category_id#203, status#204]
(9) ResultQueryStage
Output [8]: [raw_id#201L, session_id#202, record_hash#163, security_token#164, category_id#203, status#204, ts#177, padding_data#165]
Arguments: 1
(10) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=259]
(11) BroadcastNestedLoopJoin
Join type: Cross
Join condition: None
(12) Project
Output [8]: [raw_id#201L, session_id#202, sha2(cast(concat(cast(raw_id#201L as string), session_id#202) as binary), 256) AS record_hash#163, sha2(cast(reverse(session_id#202) as binary), 512) AS security_token#164, category_id#203, status#204, 2026-05-11 04:36:26.789473 AS ts#177, repeat(sha2(cast(cast(raw_id#201L as string) as binary), 256), 5) AS padding_data#165]
Input [4]: [raw_id#201L, session_id#202, category_id#203, status#204]
(13) AdaptiveSparkPlan
Output [8]: [raw_id#201L, session_id#202, record_hash#163, security_token#164, category_id#203, status#204, ts#177, padding_data#165]
Arguments: isFinalPlan=true
(14) AppendData
Input [8]: [raw_id#201L, session_id#202, record_hash#163, security_token#164, category_id#203, status#204, ts#177, padding_data#165]