You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2018/07/19 20:44:00 UTC
[jira] [Updated] (IMPALA-2536) Consider making ColumnType ctor
explicit
[ https://issues.apache.org/jira/browse/IMPALA-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Armstrong updated IMPALA-2536:
----------------------------------
Labels: newbie (was: )
> Consider making ColumnType ctor explicit
> ----------------------------------------
>
> Key: IMPALA-2536
> URL: https://issues.apache.org/jira/browse/IMPALA-2536
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 2.3.0
> Reporter: Skye Wanderman-Milne
> Priority: Minor
> Labels: newbie
>
> We currently rely on the ColumnType(PrimitiveType) constructor not being marked explicit (e.g. we use type == TYPE_FOO in many places), but it allows for bugs if we accidentally pass in e.g. ints instead of types. We should be using type.type == TYPE_FOO anyway.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org