Commit Graph

9 Commits

Author SHA1 Message Date
Raúl Marín
54cb4f2ac7 Rename allow_deprecated_functions to allow_deprecated_error_prone_window_functions 2024-05-24 12:54:06 +02:00
Nikita Taranov
2263291fd8 fix tests 1 2024-04-30 13:28:29 +01:00
Alexey Milovidov
465b0c16cd Better row numbers 2024-03-23 03:10:14 +01:00
Blargian
b008a1ea80 #58363 - add change to SettingsChangesHistory.h and fix failing tests which use pretty by setting output_format_pretty_color=1 2024-01-15 19:15:15 +02:00
Maksim Kita
478ad91b7d Fixed tests 2022-02-13 15:10:44 +00:00
Maksim Kita
45fa68b4a8 Fixed tests 2022-02-06 13:31:59 +00:00
Maksim Kita
4c9ba1dfd7 Fixed tests 2022-02-04 19:52:18 +00:00
Azat Khuzhin
8b438bcd3c Change formatting of subqueries (make it more human friendly)
Fix trailing whitespaces in FROM/IN clause with subqueries in multiline
mode, and also changes the output of the queries slightly in a more
human friendly way.

Before:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one
    ,
    (
        SELECT *
        FROM system.one
    )

After:

    $ clickhouse-format <<<'select * from system.one, (select * from system.one)'
    SELECT *
    FROM system.one,
    (
        SELECT *
        FROM system.one
    )

v2: Fix subqueries formatting in a different way
v3: Adjust *.reference in tests
v4: Fix modernize-loop-convert in ASTTablesInSelectQuery
2021-05-20 21:04:12 +03:00
Nikolai Kochetov
d821cf11f8 Fix function neighbor for LowCardinality argument. 2021-01-26 13:31:29 +03:00