Deprecate unused ScalarUDF::display_name#17168
Conversation
0e0fbec to
a31a0f8
Compare
alamb
left a comment
There was a problem hiding this comment.
Makes sense to me
Looks like it was added by @yyy1000 in
cc @jayzhan211
There are a bunch of implementations in the DataFusion function library, as you can see here: https://github.com/search?q=repo%3Aapache%2Fdatafusion%20display_name&type=code
However I didn't see any uses either
|
Maybe the "usage" is here, in a TODO comment datafusion/datafusion/expr/src/expr.rs Line 3252 in 541a67d We need to decide what to do. As #11782, #10364 (comment) note, having many "name" functions is hard to follow, so I'm inclined to proceed with removal. |
I think we should remove it maybe since the deprecation notice doesn't actually generate any warnings, we should just remove the function (with a breaking API change) immediately 🤔 |
|
right, for folks implementing ScalarUDFImpl it's a breakage sooner or later |
Coment is gone. |
It looks the last usage was removed in
Expr::display_nametoExpr::schema_name, makeUNNESTnaming conform to convention #11797i.e. in 42.0.0
namefunction in datafusion #11782