I have a valid json, IS JSON flink sql function wo...
# troubleshooting
g
I have a valid json, IS JSON flink sql function working fine, returning true on flink sql cli, but value is returning null in below sql, can someone help
Copy code
select '"{\"id\": \"38b5eed2-5d42-4cb9-8f75-2df56665b44b\"}"' IS JSON, JSON_VALUE('"{\"id\": \"38b5eed2-5d42-4cb9-8f75-2df56665b44b\"}"', '$.id');
tried
select '"{\"id\": \"38b5eed2-5d42-4cb9-8f75-2df56665b44b\"}"' IS JSON, JSON_VALUE('"{\"id\": \"38b5eed2-5d42-4cb9-8f75-2df56665b44b\"}"', '$.\"id\"');
no luck