Skip to content

Commit

Permalink
remove useless consistent hashing (#6101)
Browse files Browse the repository at this point in the history
close #6100
  • Loading branch information
Lloyd-Pottiger authored Oct 11, 2022
1 parent 187a46c commit 4789685
Show file tree
Hide file tree
Showing 13 changed files with 1 addition and 788 deletions.
2 changes: 1 addition & 1 deletion dbms/src/Functions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ list(REMOVE_ITEM clickhouse_functions_headers IFunction.h FunctionFactory.h Func

add_library(clickhouse_functions ${clickhouse_functions_sources})

target_link_libraries(clickhouse_functions PUBLIC dbms PRIVATE libconsistent-hashing ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})
target_link_libraries(clickhouse_functions PUBLIC dbms PRIVATE ${FARMHASH_LIBRARIES} ${METROHASH_LIBRARIES})

target_include_directories (clickhouse_functions BEFORE PUBLIC ${TiFlash_SOURCE_DIR}/contrib/libfarmhash)
target_include_directories (clickhouse_functions BEFORE PUBLIC ${TiFlash_SOURCE_DIR}/contrib/libmetrohash/src)
Expand Down
29 changes: 0 additions & 29 deletions dbms/src/Functions/FunctionsConsistentHashing.cpp

This file was deleted.

222 changes: 0 additions & 222 deletions dbms/src/Functions/FunctionsConsistentHashing.h

This file was deleted.

2 changes: 0 additions & 2 deletions dbms/src/Functions/registerFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ void registerFunctionsTiDBConversion(FunctionFactory &);
void registerFunctionsDateTime(FunctionFactory &);
void registerFunctionsFormatting(FunctionFactory &);
void registerFunctionsHashing(FunctionFactory &);
void registerFunctionsConsistentHashing(FunctionFactory &);
void registerFunctionsLogical(FunctionFactory &);
void registerFunctionsMiscellaneous(FunctionFactory &);
void registerFunctionsRandom(FunctionFactory &);
Expand Down Expand Up @@ -64,7 +63,6 @@ void registerFunctions()
registerFunctionsDateTime(factory);
registerFunctionsFormatting(factory);
registerFunctionsHashing(factory);
registerFunctionsConsistentHashing(factory);
registerFunctionsLogical(factory);
registerFunctionsMiscellaneous(factory);
registerFunctionsRandom(factory);
Expand Down
1 change: 0 additions & 1 deletion libs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ if (USE_MYSQL)
add_subdirectory (libmysqlxx)
endif ()

add_subdirectory (libconsistent-hashing)
add_subdirectory (libsymbolization)
19 changes: 0 additions & 19 deletions libs/libconsistent-hashing/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit 4789685

Please sign in to comment.