SelectWithUnionQuery (children 2)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 5)
    Identifier name
    Identifier is_in_partition_key
    Identifier is_in_sorting_key
    Identifier is_in_primary_key
    Identifier is_in_sampling_key
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier system.columns
   Function and (children 1)
    ExpressionList (children 2)
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier table
       Literal \'check_system_tables\'
     Function equals (children 1)
      ExpressionList (children 2)
       Identifier database
       Function currentDatabase (children 1)
        ExpressionList
 Identifier PrettyCompactNoEscapes
