Daniel García Aubert
9c34428984
Allow override start and end params
2017-06-02 12:15:43 +02:00
Daniel García Aubert
1d66e49910
WIP implemented date histogram
2017-06-01 20:07:46 +02:00
Raul Ochoa
fa94550261
Include changes for overviews implementation
2017-03-16 19:15:34 +01:00
Raul Ochoa
992b2b6ba7
Histogram column type discovery query uses non-filtered query
...
Pass all queries to the dataview and use the no filters one for
discovering what is the column type associated to the histogram dataview.
2017-03-13 18:40:29 +01:00
Mario de Frutos
b446c31cbc
Other category now uses the selected aggregated function ( #633 )
...
* Other category in category widget uses selected aggregation function
Fixes https://github.com/CartoDB/Windshaft-cartodb/issues/628
2017-03-02 10:48:20 +01:00
Daniel García Aubert
83301238d2
Port changes to overviews
2017-01-17 17:10:08 +01:00
Daniel García Aubert
a4a1fb930a
Be able to not compute NULL categories and null values wheter aggregation operation is not 'count'
2017-01-17 17:09:17 +01:00
Javier Goizueta
6a4f5d52ec
Don't use overviews for date histograms
2016-12-16 17:51:36 +01:00
Javier Goizueta
ccaae2dd66
Remove spurious parameter from overviews dataviews functions
...
In the overviews-specialized dataview classes the sql-generating
functions had an unneeded parameter filters.
In some cases, since this parameter was not being paaased from
the base dataviews class it was masking the override parameter.
2016-12-16 17:37:05 +01:00
Raul Ochoa
e8df09c85b
Add support for min, max, and avg operations in aggregation dataview
2016-06-20 16:26:24 +02:00
Raul Ochoa
3269fef845
Sort start and end override params
...
Fixes #375
2016-06-06 17:10:52 +02:00
Raul Ochoa
f8f6508449
Merge branch 'master' into mapconfig-dataviews-adapter
...
Conflicts:
NEWS.md
npm-shrinkwrap.json
2016-06-02 10:57:43 +02:00
Raul Ochoa
4c25828540
Fix sql signature in agg, formula, and list dataviews
2016-06-01 11:42:24 +02:00
Javier Goizueta
d5423c88ea
Replace use of the name widget by dataview for consistency
2016-05-31 15:30:38 +02:00
Javier Goizueta
5838b7a455
Remove debugging messages
2016-05-31 15:19:33 +02:00
Javier Goizueta
7ac3784f32
Increase the ratio used to select an overview level from a bounding box
...
This value would ideally be adjusted to prevent the grid size of the
overview used being greater that one pixel. So, this should be the
larger dimension of the map window in pixels.
2016-05-30 17:21:56 +02:00
Javier Goizueta
c0a24108ba
Implement overviews histogram dataviews
2016-05-23 18:11:10 +02:00
Javier Goizueta
ae9b8a0380
Remove comment
2016-05-23 18:10:46 +02:00
Javier Goizueta
f008c74419
Specific aggregation dataview implementation for overviews
2016-05-23 17:42:26 +02:00
Javier Goizueta
4a646d4700
Refactor overviews formula dataview
2016-05-23 17:20:04 +02:00
Javier Goizueta
657b262d92
Override all dataview types for overviews
...
All are using now the default behaviour defined in the base
class.
2016-05-23 17:06:52 +02:00
Javier Goizueta
988412fc07
Define default overviews dataview behaviour in base class
2016-05-23 16:53:28 +02:00
Javier Goizueta
5ba72b4894
Create base class for overviews dataviews
2016-05-23 14:18:45 +02:00
Javier Goizueta
8da7cf73c1
Remove comment
2016-05-18 13:55:09 +02:00
Javier Goizueta
9d82e8c27c
Use bounding box of dataviews to select overviews level
2016-05-13 20:47:36 +02:00
Javier Goizueta
224eb392ba
Add overviews-dependent dataviews behaviour
...
Now QueryRewriter is used in dataview objects they can decide
whether overviews are applicable, have the oportunity to
adapt queries for overviews, etc.
This is done by having overviews-related behaviour in models/dataview/overviews
and falling back to the regular models/dataview.
2016-05-13 18:46:58 +02:00
Raul Ochoa
2bd3e46a4d
Build dataviews with factory to generalise them
2016-03-22 13:10:42 +01:00
Raul Ochoa
b3bbb9d97a
Initial checkin for dataviews
...
It only supports histograms.
2016-03-18 17:22:02 +01:00