pub fn lower_to_ir(
    root_mod: RootModule,
    main_path: &[String]
) -> Result<(RelationalQuery, RootModule)>
Expand description

Convert AST into IR and make sure that:

  • transforms are not nested,
  • transforms have correct partition, window and sort set,
  • make sure there are no unresolved expressions.