Summer '16 (API version 37.0)
年、月、および日を組み合わせて CreatedDate という値に入力するには、次のコードを使用します。
q = foreach q generate Id as Id, Year + "-" + Month + "-" + Day as CreatedDate;