﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22205	Feature request: Warn about aggregating over possibly incompatible types	nbtrap@…	nobody	"We recently pushed to our production environment a feature that involved
summing (with django.db.models.Sum) over CharField entries containing
numeric text.  It ended up not working correctly since the postgresql
SUM function can't handle textual arguments, whereas sqlite's apparently
can.

A nice feature that might have saved us the trouble would be to emit
warnings when running an aggregation function with types that don't work
with all of the db backends.

Cf. https://groups.google.com/forum/#!topic/django-developers/z1LXMNdXEFM"	Uncategorized	closed	Database layer (models, ORM)	1.6	Normal	wontfix			Unreviewed	0	0	0	0	0	0
