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.