Comments (4)
Yup mock-data would not have added any rows on the table jbid_attr_bin_value
CREATE TABLE public.jbid_attr_bin_value (
bin_value_id bigint NOT NULL,
value oid
);
since it contains a column oid
that we don't support. You should have received a warning like this
https://github.com/pivotal-gss/mock-data/blob/master/worker.go#L183
on the screen, that we skipped the table. I believe we should support it since its a postgres inbuilt datatype, will add this to the list
from mock-data.
Fixed added support for OID, will be available on the next release
from mock-data.
Following through the code, it seems that whichRow
is empty here:
https://github.com/pivotal-gss/mock-data/blob/ac23cf13044b2d697a9fa411cc6c18132c6002db/sql.go#L545
whichRow
is filled via v.Row
:
https://github.com/pivotal-gss/mock-data/blob/ac23cf13044b2d697a9fa411cc6c18132c6002db/constraintsRestore.go#L120-L122
How it should be filled in the function I unfortunately do not understand:
https://github.com/pivotal-gss/mock-data/blob/ac23cf13044b2d697a9fa411cc6c18132c6002db/sql.go#L516-L533
Any pointers?
from mock-data.
Indeed:
...
time="2020-03-08 23:52:56" level=debug msg="Table \"public\".\"jbid_attr_bin_value\" skipped, since the column value, had unknown data type oid: unsupported datatypes found: oid" file="worker.go:138"
...
time="2020-03-08 23:53:01" level=debug msg="Table \"public\".\"jbid_creden_bin_value\" skipped, since the column value, had unknown data type oid: unsupported datatypes found: oid" file="worker.go:138"
...
With the many tables, and verbose output, it was super easy to miss.
from mock-data.
Related Issues (20)
- Strategies to avoid constraint creation would fails? HOT 5
- [2.3] Encountered error when getting constraints for table \"public\".\"AO_0A5972_NOTIFICATION_SETTING\" from database, err: ERROR #42602 invalid name syntax HOT 13
- [2.3] "Error during committing data: ERROR #23502 null value in column \"EXPRESSION\" violates not-null constraint" HOT 4
- Possibly missing quotes for schema in "Extracting the column information from postgres database for table" step HOT 1
- Loop for "Fixing the Primary / Unique Key" HOT 2
- Error during committing data: ERROR #2201W LIMIT must not be negative HOT 3
- Error when execute the query to extract pk violators: ERROR #42601 syntax error at or near \"FROM\" HOT 13
- Error during committing data: ERROR #54000 index row requires 828856 bytes, maximum size is 8191 HOT 9
- Error during committing data: ERROR #42883 function periode_exist(text, integer) does not exist HOT 2
- Error when updating the foreign key for table \"public\".\"film_actor\", err: ERROR #23502 null value in column \"film_id\" violates not-null constraint HOT 8
- Error when updating the foreign key for table \"public\".\"baseball_action_pitches\", err: ERROR #22P02 invalid input syntax for type integer: \"\" HOT 12
- Stop showing progress bar on Debug HOT 1
- Run all those constraints HOT 1
- More information in debug output `Fixing the Primary / Unique Key` HOT 2
- Encountered error when connecting to the database, err: FATAL #28000 SSL connection is required. Please specify SSL options and retry HOT 4
- SSL mode verify-ca not supported HOT 4
- 同学,您这个项目引入了201个开源组件,存在2个漏洞,辛苦升级一下 HOT 1
- mock can't connect to db - dial tcp 127.0.0.1:5432: connect: connection refused HOT 5
- Error during execute custom command with two relateds tables HOT 4
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 mock-data.