acoustic-carpenter-78188
05/27/2025, 12:09 AMdate. True DATE (not datetime, not timestamp, but date).
• It should be “YYYY-MM-DD”. As if in pandas one does df['date'] = pd.to_datetime(df['date'], errors="ignore").dt.date. It is like datetime.date
We looked into flytekit source code and in those 4 lines here it appears those are the only supported date formats:
• `_np.datetime64`: I don’t think this is correct as this will give us a datetime 2024-01-01 000000 rather than date in BQ
• `_datetime.datetime`: This is what we currently use. and it give us datetime 2024-01-01 000000 rather than date in BQ
• `_np.timedelta64`: this is not date
• `_datetime.timedelta`: this is not date
flyteorg/flytecuddly-jelly-27016
05/27/2025, 12:09 AM