rluvaton commented on code in PR #18183:
URL: https://github.com/apache/datafusion/pull/18183#discussion_r2524452919
##########
datafusion/physical-expr/src/expressions/case.rs:
##########
@@ -69,8 +71,27 @@ enum EvalMethod {
///
/// CASE WHEN condition THEN expression ELSE expression END
ExpressionOrExpression,
+
+ /// This is a specialization for [`EvalMethod::WithExpression`] when the
value and results are literals
+ ///
+ /// See [`LiteralLookupTable`] for more details
+ WithExprScalarLookupTable(LiteralLookupTable),
+}
+
+// Implement empty hash as the data is derived from PhysicalExprs which are
already hashed
+impl Hash for LiteralLookupTable {
Review Comment:
added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]