月、四半期、または年の日数
指定された日付に対応する月、四半期、または年の日数を返します。
month_days(date)
指定された日付に対応する月の日数を返します。
1q = foreach q generate month_days(toDate('Close_Date_sec_epoch')) as 'Billing Days In Month';quarter_days(date)
指定された日付に対応する四半期の日数を返します。
1q = foreach q generate quarter_days(toDate('Close_Date_sec_epoch')) as 'Billing Days In Quarter;year_days(date)
指定された日付に対応する年の日数を返します。
1q = foreach q generate year_days(toDate('Close_Date_sec_epoch')) as 'Billing Days In Year;