I believe you need to make sure that the "Immutables" annotations processor is set up correctly Like Fan Liya mentioned, that class is generated by the annotations, so you need to configure Gradle/Maven to process them:
If you haven't already, make sure to enable Annotation Processors in your IDE settings (I assume IntelliJ?) https://immutables.github.io/apt.html#intellij-idea Hope this helps On Sun, Mar 13, 2022 at 6:24 AM Fan Liya <liya.fa...@gmail.com> wrote: > Hi xiaobo, > > It seems 'ImmutableCsvProjectTableScanRule' is a generated class. > You have to build the project first? > > Best, > Liya Fan > > > xiaobo <guxiaobo1...@qq.com.invalid> 于2022年3月13日周日 18:47写道: > > > Hi, > > > > we are trying to make our adapter projectable now, but we can't find the > > Java file for the ImmutableCsvProjectTableScanRule class in the CSV > > example, can you help with this. > > > > > > /** Rule configuration. */ > > @Value.Immutable(singleton = false) > > public interface Config extends RelRule.Config { > > Config DEFAULT = > > ImmutableCsvProjectTableScanRule.Config.builder() > > .withOperandSupplier(b0 -> > > > > b0.operand(LogicalProject.class).oneInput(b1 -> > > > > > b1.operand(CsvTableScan.class).noInputs())) > > .build(); > > > > @Override default CsvProjectTableScanRule toRule() { > > return new CsvProjectTableScanRule(this); > > } > > } >