(
(let $1 (DataType 'String))
(let $2 (StructType '('"is_abc" $1) '('"value" $1)))
(let $3 '('('"_logical_id" '691) '('"_id" '"1f37824c-ca62d12b-6f5fcd08-70f68160") '('"_wide_channels" $2)))
(let $4 (DqPhyStage '() (lambda '() (block '(
  (let $8 '@@["StructType";[["key";["DataType";"String"]];["subkey";["DataType";"String"]];["value";["DataType";"String"]]]]@@)
  (let $9 (YqlRowSpec '('NativeYtTypeFlags '0) '('StrictSchema '1) '('UniqueKeys '0) '('Type $8)))
  (let $10 (YtMeta '('CanWrite '1) '('DoesExist '1) '('YqlCompatibleScheme '1) '('InferredScheme '0) '('IsDynamic '0) '('HasRLS '0) '('Attrs '('('"native_strict_schema" 'false)))))
  (let $11 (YtStat '('Id '"Input") '('RecordsCount '"4") '('DataSize '"166") '('ChunkCount '1) '('ModifyTime '0) '('Revision '0)))
  (let $12 (YtTable '"Input" $9 $10 $11 '() (Void) (Void) '"/Root/plato"))
  (let $13 (YtReadTable! world (DataSource '"yt" '"/Root/plato") '((YtSection '((YtPath $12 '('"value") (Void) (Void) (Void))) '()))))
  (let $14 (Sort (NarrowMap (DqReadWideWrap $13 '()) (lambda '($16) (block '(
    (let $17 (If (== $16 (String '"abc")) (String 'true) (String 'false)))
    (return (AsStruct '('"is_abc" $17) '('"value" $16)))
  )))) '((Bool 'false) (Bool 'true)) (lambda '($18) '((Member $18 '"is_abc") (Member $18 '"value")))))
  (let $15 (lambda '($19) (Member $19 '"is_abc") (Member $19 '"value")))
  (return (FromFlow (ExpandMap $14 $15)))
))) $3))
(let $5 (DqCnMerge (TDqOutput $4 '0) '('('0 '"Desc") '('1 '"Asc"))))
(let $6 (DqPhyStage '($5) (lambda '($20) (FromFlow (NarrowMap (ToFlow $20) (lambda '($21 $22) (AsStruct '('"is_abc" $21) '('"value" $22)))))) '('('"_logical_id" '703) '('"_id" '"bbda4ba2-14054d47-445bc689-ffa37c4b"))))
(let $7 (DqCnResult (TDqOutput $6 '0) '('"value" '"is_abc")))
(return (KqpPhysicalQuery '((KqpPhysicalTx '($4 $6) '($7) '() '('('"type" '"generic")))) '((KqpTxResultBinding (ListType $2) '0 '0)) '('('"type" '"query"))))
)
