Comments (12)
Can you share the generated file?
Alberto it would be good if we covered all the data types and input modes in IT.
Perhaps we can have one generic IT that is parameterized with both databases and input modes?
And only checks on the resulting graph?
from neo4j-etl.
I have attached all the files I could think of
etl err1.zip
from neo4j-etl.
I have the same problem with latest version- neo4j-etl-cli-1.2.0-RC1.
from neo4j-etl.
Do you have this problem with the latest release?
from neo4j-etl.
@davidlrosenblum ping?
from neo4j-etl.
from neo4j-etl.
I can confirm this is fixed in ETL 1.2.1
from neo4j-etl.
I got similar problem in etl 1.2.1:
./bin/neo4j-etl export --rdbms:url jdbc:postgresql://myurl:5432/public --rdbms:schema example --rdbms:user my_user --rdbms:password pass --destination /var/lib/neo4j/data/databases/graph.db/ --import-tool /usr/share/neo4j/bin --csv-directory /var/lib/neo4j/import --force
and getting:
Peak memory usage: 0.00 B', Stderr: 'WARNING: neo4j-import is deprecated and support for it will be removed in a future
version of Neo4j; please use neo4j-admin import instead.
Error in input data
Caused by:ERROR in input
data source: BufferedCharSeeker[source:/var/lib/neo4j/import/csv-003/example/NODE_xxxxxxxxxx.xxxx_1703350c-43dc-48ad-a059-4a5d36d4e5f8.csv, position:225, line:0]
in field: success:byte:10
for header: [:ID(xxxxxxxxxx.xxxx), installedRank:long, installedBy:string, description:string, script:string, installedOn:string, executionTime:long, version:string, checksum:long, success:byte, type:string, :LABEL]
raw field value: true
original error: Not an integer: "true"
success column is boolean in postgresql
from neo4j-etl.
@grubytolman can you share the table definition for that column?
Which Postgres version are you using?
from neo4j-etl.
PostgreSQL 9.4.15 on x86_64-unknown-linux-gnu 64-bit
CREATE TABLE xxx.xxx
(
installed_rank integer NOT NULL,
version character varying(50),
description character varying(200) NOT NULL,
type character varying(20) NOT NULL,
script character varying(1000) NOT NULL,
checksum integer,
installed_by character varying(100) NOT NULL,
installed_on timestamp without time zone NOT NULL DEFAULT "now"(),
execution_time integer NOT NULL,
success boolean NOT NULL,
CONSTRAINT xxx_pk PRIMARY KEY ("installed_rank")
)
CREATE INDEX xxx_xxx_s_idx
ON xxx.xxx
USING btree
("success");
values in column success are true, false in postgresql
Neo4j Server version: 3.4.7 (community)
I've also made simple test base/table on different pc:
Ubuntu 16.04
PostgreSQL 9.5.14 on x86_64-pc-linux-gnu
neo4j community 3.4.6
neo4j-etl 1.2.1
CREATE TABLE testbool
(
id integer NOT NULL,
"boolColumn" boolean DEFAULT true,
CONSTRAINT prim_key PRIMARY KEY (id)
);
insert into testbool values (1,true);
insert into testBool values (2,false);
insert into testBool values (3,true);
insert into testBool values (4,false);
etl exec:
./bin/neo4j-etl export --rdbms:url jdbc:postgresql://localhost:5432/northwind --rdbms:schema testbool --rdbms:user xxx --rdbms:password xxx --destination /var/lib/neo4j/data/databases/graph.db/ --import-tool /usr/share/neo4j/bin --csv-directory /var/lib/neo4j/import --force
and getting:
Data statistics is not available.
Peak memory usage: 0.00 B', Stderr: 'WARNING: neo4j-import is deprecated and support for it will be removed in a future
version of Neo4j; please use neo4j-admin import instead.
Error in input data
Caused by:ERROR in input
data source: BufferedCharSeeker[source:/var/lib/neo4j/import/csv-009/neo4import/NODE_neo4import.testbool_21686a3f-4981-4bef-847e-1ac14a5e6dbd.csv, position:15, line:0]
in field: boolColumn:byte:3
for header: [:ID(neo4import.testbool), id:long, boolColumn:byte, :LABEL]
raw field value: true
original error: Not an integer: "true"
from neo4j-etl.
hi , did you solve it?
I got similar problem.
from neo4j-etl.
Kind of, I changed "true" to 1 and "false" to 0 in csv files with external script and then imported without problem.
For bigger tables I wrote custom exporter and importer.
from neo4j-etl.
Related Issues (20)
- Error: Could not find or load main class org.neo4j.etl.rdbms.Support HOT 17
- Mapping error when host contains backslash
- Neo4j ETL tool struggles with large datamodels
- SQLITE driver HOT 4
- Password is displayed in plain text when you enable "logs" HOT 1
- Better support for the neo4j+s URI scheme (Aura's default) when specifying a connection
- [PostgreSQL] hanging after "An illegal reflective access operation has occurred" HOT 2
- Error while loading MySQL data into Neo4j using ETL HOT 2
- Load Data Model - "Start Mapping" spins forever, never completes HOT 1
- Import data fails with Null Pointer Exception HOT 1
- Neo4j ETL Tool not working on Neo4j Desktop 1.4.9
- How to change the relation’s "start node" and "end node"?
- can't mapping mssql (sqlserver 13) HOT 1
- Can't map postgres to Neo4j graph using Neo4j ETL tool? HOT 1
- Bulk import fails using Neo4j Desktop on Windows due to `InvalidPathException`
- How to import data from views? HOT 2
- Certificate Errors preventing Neo4j ETL Graph App from starting HOT 1
- Error importing data from postgres to neo4J ETL tool HOT 1
- Too many slashes in file URI '////'
- Cannot drive neo4j-etl with my JAVA 8 environment
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 neo4j-etl.