ClickHouse/src/Parsers/queryNormalization.h
2023-12-17 02:44:30 +01:00

15 lines
358 B
C++

#pragma once
#include <base/types.h>
#include <Common/PODArray.h>
namespace DB
{
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);
}