Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Conversation

@c-w
Copy link
Contributor

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

@c-w c-w requested a review from erikschlegel August 10, 2017 23:02
c-w added a commit to CatalystCode/project-fortis-pipeline that referenced this pull request Aug 10, 2017
Copy link
Contributor

@Smarker Smarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

if (!args.bbox || args.bbox.length !== 4) return reject('Invalid bbox specified');

const { fromDate, toDate } = parseFromToDate(args.fromDate, args.toDate);
const limit = args.limit || 15;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd maybe use a name more specific than limit to make it more clear why it's needed.

@c-w c-w merged commit 6bac34c into master Aug 14, 2017
@c-w c-w deleted the remove-placeid-query branch August 14, 2017 16:37
Copy link
Collaborator

@erikschlegel erikschlegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one posted question below.

const [north, west, south, east] = args.bbox;

const tagsQuery = `
SELECT eventid
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would distinct eventid work for this query? Trying to mitigate the duplicate record issue.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@erikschlegel How do you propose to address this?

image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was more of a question which you just answered.

Copy link
Collaborator

@erikschlegel erikschlegel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants