Javier Goizueta
166e29e8ce
Forward queries parameter from overview dataviews to base dataviews
2017-06-23 16:53:16 +02:00
Daniel García Aubert
32274e66fd
Dataview formula: count infinities and nans as we do with nulls
2017-06-23 12:24:22 +02:00
Daniel García Aubert
5555b8ad8e
Going green: support numeric NaN values for dataviews
2017-06-21 18:59:36 +02:00
Daniel García Aubert
b1ac5b8ca9
Handle special float values only if column is float
2017-06-16 12:57:46 +02:00
Daniel García Aubert
20d7f1a7c5
Handle special float values only when aggregation columns is float (overviews)
2017-06-15 19:22:26 +02:00
Daniel García Aubert
115d8fe685
Handle special float values only when aggregation columns is float
2017-06-15 19:07:31 +02:00
Daniel García Aubert
ad570ab6f2
Use dataview base to get column type in formula dataviews
2017-06-15 18:04:35 +02:00
Daniel García Aubert
443c1100d7
Formula dataview: support special values only if column is a float column
2017-06-15 16:31:31 +02:00
Daniel García Aubert
7d0af4e259
Going green: handle special float values for formula when overviews are involved
2017-06-14 19:44:48 +02:00
Daniel García Aubert
dee00e6abd
Going green: handle special float values for histogram when overviews are involved
2017-06-14 19:00:37 +02:00
Daniel García Aubert
3f17c8b15a
Filter out special float values before categorizing them
2017-06-14 15:05:46 +02:00
Daniel García Aubert
668b22628c
Going green: support special float values in aggergation dataview with overviews
2017-06-13 19:01:59 +02:00
Daniel García Aubert
551b6d409a
Remove bad condition
2017-06-13 09:44:53 +02:00
Daniel García Aubert
3ae66e4143
Do not filter special values out if aggregation column is not defined
2017-06-13 09:30:43 +02:00
Daniel García Aubert
cb7ec5d556
Fix jshint typos
2017-06-12 19:49:58 +02:00
Daniel García Aubert
8b2fa27ba7
Calculate aggregation filtering out special float values
2017-06-12 19:45:06 +02:00
Daniel García Aubert
962fa05574
Remove console
2017-06-12 19:28:49 +02:00
Daniel García Aubert
7b5111614c
Summarize special float values for ranked aggregation
2017-06-12 19:21:41 +02:00
Daniel García Aubert
e60bb770db
Summarizes infinity and NaN values
2017-06-12 18:55:33 +02:00
Daniel García Aubert
0aae29fb4b
Fix jshint typo
2017-06-09 15:28:18 +02:00
Daniel García Aubert
9ba65bd5a4
Going green: Fix test for formula overviews flavour
2017-06-09 15:18:52 +02:00
Daniel García Aubert
cd53eda0a5
Handle Infinity and NaN values for histograms
2017-06-08 16:01:41 +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