Il lun 9 apr 2018, 19:05 Julian Hyde <jh...@apache.org> ha scritto: > Has anyone had any luck using JDK 8 syntax (e.g. “->” for lambdas) in > Calcite? > > In core/pom.xml I changed source=1.7 target=1.7 to source=8 target=8 and > it allowed the syntax but it seemed to break any tests that relied on > janino. >
Julian, Could you please share a stacktrace of your error? As far as I know using lambdas is not only a matter of syntactic sugar but they are more efficient than simple anonymous classes. Cheers Enrico > Related: https://issues.apache.org/jira/browse/CALCITE-2027 < > https://issues.apache.org/jira/browse/CALCITE-2027> > > Julian > > -- -- Enrico Olivelli