impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4196: Cross compile bit-byte-functions
Date Fri, 30 Sep 2016 19:39:42 GMT
Michael Ho has posted comments on this change.

Change subject: IMPALA-4196: Cross compile bit-byte-functions

Patch Set 3:

(1 comment)
File testdata/workloads/functional-query/queries/QueryTest/exprs.test:

Line 2499: select count(shiftleft(int_col, 1)) from functional_parquet.alltypes
> No, it fails with a warning. Basically I tend to agree with Tim that the ex
I think that's a valid point that failure to codegen shouldn't be treated as a fatal error.
In general, I think we should rethink on whether codegen should happen in ScalarFnCall()::Prepare().
If possible, we should just push the codegen to happen at the point when GetCodegenedComputeFn()
is called the first time like other Expr. It may be slightly more tricky if the external UDF
is entirely written in LLVM IR in which case there is no way to fall back to interpretation.

Anyhow, I don't think we need to address all of these in this patch.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I5a1291bfd202b500405a884e4a62f0ca2447244a
Gerrit-PatchSet: 3
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Bharath Vissapragada <>
Gerrit-Reviewer: Bharath Vissapragada <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message