hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-13685) Vectorization: Date*ColScalar parses the scalar in every loop
Date Wed, 04 May 2016 07:43:12 GMT
Gopal V created HIVE-13685:
------------------------------

             Summary: Vectorization: Date*ColScalar parses the scalar in every loop
                 Key: HIVE-13685
                 URL: https://issues.apache.org/jira/browse/HIVE-13685
             Project: Hive
          Issue Type: Improvement
          Components: Vectorization
    Affects Versions: 2.1.0
            Reporter: Gopal V


{code}
@Override
  public void evaluate(VectorizedRowBatch batch) {
...
switch (inputTypes[0]) {
...
      case STRING:
      case CHAR:
      case VARCHAR:
        try {
          baseDate = formatter.parse(new String(stringValue, "UTF-8"));
          break;
{code}

This is parsing the constant scalar for every evaluate() call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message