Skip to content

Commit 5bea49a

Browse files
authored
More jsonb funcs, no examples in the docs (#8657)
1 parent 3cfb9bb commit 5bea49a

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

ydb/library/yql/parser/pg_catalog/safe_procs.h

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@
66
"version",
77
"pow",
88

9+
// some json/jsonb functions
10+
"json_build_object",
11+
"jsonb_build_object",
12+
"jsonb_object",
13+
"jsonb_array_elements",
14+
"jsonb_array_elements_text",
15+
"jsonb_each",
16+
"jsonb_each_text",
17+
"jsonb_extract_path",
18+
"jsonb_extract_path_text",
19+
"jsonb_object_keys",
20+
"jsonb_strip_nulls",
21+
"jsonb_path_match_tz",
22+
"jsonb_path_query_tz",
23+
"jsonb_path_query_array_tz",
24+
"jsonb_path_query_first_tz",
25+
"jsonb_typeof",
26+
927
"set_config",//pgadmin
1028
"pg_is_in_recovery",//pgadmin
1129
"pg_is_wal_replay_paused",//pgadmin
@@ -26,4 +44,4 @@
2644
"pg_get_expr",
2745
"pg_get_partkeydef",
2846
"pg_tablespace_location",
29-
"current_schemas",
47+
"current_schemas",

ydb/library/yql/tests/sql/yt_native_file/part12/canondata/result.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2961,9 +2961,9 @@
29612961
],
29622962
"test.test[pg_catalog-pg_description_pg_syntax-default.txt-Results]": [
29632963
{
2964-
"checksum": "c409b6d485074ebf17560f4723affc3d",
2964+
"checksum": "ab8e21760da4bf353ac12f633213227b",
29652965
"size": 2768,
2966-
"uri": "https://{canondata_backend}/1773845/589814889e9fb4d6d34f5e6d53336daf3a27b51e/resource.tar.gz#test.test_pg_catalog-pg_description_pg_syntax-default.txt-Results_/results.txt"
2966+
"uri": "https://{canondata_backend}/1924537/24cc2a34d7ebf1958abe0cd6c74c6af03994cd3e/resource.tar.gz#test.test_pg_catalog-pg_description_pg_syntax-default.txt-Results_/results.txt"
29672967
}
29682968
],
29692969
"test.test[pg_catalog-pg_timezone_abbrevs-default.txt-Debug]": [

0 commit comments

Comments
 (0)