Skip to content

Commit

Permalink
Merge pull request #62634 from liuneng1994/std-except-parseDateTIme
Browse files Browse the repository at this point in the history
Speed up `parseDateTime[InJodaSyntax]Or(Null|Zero)` on invalid inputs
  • Loading branch information
rschu1ze committed Apr 16, 2024
2 parents 38d02d7 + b6af948 commit 4e881be
Show file tree
Hide file tree
Showing 8 changed files with 515 additions and 313 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,9 @@
[submodule "contrib/crc32-vpmsum"]
path = contrib/crc32-vpmsum
url = https://github.com/antonblanchard/crc32-vpmsum.git
[submodule "contrib/expected"]
path = contrib/expected
url = https://github.com/TartanLlama/expected
[submodule "contrib/liburing"]
path = contrib/liburing
url = https://github.com/axboe/liburing
Expand Down
2 changes: 2 additions & 0 deletions contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ endif ()

add_contrib (xxHash-cmake xxHash)

add_contrib (expected-cmake expected)

add_contrib (libbcrypt-cmake libbcrypt)

add_contrib (google-benchmark-cmake google-benchmark)
Expand Down
1 change: 1 addition & 0 deletions contrib/expected
Submodule expected added at 3f0ca7
3 changes: 3 additions & 0 deletions contrib/expected-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
add_library(expected INTERFACE)
target_include_directories(expected SYSTEM BEFORE INTERFACE "${ClickHouse_SOURCE_DIR}/contrib/expected/include")
add_library(ch_contrib::expected ALIAS expected)
1 change: 1 addition & 0 deletions docker/test/fasttest/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ function clone_submodules
contrib/c-ares
contrib/morton-nd
contrib/xxHash
contrib/expected
contrib/simdjson
contrib/liburing
contrib/libfiu
Expand Down
1 change: 1 addition & 0 deletions src/Functions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ list (APPEND PUBLIC_LIBS

list (APPEND PRIVATE_LIBS
ch_contrib::zlib
ch_contrib::expected
boost::filesystem
divide_impl
ch_contrib::xxHash
Expand Down

0 comments on commit 4e881be

Please sign in to comment.