quarter_last_day(date)

Returns the date of the last day of the quarter for a specific date.
q = foreach q generate quarter_last_day('BillDate') as "Quarter Last Day";