ClickHouse® is a real-time analytics DBMS
Go to file
Amos Bird 92811ca5f2
Make malformed array join statement fail early
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.
2017-11-21 15:16:15 +08:00
cmake Split lib dbms to dbms + dbms_common_io 2017-11-17 22:19:49 +03:00
contrib Updated submodule to HEAD of clickhouse branch [#CLICKHOUSE-2]. 2017-11-21 03:30:27 +03:00
dbms Make malformed array join statement fail early 2017-11-21 15:16:15 +08:00
debian Check pid file contents inside clickhouse server (#1498) 2017-11-16 22:09:08 +03:00
docker Locale fixed for client in docker 2017-10-03 22:06:37 +03:00
docs updating docs for dictionaries 2017-11-19 15:11:23 +03:00
libs Fixed error when using libressl instead of openssl #1466 2017-11-21 03:32:05 +03:00
utils Update build_debian.sh 2017-11-17 16:14:13 +03:00
website Removed unsupported functionality [#CLICKHOUSE-2]. 2017-11-18 05:34:00 +03:00
.clang-format clang-format: AlignEscapedNewlinesLeft: true 2017-04-07 16:25:07 +03:00
.editorconfig Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
.gitattributes Decreased warning threshold [#MOBMET-3248] 2016-06-07 11:23:15 +03:00
.gitignore Add clearer RangeFiltered implementation. [#CLICKHOUSE-3178] 2017-10-26 17:16:06 +03:00
.gitmodules contrib: cctz as submodule. update cctz. 2017-11-03 00:34:32 +03:00
.vimrc Changed tabs to spaces in editor configs and in style guide [#CLICKHOUSE-3]. 2017-04-01 11:35:09 +03:00
AUTHORS CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
CHANGELOG_RU.md Update CHANGELOG_RU.md 2017-11-03 19:45:49 +03:00
CHANGELOG.md doc fix 2017-11-07 10:11:26 +03:00
CMakeLists.txt Using libc++ as default standard library when using clang [#CLICKHOUSE-2]. 2017-11-20 08:10:04 +03:00
CONTRIBUTING.md CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
copy_headers.sh Fixed error [#CLICKHOUSE-2]. 2017-11-13 22:19:31 +03:00
docker-compose.yml Updated docker-compose.yml #1025 2017-07-26 20:05:32 +03:00
format_sources allow several <graphite> targets (#603) 2017-03-21 23:08:09 +04:00
format.sh Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
LICENSE CLICKHOUSE-2720: progress on website and reference (#886) 2017-06-20 17:19:03 +03:00
MacOS.md update to macOS 2017-08-25 18:38:26 +03:00
README.md Minor website changes (#1465) 2017-11-08 10:32:00 +03:00
release Renamed and inverted option that has almost no sense [#CLICKHOUSE-2]. 2017-11-17 00:21:01 +03:00
release_lib.sh Miscellaneous [#CLICKHOUSE-2]. 2017-11-12 03:46:22 +03:00

ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.

Read more...