Comments (4)
cc @andylokandy, maybe we should return full domain for large array?
Column::Array(col) => {
if col.len() == 0 || col.values.len() == 0 {
Domain::Array(None)
} else {
let inner_domain = col.values.domain();
Domain::Array(Some(Box::new(inner_domain)))
}
}
Or it's better to optimize the expr a in (a1, a2, ....)
to a >= a_min and a <= a_max
from databend.
Seems like ConstantFolder is trying to evaluate each item in the array. This could be verified if constructing such an big array is also slow.
Maybe the ConstantFolder should stop if timeout.
from databend.
Maybe the ConstantFolder should stop if timeout.
The ConstantFolder
could be called for each block in pruning, timeout may not be the solution.
from databend.
I think "heavy" filters should be forbidden to fold or be used as the index.
from databend.
Related Issues (20)
- Feature: unify execution of DML statements
- Feature: Support map functions HOT 2
- use `nextval()` as default column value
- bug: minusing sum decimal precision is wrong
- always limit number of files to list to avoid OOM. HOT 1
- Add Quota on License HOT 2
- bug: replace into when on fields have bool type will insert a new record HOT 1
- bug: NULL not being matched against after a MERGE INTO HOT 8
- Feature: refactor window
- `MAP_CAT(<map1>, <map2>)` Returns the concatenatation of two MAPs.
- Feature: optimize table data compaction
- Feature: Support Power BI Connections HOT 1
- bug: Insert query with agg function return err
- show processlist host is NULL HOT 1
- refactor: Does the show procelist need to display ports?
- Feature: delete where conditions support deterministic
- bug: faild to load gz tsv files into databend HOT 5
- bug: order by cause panicerr
- Inconsistency between code and comment
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 databend.