Comments (3)
what's the intended behaviour here?
throw an error?
or allow the user to have null as a pickable option?
from evidence.
I could see both being helpful for different situations:
- legitimate nulls - you want to filter a chart to see a null series, where a value was not set for some group of data
- In this case want nulls to appear (ideally without having to convert to string)
- Illegitimate nulls - null sneaks into your dropdown
- In this case would want an error
- Or would want the dropdown to automatically exclude nulls
I think including nulls is probably not possible with the current inputs setup - if it was in a string column, you’d have to wrap the input in single quotes in your sql, and then the nulls wouldn’t match
from evidence.
I just had troubles with null, and we have a legitimate case where I want null to be one of the selectable options. I also stubled on some issues with the query but AI explained very well to me why I was wrong.
I would want to be able to have null as a value in a combobox (preferable with a human readable label) and that the filter gets created in the correct way:
WHERE (field is null OR field IN (1,2,3,4))
from evidence.
Related Issues (20)
- [Bug]: DuckDB SUMMARIZE function does not work
- [Bug]: On templated page load multiple errors "search failed" are shown using a DataTable with the option `search=true`
- [Feature]: IAM Authentication for GCP databases
- [Bug]: Dimension Grid cannot handle spaces in column names HOT 2
- [Feature]: Support selecting multiple dimensions in dimension grid HOT 3
- Profile.json file not getting created on server start event HOT 1
- [Bug]: DataTable Search is not loading
- Add field to `connection.yaml` to disable source HMR
- [Bug]: DropDown component breaks when one of the value is `null` HOT 1
- Page loads twice HOT 4
- [Feature]: Add open new tab for link in drilldown charts
- Netlify hosting issues HOT 2
- [Feature]: Add prop to Date Range component to limit selection to single date
- Ability to easily filter queries containing null values
- [Bug]: SPA mode builds failing on evidencemeta.json route
- [Bug]: SPA Mode broken HOT 1
- [Docs]: leaflet Maps tooltipType=hover docs improvement: HOT 1
- [Bug]: Sources HMR doesn't work on Windows
- Include column metadata during prerendering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evidence.