You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Joe McDonnell (Code Review)" <ge...@cloudera.org> on 2024/10/31 20:26:34 UTC

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22011


Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 108 insertions(+), 32 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/22011/1
-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Michael Smith, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/22011

to look at the new patch set (#3).

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 120 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/22011/3
-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@162
PS2, Line 162:     if (fnName.getFnNamePath() != null) {
Can we make this logic shared with functionNameEqualsBuiltin? A function to get the builtin name from a FunctionName object, then each implementation would be

  return getBuiltinName(fnName).equalsIgnoreCase(name);

and

  return names.contains(getBuiltinName(fnName).toLowerCase());



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 31 Oct 2024 21:09:30 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Fri, 15 Nov 2024 00:32:54 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Reviewed-on: http://gerrit.cloudera.org:8080/22011
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 130 insertions(+), 43 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 8
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 21:37:31 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Yida Wu (Code Review)" <ge...@cloudera.org>.
Yida Wu has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6: Code-Review+1

(2 comments)

It looks good to me. If no further comments, I am ready to give a +2

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@174
PS5, Line 174: 
> Renamed this parameter lowerCaseNames and updated the comment.
Done


http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
File fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java@169
PS5, Line 169: 
> Yeah, the idea is to see how it works for mixed expressions with non determ
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 19:17:21 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 1:

(1 comment)

gerrit-auto-critic failed. You can reproduce it locally using command:

  python2 bin/jenkins/critique-gerrit-review.py --dryrun

To run it, you might need a virtual env with virtualenv installed.

http://gerrit.cloudera.org:8080/#/c/22011/1/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/1/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@386
PS1, Line 386:    * Returns true if function is non-deterministic over time, i.e. it may produce different
line too long (91 > 90)



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Thu, 31 Oct 2024 20:27:47 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17471/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 19:20:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5: Code-Review+1

Carry +1


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 00:59:01 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
File fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java@169
PS5, Line 169: string_col = current_user()
> Is it possible to add a mixed testcase, like "select * from functional.allt
Is the idea to have other expressions that are eligible in addition to the ineligible conjunct? I can add a test case like that.

(Separately, I'm adding a mixed-case test case.)



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 18:41:31 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 7: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 7
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Fri, 15 Nov 2024 03:01:52 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Yida Wu (Code Review)" <ge...@cloudera.org>.
Yida Wu has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
File fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java@169
PS5, Line 169: 
> Is the idea to have other expressions that are eligible in addition to the 
Yeah, the idea is to see how it works for mixed expressions with non deterministic and deterministic cases



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 18:55:56 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/3/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/3/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@151
PS3, Line 151:       } else if (fnName.getFnNamePath().size() == 2) {
> nit: I like return in each of the branches rather than using an extra varia
Good point, done



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 00:58:45 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17335/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Thu, 31 Oct 2024 20:57:23 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 3:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17466/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 3
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 01:05:06 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Yida Wu (Code Review)" <ge...@cloudera.org>.
Yida Wu has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@174
PS5, Line 174: names
It seems to we need to ensure that all strings in names are lowercase. Since line 169 uses equalsIgnoreCase() for comparison, it might be helpful to add a comment in case future contributors may add uppercase strings to the set


http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
File fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java@169
PS5, Line 169: string_col = current_user()
Is it possible to add a mixed testcase, like "select * from functional.alltypes where id < 5000 and string_col = current_user()"



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 03:53:56 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 6:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11134/ DRY_RUN=true


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 19:10:10 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Yida Wu, Michael Smith, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/22011

to look at the new patch set (#6).

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 130 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/22011/6
-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 6
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17334/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Thu, 31 Oct 2024 20:52:10 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/5/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@174
PS5, Line 174: names
> It seems to we need to ensure that all strings in names are lowercase. Sinc
Renamed this parameter lowerCaseNames and updated the comment.



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 18:49:15 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 4: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@162
PS2, Line 162:     return fnNameStr;
> Done
Ack


http://gerrit.cloudera.org:8080/#/c/22011/3/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/3/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@151
PS3, Line 151:         fnNameStr = fnName.getFnNamePath().get(0);
nit: I like return in each of the branches rather than using an extra variable.



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 4
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 00:43:02 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/2/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@162
PS2, Line 162:     if (fnName.getFnNamePath() != null) {
> Can we make this logic shared with functionNameEqualsBuiltin? A function to
Done

I was thinking about folding this logic into FunctionName itself, but that started to look complicated.



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 00:40:27 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Michael Smith, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/22011

to look at the new patch set (#5).

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 120 insertions(+), 43 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/22011/5
-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/17467/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 01:23:15 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Hello Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/22011

to look at the new patch set (#2).

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................

IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Non-deterministic functions should make a location ineligible
for caching. Unlike existing definitions of non-determinism
like FunctionCallExpr.isNondeterministicBuiltinFn(),
the non-determinism needs to apply over time and across query
boundaries, so it is a broader list of functions.

The following are considered non-deterministic in this change:
 1. Random functions like rand/random/uuid
 2. Current time functions like now/current_timestamp
 3. Session/system information like current_user/pid/coordinator
 4. AI functions
 5. UDFs

With enable_expr_rewrites=true, constant folding can replace
some of these with a single constant (e.g. now() becomes a specific
timestamp). This is not a correctness problem for tuple caching,
because the specific value is incorporated into the cache key.

Testing:
 - Added test cases to TupleCacheTest

Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
---
M fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
M fe/src/main/java/org/apache/impala/planner/TupleCacheInfo.java
M fe/src/test/java/org/apache/impala/planner/TupleCacheTest.java
3 files changed, 108 insertions(+), 32 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/11/22011/2
-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22011/1/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java
File fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java:

http://gerrit.cloudera.org:8080/#/c/22011/1/fe/src/main/java/org/apache/impala/analysis/FunctionCallExpr.java@386
PS1, Line 386:    * Returns true if function is non-deterministic over time, i.e. it may produce different
> line too long (91 > 90)
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 1
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Comment-Date: Thu, 31 Oct 2024 20:30:17 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 5: Code-Review+1


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 5
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 01:03:04 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 7:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11135/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 7
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 21:37:52 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-13179: Make non-deterministic functions ineligible for tuple caching

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22011 )

Change subject: IMPALA-13179: Make non-deterministic functions ineligible for tuple caching
......................................................................


Patch Set 7: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/22011
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9601dba87b3c8f24cbe42eca0d8070db42b50488
Gerrit-Change-Number: 22011
Gerrit-PatchSet: 7
Gerrit-Owner: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Reviewer: Yida Wu <wy...@gmail.com>
Gerrit-Comment-Date: Thu, 14 Nov 2024 21:37:51 +0000
Gerrit-HasComments: No