Github user hvanhovell commented on the issue:
https://github.com/apache/spark/pull/14568
`monotonically_increasing_id(5)` get parsed into the following expression
`UnresolvedFunction("monotonically_increasing_id", Seq(Literal(5))`. Note that
the offset is turned into an `Expression` as well.
The `FunctionRegistry` can only resolve `Expression` based constructors.
Which is not provided by `MonotonicallyIncreasingID`. Solution: add an
`Expression` based constructor.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]