drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5651) Drill pushed invalid SQL to SQL Server when ceil scalar function used
Date Sat, 01 Jul 2017 14:03:00 GMT
N Campbell created DRILL-5651:
---------------------------------

             Summary: Drill pushed invalid SQL to SQL Server when ceil scalar function used
                 Key: DRILL-5651
                 URL: https://issues.apache.org/jira/browse/DRILL-5651
             Project: Apache Drill
          Issue Type: Bug
          Components:  Server
    Affects Versions: 1.10.0
         Environment: Drill 1.10
SQL Server 2016
            Reporter: N Campbell


plugin defined to SQL Server via JDBC

following statement sent to Drill which generates invalid SQL 
https://docs.microsoft.com/en-us/sql/t-sql/functions/mathematical-functions-transact-sql

select TBINT.RNUM, CEIL( TBINT.CBINT ) from certsqlserver.dbo.TBINT 
Errors:
DATA_READ ERROR: The JDBC storage plugin failed while trying setup the SQL query. 

SELECT "RNUM", CEIL("CBINT") AS "EXPR$1" FROM "dbo"."TBINT"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message