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