docs: public boolean isPartitionColumnInWindowedAggregatePartitionByList() {
          if (getWindowFunctionExpressions().size() == 0) {
              return false;
          }
          // We can't really have more than one Windowed Aggregate Expression.
          // If we ever do, this should fail gracelessly.
          assert(getWindowFunctionExpressions().size() == 1);
          WindowFunctionExpression we = getWindowFunctionExpressions().get(0);
          List<AbstractExpression> partitionByExprs = we.getPartitionByExpressions();
          boolean foundPartExpr = false;
          for (AbstractExpression ae : partitionByExprs) {
              if ( ! (ae instanceof TupleValueExpression ) ) {
                  continue;
              }
  
              TupleValueExpression tve = (TupleValueExpression) ae;
              String tableAlias    = tve.getTableAlias();
              String columnName    = tve.getColumnName();
              StmtTableScan scanTable = getStmtTableScanByAlias(tableAlias);
              if (scanTable == null || scanTable.getPartitioningColumns() == null) {
                  continue;
              }
  
              boolean foundPartCol = false;
              for (SchemaColumn pcol : scanTable.getPartitioningColumns()) {
                  if (pcol != null && pcol.getColumnName().equals(columnName)) {
                      foundPartCol = true;
                      break;
                  }
              }
              // If we found a partition column, then we don't
              // need to look at any other partition by expressions
              // in this windowed expression.
              if (foundPartCol) {
                  foundPartExpr = true;
                  break;
              }
          }
          return foundPartExpr;
      }