question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Named maps dataviews with invalid options

See original GitHub issue

Most of the dataviews created in named maps contain non-required options and sometimes invalid options. Example from https://github.com/CartoDB/cartodb/issues/7520:

"ebc0653f-3581-469c-8b31-c969e440a865": {
            "options": {
                "aggregationColumn": null,
                "column": "exp_job_loss_fraction",
                "operation": "avg",
                "prefix": "",
                "schema": {},
                "suffix": "",
                "sync_on_bbox_change": true,
                "sync_on_data_change": true
            },
            "source": {
                "id": "a0"
            },
            "type": "formula"
        }

aggregationColumn exists as an option but doesn’t apply to a formula type, just for aggregation type. And prefix, schema, suffix, sync_on_bbox_change, and sync_on_data_change have nothing to do with Maps API, probaby they are frontend related so we should not send them in the named maps.

cc @xavijam

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
xavijamcommented, Jun 1, 2016

How good you are man! 👍

0reactions
gfioravcommented, Jun 22, 2016
Read more comments on GitHub >

github_iconTop Results From Across the Web

Understand data view mapping in Power BI visuals
Each valid mapping produces a data view. You can provide multiple data mappings under certain conditions. The supported mapping options are:.
Read more >
Google Visualization dataview.setRows(): invalid row index error
Never mind. I found a solution: replace the function inside map() to Number, so view.setRows(t.rowQuery.value.split('/').map(Number); Thanks for ...
Read more >
Manage data views | Kibana Guide [master] - Elastic
To customize how Kibana displays data fields, use the formatting options. Open the main menu, then click Stack Management > Data Views. Click...
Read more >
DataTables and DataViews | Charts - Google Developers
How Data is Represented in a Chart · Table - An array of columns and rows, plus an optional map of arbitrary name/value...
Read more >
SFMC System Data Views | Mateusz Dąbrowski
Data Views have data retention settings set to 6 months. ... KeywordID and SharedKeyword columns to map the GUID to readable Keyword name....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found