This is an automated email from the ASF dual-hosted git repository.
kfaraz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 548d810baa Correct nested columns example (#13150)
548d810baa is described below
commit 548d810baa0dc7915afa498fb8249ca66a30d9e2
Author: Jill Osborne <[email protected]>
AuthorDate: Wed Sep 28 06:09:56 2022 +0100
Correct nested columns example (#13150)
---
docs/querying/nested-columns.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/querying/nested-columns.md b/docs/querying/nested-columns.md
index 9c131ee27d..397d248ecc 100644
--- a/docs/querying/nested-columns.md
+++ b/docs/querying/nested-columns.md
@@ -271,7 +271,7 @@ WITH source AS (SELECT * FROM TABLE(
EXTERN(
'{"type":"inline","data":"{\"time\": \"2022-06-13T10:10:35Z\",
\"product\": \"Bike\", \"department\":\"Sports\",
\"shipTo\":\"{\\\"firstName\\\": \\\"Henry\\\",\\\"lastName\\\":
\\\"Wuckert\\\",\\\"address\\\": {\\\"street\\\": \\\"5643 Jan
Walk\\\",\\\"city\\\": \\\"Lake Bridget\\\",\\\"state\\\":
\\\"HI\\\",\\\"country\\\":\\\"ME\\\",\\\"postalCode\\\":
\\\"70204-2939\\\"},\\\"phoneNumbers\\\":
[{\\\"type\\\":\\\"primary\\\",\\\"number\\\":\\\"593.475.0449 x86733\\\"
},{\\\"type\\\ [...]
'{"type":"json"}',
-
'[{"name":"time","type":"string"},{"name":"product","type":"string"},{"name":"department","type":"string"},{"name":"shipTo","type":"string"},{"name":"details","type":"string"},{"name":"shipTo_parsed","type":"json"},{"name":"details_parsed","type":"json"}]'
+
'[{"name":"time","type":"string"},{"name":"product","type":"string"},{"name":"department","type":"string"},{"name":"shipTo","type":"string"},{"name":"details","type":"string"}]'
)
))
SELECT
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]