JSON_EXTRACT_ALL
This page describes the JSON_EXTRACT_ALL function in Lenses SQL.
JSON_EXTRACT_ALL (json_string,pattern)Processors
SQL Studio
USE `kafka`;
SELECT
JSON_EXTRACT_ALL(time_details, '$.*'),
time_details
FROM credit-card-transactions
LIMIT 2;{
"value": {
"JSON_EXTRACT_ALL": [
"1",
"17",
"15",
"36"
],
"time_details": "{\"hour\": 1, \"minute\": 17, \"second\": 15, \"millisecond\": 36}"
}
}
{
"value": {
"JSON_EXTRACT_ALL": [
"16",
"23",
"2",
"255"
],
"time_details": "{\"hour\": 16, \"minute\": 23, \"second\": 2, \"millisecond\": 255}"
}
}Last updated
Was this helpful?

