pub fn lower_to_ir(
    context: Context,
    main_path: &[String]
) -> Result<(Query, Context)>
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.