mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
ClickHouse® is a real-time analytics DBMS
92811ca5f2
Currently array join clause that have no parent table can go through the parser and generates some confusing error. ``` create table aa (a Array(UInt64)) Engine=Memory; select * from array join aa; Received exception from server (version 1.1.54311): Code: 208. DB::Exception: Received from localhost:9000, ::1. DB::Exception: No columns in nested table aa. ``` This patch makes it fail at client side. ``` Syntax error: failed at position 21: select * from array join aa; Expected one of: SAMPLE, INNER, WITH, HAVING, SETTINGS, identifier, Dot, ORDER BY, AS, GROUP BY, INTO OUTFILE, UNION ALL, LEFT ARRAY JOIN, ARRAY JOIN, table, table function, subquery or list of joined tables, array join, alias, FINAL, PREWHERE, WHERE, token, FORMAT, LIMIT ``` However I'm not sure if `ParserCompoundIdentifier` should be stricter so that `array` wouldn't be consider as a table name. |
||
---|---|---|
cmake | ||
contrib | ||
dbms | ||
debian | ||
docker | ||
docs | ||
libs | ||
utils | ||
website | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.vimrc | ||
AUTHORS | ||
CHANGELOG_RU.md | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
copy_headers.sh | ||
docker-compose.yml | ||
format_sources | ||
format.sh | ||
LICENSE | ||
MacOS.md | ||
README.md | ||
release | ||
release_lib.sh |
ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.