Comments (5)
hello @jayzhan211 , i would like to work on this. QQ: Is this issue any straight as it sounds or there is more to it?
from datafusion.
hello @jayzhan211 , i would like to work on this. QQ: Is this issue any straight as it sounds or there is more to it?
A little more than it. Ideally we need to update map capacity in provider with the number of references. But, I think you can try it.
datafusion/datafusion/core/src/execution/session_state.rs
Lines 590 to 608 in 75b9c9b
from datafusion.
take
from datafusion.
hello @jayzhan211 , i would like to work on this. QQ: Is this issue any straight as it sounds or there is more to it?
A little more than it. Ideally we need to update map capacity in provider with the number of references. But, I think you can try it.
datafusion/datafusion/core/src/execution/session_state.rs
Lines 590 to 608 in 75b9c9b
Do you mean something like this
let mut provider = SessionContextProvider {
state: self,
tables: HashMap::with_capacity(references.len() + self.user_defined_sql_planners.len()),
};
If yes, why is required ? I this that we are already updating the capacity with reference count. If i misinterpreted it can you please elaborate more ?
from datafusion.
Update here is I think the current formulation is about as optimal as we can get it:
datafusion/datafusion/core/src/execution/session_state.rs
Lines 234 to 242 in dce77db
(namely to make a Vec with a size known at compile time
from datafusion.
Related Issues (20)
- Add min_by and max_by aggregate functions HOT 1
- A simple count() query caused Internal Error in PhysicalOptimizer (SQLancer) HOT 1
- Add additional regexp function `regexp_count()`
- Use GenericStringBuilder to improve performance of UDF split_part
- Document "how to read an explain plan" HOT 9
- Thread panics in SpawnedTask during shutdown. HOT 6
- SMJ full join produces a null join row for a buffered row even the buffered row is joined with streamed row and passes join filter
- Implement GroupsAccumulator for stddev and var aggregaters
- Cannot infer common string type for string concat operation Dictionary(Int32, Utf8) || Dictionary(Int32, Utf8) HOT 2
- Bug detecting datatype in VALUES tuples
- Handle downstream impacts to union's behavioral changes. HOT 5
- Aggregation fuzz testing HOT 4
- Systematic fuzz testing for parquet predicate pushdown HOT 1
- Support protobuf serialization for `ScalarValue::Utf8View` and `ScalarValue::BinaryView`
- Support substrait serialization for `ScalarValue::Utf8View` and `ScalarValue::BinaryView` HOT 1
- Add config flag to convert `Utf8View`/`BinaryView` --> `Utf8` / `Binary` at output
- Add the possibility to work with plan clones directly in `inline_table_scan` HOT 3
- Parquet statistics missing when reading `Utf8` as `Utf8View`
- Panic in `substring()` scalar function (SQLancer)
- Fuse operations in `equal_rows_arr`
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 datafusion.