Xinyuan Yang
Xinyuan Yang
@pan3793 Hi, I implemented a patch supporting this, also other hash UDF with some limitations in #253. Would you look at it, or maybe use it as a starting point...
I want to provide more information on the last limitation that time functions support only one input type. I tried but failed to use [auto type casting via `UnboundFunction.bind(StructType)`](https://github.com/apache/spark/blob/v3.4.0/sql/catalyst/src/main/java/org/apache/spark/sql/connector/catalog/functions/BoundFunction.java#L38). It...
> > When input type mismatches with the required type, error message `org.apache.spark.sql.AnalysisException: some_function(arg) is not currently supported is ambiguous and misleading` > > It sounds like a Spark side...
> BTW, Spark 3.4.1 was just released these days, do you mind sending another PR to upgrade it? Once you get a PR merged, your following PR will not be...
> BTW, Spark 3.4.1 was just released these days, do you mind sending another PR to upgrade it? Once you get a PR merged, your following PR will not be...
Thanks for the fast fix! I will investigate other casting cases to check if this work. Do we now wait for the Spark patch to be merged, or we create...
Thanks, and also sorry for busy with other work. About the implicit type conversation problem, though not fully understand it, I have some upgrades: 1. Seems the "invoke function not...
Pushed commits fixing the above `shardProjection` issue and pmod issue
Oops, I messed up with diffs, pushed to fix that. Opened a PR #261 for the hash part in the last comment. I will adjust the code in this PR...
@pan3793 Adjusted code as #261 merged. However, I am not sure the code is simplified as you would imagine. We still need to handle binding and Clickhouse function name mapping....