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 extractionFunction-custom extension #4357

Closed
2 of 3 tasks
chirpy2291 opened this issue Feb 6, 2018 · 3 comments
Closed
2 of 3 tasks

Filtering extractionFunction-custom extension #4357

chirpy2291 opened this issue Feb 6, 2018 · 3 comments
Labels
inactive Inactive for >= 30 days

Comments

@chirpy2291
Copy link

chirpy2291 commented Feb 6, 2018

Unable to filter custom extensions created through dimension specs in superset.
I am able to filter them through Result Filters only.

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if any
  • I have reproduced the issue with at least the latest released version of superset
  • I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.21

Expected results

should be able to filter through Filters

Actual results

No effect with filters.

Steps to reproduce

create a dimension with dimension spec of extractionFn:

For ex:
{
"type" : "extraction",
"dimension": "oldDimension",
"outputName": "newDimension",
"outputType": "STRING",
"extractionFn": {
"type": "javascript",
"function": "function(value) { return value.split('-', 1)[0]; }"
}
}

And try to filter the same after grouping it.We can only filter via Result Filters.Please provide a fix.

@xrmx
Copy link
Contributor

xrmx commented Feb 6, 2018

Please reproduce with latest version

@ghulands
Copy link

@chirpy2291 cherry pick #4740 for this.

@stale
Copy link

stale bot commented Apr 10, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

@stale stale bot added the inactive Inactive for >= 30 days label Apr 10, 2019
@stale stale bot closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive Inactive for >= 30 days
Projects
None yet
Development

No branches or pull requests

3 participants