You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/05/02 06:42:15 UTC

[jira] [Resolved] (PHOENIX-817) PhoenixIOException : CeilDecimalExpression cannot be cast to SingleAggregateFunction

     [ https://issues.apache.org/jira/browse/PHOENIX-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-817.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.0
                   4.0.0
                   3.0.0

> PhoenixIOException : CeilDecimalExpression cannot be cast to SingleAggregateFunction
> ------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-817
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-817
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: alex kamil
>             Fix For: 3.0.0, 4.0.0, 5.0.0
>
>
> getting this exception with the most recent master build (3.0.0-SNAPSHOT) when trying to connect with JDBC driver 
> after this setup:
> >git clone https://github.com/forcedotcom/phoenix.git
> >cd phoenix 
> >mvn package -DskipTests
> >rm $HBASE_HOME/lib/phoenix*
> >cp phoenix-assembly/target/phoenix* $HBASE_HOME/lib/
> >cp phoenix-core/target/phoenix* $HBASE_HOME/lib/
> ..
> com.salesforce.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException: SYSTEM.TABLE,,1389143180863.005553c475a9e7c77bcc242f7092f294.: com.salesforce.phoenix.expression.function.CeilDecimalExpression cannot be cast to com.salesforce.phoenix.expression.function.SingleAggregateFunction
> 	at com.salesforce.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:107)
> 	at com.salesforce.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:217)
> 	at com.salesforce.phoenix.iterate.ConcatResultIterator.getIterators(ConcatResultIterator.java:54)
> 	at com.salesforce.phoenix.iterate.ConcatResultIterator.currentIterator(ConcatResultIterator.java:76)
> 	at com.salesforce.phoenix.iterate.ConcatResultIterator.next(ConcatResultIterator.java:96)
> 	at com.salesforce.phoenix.iterate.GroupedAggregatingResultIterator.next(GroupedAggregatingResultIterator.java:78)
> 	at com.salesforce.phoenix.iterate.UngroupedAggregatingResultIterator.next(UngroupedAggregatingResultIterator.java:49)
> 	at com.salesforce.phoenix.compile.PostDDLCompiler$1.execute(PostDDLCompiler.java:195)
> 	at com.salesforce.phoenix.query.ConnectionQueryServicesImpl.updateData(ConnectionQueryServicesImpl.java:1240)
> 	at com.salesforce.phoenix.schema.MetaDataClient.createTable(MetaDataClient.java:355)
> 	at com.salesforce.phoenix.compile.CreateTableCompiler$1.execute(CreateTableCompiler.java:83)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableCreateTableStatement.executeUpdate(PhoenixStatement.java:357)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement.executeUpdate(PhoenixStatement.java:1036)
> 	at com.salesforce.phoenix.query.ConnectionQueryServicesImpl.init(ConnectionQueryServicesImpl.java:1217)
> 	at com.salesforce.phoenix.jdbc.PhoenixDriver.getConnectionQueryServices(PhoenixDriver.java:87)
> 	at com.salesforce.phoenix.jdbc.PhoenixEmbeddedDriver.connect(PhoenixEmbeddedDriver.java:115)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:571)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:233)



--
This message was sent by Atlassian JIRA
(v6.2#6252)