You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/26 17:40:27 UTC

[jira] [Commented] (METAMODEL-204) JDBC module does not rewrite newly introduced "APPROXIMATE" keyword

    [ https://issues.apache.org/jira/browse/METAMODEL-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974513#comment-14974513 ] 

ASF GitHub Bot commented on METAMODEL-204:
------------------------------------------

GitHub user kaspersorensen opened a pull request:

    https://github.com/apache/metamodel/pull/66

    METAMODEL-204: Fixed

    My attempt at fixing METAMODEL-204 which unfortunately seemed to block the release of MetaModel 4.4.1.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kaspersorensen/metamodel METAMODEL-204

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/metamodel/pull/66.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #66
    
----
commit d540f9f5a8f2c164a87c5e5e015b266fd623b2b6
Author: Kasper Sørensen <i....@gmail.com>
Date:   2015-10-26T16:39:35Z

    METAMODEL-204: Fixed

----


> JDBC module does not rewrite newly introduced "APPROXIMATE" keyword
> -------------------------------------------------------------------
>
>                 Key: METAMODEL-204
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-204
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>            Priority: Critical
>             Fix For: 4.4.1
>
>
> The newly introduced APPROXIMATE keyword (from METAMODEL-200) is passed on to the underlying database's SQL query in the JDBC module.
> Discovered via debug in JdbcDataContext line 432 where "queryString" has value like:
> {code}
> SELECT APPROXIMATE COUNT(*) FROM PUBLIC."CUSTOMERS"
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)