-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
261 postgres correlation #262
Conversation
[FIX] Time gets now correctly converted
…61-Postgres-Correlation
…61-Postgres-Correlation
…61-Postgres-Correlation
…-Postgres-Correlation"
…-Postgres-Correlation"
…61-Postgres-Correlation
…61-Postgres-Correlation
…to 261-Postgres-Correlation
…61-Postgres-Correlation
…61-Postgres-Correlation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice so far :)
Also please ensure our CI kinda runs through
|
||
MongoDatabase database = mongoClient.getDatabase(mongoConfig.getName()); | ||
MongoCollection<Document> coll = database.getCollection(collection_name); | ||
// System.out.println("INVOKE"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this comment still needed?
core/src/main/java/org/bptlab/cepta/operators/DataToMongoDB.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/bptlab/cepta/operators/DataToMongoDB.java
Outdated
Show resolved
Hide resolved
if (ackFuture.get()){ | ||
// System.out.println("Success"); | ||
} else { | ||
System.out.println("Failed"); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please improve error handling or error logging. If its just logging, maybe add information for when (which input) it failed or why. Use our overall logger perhaps?
core/src/main/java/org/bptlab/cepta/operators/DataToPostgresDatabase.java
Show resolved
Hide resolved
core/src/test/java/org/bptlab/cepta/data-to-mongo-db/DataToMongoDBTests.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/bptlab/cepta/data-to-mongo-db/DataToMongoDBTests.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/bptlab/cepta/delay-shift-mongo/DelayShiftFunctionMongoTests.java
Outdated
Show resolved
Hide resolved
core/src/test/java/org/bptlab/cepta/delay-shift-mongo/DelayShiftFunctionMongoTests.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yo
fixes #261
Implements Lazy Schema creation for postgre dataToDatabase operator