Just send prepare request to Kylin server as before, by default, the server 
side cache is enable:


POST /kylin/api/query
{"sql":"select minute_start,count(1) from TABLE where minute_start>=? and 
minute_start<? group by 
minute_start","offset":0,"limit":50000,"params":[{"className":"java.sql.Timestamp","value":"2012-01-01
 02:00:00"},{"className":"java.sql.Timestamp","value":"2012-01-01 
05:00:00"}],"acceptPartial":true,"project":"default","backdoorToggles": {}}






在 2018-09-25 17:35:18,"ShaoFeng Shi" <shaofeng...@apache.org> 写道:
>+1 to add this into Kylin documentation.
>
>huaicui <270922...@qq.com> 于2018年9月25日周二 下午5:22写道:
>
>> I want to enable this function in V2.5.0, but i don't how to use this
>> PreparedStatement.
>>
>> --
>> Sent from: http://apache-kylin.74782.x6.nabble.com/
>>
>
>
>-- 
>Best regards,
>
>Shaofeng Shi 史少锋

Reply via email to