Fix checks

This commit is contained in:
kssenii 2021-08-12 06:34:57 +00:00
parent dcc6f597dc
commit 625aa67dad
2 changed files with 8 additions and 2 deletions

View File

@ -1,10 +1,14 @@
#pragma once #pragma once
#include <Functions/FunctionsConversion.h> #include <Functions/FunctionsConversion.h>
namespace DB namespace DB
{ {
namespace ErrorCodes
{
extern const int ILLEGAL_TYPE_OF_ARGUMENT;
}
/* /*
* CastInternal does not preserve nullability of the data type, * CastInternal does not preserve nullability of the data type,
* i.e. CastInternal(toNullable(toInt8(1)) as Int32) will be Int32(1). * i.e. CastInternal(toNullable(toInt8(1)) as Int32) will be Int32(1).

View File

@ -1,6 +1,8 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<yandex> <yandex>
<profiles> <profiles>
<cast_keep_nullable>1</cast_keep_nullable> <default>
<cast_keep_nullable>1</cast_keep_nullable>
</default>
</profiles> </profiles>
</yandex> </yandex>