ClickHouse/src/Parsers/queryNormalization.h

15 lines
358 B
C++
Raw Normal View History

#pragma once
2021-10-02 07:13:14 +00:00
#include <base/types.h>
#include <Common/PODArray.h>
2023-12-17 01:44:30 +00:00
namespace DB
{
2023-12-17 01:44:30 +00:00
UInt64 normalizedQueryHash(const char * begin, const char * end, bool keep_names);
UInt64 normalizedQueryHash(const String & query, bool keep_names);
void normalizeQueryToPODArray(const char * begin, const char * end, PaddedPODArray<UInt8> & res_data, bool keep_names);
}