Raghavendra Singh created LENS-61:
-------------------------------------
Summary: 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
Reporter: Raghavendra Singh
Assignee: Sushil Mohanty
{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)