-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Typing] Simplify Ext Parse #896
Conversation
// Now check TIME formats | ||
for _, supportedTimeFormat := range SupportedTimeFormatsLegacy { | ||
ts, exactMatch, err := ParseTimeExactMatchLegacy(supportedTimeFormat, dtString) | ||
if err == nil && exactMatch { | ||
slog.Error("Unexpected call to SupportedTimeFormatsLegacy", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we remove this entire loop? Looks like we don't actually expect to match any time formats, but with this change we'll still support matching time formats.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should keep it because we'll need it for the inference work later (When we encounter a TIME
column later and we have a string value, we should try to parse the string value as TIME
)
Merging this as there were no logs from #895