Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2860

Translate (not)in expression with empty values

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 5.0-M2
    • Database integration
    • None

    Description

      We have optimization in ExpressionFactory for (not)inExp() methods for the empty values that returns just ASTFalse or ASTTrue
      But when we create ASTIn manually we don't have this optimization and that results in incorrect SQL like t0.ARTIST_NAME IN ().

      We could optimize that on our end, and that would benefit users who work directly with raw AST tree.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: