Skip to content

Commit

Permalink
docs: fix some errors qaq
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Sep 19, 2024
1 parent 93181a2 commit 22c2012
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/rfcs/2024-08-06-json-datatype.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,11 @@ Query directly through client:
(Server identifies JSON type and performs auto-conversion based on column metadata)
Query through json_to_string function:
Scan & Decode
String(Serialized JSON)┌──────────┐Arrow Binary(JSONB)┌──────────────┐Arrow Binary(JSONB)
Client <----------------------│ Server │<------------------│ Query Engine │<----- Storage
└──────────┘ └──────────────┘
(Conversion is performed by UDF inside Query Engine)
Scan & Decode
String(Serialized JSON)┌──────────┐String(Serialized JSON)┌──────────────┐Arrow Binary(JSONB)
Client <----------------------│ Server │<----------------------│ Query Engine │<----------------- Storage
└──────────┘ └──────────────┘
(Conversion is performed by UDF inside Query Engine)
```

Expand All @@ -169,7 +169,7 @@ INSERT INTO test VALUES(
}'
);

SELECT json_get_int(b, 'name') FROM test;
SELECT json_get_string(b, 'name') FROM test;
+---------------------+
| b.name |
+---------------------+
Expand Down

0 comments on commit 22c2012

Please sign in to comment.