maxarndt / podyn Goto Github PK
View Code? Open in Web Editor NEWThis project forked from sagely/podyn
DynamoDB to PostgreSQL & Citus continuous replication tool
License: Apache License 2.0
This project forked from sagely/podyn
DynamoDB to PostgreSQL & Citus continuous replication tool
License: Apache License 2.0
The following statement throws a NullPointerException
.
podyn/src/main/java/com/citusdata/migration/DynamoDBReplicator.java
Lines 223 to 225 in 666927c
To fix this problem I need to debug the following function:
podyn/src/main/java/com/citusdata/migration/DynamoDBTableReplicator.java
Lines 236 to 285 in 666927c
Podyn generates tables with the following schema in the data
(jsonb) column:
{
"name": "Mike",
"lastName": "Miller",
"address": "{\"city\":\"Berlin\",\"code\":10115,\"street\":\"Some street 83\",\"country\":\"Germany\"}"
}
The value of the attribute address
is escaped which leads to problems if you want for example to use an ORM to cast this JSON to a (nested) POCO.
The output of podyn should look like:
{
"name": "Mike",
"lastName": "Miller",
"address": {"city":"Berlin","code":10115,"street":"Some street 83","country":"Germany"}
}
If there is a numeric type in your dynamoDB, podyn treats them as strings and this ends up in the following in your PostgreSQL using jsonb mode:
{
"someNumeric": "0.234",
"name": "Mike",
"lastName": "Miller"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.