Fix build

This commit is contained in:
Alexey Milovidov 2023-11-10 05:34:29 +01:00
parent e5df9de12b
commit 60a9974adc
2 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,7 @@ REGISTER_FUNCTION(PositiveModulo)
{ {
factory.registerFunction<FunctionPositiveModulo>(FunctionDocumentation factory.registerFunction<FunctionPositiveModulo>(FunctionDocumentation
{ {
.description=R"( .description = R"(
Calculates the remainder when dividing `a` by `b`. Similar to function `modulo` except that `positiveModulo` always return non-negative number. Calculates the remainder when dividing `a` by `b`. Similar to function `modulo` except that `positiveModulo` always return non-negative number.
Returns the difference between `a` and the nearest integer not greater than `a` divisible by `b`. Returns the difference between `a` and the nearest integer not greater than `a` divisible by `b`.
In other words, the function returning the modulus (modulo) in the terms of Modular Arithmetic. In other words, the function returning the modulus (modulo) in the terms of Modular Arithmetic.

View File

@ -8,6 +8,7 @@
#include <Interpreters/ExternalDictionariesLoader.h> #include <Interpreters/ExternalDictionariesLoader.h>
#include <Interpreters/evaluateConstantExpression.h> #include <Interpreters/evaluateConstantExpression.h>
#include <Interpreters/Context.h>
#include <Storages/StorageDictionary.h> #include <Storages/StorageDictionary.h>
#include <Storages/checkAndGetLiteralArgument.h> #include <Storages/checkAndGetLiteralArgument.h>