phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-693) IllegalDataException extends RuntimeException and is not wrapped in a SQLException
Date Fri, 02 May 2014 04:54:19 GMT

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

James Taylor resolved PHOENIX-693.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.0
                   4.0.0
                   3.0.0

> IllegalDataException extends RuntimeException and is not wrapped in a SQLException
> ----------------------------------------------------------------------------------
>
>                 Key: PHOENIX-693
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-693
>             Project: Phoenix
>          Issue Type: Task
>    Affects Versions: 3.0-Release
>            Reporter: Nick Dimiduk
>             Fix For: 3.0.0, 4.0.0, 5.0.0
>
>
> Per Julian Hyde's recent user post:
> <blockquote>
> <pre>
> 0: jdbc:phoenix:localhost> upsert into foo values(1, to_date('1957-11-08 00:00:00'));
> com.salesforce.phoenix.schema.IllegalDataException
> 	at com.salesforce.phoenix.schema.PDataType$UnsignedLongCodec.decodeLong(PDataType.java:3836)
> 	at com.salesforce.phoenix.schema.PDataType$12.toObject(PDataType.java:1794)
> 	at com.salesforce.phoenix.schema.PDataType.toObject(PDataType.java:4585)
> 	at com.salesforce.phoenix.schema.PDataType.toObject(PDataType.java:4577)
> 	at com.salesforce.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:451)
> 	at com.salesforce.phoenix.compile.ExpressionCompiler.visitLeave(ExpressionCompiler.java:109)
> 	at com.salesforce.phoenix.parse.FunctionParseNode.accept(FunctionParseNode.java:94)
> 	at com.salesforce.phoenix.compile.UpsertCompiler.compile(UpsertCompiler.java:554)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.compilePlan(PhoenixStatement.java:290)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.optimizePlan(PhoenixStatement.java:295)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.executeUpdate(PhoenixStatement.java:279)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement$ExecutableUpsertStatement.execute(PhoenixStatement.java:272)
> 	at com.salesforce.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:1014)
> 	at sqlline.SqlLine$Commands.execute(SqlLine.java:3673)
> 	at sqlline.SqlLine$Commands.sql(SqlLine.java:3584)
> 	at sqlline.SqlLine.dispatch(SqlLine.java:821)
> 	at sqlline.SqlLine.begin(SqlLine.java:699)
> 	at sqlline.SqlLine.mainWithInputRedirection(SqlLine.java:441)
> 	at sqlline.SqlLine.main(SqlLine.java:424)
> </pre>
> </blockquote>



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

Mime
View raw message