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 2014/11/26 10:14:12 UTC

[jira] [Commented] (LENS-61) JDBC: rewrite error for queries with non aggregated columns

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

Sushil Mohanty commented on LENS-61:
------------------------------------

{CODE}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lens Checkstyle Rules ............................. SUCCESS [3.684s]
[INFO] Lens .............................................. SUCCESS [9.454s]
[INFO] Lens API .......................................... SUCCESS [9.632s]
[INFO] Lens API for server and extensions ................ SUCCESS [11.882s]
[INFO] Lens Cube ......................................... SUCCESS [23.835s]
[INFO] Lens DB storage ................................... SUCCESS [7.287s]
[INFO] Lens Query Library ................................ SUCCESS [6.356s]
[INFO] Lens Hive Driver .................................. SUCCESS [7.251s]
[INFO] Lens Driver for Cloudera Impala ................... SUCCESS [2.550s]
[INFO] Lens Driver for JDBC .............................. SUCCESS [6.566s]
[INFO] Lens Server ....................................... SUCCESS [1:29.851s]
[INFO] Lens client ....................................... SUCCESS [8.508s]
[INFO] Lens CLI .......................................... SUCCESS [26.419s]
[INFO] Lens Examples ..................................... SUCCESS [3.486s]
[INFO] Lens Distribution ................................. SUCCESS [17.637s]
[INFO] Lens Client Distribution .......................... SUCCESS [30.983s]
[INFO] Lens ML Lib ....................................... SUCCESS [28.090s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
{CODE}

> JDBC: rewrite error for queries with non aggregated columns
> -----------------------------------------------------------
>
>                 Key: LENS-61
>                 URL: https://issues.apache.org/jira/browse/LENS-61
>             Project: Apache Lens
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Raghavendra Singh
>            Assignee: Sushil Mohanty
>             Fix For: 2.0
>
>         Attachments: LENS-61.patch
>
>
> {CODE}
> com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column in 'field list'
> 	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936)
> 	at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
> 	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
> 	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
> 	at com.mysql.jdbc.Connection.execSQL(Connection.java:3277)
> 	at com.mysql.jdbc.Connection.execSQL(Connection.java:3206)
> 	at com.mysql.jdbc.Statement.execute(Statement.java:727)
> 	at com.mchange.v2.c3p0.impl.NewProxyStatement.execute(NewProxyStatement.java:1006)
> 	at org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:299)
> 	at org.apache.lens.driver.jdbc.JDBCDriver$QueryCallable.call(JDBCDriver.java:258)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> 	at java.lang.Thread.run(Thread.java:701)
> {CODE}



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