sqlparser / gsp_demo_java

Java demos for the General SQL Parser library
122 stars 68 forks source link

Can't compile DataFlowAnalyzer.java #2

Closed czbooster closed 4 years ago

czbooster commented 4 years ago

Hi James, I can't compile DataFlowAnalyzer.java, the error is like this: src\main\java\demos\dlineage\DataFlowAnalyzer.java:673: error: illegal start of expression Map<sourceColumn, List<Pair<sourceColumn, List<String>>>> columnMap = relationSources.stream().collect(Collectors.groupingBy(t->((Pair<sourceColumn, List<String>>)t).first)); ^ Please could you check? Thanks for adding the /i option, that's exacly what I need. Vojtěch

czbooster commented 4 years ago

My fault, tried to compile with java 1.7, lambdas are supported from 1.8