walterddr commented on code in PR #10765: URL: https://github.com/apache/pinot/pull/10765#discussion_r1194102710
########## pinot-query-runtime/src/test/resources/queries/JsonType.json: ########## @@ -0,0 +1,22 @@ +{ + "json_data": { + "tables": { + "jsonTbl": { + "schema": [ + {"name": "jsonCol", "type": "JSON"}, + {"name": "stringCol", "type": "STRING"} + ], + "inputs": [ + ["{\"key1\":\"val1\",\"key2\":\"val2\"}", "str1"], + ["{\"key11\":\"val11\",\"key22\":\"val22\"}", "str22"], + ["{\"key111\":\"val111\",\"key222\":{\"key222_a\":\"val222_a\"}}", "str33"] + ] + } + }, + "queries": [ + {"sql": "SELECT jsonCol FROM {jsonTbl}"}, + {"sql": "SELECT jsonCol, stringCol FROM {jsonTbl}"}, + {"sql": "SELECT jsonCol, stringCol FROM {jsonTbl} where stringCol='str33'"} Review Comment: ah. i see so this is only to support JSON as string return? got it. that's good in its own. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org