mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 09:40:49 +00:00
Fix Storage Kafka: Schema positional argument number
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
This commit is contained in:
parent
9148adb717
commit
5aca7f3c6e
@ -727,7 +727,7 @@ void registerStorageKafka(StorageFactory & factory)
|
||||
String schema;
|
||||
if (args_count >= 6)
|
||||
{
|
||||
engine_args[5] = evaluateConstantExpressionOrIdentifierAsLiteral(engine_args[4], args.local_context);
|
||||
engine_args[5] = evaluateConstantExpressionOrIdentifierAsLiteral(engine_args[5], args.local_context);
|
||||
|
||||
auto ast = typeid_cast<const ASTLiteral *>(engine_args[5].get());
|
||||
if (ast && ast->value.getType() == Field::Types::String)
|
||||
|
Loading…
Reference in New Issue
Block a user