Repository navigation
fix: skip whitespace after non-comma in readLocalDate for UTF8 reader - #4005
Merged
Merged
Conversation
Member
|
单测跑不过,merge from main分支试下 |
Member
|
fix: fix localdata 含义模糊,且 "localdata" 拼写错误(应为 "LocalDate")。建议改为: |
Member
|
同文件第 6178 行有完全相同的 if (comma = (ch == ',')) { ... } 模式(处理带时间的日期字符串),也缺少 else 分支。如果这里的修复是正确的,那第 6178 行大概率也需要同样的修复。建议作者检查并一并修复。 此外,文件中其他多处使用此模式的位置(如第 5852、5949 等行)也没有 else 分支。需要系统性地审查是否所有这些位置都存在相同问题。 |
Member
|
测试覆盖了三种场景:
这些测试合理。但建议补充:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it?
Close #4004
Summary of your change
Please indicate you've done the following: