Skip to content
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

Merged
merged 10 commits into from
Sep 9, 2024
Merged

[Typing] Simplify Ext Parse #896

merged 10 commits into from
Sep 9, 2024

Conversation

Tang8330
Copy link
Contributor

@Tang8330 Tang8330 commented Sep 6, 2024

Merging this as there were no logs from #895

@Tang8330 Tang8330 marked this pull request as ready for review September 7, 2024 21:36
@Tang8330 Tang8330 requested a review from a team as a code owner September 7, 2024 21:36
@nathan-artie nathan-artie self-assigned this Sep 9, 2024
// Now check TIME formats
for _, supportedTimeFormat := range SupportedTimeFormatsLegacy {
ts, exactMatch, err := ParseTimeExactMatchLegacy(supportedTimeFormat, dtString)
if err == nil && exactMatch {
slog.Error("Unexpected call to SupportedTimeFormatsLegacy",
Copy link
Contributor

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.

Copy link
Contributor Author

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)

@Tang8330 Tang8330 merged commit a187fbf into master Sep 9, 2024
3 checks passed
@Tang8330 Tang8330 deleted the simplify-ext-parse branch September 9, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants