Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit72b6460

Browse files
committed
Partial implementation of SQL/JSON path language
SQL 2016 standards among other things contains set of SQL/JSON features forJSON processing inside of relational database. The core of SQL/JSON is JSONpath language, allowing access parts of JSON documents and make computationsover them. This commit implements partial support JSON path language asseparate datatype called "jsonpath". The implementation is partial becauseit's lacking datetime support and suppression of numeric errors. Missingfeatures will be added later by separate commits.Support of SQL/JSON features requires implementation of separate nodes, and itwill be considered in subsequent patches. This commit includes followingset of plain functions, allowing to execute jsonpath over jsonb values: * jsonb_path_exists(jsonb, jsonpath[, jsonb, bool]), * jsonb_path_match(jsonb, jsonpath[, jsonb, bool]), * jsonb_path_query(jsonb, jsonpath[, jsonb, bool]), * jsonb_path_query_array(jsonb, jsonpath[, jsonb, bool]). * jsonb_path_query_first(jsonb, jsonpath[, jsonb, bool]).This commit also implements "jsonb @? jsonpath" and "jsonb @@ jsonpath", whichare wrappers over jsonpath_exists(jsonb, jsonpath) and jsonpath_predicate(jsonb,jsonpath) correspondingly. These operators will have an index support(implemented in subsequent patches).Catversion bumped, to add new functions and operators.Code was written by Nikita Glukhov and Teodor Sigaev, revised by me.Documentation was written by Oleg Bartunov and Liudmila Mantrova. The workwas inspired by Oleg Bartunov.Discussion:https://postgr.es/m/fcc6fc6a-b497-f39a-923d-aa34d0c588e8%402ndQuadrant.comAuthor: Nikita Glukhov, Teodor Sigaev, Alexander Korotkov, Oleg Bartunov, Liudmila MantrovaReviewed-by: Tomas Vondra, Andrew Dunstan, Pavel Stehule, Alexander Korotkov
1 parent893d6f8 commit72b6460

33 files changed

+9079
-55
lines changed

‎doc/src/sgml/biblio.sgml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,17 @@
136136
<pubdate>1988</pubdate>
137137
</biblioentry>
138138

139+
<biblioentry id="sqltr-19075-6">
140+
<title>SQL Technical Report</title>
141+
<subtitle>Part 6: SQL support for JavaScript Object
142+
Notation (JSON)</subtitle>
143+
<edition>First Edition.</edition>
144+
<biblioid>
145+
<ulink url="http://standards.iso.org/ittf/PubliclyAvailableStandards/c067367_ISO_IEC_TR_19075-6_2017.zip"></ulink>.
146+
</biblioid>
147+
<pubdate>2017.</pubdate>
148+
</biblioentry>
149+
139150
</bibliodiv>
140151

141152
<bibliodiv>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp