Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6020

SqlToRelConverter should not replace windowed SUM with equivalent expression using SUM0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      SqlToRelConverter replaces SUM with SUM0 around here

      This might have been needed at some point in the past - but I think it will be better to leave it as SUM - as in case there is no SUM0 in the system that will be replaced with a COALESCE(SUM(...) , 0 ) to provide it - as see here

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: