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. */
> &nbsp; @Value.Immutable(singleton = false)
> &nbsp; public interface Config extends RelRule.Config {
> &nbsp;&nbsp;&nbsp; Config DEFAULT =
> ImmutableCsvProjectTableScanRule.Config.builder()
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .withOperandSupplier(b0 -&gt;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> b0.operand(LogicalProject.class).oneInput(b1 -&gt;
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
> b1.operand(CsvTableScan.class).noInputs()))
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .build();
>
> &nbsp;&nbsp;&nbsp; @Override default CsvProjectTableScanRule toRule() {
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return new CsvProjectTableScanRule(this);
> &nbsp;&nbsp;&nbsp; }
> &nbsp; }

Reply via email to