mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fix
This commit is contained in:
parent
217963757e
commit
46f41d1718
@ -273,7 +273,7 @@ bool ParserDataType::parseImpl(Pos & pos, ASTPtr & node, Expected & expected)
|
||||
ObjectArgumentParser parser;
|
||||
parser.parse(pos, arg, expected);
|
||||
}
|
||||
else if (boost::to_lower_copy(type_name) == "nested")
|
||||
else if (type_name == "Nested")
|
||||
{
|
||||
ParserNameTypePair name_and_type_parser;
|
||||
name_and_type_parser.parse(pos, arg, expected);
|
||||
|
@ -1,12 +1,12 @@
|
||||
CREATE TABLE test
|
||||
(
|
||||
`a` Int64,
|
||||
`b` NESTED(a Int64)
|
||||
`b` Nested(a Int64)
|
||||
)
|
||||
ENGINE = TinyLog
|
||||
CREATE TABLE test
|
||||
(
|
||||
`a` Int64,
|
||||
`b` TUPLE(a Int64)
|
||||
`b` Tuple(a Int64)
|
||||
)
|
||||
ENGINE = TinyLog
|
||||
|
@ -4,6 +4,6 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
||||
# shellcheck source=../shell_config.sh
|
||||
. "$CURDIR"/../shell_config.sh
|
||||
|
||||
echo "CREATE TABLE test(a Int64, b NESTED(a Int64)) ENGINE=TinyLog" | $CLICKHOUSE_FORMAT
|
||||
echo "CREATE TABLE test(a Int64, b Nested(a Int64)) ENGINE=TinyLog" | $CLICKHOUSE_FORMAT
|
||||
|
||||
echo "CREATE TABLE test(a Int64, b TUPLE(a Int64)) ENGINE=TinyLog" | $CLICKHOUSE_FORMAT
|
||||
echo "CREATE TABLE test(a Int64, b Tuple(a Int64)) ENGINE=TinyLog" | $CLICKHOUSE_FORMAT
|
Loading…
Reference in New Issue
Block a user