Skip to content

Commit e5be1cd

Browse files
committed
correct path for protobuf file
1 parent 8e21afc commit e5be1cd

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

programs/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,6 @@ if (TARGET ch_contrib::protobuf)
304304
get_property(google_proto_files TARGET ch_contrib::protobuf PROPERTY google_proto_files)
305305
message(WARNING "PROTO FILES ${google_proto_files}")
306306
foreach (proto_file IN LISTS google_proto_files)
307-
install(FILES ${proto_file} DESTINATION ${CMAKE_INSTALL_DATADIR}/timeplusd/protos/google/protobuf)
307+
install(FILES ${proto_file} DESTINATION ${CMAKE_INSTALL_DATADIR}/proton/protos/google/protobuf)
308308
endforeach()
309309
endif ()

programs/client/proton-client.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@
5353

5454
<!-- Directory containing the proto files for the well-known Protobuf types.
5555
-->
56-
<google_protos_path>/usr/share/timeplusd/protos/</google_protos_path>
56+
<google_protos_path>/usr/share/proton/protos/</google_protos_path>
5757
</config>

src/Core/Settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ static constexpr UInt64 operator""_GiB(unsigned long long value)
778778
M(Bool, output_format_arrow_low_cardinality_as_dictionary, false, "Enable output LowCardinality type as Dictionary Arrow type", 0) \
779779
\
780780
/** proton: starts. */ \
781-
M(EnumComparingMode, format_capn_proto_enum_comparising_mode, FormatSettings::EnumComparingMode::BY_VALUES, "How to map timeplusd Enum and CapnProto Enum", 0)\
781+
M(EnumComparingMode, format_capn_proto_enum_comparising_mode, FormatSettings::EnumComparingMode::BY_VALUES, "How to map proton Enum and CapnProto Enum", 0)\
782782
\
783783
M(Bool, format_capn_proto_use_autogenerated_schema, true, "Use autogenerated CapnProto schema when format_schema is not set", 0) \
784784
M(Bool, format_protobuf_use_autogenerated_schema, true, "Use autogenerated Protobuf when format_schema is not set", 0) \

src/Functions/FunctionsHashing.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ REGISTER_FUNCTION(Hashing)
5454
FunctionDocumentation{
5555
.description=R"(
5656
Calculates BLAKE3 hash string and returns the resulting set of bytes as fixed_string.
57-
This cryptographic hash-function is integrated into timeplusd with BLAKE3 Rust library.
57+
This cryptographic hash-function is integrated into proton with BLAKE3 Rust library.
5858
The function is rather fast and shows approximately two times faster performance compared to SHA-2, while generating hashes of the same length as SHA-256.
5959
It returns a blake3 hash as a byte array with type fixed_string(32).
6060
)",

src/Functions/structureToFormatSchema.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ REGISTER_FUNCTION(StructureToCapnProtoSchema)
106106
factory.registerFunction<FunctionStructureToFormatSchema<StructureToCapnProtoSchema>>(FunctionDocumentation
107107
{
108108
.description=R"(
109-
Function that converts timeplusd table structure to CapnProto format schema
109+
Function that converts proton table structure to CapnProto format schema
110110
)",
111111
.examples{
112112
{"random", "SELECT structure_to_capn_proto_schema('s string, x uint32', 'MessageName') format TSVRaw", "struct MessageName\n"
@@ -126,7 +126,7 @@ REGISTER_FUNCTION(StructureToProtobufSchema)
126126
factory.registerFunction<FunctionStructureToFormatSchema<StructureToProtobufSchema>>(FunctionDocumentation
127127
{
128128
.description=R"(
129-
Function that converts timeplusd table structure to Protobuf format schema
129+
Function that converts proton table structure to Protobuf format schema
130130
)",
131131
.examples{
132132
{"random", "SELECT structure_to_proto_schema('s string, x uint32', 'MessageName') format TSVRaw", "syntax = \"proto3\";\n"

tests/config/client_config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
<sync_request_timeout>10</sync_request_timeout>
1717

1818
<!-- Directory containing the proto files for the well-known Protobuf types. -->
19-
<google_protos_path>/usr/share/timeplusd/protos/</google_protos_path>
19+
<google_protos_path>/usr/share/proton/protos/</google_protos_path>
2020

2121
</config>

tests/queries/0_stateless/02266_protobuf_format_google_wrappers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ hexdump -C $BINARY_FILE_PATH
9090

9191
echo
9292
echo "Decoded with protoc:"
93-
(cd $SCHEMADIR && $PROTOC_BINARY --proto_path=. --proto_path=/usr/share/timeplusd/protos --decode Message "$PROTOBUF_FILE_NAME".proto) < $BINARY_FILE_PATH
93+
(cd $SCHEMADIR && $PROTOC_BINARY --proto_path=. --proto_path=/usr/share/proton/protos --decode Message "$PROTOBUF_FILE_NAME".proto) < $BINARY_FILE_PATH
9494

9595
echo
9696
echo "Proto message with wrapper for (NULL, 1), ('', 2), ('str', 3):"

0 commit comments

Comments
 (0)