Comments (1)
This has to do with how insert
statements work. You must specify all the fields you are inserting. We infer the field names from the first record and then assert that all subsequent once are the same.
An alternative solution could be to go through all the records first to collect all fields names and then fill in the missing ones with DEFAULT
in each record. It's not too difficult to implement but it requires an extra sweep through the data. The data could be coming from a generator, so an extra sweep may require more processing/memory.
I would not consider this a bug. The behavior is as specified. We require that all dicts in a sequence must have the same fields at insert.
from datajoint-python.
Related Issues (20)
- S3 external files OS Error HOT 1
- Error during distributed computing populaution HOT 3
- Cell array of arrays of doubles cannot be fetched in python, only in matlab HOT 3
- Name external store files with primary key when downloaded HOT 1
- dj.diagram not working after update to 14.1 HOT 4
- Broken image/diagram in docs: design/diagrams/#example HOT 3
- `.parts` not always returning parts HOT 2
- dj.set_password does not work in MySQL 8
- Cannot follow developer set up instructions HOT 2
- Choose custom download location for attach@store objects HOT 2
- Error on cascade delete in MySQL 8 HOT 3
- `current_timestamp()` not treated as sql literal HOT 1
- Pytest `test_datetime_serialization_speed` occasionally fails
- datajoint.conn and datajoint.Connection.__init__ fail when using Python 3.11 and MySQL 5.7
- Underscores in table names yield false positives for `get_master` HOT 2
- File Management System HOT 1
- OperationalError: (1046, 'No database selected') when querying json attribute
- make that table "delete" returns the count of deleted objects HOT 2
- Convenience functions to insert / fetch when an attach field is in table definition HOT 1
- Add documentation for altering populated pipelines
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 datajoint-python.