Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.10.0
-
None
-
None
-
Drill 1.10
SQL Server 2016
Description
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"