[SPARK-27905][SQL][FOLLOW-UP] Add prettyNames
### What changes were proposed in this pull request? This is a follow-up of #24761 which added a higher-order function `ArrayForAll`. The PR mistakenly removed the `prettyName` from `ArrayExists` and forgot to add it to `ArrayForAll`. ### Why are the changes needed? This reverts the `prettyName` back to `ArrayExists` not to affect explained plans, and adds it to `ArrayForAll` to clarify the `prettyName` as the same as the expressions around. ### Does this PR introduce any user-facing change? No. ### How was this patch tested? Existing tests. Closes #25501 from ueshin/issues/SPARK-27905/pretty_names. Authored-by: Takuya UESHIN <ueshin@databricks.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
This commit is contained in:
parent
fa7fd8f2a4
commit
26f344354b
|
@ -445,6 +445,8 @@ case class ArrayExists(
|
|||
false
|
||||
}
|
||||
}
|
||||
|
||||
override def prettyName: String = "exists"
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -512,6 +514,8 @@ case class ArrayForAll(
|
|||
forall
|
||||
}
|
||||
}
|
||||
|
||||
override def prettyName: String = "forall"
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue