Improve naming in json_extract_missing_cols

This commit is contained in:
Anna Scholtz 2020-05-12 09:52:46 -07:00
Родитель 76d7ea722b
Коммит 43a96d1d01
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -86,11 +86,11 @@ WITH
"other-second": "value",
"array": [
{
"array-element": "value",
"another-array-element": "value"
"duplicate-array-element": "value",
"unique-array-element": "value"
},
{
"array-element": "value",
"duplicate-array-element": "value",
"nested-array-element": {"nested": "value"}
}
]
@ -108,11 +108,11 @@ WITH
--
SELECT
assert_array_equals_any_order(no_args, ARRAY['`first`.`second`.`third`', '`first`.`other-second`',
'`first`.`array`.[...].`nested-array-element`.`nested`', '`first`.`array`.[...].`array-element`',
'`first`.`array`.[...].`another-array-element`']),
'`first`.`array`.[...].`nested-array-element`.`nested`', '`first`.`array`.[...].`duplicate-array-element`',
'`first`.`array`.[...].`unique-array-element`']),
assert_array_equals_any_order(indicates_node_arg, ARRAY['`first`.`second`', '`first`.`other-second`',
'`first`.`array`.[...].`nested-array-element`.`nested`', '`first`.`array`.[...].`array-element`',
'`first`.`array`.[...].`another-array-element`']),
'`first`.`array`.[...].`nested-array-element`.`nested`', '`first`.`array`.[...].`duplicate-array-element`',
'`first`.`array`.[...].`unique-array-element`']),
assert_array_equals_any_order(is_node_arg, ARRAY['`first`'])
FROM
extracted