== 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#458L]
Arguments: Range (0, 1000, step=1)
(2) Project [codegen id : 2]
Output [4]: [id#458L AS raw_id#459L, uuid(Some(7396725542076037676)) AS session_id#460, cast((rand(-9081642991660410471) * 10000.0) as int) AS category_id#461, CASE WHEN (rand(3437785882284821894) > 0.5) THEN ACTIVE ELSE INACTIVE END AS status#462]
Input [1]: [id#458L]
(3) Range [codegen id : 1]
Output [1]: [id#464L]
Arguments: Range (0, 1000, step=1)
(4) Project [codegen id : 1]
Output: []
Input [1]: [id#464L]
(5) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=568]
(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#459L, session_id#460, sha2(cast(concat(cast(raw_id#459L as string), session_id#460) as binary), 256) AS record_hash#421, sha2(cast(reverse(session_id#460) as binary), 512) AS security_token#422, category_id#461, status#462, 2026-05-11 04:45:41.342584 AS ts#435, repeat(sha2(cast(cast(raw_id#459L as string) as binary), 256), 5) AS padding_data#423]
Input [4]: [raw_id#459L, session_id#460, category_id#461, status#462]
(9) ResultQueryStage
Output [8]: [raw_id#459L, session_id#460, record_hash#421, security_token#422, category_id#461, status#462, ts#435, padding_data#423]
Arguments: 1
(10) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=560]
(11) BroadcastNestedLoopJoin
Join type: Cross
Join condition: None
(12) Project
Output [8]: [raw_id#459L, session_id#460, sha2(cast(concat(cast(raw_id#459L as string), session_id#460) as binary), 256) AS record_hash#421, sha2(cast(reverse(session_id#460) as binary), 512) AS security_token#422, category_id#461, status#462, 2026-05-11 04:45:41.342584 AS ts#435, repeat(sha2(cast(cast(raw_id#459L as string) as binary), 256), 5) AS padding_data#423]
Input [4]: [raw_id#459L, session_id#460, category_id#461, status#462]
(13) AdaptiveSparkPlan
Output [8]: [raw_id#459L, session_id#460, record_hash#421, security_token#422, category_id#461, status#462, ts#435, padding_data#423]
Arguments: isFinalPlan=true
(14) AppendData
Input [8]: [raw_id#459L, session_id#460, record_hash#421, security_token#422, category_id#461, status#462, ts#435, padding_data#423]