bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #11975] AGGREGATE should support MEDIAN function


From: Ben Pfaff
Subject: PSPP-BUG: [bug #11975] AGGREGATE should support MEDIAN function
Date: Mon, 01 Sep 2008 18:36:00 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Follow-up Comment #2, bug #11975 (project pspp):

This looks to me like it implements median correctly, but doesn't it add an
additional data-reading pass for every median being calculated?  I think that
this extra pass could be eliminated by, instead of using sort_execute(),
calling sort_create_writer(), then writing a case to the writer in
accumulate_aggregate_info(), then obtaining the reader with
casewriter_make_reader() in dump_aggregate_info().

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?11975>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]