mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +00:00
Fix build
This commit is contained in:
parent
136f5c482c
commit
41c16b71d6
@ -41,7 +41,7 @@ public:
|
|||||||
|
|
||||||
static size_t getMaxNumberOfArguments() { return max_number_of_arguments; }
|
static size_t getMaxNumberOfArguments() { return max_number_of_arguments; }
|
||||||
|
|
||||||
static void updateStructureAndFormatArgumentsIfNeeded(ASTs & args, const String & structure, const String & format, const ContextPtr &, bool with_structure)
|
static void updateStructureAndFormatArgumentsIfNeeded(ASTs & args, const String & structure, const String & format, const ContextPtr & context, bool with_structure)
|
||||||
{
|
{
|
||||||
if (args.empty() || args.size() > getMaxNumberOfArguments())
|
if (args.empty() || args.size() > getMaxNumberOfArguments())
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR, "Expected 1 to {} arguments in table function, got {}", getMaxNumberOfArguments(), args.size());
|
throw Exception(ErrorCodes::LOGICAL_ERROR, "Expected 1 to {} arguments in table function, got {}", getMaxNumberOfArguments(), args.size());
|
||||||
|
Loading…
Reference in New Issue
Block a user