== 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#345L]
Arguments: Range (0, 1000, step=1)
(2) Project [codegen id : 2]
Output [4]: [id#345L AS raw_id#346L, uuid(Some(-4414637716521230724)) AS session_id#347, cast((rand(-1559787217703657154) * 10000.0) as int) AS category_id#348, CASE WHEN (rand(262533757787593007) > 0.5) THEN ACTIVE ELSE INACTIVE END AS status#349]
Input [1]: [id#345L]
(3) Range [codegen id : 1]
Output [1]: [id#351L]
Arguments: Range (0, 1000, step=1)
(4) Project [codegen id : 1]
Output: []
Input [1]: [id#351L]
(5) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=471]
(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#346L, session_id#347, sha2(cast(concat(cast(raw_id#346L as string), session_id#347) as binary), 256) AS record_hash#308, sha2(cast(reverse(session_id#347) as binary), 512) AS security_token#309, category_id#348, status#349, 2026-05-11 04:44:54.101622 AS ts#322, repeat(sha2(cast(cast(raw_id#346L as string) as binary), 256), 5) AS padding_data#310]
Input [4]: [raw_id#346L, session_id#347, category_id#348, status#349]
(9) ResultQueryStage
Output [8]: [raw_id#346L, session_id#347, record_hash#308, security_token#309, category_id#348, status#349, ts#322, padding_data#310]
Arguments: 1
(10) BroadcastExchange
Input: []
Arguments: IdentityBroadcastMode, [plan_id=463]
(11) BroadcastNestedLoopJoin
Join type: Cross
Join condition: None
(12) Project
Output [8]: [raw_id#346L, session_id#347, sha2(cast(concat(cast(raw_id#346L as string), session_id#347) as binary), 256) AS record_hash#308, sha2(cast(reverse(session_id#347) as binary), 512) AS security_token#309, category_id#348, status#349, 2026-05-11 04:44:54.101622 AS ts#322, repeat(sha2(cast(cast(raw_id#346L as string) as binary), 256), 5) AS padding_data#310]
Input [4]: [raw_id#346L, session_id#347, category_id#348, status#349]
(13) AdaptiveSparkPlan
Output [8]: [raw_id#346L, session_id#347, record_hash#308, security_token#309, category_id#348, status#349, ts#322, padding_data#310]
Arguments: isFinalPlan=true
(14) AppendData
Input [8]: [raw_id#346L, session_id#347, record_hash#308, security_token#309, category_id#348, status#349, ts#322, padding_data#310]