{
"test_id": "second",
"pyspark_version": "3.5",
"generated_at": "2025-10-27T14:13:25.076296",
"input_data": [
{
"id": 1,
"date": "2020-01-15",
"timestamp": "2020-01-15 10:30:00"
},
{
"id": 2,
"date": "2019-03-10",
"timestamp": "2019-03-10 14:20:00"
},
{
"id": 3,
"date": "2021-07-22",
"timestamp": "2021-07-22 08:15:00"
}
],
"operation": "DataFrame operation: second",
"expected_output": {
"schema": {
"field_count": 1,
"field_names": [
"second(timestamp)"
],
"field_types": [
"integer"
],
"fields": [
{
"name": "second(timestamp)",
"type": "integer",
"nullable": true
}
]
},
"data": [
{
"second(timestamp)": 0
},
{
"second(timestamp)": 0
},
{
"second(timestamp)": 0
}
],
"row_count": 3
}
}