mirror of https://github.com/citusdata/citus.git
Ruleutils_17 SQL/JSON: Fix default ON ERROR behavior for JSON_TABLE
Relevant PG commit:
5067c230b8
5067c230b8ee42a01cc77dc5745bc3a78f393af3
pull/7725/head
parent
b988af3c35
commit
330e886f79
|
@ -8651,7 +8651,7 @@ get_json_table(TableFunc *tf, deparse_context *context, bool showimplicit)
|
|||
get_json_table_columns(tf, castNode(JsonTablePathScan, tf->plan), context,
|
||||
showimplicit);
|
||||
|
||||
if (jexpr->on_error->btype != JSON_BEHAVIOR_EMPTY)
|
||||
if (jexpr->on_error->btype != JSON_BEHAVIOR_EMPTY_ARRAY)
|
||||
get_json_behavior(jexpr->on_error, context, "ERROR");
|
||||
|
||||
if (PRETTY_INDENT(context))
|
||||
|
|
Loading…
Reference in New Issue