You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jihun Kang (JIRA)" <ji...@apache.org> on 2014/10/15 02:15:33 UTC
[jira] [Commented] (TAJO-1114) Improve ConfVars (SessionVar) to
take a validator interface to check its input.
[ https://issues.apache.org/jira/browse/TAJO-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14171749#comment-14171749 ]
Jihun Kang commented on TAJO-1114:
----------------------------------
It looks very interesting feature. I will start to work on this issue.
> Improve ConfVars (SessionVar) to take a validator interface to check its input.
> -------------------------------------------------------------------------------
>
> Key: TAJO-1114
> URL: https://issues.apache.org/jira/browse/TAJO-1114
> Project: Tajo
> Issue Type: Task
> Reporter: Hyunsik Choi
>
> Each task uses session variables from client or configs from tajo-site.xml. The session variables and configs are used in task during query processing.
> If invalid configs or invalid session variables are used for a query, the error will be caused in a runtime instead of query init phase. It's bad situation. Invalid values must be detected at the initialization phase.
> Because each session variable or config varies in its value type and value range, It would be great if each ConfigKey takes a validator for its value and Tajo uses validators for it.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)