ClickHouse/src/DataTypes/convertMySQLDataType.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
412 B
C++
Raw Normal View History

2019-06-20 20:57:01 +00:00
#pragma once
#include <string>
#include <Core/MultiEnum.h>
2019-06-20 20:57:01 +00:00
#include <Parsers/IAST.h>
#include "IDataType.h"
namespace DB
{
enum class MySQLDataTypesSupport;
2019-06-20 20:57:01 +00:00
/// Convert MySQL type to ClickHouse data type.
DataTypePtr convertMySQLDataType(MultiEnum<MySQLDataTypesSupport> type_support, const std::string & mysql_data_type, bool is_nullable, bool is_unsigned, size_t length, size_t precision, size_t scale);
2019-06-20 20:57:01 +00:00
}