1. 11 Feb, 2019 1 commit
    • Donald H. (Donnie) Pinkston, III's avatar
      Simplify/flatten composite Boolean expressions · f3d2f477
      Donald H. (Donnie) Pinkston, III authored
      The new ANTLRv4 parser generates left-deep nested Boolean AND/OR
      expressions, which need to be flattened where appropriate.  The
      BooleanOperator.simplify() method takes care of this operation.
      
      Introducing this flattening/simplification everywhere all at once seemed
      to be inadvisable, so currently it is only applied in the query AST when
      schemas are computed.  Additionally, only WHERE predicates, HAVING
      predicates, and ON clauses are simplified/flattened.  (NATURAL JOIN and
      USING join predicates are generated programmatically, not by the parser,
      and are already flattened.)
      f3d2f477
  2. 15 Jan, 2019 1 commit