• A
    Fix SETTINGS parsing after FORMAT for SELECT queries · 781f1597
    Azat Khuzhin 提交于
    There are two possible ways to pass the SETTINGS clause:
    
      - SELECT 1 FORMAT Null SETTINGS max_block_size = 1
      - SELECT 1 SETTINGS max_block_size = 1[ FORMAT Null]
    
    And when the SETTINGS goes after FORMAT it is parsed in
    ParserQueryWithOutput, and these settings are not applied for the query
    from the ASTSelectQuery::initSettings()
    
    So propagate settings from the ParserQueryWithOutput to the
    ASTSelectQuery settings.
    781f1597
QueryWithOutputSettingsPushDownVisitor.h 1.1 KB