Commit Graph

11 Commits

Author SHA1 Message Date
Azat Khuzhin
c5ffbc688e Do not allow SETTINGS after FORMAT for INSERT queries
Parsing SETTINGS after FORMAT, that has been introduced in [1], can
interpret SETTING as some values, which is misleading.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/4174/files#diff-ba7bd0657630b1cd94cf6ed364bd857338096f49f66dc82918438d6745753775R106

Note, that we are touching only INSERT queries, not SELECT, since this
is a backward incompatible change, and in case of modifying SELECT it
can break too much.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
Fixes: #35100
Fixes: #20343
2022-04-07 16:29:36 +03:00
avogar
a16eda68dc Fix tests and style 2021-10-19 12:39:14 +03:00
avogar
324dfd4f81 Refactor and improve TSV, CSV and JSONCompactEachRow formats, fix some bugs in formats 2021-10-14 13:32:49 +03:00
Yatsishin Ilya
a25fa1996b fix style checks 2020-12-29 17:57:12 +03:00
Alexey Milovidov
b7b2759b0b Fix tests 2020-08-03 00:27:45 +03:00
Alexey Milovidov
0c6271af9a Fix errors 2020-08-03 00:24:16 +03:00
Alexey Milovidov
57fdd1f5b7 Fix all info from Shellcheck 2020-08-03 00:24:16 +03:00
Alexey Milovidov
5a69058289 shellcheck --check-sourced --external-sources --severity info --exclude SC1071 --format diff */*.sh | git apply 2020-08-03 00:24:16 +03:00
Alexey Milovidov
621347ed21 Minor changes 2 2020-08-03 00:24:16 +03:00
Alexey Milovidov
1a487f88d6 Minor changes 2020-08-03 00:24:16 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00