-
Notifications
You must be signed in to change notification settings - Fork 6
Fix messages queries with cluster cassandra #100
Conversation
| AND centroidlon = ? | ||
| AND eventtime >= ? | ||
| AND eventtime <= ? | ||
| AND eventime >= ? |
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.
We're not using eventtime anymore?
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.
Good catch, I made this change to enable testing against the cluster but it should be reverted.
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.
Fixed in f736292.
| const originalSentence = args.sentence; | ||
|
|
||
| resolve({ | ||
| translatedSentence, |
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.
You can have an object without properties?
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.
This is one of the ES6 niceties:
const foo = 1;
{foo}Is the same as:
const foo = 1;
{foo: foo}Only less verbose :)
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.
Ok good to know!
Smarker
left a comment
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.
LGTM
Pull request relies on this schema change: CatalystCode/project-fortis-pipeline#111