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

Add the time parser. #2770

Closed
wants to merge 8 commits into from

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg commented Aug 31, 2021

Close #2630
Close #2720

@Shylock-Hg Shylock-Hg added the ready-for-testing PR: ready for the CI test label Aug 31, 2021
@Shylock-Hg Shylock-Hg requested review from a team August 31, 2021 10:33
src/common/time/TimeParser.cpp Show resolved Hide resolved
src/common/time/TimeParser.cpp Show resolved Hide resolved
ASSERT_TRUE(result.ok()) << result.status();
EXPECT_EQ(nebula::DateTime(2019, 1, 3, 19, 52, 3, 233300), result.value());
}
// lack day
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add case for auto result = parser.parseDateTime("2019-01-03T22:22:3.2333Z"); where Z stands for UTC

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add in later

src/common/time/test/TimeParserTest.cpp Show resolved Hide resolved
@Sophie-Xie Sophie-Xie added this to the v2.6.0 milestone Sep 22, 2021
@Shylock-Hg Shylock-Hg added the doc affected PR: improvements or additions to documentation label Sep 26, 2021
@Shylock-Hg Shylock-Hg requested a review from Aiee September 26, 2021 08:08
@Sophie-Xie Sophie-Xie added the need to discuss Solution: issue or PR without a clear conclusion on whether to handle it label Sep 27, 2021
@Shylock-Hg
Copy link
Contributor Author

Refactor by yacc.

@Sophie-Xie Sophie-Xie removed the need to discuss Solution: issue or PR without a clear conclusion on whether to handle it label Sep 28, 2021
@Sophie-Xie Sophie-Xie removed this from the v2.6.0 milestone Sep 28, 2021
@Shylock-Hg
Copy link
Contributor Author

Refactor in #3179

@Shylock-Hg Shylock-Hg closed this Oct 21, 2021
yixinglu pushed a commit to yixinglu/nebula that referenced this pull request Sep 14, 2023
* Persist LM resposne

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc affected PR: improvements or additions to documentation ready-for-testing PR: ready for the CI test
Projects
None yet
3 participants