Skip to content
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

adding lambas to select statements for customer lists and reports #37

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

SethHamilton
Copy link
Contributor

@SethHamilton SethHamilton commented Nov 13, 2019

Providing an easy way to enumerate all the customers in a segment created with a /segment query. A customers query will sort on a list of result columns as defined in the select statement. These may be existing customer properties or values created by evaluating customer events.

The result set will contain the number of customers requested, as well as a cursor that can be passed back to OpenSet on a subsequent query to continue where you left off.

  • lambdas in select statements. This is required to get variables and inline aggregations as return values from a customers query script
  • short-cut lambdas for selecting a user variable in a script (lambda is created it not provided)
  • add compile mode flags to return meaningful errors depending on the purpose of the script (reports, segments, customers)
  • rename event query to report. This is more inline with other query types (i.e. segment, customer, customers, property and histogram.
  • customer lists with pagination (trim and starting point)
  • optimize customers query to shortcut running actual script if values are can be calculated from customer properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant