You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Sushil Mohanty (JIRA)" <ji...@apache.org> on 2015/02/23 07:39:11 UTC
[jira] [Commented] (LENS-332) Use prepare statement for query
syntax and semantic validation
[ https://issues.apache.org/jira/browse/LENS-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333046#comment-14333046 ]
Sushil Mohanty commented on LENS-332:
-------------------------------------
Review request : https://reviews.apache.org/r/31294/
> Use prepare statement for query syntax and semantic validation
> ---------------------------------------------------------------
>
> Key: LENS-332
> URL: https://issues.apache.org/jira/browse/LENS-332
> Project: Apache Lens
> Issue Type: Improvement
> Components: driver-jdbc
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
>
> Currently we are using "select roughly" for query validation in jdbc driver. Rough query can take more time based on the query complexity and can't guarantee to finish <50ms. On the other hand prepare query is very light weight and we can expect it to finish in defined threshold and is supported by major DBMS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)