ClickHouse/programs/odbc-bridge/createFunctionBaseCast.cpp

24 lines
549 B
C++
Raw Normal View History

2024-03-09 08:27:11 +00:00
#include <memory>
2024-03-09 06:55:59 +00:00
#include <Functions/CastOverloadResolver.h>
2024-03-09 08:27:11 +00:00
#include <Core/ColumnsWithTypeAndName.h>
2024-03-09 06:55:59 +00:00
namespace DB
{
namespace ErrorCodes
{
extern const int NOT_IMPLEMENTED;
}
2024-03-09 08:27:11 +00:00
class IFunctionBase;
using FunctionBasePtr = std::shared_ptr<const IFunctionBase>;
2024-03-09 06:55:59 +00:00
FunctionBasePtr createFunctionBaseCast(
2024-03-09 17:53:31 +00:00
ContextPtr, const char *, const ColumnsWithTypeAndName &, const DataTypePtr &, std::optional<CastDiagnostic>, CastType)
2024-03-09 06:55:59 +00:00
{
2024-03-09 08:27:11 +00:00
throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Type conversions are not implemented for Library Bridge");
2024-03-09 06:55:59 +00:00
}
}