SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 5) ExpressionList (children 2) Identifier result_rows Function greaterOrEquals (children 1) ExpressionList (children 2) Identifier result_bytes Literal UInt64_8 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier system.query_log Function and (children 1) ExpressionList (children 4) Function equals (children 1) ExpressionList (children 2) Identifier current_database Function currentDatabase (children 1) ExpressionList Function greaterOrEquals (children 1) ExpressionList (children 2) Identifier event_date Function minus (children 1) ExpressionList (children 2) Function today (children 1) ExpressionList Literal UInt64_1 Function like (children 1) ExpressionList (children 2) Function lower (children 1) ExpressionList (children 1) Identifier query Literal \'%select count() > 0 from system.settings%\' Function equals (children 1) ExpressionList (children 2) Identifier type Literal \'QueryFinish\' ExpressionList (children 1) OrderByElement (children 1) Identifier query_start_time Literal UInt64_1