Joe McDonnell created IMPALA-13496:
--------------------------------------

             Summary: JniFrontend should use JniUtil.serializeToThrift() for 
serialization
                 Key: IMPALA-13496
                 URL: https://issues.apache.org/jira/browse/IMPALA-13496
             Project: IMPALA
          Issue Type: Task
          Components: Frontend
    Affects Versions: Impala 4.5.0
            Reporter: Joe McDonnell


JniFrontend.java has many locations like this:
{code:java}
    try {
      TSerializer serializer = new TSerializer(protocolFactory_);
      return serializer.serialize(result);
    } catch (TException e) {
      throw new InternalException(e.getMessage());
    } {code}
This is the same as JniUtil.serializeToThrift(). We should standardize on 
JniUtil.serializeToThrift() to avoid the code duplication.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to