Replies: 1 comment 1 reply
-
Hi Richard, it looks like a pretty sound idea and, most important, a time saver on a pretty dull activity! But, sure, I have rarely found smartness in this field at db engine level. My experience is possibly a dated one though:-) I have no sharp ideas on how to set this up in a "smart" way... But as far as I remember "hacking" this kind of stuff in a quick and dirty way at application level (not the best place) what you mentioned n your paper at Tableau Research makes sense: Our duck is a columnar engine, that should be helpful in making an educated guess! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Date parsing is a real bear. One thing that would help a lot is to be able to check whether a date parses with a given format without aborting the entire query (just like
try_cast
does).Even better would be to take a list of formats and try each one until you find one that works. This could be used by both the regular
strptime
andtry_strptime
.It is important to let the user control the priority here as there can be ambiguities in date parsing. if we try to reorder the parsing, we could mess up the user's preferred disambiguation.
Beta Was this translation helpful? Give feedback.
All reactions