SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 7)
    Function CAST (alias json2) (children 1)
     ExpressionList (children 2)
      Identifier json
      Literal \'JSON(max_dynamic_paths = 4, max_dynamic_types = 2, a UInt32, b String, SKIP c)\'
    Function JSONDynamicPaths (children 1)
     ExpressionList (children 1)
      Identifier json2
    Function JSONSharedDataPaths (children 1)
     ExpressionList (children 1)
      Identifier json2
    Function dynamicType (children 1)
     ExpressionList (children 1)
      Identifier json2.k2
    Function isDynamicElementInSharedData (children 1)
     ExpressionList (children 1)
      Identifier json2.k2
    Function dynamicType (children 1)
     ExpressionList (children 1)
      Identifier json2.k4
    Function isDynamicElementInSharedData (children 1)
     ExpressionList (children 1)
      Identifier json2.k4
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier test
