Re: Final Patch for GROUPING SETS
От
Josh Berkus
Тема
Re: Final Patch for GROUPING SETS
Дата
Msg-id
541A258F.7070701@agliodbs.com
Список
Дерево обсуждения
WIP Patch for GROUPING SETS phase 1 Atri Sharma <atri.jiit@gmail.com>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Pavel Stehule <pavel.stehule@gmail.com>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Pavel Stehule <pavel.stehule@gmail.com>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 "Erik Rijkers" <er@xs4all.nl>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 "Erik Rijkers" <er@xs4all.nl>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 "Erik Rijkers" <er@xs4all.nl>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 "Erik Rijkers" <er@xs4all.nl>
Re: Final Patch for GROUPING SETS - unrecognized node type: 347 Atri Sharma <atri.jiit@gmail.com>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andres Freund <andres@2ndquadrant.com>
Re: Final Patch for GROUPING SETS - unrecognized node type: 347 Atri Sharma <atri.jiit@gmail.com>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node type:
347 Tomas Vondra <tv@fuzzy.cz>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node type:
347 Tomas Vondra <tv@fuzzy.cz>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node type:
347 Tomas Vondra <tv@fuzzy.cz>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS - unrecognized node type:
347 Tomas Vondra <tv@fuzzy.cz>
Re: Final Patch for GROUPING SETS - unrecognized node
type: 347 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Marti Raudsepp <marti@juffo.org>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Marti Raudsepp <marti@juffo.org>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Final Patch for GROUPING SETS Andres Freund <andres@2ndquadrant.com>
Re: Final Patch for GROUPING SETS Petr Jelinek <petr@2ndquadrant.com>
Re: Final Patch for GROUPING SETS Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Heikki Linnakangas <hlinnakangas@vmware.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Atri Sharma <atri.jiit@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Heikki Linnakangas <hlinnakangas@vmware.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Robert Haas <robertmhaas@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Merlin Moncure <mmoncure@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Greg Stark <stark@mit.edu>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Dunstan <andrew@dunslane.net>
Re: WIP Patch for GROUPING SETS phase 1 Stephen Frost <sfrost@snowman.net>
Re: WIP Patch for GROUPING SETS phase 1 Greg Stark <stark@mit.edu>
Re: WIP Patch for GROUPING SETS phase 1 Stephen Frost <sfrost@snowman.net>
Re: WIP Patch for GROUPING SETS phase 1 Merlin Moncure <mmoncure@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Dunstan <andrew@dunslane.net>
Re: WIP Patch for GROUPING SETS phase 1 Tom Lane <tgl@sss.pgh.pa.us>
Re: WIP Patch for GROUPING SETS phase 1 Stephen Frost <sfrost@snowman.net>
Re: WIP Patch for GROUPING SETS phase 1 David Fetter <david@fetter.org>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Stephen Frost <sfrost@snowman.net>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: WIP Patch for GROUPING SETS phase 1 Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: WIP Patch for GROUPING SETS phase 1 Pavel Stehule <pavel.stehule@gmail.com>
Re: WIP Patch for GROUPING SETS phase 1 Pavel Stehule <pavel.stehule@gmail.com>
On 09/17/2014 03:02 PM, Marti Raudsepp wrote: > So instead of: > GroupAggregate > Output: four, ten, hundred, count(*) > Grouping Sets: (onek.four, onek.ten, onek.hundred), (onek.four, > onek.ten), (onek.four), () > > Perhaps print: > Grouping Sets: (onek.four, onek.ten, onek.hundred) > (onek.four, onek.ten) > (onek.four) > () So: Grouping Sets: [ [ onek.four, onek.ten, onek.hundred ], [ onek.four, onek.ten ], [ onek.four ], []] .. in JSON? Seems to me that we need a better way to display the grand total grouping set. > > Or maybe: > Grouping Set: (onek.four, onek.ten, onek.hundred) > Grouping Set: (onek.four, onek.ten) > Grouping Set: (onek.four) > Grouping Set: () The latter won't work with JSON and YAML output. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com
В списке pgsql-hackers по дате отправления