Comments (2)
I wrote a simple reproducer here master...nicoloboschi:fix-not-in-query
The issue is that JoinOp#execute creates a 'left data scanner' which contains a column name (DataScanner#getFieldNames) that is not a real table column but a temporary column used for projection computation
During the projection the records are added to a temporary disk map (if we are not in 'local' or 'diskless' mode) creating a MaterializedRecordSet (see
)In order to serialize the record, RecordSerializer#accessRawDataFromValue is called with the temporary field name as property and it throws error as the property is not a real table column
By-passing that check, my test reproducer pass and the scan result is correct
@eolivelli @diegosalvi AFAIK MaterializedRecordSet do not represent records set owned by a table, so I think that check is useless. Any thoughts?
from herddb.
DataAccessorForFullRecord is meant to access a "Record" without any memory copy.
If you see a DataAccessorForFullRecord for something that is not a record then we have a worse problem.
but here we have a RuntimeProjectedDataAccessor, that is a projection, that maps a Record to a different schema, it usually selects columns (by index) and changes the order.
it looks to me that we have a problem somewhere because the mapping should be perfect.
you can run your test and enable "INFO" level for the CalcitePlanner and see the actual access plan, you will see the Projection and what's going on
from herddb.
Related Issues (20)
- Pdu#isRequest is buggy and does not support addition of flags
- IllegalArgumentException: Added a page twice HOT 2
- Add back a jSQLParser based SQL Planner HOT 1
- Implement "max" constraint on string types
- Implement JDBC Savepoints (subtransactions)
- Update Netty dependency to v4.1.59.Final
- ArrayIndexOutOfBoundsException on SELECT HOT 2
- test failure on AArch64, Fedora 33 HOT 7
- maven build - misleading log level during build
- Implement CDC - Capture Data Change HOT 1
- Failed to restart cluster with old "untouched" tablespaces HOT 2
- Improve memory configuration HOT 1
- Implement JWT Authentication (support for Authorization - part 1) HOT 1
- db
- Local channels are never removed from LocalVMChannelAcceptor memory
- OutOfMemoryError when executing a large number of INSERT statement files extracted from a dump file HOT 8
- Increase checkpont details on tablespace
- Reduce duration of Tablespace write lock during checkpoint HOT 2
- BRIN page unload deadlock HOT 1
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 herddb.