olivrlee commented on PR #3093: URL: https://github.com/apache/calcite/pull/3093#issuecomment-1464797100
Hey @julianhyde if you could take a look at what I've done here: https://github.com/apache/calcite/pull/3093/files#diff-9e0f6e9c4d4f86444e48290b1e613ba700c0854cd614bee4a1912ccb75aed272R1203 @tjbanghart helped me take a look at your suggestion too with using some `Supplier` ``` public static final Object safe(Supplier r) { try { return r.get(); } catch (RuntimeException e) { return null; } } ``` but the typing isn't so compatible with `Expressions.lambda`, which expects a subclass of `Function.class` and we haven't figured it out -- 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]
