-
Notifications
You must be signed in to change notification settings - Fork 578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(expr): add jsonb_pretty
function
#13050
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but maybe sqllogictest cannot handle multiline output well.
Are we able to uncomment these?
risingwave/src/tests/regress/data/sql/jsonb.sql
Lines 1050 to 1052 in 726964a
--@ select jsonb_pretty('{"a": "test", "b": [1, 2, 3], "c": "test3", "d":{"dd": "test4", "dd2":{"ddd": "test5"}}}'); | |
--@ select jsonb_pretty('[{"f1":1,"f2":null},2,null,[[{"x":true},6,7],8],3]'); | |
--@ select jsonb_pretty('{"a":["b", "c"], "d": {"e":"f"}}'); |
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
2d64d3a
to
3c4d55c
Compare
Signed-off-by: Runji Wang <wangrunji0408@163.com>
Signed-off-by: Runji Wang <wangrunji0408@163.com>
5c64c7b
to
4d6af6a
Compare
Codecov Report
@@ Coverage Diff @@
## main #13050 +/- ##
=======================================
Coverage 68.56% 68.56%
=======================================
Files 1496 1496
Lines 251504 251513 +9
=======================================
+ Hits 172439 172453 +14
+ Misses 79065 79060 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
As title. based on #11805
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
Support
jsonb_pretty
function.