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

Filtering with Computed Columns Hanging #166

Open
robertervin opened this issue Feb 18, 2018 · 0 comments
Open

Filtering with Computed Columns Hanging #166

robertervin opened this issue Feb 18, 2018 · 0 comments

Comments

@robertervin
Copy link

Plywood.ply()
.apply("my_datasource", $("my_datasource")
      .filter(
        $("timestamp").in({
          start: new Date("2018-01-01"),
          end: new Date("2018-02-16")
        })
      )
      .apply('visitorTypes', $("my_datasource")
             .split({ UserId: '$user__id' })
             .apply('user__is_new', $("my_datasource").max('$user__is_first_session'))
       )
      .filter($('user__id').in(
        $('visitorTypes').filter('$user__is_new == 1').collect('$UserId')
      ))
)
.apply("count", $("my_datasource").count())

Never resolves (from the 2min wait time I gave it) on a 100k row dataset

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

No branches or pull requests

1 participant