{
"test_id": "math_hypot",
"pyspark_version": "3.5",
"generated_at": "2025-10-27T14:13:24.073934",
"input_data": [
{
"id": 1,
"x": 0.5,
"y": 1.2,
"angle": 0.785,
"value": 4.5
},
{
"id": 2,
"x": 1.0,
"y": 2.5,
"angle": 1.57,
"value": 3.2
},
{
"id": 3,
"x": 2.0,
"y": 3.0,
"angle": 0.0,
"value": 7.8
}
],
"operation": "DataFrame operation: math_hypot",
"expected_output": {
"schema": {
"field_count": 1,
"field_names": [
"HYPOT(x, y)"
],
"field_types": [
"double"
],
"fields": [
{
"name": "HYPOT(x, y)",
"type": "double",
"nullable": true
}
]
},
"data": [
{
"HYPOT(x, y)": 1.3
},
{
"HYPOT(x, y)": 2.692582403567252
},
{
"HYPOT(x, y)": 3.605551275463989
}
],
"row_count": 3
}
}