Skip to content
This repository has been archived by the owner. It is now read-only.

Fix messages queries with cluster cassandra #100

Merged
merged 2 commits into from Aug 16, 2017
Merged

Fix messages queries with cluster cassandra #100

merged 2 commits into from Aug 16, 2017

Conversation

@c-w
Copy link
Contributor

@c-w c-w commented Aug 15, 2017

Pull request relies on this schema change: CatalystCode/project-fortis-pipeline#111

@c-w c-w requested a review from erikschlegel Aug 15, 2017
@@ -51,8 +93,8 @@ function byLocation(args, res) { // eslint-disable-line no-unused-vars
AND externalsourceid = ?
AND centroidlat = ?
AND centroidlon = ?
AND eventtime >= ?
AND eventtime <= ?
AND eventime >= ?
Copy link
Contributor

@Smarker Smarker Aug 16, 2017

We're not using eventtime anymore?

Copy link
Contributor Author

@c-w c-w Aug 16, 2017

Good catch, I made this change to enable testing against the cluster but it should be reverted.

Copy link
Contributor Author

@c-w c-w Aug 16, 2017

Fixed in f736292.

const originalSentence = args.sentence;

resolve({
translatedSentence,
Copy link
Contributor

@Smarker Smarker Aug 16, 2017

You can have an object without properties?

Copy link
Contributor Author

@c-w c-w Aug 16, 2017

This is one of the ES6 niceties:

const foo = 1;
{foo}

Is the same as:

const foo = 1;
{foo: foo}

Only less verbose :)

Copy link
Contributor

@Smarker Smarker Aug 16, 2017

Ok good to know!

Copy link
Contributor

@Smarker Smarker left a comment

LGTM

@c-w c-w merged commit 09f0fe6 into master Aug 16, 2017
2 checks passed
@c-w c-w deleted the fix-messages-queries branch Aug 16, 2017
@c-w c-w removed the in progress label Aug 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants