cloud-fan commented on PR #40116:
URL: https://github.com/apache/spark/pull/40116#issuecomment-1463337176
I think the test is easy to fix. It wants to test the aggregate function
result, but not the generated alias, so we just change the testing query to add
alias explicitly.
```
val avgDF = intervalData.select(
avg($"year-month").as("a1"),
avg($"year").as("a2"),
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]