The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.

We have Data Engineers working in BigQuery (SQL) and others working with dataprep. There is a constraint to set future dates to '3000-12-31T12:00:00'. I couldn't tell dataprep to find this a valid date. Is there a way to set DATETIME(3000,12,31,12,0,0)

ameyer
7 - Meteor
 
2 REPLIES 2
Trifacta_Alumni
Alteryx Alumni (Retired)

Hi @Armin Meyer?,

 

The date/time datatype in Dataprep supports dates from January 1, 1400, to December 31, 2599. Any dates outside of this range are treated as invalid. It does look like the future date that your team needs to insert falls outside of the valid range recognized by Dataprep.

 

In order to insert this date into your output BigQuery table, I would recommend setting the future date cells to "NULL". You can then configure Dataprep to run a post-job SQL statement that will update the NULL values to include your desired future date. Here's an example of a post-job SQL statement that could accomplish this:

UPDATE dataset.table SET datecolumn = "3000-12-31T12:00:00" WHERE datecolumn is null

Please let me know if this works!

ameyer
7 - Meteor

Hi @Connor Carreras? ,

thanks for your helpful answer. Good to know which range of dates is defined as valid.

 

We will wether discuss our teams definition of "future" ;) or try the post-job.

 

Cheers

Armin