[ https://issues.apache.org/jira/browse/FLINK-30570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17656052#comment-17656052 ]
Aitozi commented on FLINK-30570: -------------------------------- I opened a PR to solve this problem, looking forward to be reviewed, thanks > RexNodeExtractor#isSupportedPartitionPredicate generates unexpected partition > predicates > ---------------------------------------------------------------------------------------- > > Key: FLINK-30570 > URL: https://issues.apache.org/jira/browse/FLINK-30570 > Project: Flink > Issue Type: Bug > Components: Table SQL / Planner > Reporter: Aitozi > Priority: Major > Labels: pull-request-available > > Currently, the condition {{where rand(1) < 0.0001}} will be recognized as a > partition predicates and will be evaluated to false when compiling the SQL. > It has two problem. > First, it should not be recognized as a partition predicates, and the > nondeterministic function should never pass the partition pruner -- This message was sent by Atlassian Jira (v8.20.10#820010)