pub const ANSWERS: &str = "{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"i\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":15,\"name\":\"f\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":15,\"val\":{\"Fval\":{\"fval\":\"1.5\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":25,\"name\":\"b\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":25,\"val\":{\"Boolval\":{\"boolval\":true}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":36,\"name\":\"s\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":36,\"val\":{\"Sval\":{\"sval\":\"text\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":49,\"name\":\"bits\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":49,\"val\":{\"Bsval\":{\"bsval\":\"b101\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":65,\"name\":\"hex\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":65,\"val\":{\"Bsval\":{\"bsval\":\"x1F\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":79,\"name\":\"n\",\"val\":{\"node\":{\"AConst\":{\"isnull\":true,\"location\":79,\"val\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"lo\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":37,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":7}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":20,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":20}}}}}}],\"values_lists\":[],\"where_clause\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":71}}},\"location\":87,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":89,\"val\":{\"Sval\":{\"sval\":\"New\"}}}}}}}},\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"lo\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":66,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":103}}}],\"group_distinct\":false,\"having_clause\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":true,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"count\"}}}],\"location\":122,\"over\":null}}},\"location\":131,\"name\":[{\"node\":{\"String\":{\"sval\":\">\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":133,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"into_clause\":null,\"larg\":null,\"limit_count\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":168,\"val\":{\"Ival\":{\"ival\":10}}}}},\"limit_offset\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":178,\"val\":{\"Ival\":{\"ival\":5}}}}},\"limit_option\":2,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":144,\"val\":{\"Ival\":{\"ival\":1}}}}},\"sortby_dir\":3,\"sortby_nulls\":3,\"use_op\":[]}}}],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":true,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"count\"}}}],\"location\":7,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":17,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"is_priority\"}}}],\"location\":45}}},\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"total\"}}}],\"location\":21}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"sum\"}}}],\"location\":17,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":130,\"relname\":\"recent\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":116,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":true,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"count\"}}}],\"location\":116,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":{\"ctes\":[{\"node\":{\"CommonTableExpr\":{\"aliascolnames\":[],\"ctecolcollations\":[],\"ctecolnames\":[],\"ctecoltypes\":[],\"ctecoltypmods\":[],\"ctematerialized\":1,\"ctename\":\"recent\",\"ctequery\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":37,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":23,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":23}}}}}}],\"values_lists\":[],\"where_clause\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":68}}},\"location\":79,\"name\":[{\"node\":{\"String\":{\"sval\":\">\"}}}],\"rexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"now\"}}}],\"location\":81,\"over\":null}}},\"location\":87,\"name\":[{\"node\":{\"String\":{\"sval\":\"-\"}}}],\"rexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":98,\"val\":{\"Sval\":{\"sval\":\"30 days\"}}}}},\"location\":-1,\"type_name\":{\"array_bounds\":[],\"location\":89,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"interval\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}}}}},\"window_clause\":[],\"with_clause\":null}}},\"cterecursive\":false,\"cterefcount\":0,\"cycle_clause\":null,\"location\":5,\"search_clause\":null}}}],\"location\":0,\"recursive\":false}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":91,\"relname\":\"n\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":84,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"i\"}}}],\"location\":84}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":{\"ctes\":[{\"node\":{\"CommonTableExpr\":{\"aliascolnames\":[{\"node\":{\"String\":{\"sval\":\"i\"}}}],\"ctecolcollations\":[],\"ctecolnames\":[],\"ctecoltypes\":[],\"ctecoltypmods\":[],\"ctematerialized\":1,\"ctename\":\"n\",\"ctequery\":{\"node\":{\"SelectStmt\":{\"all\":true,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":31,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":31,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":2,\"rarg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":61,\"relname\":\"n\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":50,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"i\"}}}],\"location\":50}}},\"location\":52,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":54,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}}}}],\"values_lists\":[],\"where_clause\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"i\"}}}],\"location\":69}}},\"location\":71,\"name\":[{\"node\":{\"String\":{\"sval\":\"<\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":73,\"val\":{\"Ival\":{\"ival\":10}}}}}}}},\"window_clause\":[],\"with_clause\":null},\"sort_clause\":[],\"target_list\":[],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"cterecursive\":false,\"cterefcount\":0,\"cycle_clause\":null,\"location\":15,\"search_clause\":null}}}],\"location\":0,\"recursive\":true}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":7,\"op\":1,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":21,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":21,\"op\":2,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":35,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":35,\"op\":3,\"type\":0,\"typmod\":2,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":52,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":52,\"op\":4,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":71,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":71,\"op\":5,\"type\":0,\"typmod\":3,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":93,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":93,\"op\":6,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":104,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":104,\"op\":7,\"type\":0,\"typmod\":1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":118,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":118,\"op\":8,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":134,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":134,\"op\":9,\"type\":0,\"typmod\":4,\"xpr\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":7,\"op\":11,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":21,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":21,\"op\":13,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":35,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":35,\"op\":10,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":49,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":49,\"op\":12,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":55,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":55,\"op\":14,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":72,\"name\":\"\",\"val\":{\"node\":{\"SqlvalueFunction\":{\"location\":72,\"op\":15,\"type\":0,\"typmod\":-1,\"xpr\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"lo\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":55,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}}],\"location\":92}}}],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AIndirection\":{\"arg\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}}],\"location\":8}}},\"indirection\":[{\"node\":{\"String\":{\"sval\":\"order_id\"}}}]}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":22,\"name\":\"\",\"val\":{\"node\":{\"AIndirection\":{\"arg\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"lo\"}}},{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":33}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"array_agg\"}}}],\"location\":23,\"over\":null}}},\"indirection\":[{\"node\":{\"AIndices\":{\"is_slice\":false,\"lidx\":null,\"uidx\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":47,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}]}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Sval\":{\"sval\":\"pg_class\"}}}}},\"location\":17,\"type_name\":{\"array_bounds\":[],\"location\":19,\"names\":[{\"node\":{\"String\":{\"sval\":\"regclass\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":29,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":34,\"val\":{\"Sval\":{\"sval\":\"1\"}}}}},\"location\":29,\"type_name\":{\"array_bounds\":[],\"location\":41,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"int4\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":51,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":51,\"val\":{\"Sval\":{\"sval\":\"{1,2}\"}}}}},\"location\":58,\"type_name\":{\"array_bounds\":[{\"node\":{\"Integer\":{\"ival\":-1}}}],\"location\":60,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"int4\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":67,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":67,\"val\":{\"Sval\":{\"sval\":\"1\"}}}}},\"location\":70,\"type_name\":{\"array_bounds\":[],\"location\":72,\"names\":[{\"node\":{\"String\":{\"sval\":\"_regtype\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":24,\"val\":{\"Sval\":{\"sval\":\"A\"}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"lower\"}}}],\"location\":7,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":30,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Ival\":{\"ival\":1}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_sleep\"}}}],\"location\":30,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":43,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":52,\"val\":{\"Ival\":{\"ival\":1}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"public\"}}},{\"node\":{\"String\":{\"sval\":\"f\"}}}],\"location\":43,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":56,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"reporting\"}}},{\"node\":{\"String\":{\"sval\":\"request_scope\"}}}],\"location\":56,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"JoinExpr\":{\"alias\":null,\"is_natural\":false,\"join_using_alias\":null,\"jointype\":1,\"larg\":{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"l\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":14,\"relname\":\"loans\",\"relpersistence\":\"p\",\"schemaname\":\"loan_service\"}}},\"quals\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"q\"}}},{\"node\":{\"String\":{\"sval\":\"loan_id\"}}}],\"location\":67}}},\"location\":77,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"l\"}}},{\"node\":{\"String\":{\"sval\":\"id\"}}}],\"location\":79}}}}}},\"rarg\":{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"q\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":40,\"relname\":\"items\",\"relpersistence\":\"p\",\"schemaname\":\"catalog_service\"}}},\"rtindex\":0,\"using_clause\":[]}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"other\",\"inh\":true,\"location\":14,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":75,\"relname\":\"d\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":68,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":68}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":{\"ctes\":[{\"node\":{\"CommonTableExpr\":{\"aliascolnames\":[],\"ctecolcollations\":[],\"ctecolnames\":[],\"ctecoltypes\":[],\"ctecoltypmods\":[],\"ctematerialized\":1,\"ctename\":\"d\",\"ctequery\":{\"node\":{\"DeleteStmt\":{\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":23,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"},\"returning_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":58,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":58,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"using_clause\":[],\"where_clause\":null,\"with_clause\":null}}},\"cterecursive\":false,\"cterefcount\":0,\"cycle_clause\":null,\"location\":5,\"search_clause\":null}}}],\"location\":0,\"recursive\":false}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":93,\"relname\":\"u\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":86,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":86}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":{\"ctes\":[{\"node\":{\"CommonTableExpr\":{\"aliascolnames\":[],\"ctecolcollations\":[],\"ctecolnames\":[],\"ctecoltypes\":[],\"ctecoltypmods\":[],\"ctematerialized\":1,\"ctename\":\"u\",\"ctequery\":{\"node\":{\"UpdateStmt\":{\"from_clause\":[],\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":18,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"},\"returning_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":76,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":76,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":47,\"name\":\"order_status\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":62,\"val\":{\"Sval\":{\"sval\":\"x\"}}}}}}}}],\"where_clause\":null,\"with_clause\":null}}},\"cterecursive\":false,\"cterefcount\":0,\"cycle_clause\":null,\"location\":5,\"search_clause\":null}}}],\"location\":0,\"recursive\":false}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":113,\"relname\":\"i\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":106,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":106}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":{\"ctes\":[{\"node\":{\"CommonTableExpr\":{\"aliascolnames\":[],\"ctecolcollations\":[],\"ctecolnames\":[],\"ctecoltypes\":[],\"ctecoltypmods\":[],\"ctematerialized\":1,\"ctename\":\"i\",\"ctequery\":{\"node\":{\"InsertStmt\":{\"cols\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":49,\"name\":\"order_id\",\"val\":null}}}],\"on_conflict_clause\":null,\"override\":1,\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":23,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"},\"returning_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":96,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":96,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"select_stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[],\"values_lists\":[{\"node\":{\"List\":{\"items\":[{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"gen_random_uuid\"}}}],\"location\":67,\"over\":null}}}]}}}],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"with_clause\":null}}},\"cterecursive\":false,\"cterefcount\":0,\"cycle_clause\":null,\"location\":5,\"search_clause\":null}}}],\"location\":0,\"recursive\":false}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"MergeStmt\":{\"join_condition\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"t\"}}},{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":71}}},\"location\":82,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"s\"}}},{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":84}}}}}},\"merge_when_clauses\":[{\"node\":{\"MergeWhenClause\":{\"command_type\":5,\"condition\":null,\"match_kind\":1,\"override\":1,\"target_list\":[],\"values\":[]}}}],\"relation\":{\"alias\":{\"aliasname\":\"t\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":11,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"},\"returning_list\":[],\"source_relation\":{\"node\":{\"RangeVar\":{\"alias\":{\"aliasname\":\"s\",\"colnames\":[]},\"catalogname\":\"\",\"inh\":true,\"location\":44,\"relname\":\"order_lines\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}},\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":{\"access_method\":\"\",\"col_names\":[],\"on_commit\":1,\"options\":[],\"rel\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":19,\"relname\":\"t\",\"relpersistence\":\"t\",\"schemaname\":\"\"},\"skip_data\":false,\"table_space_name\":\"\",\"view_query\":null},\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":8,\"stmt_location\":0},{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":17,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":17,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":9}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"JoinExpr\":{\"alias\":null,\"is_natural\":false,\"join_using_alias\":null,\"jointype\":1,\"larg\":{\"node\":{\"RangeSubselect\":{\"alias\":{\"aliasname\":\"a\",\"colnames\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}]},\"lateral\":false,\"subquery\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[],\"values_lists\":[{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":30,\"val\":{\"Ival\":{\"ival\":1}}}}}]}}},{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":35,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}}}}},\"quals\":null,\"rarg\":{\"node\":{\"RangeSubselect\":{\"alias\":{\"aliasname\":\"b\",\"colnames\":[]},\"lateral\":true,\"subquery\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":71,\"name\":\"y\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"a\"}}},{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":71}}},\"location\":75,\"name\":[{\"node\":{\"String\":{\"sval\":\"*\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":77,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}}}}},\"rtindex\":0,\"using_clause\":[]}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"a\"}}},{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":7}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":12,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"b\"}}},{\"node\":{\"String\":{\"sval\":\"y\"}}}],\"location\":12}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeFunction\":{\"alias\":{\"aliasname\":\"x\",\"colnames\":[]},\"coldeflist\":[],\"functions\":[{\"node\":{\"List\":{\"items\":[{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":30,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":33,\"val\":{\"Ival\":{\"ival\":3}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"generate_series\"}}}],\"location\":14,\"over\":null}}},{\"node\":null}]}}}],\"is_rowsfrom\":false,\"lateral\":false,\"ordinality\":false}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":2,\"rarg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":51,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":51,\"val\":{\"Ival\":{\"ival\":4}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":3,\"rarg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":70,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":70,\"val\":{\"Ival\":{\"ival\":4}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"sort_clause\":[],\"target_list\":[],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"sort_clause\":[],\"target_list\":[],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":4,\"rarg\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":86,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":86,\"val\":{\"Ival\":{\"ival\":5}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null},\"sort_clause\":[],\"target_list\":[],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":142,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"row_number\"}}}],\"location\":7,\"over\":{\"end_offset\":null,\"frame_options\":1058,\"location\":25,\"name\":\"w\",\"order_clause\":[],\"partition_clause\":[],\"refname\":\"\",\"start_offset\":null}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":28,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"total\"}}}],\"location\":32}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"sum\"}}}],\"location\":28,\"over\":{\"end_offset\":null,\"frame_options\":1077,\"location\":44,\"name\":\"\",\"order_clause\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":76}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"partition_clause\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":58}}}],\"refname\":\"\",\"start_offset\":null}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[{\"node\":{\"WindowDef\":{\"end_offset\":null,\"frame_options\":1058,\"location\":179,\"name\":\"w\",\"order_clause\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":189}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"partition_clause\":[],\"refname\":\"\",\"start_offset\":null}}}],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":45,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[{\"node\":{\"GroupingSet\":{\"content\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":95}}},{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":107}}},{\"node\":{\"GroupingSet\":{\"content\":[],\"kind\":1,\"location\":122}}}],\"kind\":5,\"location\":79}}}],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":7}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":17,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":17}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":31,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":true,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"count\"}}}],\"location\":31,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":180,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"CaseExpr\":{\"arg\":null,\"args\":[{\"node\":{\"CaseWhen\":{\"expr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"is_priority\"}}}],\"location\":17}}},\"location\":12,\"result\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":34,\"val\":{\"Sval\":{\"sval\":\"hot\"}}}}},\"xpr\":null}}},{\"node\":{\"CaseWhen\":{\"expr\":{\"node\":{\"BoolExpr\":{\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"is_priority\"}}}],\"location\":49}}}],\"boolop\":3,\"location\":45,\"xpr\":null}}},\"location\":40,\"result\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":66,\"val\":{\"Sval\":{\"sval\":\"cold\"}}}}},\"xpr\":null}}}],\"casecollid\":0,\"casetype\":0,\"defresult\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":78,\"val\":{\"Sval\":{\"sval\":\"unknown\"}}}}},\"location\":7,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":93,\"name\":\"\",\"val\":{\"node\":{\"CoalesceExpr\":{\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":102}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":116,\"val\":{\"Sval\":{\"sval\":\"\"}}}}}],\"coalescecollid\":0,\"coalescetype\":0,\"location\":93,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":121,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":6,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":128}}},\"location\":121,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":142,\"val\":{\"Sval\":{\"sval\":\"\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":147,\"name\":\"\",\"val\":{\"node\":{\"MinMaxExpr\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":156,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":159,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"inputcollid\":0,\"location\":147,\"minmaxcollid\":0,\"minmaxtype\":0,\"op\":1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":163,\"name\":\"\",\"val\":{\"node\":{\"MinMaxExpr\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":169,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":172,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"inputcollid\":0,\"location\":163,\"minmaxcollid\":0,\"minmaxtype\":0,\"op\":2,\"xpr\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AArrayExpr\":{\"elements\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":13,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":16,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"location\":7}}},\"location\":19,\"name\":[{\"node\":{\"String\":{\"sval\":\"@>\"}}}],\"rexpr\":{\"node\":{\"AArrayExpr\":{\"elements\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":28,\"val\":{\"Ival\":{\"ival\":1}}}}}],\"location\":22}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":32,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":32,\"val\":{\"Sval\":{\"sval\":\"{\\\"a\\\": 1}\"}}}}},\"location\":42,\"type_name\":{\"array_bounds\":[],\"location\":44,\"names\":[{\"node\":{\"String\":{\"sval\":\"jsonb\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":50,\"name\":[{\"node\":{\"String\":{\"sval\":\"->\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":53,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":58,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":58,\"val\":{\"Sval\":{\"sval\":\"{\\\"a\\\": 1}\"}}}}},\"location\":68,\"type_name\":{\"array_bounds\":[],\"location\":70,\"names\":[{\"node\":{\"String\":{\"sval\":\"jsonb\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":76,\"name\":[{\"node\":{\"String\":{\"sval\":\"->>\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":80,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":85,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":85,\"val\":{\"Sval\":{\"sval\":\"{\\\"a\\\": {\\\"b\\\": 1}}\"}}}}},\"location\":102,\"type_name\":{\"array_bounds\":[],\"location\":104,\"names\":[{\"node\":{\"String\":{\"sval\":\"jsonb\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":110,\"name\":[{\"node\":{\"String\":{\"sval\":\"#>\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":113,\"val\":{\"Sval\":{\"sval\":\"{a,b}\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":122,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":2,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":122,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":124,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"AArrayExpr\":{\"elements\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":137,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":140,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"location\":131}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":145,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":7,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":145,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":147,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":151,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":154,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":158,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":11,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":158,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":160,\"name\":[{\"node\":{\"String\":{\"sval\":\"BETWEEN\"}}}],\"rexpr\":{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":168,\"val\":{\"Ival\":{\"ival\":0}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":174,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":177,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":8,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":177,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"location\":181,\"name\":[{\"node\":{\"String\":{\"sval\":\"~~\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":186,\"val\":{\"Sval\":{\"sval\":\"a%\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":192,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":9,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":192,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"location\":196,\"name\":[{\"node\":{\"String\":{\"sval\":\"~~*\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":202,\"val\":{\"Sval\":{\"sval\":\"A%\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":208,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":208,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"location\":212,\"name\":[{\"node\":{\"String\":{\"sval\":\"~\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":214,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":219,\"name\":\"\",\"val\":{\"node\":{\"BoolExpr\":{\"args\":[{\"node\":{\"SubLink\":{\"location\":223,\"oper_name\":[],\"sub_link_id\":0,\"sub_link_type\":1,\"subselect\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":238,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":238,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"testexpr\":null,\"xpr\":null}}}],\"boolop\":3,\"location\":219,\"xpr\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":21,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":{\"node\":{\"BoolExpr\":{\"args\":[{\"node\":{\"SubLink\":{\"location\":61,\"oper_name\":[],\"sub_link_id\":0,\"sub_link_type\":3,\"subselect\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":86,\"relname\":\"store_panel\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":72,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":72}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"testexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":52}}},\"xpr\":null}}},{\"node\":{\"NullTest\":{\"arg\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":113}}},\"argisrow\":false,\"location\":124,\"nulltesttype\":2,\"xpr\":null}}},{\"node\":{\"BooleanTest\":{\"arg\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"is_priority\"}}}],\"location\":140}}},\"booltesttype\":1,\"location\":152,\"xpr\":null}}}],\"boolop\":1,\"location\":109,\"xpr\":null}}},\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":15,\"val\":{\"Sval\":{\"sval\":\"year\"}}}}},{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"now\"}}}],\"location\":25,\"over\":null}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"extract\"}}}],\"location\":7,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":33,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":73,\"val\":{\"Sval\":{\"sval\":\"Europe/London\"}}}}},{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":44,\"val\":{\"Sval\":{\"sval\":\"month\"}}}}},{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"now\"}}}],\"location\":53,\"over\":null}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"date_trunc\"}}}],\"location\":33,\"over\":null}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"timezone\"}}}],\"location\":60,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":90,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":106,\"val\":{\"Sval\":{\"sval\":\"abc\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":99,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"position\"}}}],\"location\":90,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":114,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":124,\"val\":{\"Sval\":{\"sval\":\"abc\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":135,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":141,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"substring\"}}}],\"location\":114,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":145,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":164,\"val\":{\"Sval\":{\"sval\":\" a \"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":155,\"val\":{\"Sval\":{\"sval\":\" \"}}}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"btrim\"}}}],\"location\":145,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":172,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":180,\"val\":{\"Sval\":{\"sval\":\"abc\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":194,\"val\":{\"Sval\":{\"sval\":\"x\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":203,\"val\":{\"Ival\":{\"ival\":2}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":209,\"val\":{\"Ival\":{\"ival\":1}}}}}],\"func_variadic\":false,\"funcformat\":4,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"overlay\"}}}],\"location\":172,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":166,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"total\"}}}],\"location\":51}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"agg_star\":false,\"agg_within_group\":true,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":23,\"val\":{\"Fval\":{\"fval\":\"0.5\"}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"percentile_cont\"}}}],\"location\":7,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":59,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":true,\"agg_filter\":null,\"agg_order\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":106}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_status\"}}}],\"location\":79}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":93,\"val\":{\"Sval\":{\"sval\":\",\"}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"string_agg\"}}}],\"location\":59,\"over\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":121,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":149}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":131}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"array_agg\"}}}],\"location\":121,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"FuncCall\":{\"agg_distinct\":false,\"agg_filter\":null,\"agg_order\":[],\"agg_star\":false,\"agg_within_group\":false,\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":26,\"val\":{\"Sval\":{\"sval\":\"app.scope\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Sval\":{\"sval\":\"global\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":49,\"val\":{\"Boolval\":{\"boolval\":true}}}}}],\"func_variadic\":false,\"funcformat\":1,\"funcname\":[{\"node\":{\"String\":{\"sval\":\"set_config\"}}}],\"location\":7,\"over\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ParamRef\":{\"location\":7,\"number\":1}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"RowExpr\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":11,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":14,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}],\"colnames\":[],\"location\":7,\"row_format\":1,\"row_typeid\":0,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":20,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"RowExpr\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":21,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":24,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"colnames\":[],\"location\":20,\"row_format\":3,\"row_typeid\":0,\"xpr\":null}}},\"location\":27,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"RowExpr\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":30,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":33,\"val\":{\"Ival\":{\"ival\":2}}}}}],\"colnames\":[],\"location\":29,\"row_format\":3,\"row_typeid\":0,\"xpr\":null}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":37,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":37,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":38,\"type_name\":{\"array_bounds\":[],\"location\":40,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"numeric\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":48,\"val\":{\"Ival\":{\"ival\":10}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":52,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":56,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":65,\"val\":{\"Sval\":{\"sval\":\"1 day\"}}}}},\"location\":-1,\"type_name\":{\"array_bounds\":[],\"location\":56,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"interval\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":73,\"name\":[{\"node\":{\"String\":{\"sval\":\"*\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":75,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":78,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":78,\"val\":{\"Ival\":{\"ival\":-1}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":82,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":82,\"val\":{\"Ival\":{\"ival\":2}}}}},\"location\":84,\"name\":[{\"node\":{\"String\":{\"sval\":\"^\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":86,\"val\":{\"Ival\":{\"ival\":3}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":89,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":89,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"location\":93,\"name\":[{\"node\":{\"String\":{\"sval\":\"||\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":96,\"val\":{\"Sval\":{\"sval\":\"b\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":101,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":101,\"val\":{\"Ival\":{\"ival\":5}}}}},\"location\":103,\"name\":[{\"node\":{\"String\":{\"sval\":\"%\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":105,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":14,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[{\"node\":{\"LockingClause\":{\"locked_rels\":[],\"strength\":5,\"wait_policy\":1}}}],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":6,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":-1,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":-1}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":20}}}],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":54,\"relname\":\"order_overview\",\"relpersistence\":\"p\",\"schemaname\":\"reporting\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":88}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}},{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"created_at\"}}}],\"location\":98}}},\"sortby_dir\":3,\"sortby_nulls\":1,\"use_op\":[]}}}],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":30,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"store_id\"}}}],\"location\":30}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":40,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"order_id\"}}}],\"location\":40}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"DropStmt\":{\"behavior\":1,\"concurrent\":false,\"missing_ok\":false,\"objects\":[{\"node\":{\"TypeName\":{\"array_bounds\":[],\"location\":10,\"names\":[{\"node\":{\"String\":{\"sval\":\"regclass\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}],\"remove_type\":50}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Fval\":{\"fval\":\"1.5e10\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":15,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":15,\"val\":{\"Fval\":{\"fval\":\"-0.0\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":21,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":21,\"val\":{\"Fval\":{\"fval\":\"1e-7\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":27,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":27,\"val\":{\"Fval\":{\"fval\":\"123456789012345678901234567890\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":59,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":59,\"val\":{\"Ival\":{\"ival\":31}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":65,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":65,\"val\":{\"Ival\":{\"ival\":1000}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Sval\":{\"sval\":\"caf\u{e9} \\t\\n\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":26,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":26,\"val\":{\"Sval\":{\"sval\":\"na\u{ef}ve\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":36,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"\u{fc}n\u{ef}c\u{f6}d\u{e9}\"}}}],\"location\":36}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":51,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":51,\"val\":{\"Sval\":{\"sval\":\"emoji \u{1f980}\"}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Sval\":{\"sval\":\"data\"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":28,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":28,\"val\":{\"Sval\":{\"sval\":\"\u{e9}\"}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"quoted \\\"ident\\\"\"}}}],\"location\":7}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":27,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":27,\"val\":{\"Sval\":{\"sval\":\" dollar $ quoted \"}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":56,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":56,\"val\":{\"Sval\":{\"sval\":\"plain\"}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[],\"version\":170007}\n{\"stmts\":[],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":8,\"stmt_location\":0},{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":17,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":17,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":8,\"stmt_location\":10}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"CreateStmt\":{\"access_method\":\"\",\"constraints\":[],\"if_not_exists\":false,\"inh_relations\":[],\"of_typename\":null,\"oncommit\":1,\"options\":[],\"partbound\":null,\"partspec\":null,\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":25,\"relname\":\"t\",\"relpersistence\":\"t\",\"schemaname\":\"\"},\"table_elts\":[{\"node\":{\"ColumnDef\":{\"coll_clause\":null,\"coll_oid\":0,\"colname\":\"a\",\"compression\":\"\",\"constraints\":[{\"node\":{\"Constraint\":{\"access_method\":\"\",\"conname\":\"\",\"contype\":7,\"cooked_expr\":\"\",\"deferrable\":false,\"exclusions\":[],\"fk_attrs\":[],\"fk_del_action\":\"\",\"fk_del_set_cols\":[],\"fk_matchtype\":\"\",\"fk_upd_action\":\"\",\"generated_when\":\"\",\"including\":[],\"indexname\":\"\",\"indexspace\":\"\",\"inhcount\":0,\"initdeferred\":false,\"initially_valid\":false,\"is_no_inherit\":false,\"keys\":[],\"location\":34,\"nulls_not_distinct\":false,\"old_conpfeqop\":[],\"old_pktable_oid\":0,\"options\":[],\"pk_attrs\":[],\"pktable\":null,\"raw_expr\":null,\"reset_default_tblspc\":false,\"skip_validation\":false,\"where_clause\":null}}}],\"cooked_default\":null,\"fdwoptions\":[],\"generated\":\"\",\"identity\":\"\",\"identity_sequence\":null,\"inhcount\":0,\"is_from_type\":false,\"is_local\":true,\"is_not_null\":false,\"location\":28,\"raw_default\":null,\"storage\":\"\",\"storage_name\":\"\",\"type_name\":{\"array_bounds\":[],\"location\":30,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"int4\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},{\"node\":{\"ColumnDef\":{\"coll_clause\":null,\"coll_oid\":0,\"colname\":\"b\",\"compression\":\"\",\"constraints\":[{\"node\":{\"Constraint\":{\"access_method\":\"\",\"conname\":\"\",\"contype\":3,\"cooked_expr\":\"\",\"deferrable\":false,\"exclusions\":[],\"fk_attrs\":[],\"fk_del_action\":\"\",\"fk_del_set_cols\":[],\"fk_matchtype\":\"\",\"fk_upd_action\":\"\",\"generated_when\":\"\",\"including\":[],\"indexname\":\"\",\"indexspace\":\"\",\"inhcount\":0,\"initdeferred\":false,\"initially_valid\":false,\"is_no_inherit\":false,\"keys\":[],\"location\":54,\"nulls_not_distinct\":false,\"old_conpfeqop\":[],\"old_pktable_oid\":0,\"options\":[],\"pk_attrs\":[],\"pktable\":null,\"raw_expr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":62,\"val\":{\"Sval\":{\"sval\":\"x\"}}}}},\"reset_default_tblspc\":false,\"skip_validation\":false,\"where_clause\":null}}}],\"cooked_default\":null,\"fdwoptions\":[],\"generated\":\"\",\"identity\":\"\",\"identity_sequence\":null,\"inhcount\":0,\"is_from_type\":false,\"is_local\":true,\"is_not_null\":false,\"location\":47,\"raw_default\":null,\"storage\":\"\",\"storage_name\":\"\",\"type_name\":{\"array_bounds\":[],\"location\":49,\"names\":[{\"node\":{\"String\":{\"sval\":\"text\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}],\"tablespacename\":\"\"}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"CreateStmt\":{\"access_method\":\"\",\"constraints\":[],\"if_not_exists\":false,\"inh_relations\":[],\"of_typename\":null,\"oncommit\":1,\"options\":[],\"partbound\":null,\"partspec\":{\"location\":73,\"part_params\":[{\"node\":{\"PartitionElem\":{\"collation\":[],\"expr\":null,\"location\":93,\"name\":\"a\",\"opclass\":[]}}}],\"strategy\":2},\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":13,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"},\"table_elts\":[{\"node\":{\"ColumnDef\":{\"coll_clause\":null,\"coll_oid\":0,\"colname\":\"a\",\"compression\":\"\",\"constraints\":[],\"cooked_default\":null,\"fdwoptions\":[],\"generated\":\"\",\"identity\":\"\",\"identity_sequence\":null,\"inhcount\":0,\"is_from_type\":false,\"is_local\":true,\"is_not_null\":false,\"location\":16,\"raw_default\":null,\"storage\":\"\",\"storage_name\":\"\",\"type_name\":{\"array_bounds\":[],\"location\":18,\"names\":[{\"node\":{\"String\":{\"sval\":\"serial\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},{\"node\":{\"ColumnDef\":{\"coll_clause\":null,\"coll_oid\":0,\"colname\":\"b\",\"compression\":\"\",\"constraints\":[{\"node\":{\"Constraint\":{\"access_method\":\"\",\"conname\":\"\",\"contype\":2,\"cooked_expr\":\"\",\"deferrable\":false,\"exclusions\":[],\"fk_attrs\":[],\"fk_del_action\":\"\",\"fk_del_set_cols\":[],\"fk_matchtype\":\"\",\"fk_upd_action\":\"\",\"generated_when\":\"\",\"including\":[],\"indexname\":\"\",\"indexspace\":\"\",\"inhcount\":0,\"initdeferred\":false,\"initially_valid\":false,\"is_no_inherit\":false,\"keys\":[],\"location\":43,\"nulls_not_distinct\":false,\"old_conpfeqop\":[],\"old_pktable_oid\":0,\"options\":[],\"pk_attrs\":[],\"pktable\":null,\"raw_expr\":null,\"reset_default_tblspc\":false,\"skip_validation\":false,\"where_clause\":null}}}],\"cooked_default\":null,\"fdwoptions\":[],\"generated\":\"\",\"identity\":\"\",\"identity_sequence\":null,\"inhcount\":0,\"is_from_type\":false,\"is_local\":true,\"is_not_null\":false,\"location\":26,\"raw_default\":null,\"storage\":\"\",\"storage_name\":\"\",\"type_name\":{\"array_bounds\":[],\"location\":28,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"numeric\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":36,\"val\":{\"Ival\":{\"ival\":10}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":40,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}},{\"node\":{\"ColumnDef\":{\"coll_clause\":{\"arg\":null,\"collname\":[{\"node\":{\"String\":{\"sval\":\"C\"}}}],\"location\":60},\"coll_oid\":0,\"colname\":\"c\",\"compression\":\"\",\"constraints\":[],\"cooked_default\":null,\"fdwoptions\":[],\"generated\":\"\",\"identity\":\"\",\"identity_sequence\":null,\"inhcount\":0,\"is_from_type\":false,\"is_local\":true,\"is_not_null\":false,\"location\":53,\"raw_default\":null,\"storage\":\"\",\"storage_name\":\"\",\"type_name\":{\"array_bounds\":[],\"location\":55,\"names\":[{\"node\":{\"String\":{\"sval\":\"text\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}],\"tablespacename\":\"\"}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"InsertStmt\":{\"cols\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":15,\"name\":\"a\",\"val\":null}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":18,\"name\":\"b\",\"val\":null}}}],\"on_conflict_clause\":{\"action\":3,\"infer\":{\"conname\":\"\",\"index_elems\":[{\"node\":{\"IndexElem\":{\"collation\":[],\"expr\":null,\"indexcolname\":\"\",\"name\":\"a\",\"nulls_ordering\":1,\"opclass\":[],\"opclassopts\":[],\"ordering\":1}}}],\"location\":63,\"where_clause\":null},\"location\":51,\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":81,\"name\":\"b\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"excluded\"}}},{\"node\":{\"String\":{\"sval\":\"b\"}}}],\"location\":85}}}}}}],\"where_clause\":null},\"override\":1,\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":12,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"},\"returning_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":106,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":106}}}}}}],\"select_stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[],\"values_lists\":[{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":29,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":32,\"val\":{\"Sval\":{\"sval\":\"x\"}}}}}]}}},{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Ival\":{\"ival\":2}}}}},{\"node\":{\"SetToDefault\":{\"collation\":0,\"location\":42,\"type_id\":0,\"type_mod\":0,\"xpr\":null}}}]}}}],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"UpdateStmt\":{\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":26,\"relname\":\"u\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":7,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"},\"returning_list\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":13,\"name\":\"b\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":17,\"val\":{\"Sval\":{\"sval\":\"y\"}}}}}}}}],\"where_clause\":{\"node\":{\"BoolExpr\":{\"args\":[{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"t\"}}},{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":34}}},\"location\":38,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"u\"}}},{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":40}}}}}},{\"node\":{\"AExpr\":{\"kind\":4,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"u\"}}},{\"node\":{\"String\":{\"sval\":\"c\"}}}],\"location\":48}}},\"location\":52,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":true,\"location\":69,\"val\":null}}}}}}],\"boolop\":1,\"location\":44,\"xpr\":null}}},\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"DeleteStmt\":{\"relation\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":12,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"},\"returning_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":48,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"t\"}}},{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":48}}}}}}],\"using_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":20,\"relname\":\"u\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"where_clause\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"t\"}}},{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":28}}},\"location\":32,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"u\"}}},{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":34}}}}}},\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":14,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":{\"node\":{\"BoolExpr\":{\"args\":[{\"node\":{\"AExpr\":{\"kind\":14,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":22}}},\"location\":24,\"name\":[{\"node\":{\"String\":{\"sval\":\"NOT BETWEEN SYMMETRIC\"}}}],\"rexpr\":{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":46,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":52,\"val\":{\"Ival\":{\"ival\":2}}}}}]}}}}}},{\"node\":{\"AExpr\":{\"kind\":5,\"lexpr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":57}}},\"location\":59,\"name\":[{\"node\":{\"String\":{\"sval\":\"=\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":80,\"val\":{\"Ival\":{\"ival\":3}}}}}}}}],\"boolop\":2,\"location\":54,\"xpr\":null}}},\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"XmlExpr\":{\"arg_names\":[],\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":51,\"val\":{\"Sval\":{\"sval\":\"d\"}}}}}],\"indent\":false,\"location\":7,\"name\":\"a\",\"named_args\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":40,\"name\":\"c\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":40,\"val\":{\"Sval\":{\"sval\":\"b\"}}}}}}}}],\"op\":2,\"type\":0,\"typmod\":0,\"xmloption\":1,\"xpr\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":57,\"name\":\"\",\"val\":{\"node\":{\"XmlExpr\":{\"arg_names\":[],\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":75,\"val\":{\"Sval\":{\"sval\":\"<a/>\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":-1,\"val\":{\"Boolval\":{\"boolval\":false}}}}}],\"indent\":false,\"location\":57,\"name\":\"\",\"named_args\":[],\"op\":4,\"type\":0,\"typmod\":0,\"xmloption\":1,\"xpr\":null}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":95,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"JsonObjectConstructor\":{\"absent_on_null\":false,\"exprs\":[{\"node\":{\"JsonKeyValue\":{\"key\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":19,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"value\":{\"format\":{\"encoding\":1,\"format_type\":1,\"location\":-1},\"formatted_expr\":null,\"raw_expr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":24,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}}],\"location\":7,\"output\":null,\"unique\":false}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":28,\"name\":\"\",\"val\":{\"node\":{\"JsonArrayConstructor\":{\"absent_on_null\":true,\"exprs\":[{\"node\":{\"JsonValueExpr\":{\"format\":{\"encoding\":1,\"format_type\":1,\"location\":-1},\"formatted_expr\":null,\"raw_expr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},{\"node\":{\"JsonValueExpr\":{\"format\":{\"encoding\":1,\"format_type\":1,\"location\":-1},\"formatted_expr\":null,\"raw_expr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":42,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}],\"location\":28,\"output\":null}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":46,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":46,\"val\":{\"Sval\":{\"sval\":\"{\\\"a\\\":1}\"}}}}},\"location\":55,\"type_name\":{\"array_bounds\":[],\"location\":57,\"names\":[{\"node\":{\"String\":{\"sval\":\"jsonb\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":63,\"name\":[{\"node\":{\"String\":{\"sval\":\"@?\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":66,\"val\":{\"Sval\":{\"sval\":\"$.a\"}}}}}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":73,\"name\":\"\",\"val\":{\"node\":{\"JsonIsPredicate\":{\"expr\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}],\"location\":73}}},\"format\":{\"encoding\":1,\"format_type\":1,\"location\":-1},\"item_type\":2,\"location\":73,\"unique_keys\":false}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"ExplainStmt\":{\"options\":[{\"node\":{\"DefElem\":{\"arg\":null,\"arg_location\":-1,\"defaction\":1,\"defname\":\"analyze\",\"defnamespace\":\"\",\"location\":9}}},{\"node\":{\"DefElem\":{\"arg\":null,\"arg_location\":-1,\"defaction\":1,\"defname\":\"buffers\",\"defnamespace\":\"\",\"location\":18}}}],\"query\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":34,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":34,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}}}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"VariableSetStmt\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":18,\"val\":{\"Sval\":{\"sval\":\"public\"}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":26,\"val\":{\"Sval\":{\"sval\":\"pg_catalog\"}}}}}],\"is_local\":false,\"kind\":1,\"name\":\"search_path\"}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"GrantStmt\":{\"behavior\":1,\"grant_option\":false,\"grantees\":[{\"node\":{\"RoleSpec\":{\"location\":21,\"rolename\":\"\",\"roletype\":5}}}],\"grantor\":null,\"is_grant\":true,\"objects\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":16,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"objtype\":42,\"privileges\":[{\"node\":{\"AccessPriv\":{\"cols\":[],\"priv_name\":\"select\"}}}],\"targtype\":1}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeTableSample\":{\"args\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":36,\"val\":{\"Ival\":{\"ival\":10}}}}}],\"location\":28,\"method\":[{\"node\":{\"String\":{\"sval\":\"system\"}}}],\"relation\":{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":14,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}},\"repeatable\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":52,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":7}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Sval\":{\"sval\":\"\\\\x00\"}}}}},\"location\":13,\"type_name\":{\"array_bounds\":[],\"location\":15,\"names\":[{\"node\":{\"String\":{\"sval\":\"bytea\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":22,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":22,\"val\":{\"Bsval\":{\"bsval\":\"b0101\"}}}}},\"location\":29,\"type_name\":{\"array_bounds\":[],\"location\":31,\"names\":[{\"node\":{\"String\":{\"sval\":\"pg_catalog\"}}},{\"node\":{\"String\":{\"sval\":\"bit\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":35,\"val\":{\"Ival\":{\"ival\":4}}}}}]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":39,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}},\"location\":42,\"type_name\":{\"array_bounds\":[],\"location\":44,\"names\":[{\"node\":{\"String\":{\"sval\":\"char\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":52,\"name\":\"\",\"val\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"TypeCast\":{\"arg\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":52,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":53,\"type_name\":{\"array_bounds\":[],\"location\":55,\"names\":[{\"node\":{\"String\":{\"sval\":\"int8\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}},\"location\":59,\"type_name\":{\"array_bounds\":[],\"location\":61,\"names\":[{\"node\":{\"String\":{\"sval\":\"text\"}}}],\"pct_type\":false,\"setof\":false,\"type_oid\":0,\"typemod\":-1,\"typmods\":[]}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":46,\"relname\":\"t\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"a\"}}},{\"node\":{\"String\":{\"sval\":\"b\"}}},{\"node\":{\"String\":{\"sval\":\"c\"}}},{\"node\":{\"String\":{\"sval\":\"d\"}}}],\"location\":7}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":16,\"name\":\"\",\"val\":{\"node\":{\"AIndirection\":{\"arg\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":16}}},\"indirection\":[{\"node\":{\"AIndices\":{\"is_slice\":true,\"lidx\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":18,\"val\":{\"Ival\":{\"ival\":1}}}}},\"uidx\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":20,\"val\":{\"Ival\":{\"ival\":2}}}}}}}}]}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":24,\"name\":\"\",\"val\":{\"node\":{\"AIndirection\":{\"arg\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"a\"}}}],\"location\":25}}},\"indirection\":[{\"node\":{\"String\":{\"sval\":\"b\"}}},{\"node\":{\"AIndices\":{\"is_slice\":false,\"lidx\":null,\"uidx\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":30,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}]}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":34,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"AStar\":{}}}],\"location\":34}}}}}},{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":37,\"name\":\"\",\"val\":{\"node\":{\"ColumnRef\":{\"fields\":[{\"node\":{\"String\":{\"sval\":\"t\"}}},{\"node\":{\"AStar\":{}}}],\"location\":37}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[{\"node\":{\"JoinExpr\":{\"alias\":null,\"is_natural\":false,\"join_using_alias\":null,\"jointype\":4,\"larg\":{\"node\":{\"JoinExpr\":{\"alias\":null,\"is_natural\":false,\"join_using_alias\":null,\"jointype\":2,\"larg\":{\"node\":{\"JoinExpr\":{\"alias\":null,\"is_natural\":true,\"join_using_alias\":null,\"jointype\":3,\"larg\":{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":14,\"relname\":\"a\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}},\"quals\":null,\"rarg\":{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":34,\"relname\":\"b\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}},\"rtindex\":0,\"using_clause\":[]}}},\"quals\":null,\"rarg\":{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":46,\"relname\":\"c\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}},\"rtindex\":0,\"using_clause\":[{\"node\":{\"String\":{\"sval\":\"x\"}}}]}}},\"quals\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":74,\"val\":{\"Boolval\":{\"boolval\":true}}}}},\"rarg\":{\"node\":{\"RangeVar\":{\"alias\":null,\"catalogname\":\"\",\"inh\":true,\"location\":69,\"relname\":\"d\",\"relpersistence\":\"p\",\"schemaname\":\"\"}}},\"rtindex\":0,\"using_clause\":[]}}}],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[{\"node\":{\"SortBy\":{\"location\":-1,\"node\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":35,\"val\":{\"Ival\":{\"ival\":1}}}}},\"sortby_dir\":1,\"sortby_nulls\":1,\"use_op\":[]}}}],\"target_list\":[],\"values_lists\":[{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":8,\"val\":{\"Ival\":{\"ival\":1}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":11,\"val\":{\"Sval\":{\"sval\":\"a\"}}}}}]}}},{\"node\":{\"List\":{\"items\":[{\"node\":{\"AConst\":{\"isnull\":false,\"location\":18,\"val\":{\"Ival\":{\"ival\":2}}}}},{\"node\":{\"AConst\":{\"isnull\":false,\"location\":21,\"val\":{\"Sval\":{\"sval\":\"b\"}}}}}]}}}],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n{\"stmts\":[{\"stmt\":{\"node\":{\"SelectStmt\":{\"all\":false,\"distinct_clause\":[],\"from_clause\":[],\"group_clause\":[],\"group_distinct\":false,\"having_clause\":null,\"into_clause\":null,\"larg\":null,\"limit_count\":null,\"limit_offset\":null,\"limit_option\":1,\"locking_clause\":[],\"op\":1,\"rarg\":null,\"sort_clause\":[],\"target_list\":[{\"node\":{\"ResTarget\":{\"indirection\":[],\"location\":7,\"name\":\"\",\"val\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AExpr\":{\"kind\":1,\"lexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":7,\"val\":{\"Ival\":{\"ival\":1}}}}},\"location\":8,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":9,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":10,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":11,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":12,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":13,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":14,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":15,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":16,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":17,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":18,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":19,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":20,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":21,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":22,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":23,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":24,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":25,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":26,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":27,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":28,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":29,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":30,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":31,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":32,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":33,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":34,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":35,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":36,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":37,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":38,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":39,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":40,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":41,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":42,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":43,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":44,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":45,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":46,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":47,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":48,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":49,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":50,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":51,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":52,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":53,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":54,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":55,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":56,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":57,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":58,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":59,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":60,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":61,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":62,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":63,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":64,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":65,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":66,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":67,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":68,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":69,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":70,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":71,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":72,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":73,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":74,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":75,\"val\":{\"Ival\":{\"ival\":1}}}}}}}},\"location\":76,\"name\":[{\"node\":{\"String\":{\"sval\":\"+\"}}}],\"rexpr\":{\"node\":{\"AConst\":{\"isnull\":false,\"location\":77,\"val\":{\"Ival\":{\"ival\":1}}}}}}}}}}}],\"values_lists\":[],\"where_clause\":null,\"window_clause\":[],\"with_clause\":null}}},\"stmt_len\":0,\"stmt_location\":0}],\"version\":170007}\n!syntax\n!syntax\n!syntax\n!syntax\n!syntax\n!syntax\n!too_large\n!too_large\n!too_large\n!too_large\n";Expand description
The answer to each statement of cases, one a line, in order.