[
https://issues.apache.org/jira/browse/TAJO-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14740493#comment-14740493
]
ASF GitHub Bot commented on TAJO-1465:
--------------------------------------
Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/652#discussion_r39255984
--- Diff: tajo-common/src/main/java/org/apache/tajo/datum/DatumFactory.java
---
@@ -462,7 +459,7 @@ public static Datum cast(Datum operandDatum, DataType
target, @Nullable TimeZone
case ANY:
return DatumFactory.createAny(operandDatum);
default:
- throw new InvalidCastException(operandDatum.type(),
target.getType());
+ throw new TajoRuntimeException(Errors.ResultCode.INVALID_CAST,
operandDatum.type().name(), target.getType().name());
--- End diff --
It should be ```new TajoRuntimeException(new InvalidCastException(...)```.
> Add ORCFileAppender to write into ORCFile table
> -----------------------------------------------
>
> Key: TAJO-1465
> URL: https://issues.apache.org/jira/browse/TAJO-1465
> Project: Tajo
> Issue Type: Sub-task
> Components: Storage
> Affects Versions: 0.10.0
> Reporter: Dongjoon Hyun
> Assignee: Jongyoung Park
> Labels: orc
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)