You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2015/01/04 22:29:46 UTC
[jira] [Updated] (DRILL-1316) Drill does not support the "fn"
syntax generated from Tableau
[ https://issues.apache.org/jira/browse/DRILL-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Nadeau updated DRILL-1316:
----------------------------------
Issue Type: Improvement (was: Bug)
> Drill does not support the "fn" syntax generated from Tableau
> -------------------------------------------------------------
>
> Key: DRILL-1316
> URL: https://issues.apache.org/jira/browse/DRILL-1316
> Project: Apache Drill
> Issue Type: Improvement
> Components: SQL Parser
> Reporter: Krystal
> Fix For: Future
>
>
> git.commit.id.abbrev=654c879
> The following tableau generated query failed in drill:
> 0: jdbc:drill:schema=dfs> SELECT {fn FLOOR({fn EXTRACT(YEAR FROM `hive_voter`.`create_time`)})} AS `yr_columnB_ok` FROM `hive.default`.`voter_hive` `voter_hive` GROUP BY {fn FLOOR({fn EXTRACT(YEAR FROM `voter_hive`.`create_time`)})};
> Error: exception while executing query: Failure while trying to get next result batch. (state=,code=0)
> 0: jdbc:drill:schema=dfs> Query failed: Failure while parsing sql. Encountered "{fn FLOOR" at line 1, column 8.
> Was expecting one of:
> "UNION" ...
> "INTERSECT" ...
> "EXCEPT" ...
> "ORDER" ...
> "LIMIT" ...
> "OFFSET" ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)