Chung WONG
10/07/2025, 6:26 AM> describe (select [1,2,3])
┌─name──────┬─type─────────┬─default_type─┬─default_expression─┬─comment─┬─codec_expression─┬─ttl_expression─┐
1. │ [1, 2, 3] │ Array(UInt8) │ │ │ │ │ │
└───────────┴──────────────┴──────────────┴────────────────────┴─────────┴──────────────────┴────────────────┘
And I know exactly the type s of the result.Robert Raharjo
10/08/2025, 12:19 AMCREATE VIEW AS and delete it afterward or another option is using the http
curl -X POST 'http://<fe-ip>:<fe-http-port>/api/v1/catalogs/<catalog-name>/databases/<db-name>/sql' -u '<user>:<password>' -d '{"query": "<query>"}' --header "Content-Type: application/json"
If you just need the data type, you can put limit 0 on the query.