You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Bhanu Mohanty <bh...@gmail.com> on 2016/06/19 01:18:30 UTC

Kylin JDBC

Issues with Kylin PreparedStatement

Data Type : Date

// From Date

 PreparedStatement.setDate(1, java.sql.Date.valueOf("2016-01-01"));

// To Date

 PreparedStatement.setDate(2, java.sql.Date.valueOf("2016-06-01"));

Kylin Debug Statement - Post body:

{"sql":"************","project":"*******","acceptPartial":false,"params":[{"className":"java.lang.Integer","value":"16801"},{"className":"java.lang.Integer","value":"16953"}]}

No data is returned.

If I pass the date part of the Query String , then it returns data.