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

Cross Filter & DRILL_BY Not Working #31650

Open
3 tasks done
inbreaks opened this issue Dec 31, 2024 · 3 comments
Open
3 tasks done

Cross Filter & DRILL_BY Not Working #31650

inbreaks opened this issue Dec 31, 2024 · 3 comments
Labels
dashboard:cross-filters Related to the Dashboard cross filters dashboard:drill-by

Comments

@inbreaks
Copy link

inbreaks commented Dec 31, 2024

Bug description

  1. Unable to enable Cross Filter. In 3.0.0, after clicking on dimension data, you can filter for the same data source. In this version, there is no response when clicking on dimension information
  2. Unable to enable DRILL_BY. When you right-click on dimension information, there is no DRILL_BY related menu to choose from. Instead, the default browser menu pops up

The following invalid attempts were made

  1. Add property configuration in dashboard
{
  "color_scheme": "supersetColors",
  "refresh_frequency": 21600,
  "expanded_slices": {},
  "label_colors": {},
  "timed_refresh_immune_slices": [],
  "cross_filters_enabled": true, # not working
  "default_filters": "{}",
  "chart_configuration": {},
  "global_chart_configuration": {}
}
image
  1. I tried to add the configuration in superset > docker > pythonpath_dev > superset_config_docker.py, After reboot it still doesn't work
BABEL_DEFAULT_LOCALE = "zh"
DEFAULT_FEATURE_FLAGS: dict[str, bool] = {
    "ENABLE_TEMPLATE_PROCESSING": True,
    "SSH_TUNNELING": True,
    "CHART_PLUGINS_EXPERIMENTAL": True,
    "DASHBOARD_RBAC": True, 
    "ENABLE_SUPERSET_META_DB": True, 
    "HORIZONTAL_FILTER_BAR": True,
    "ALLOW_ADHOC_SUBQUERY": True,
    "DASHBOARD_CROSS_FILTERS": True,  # deprecated, not working
    "DRILL_TO_DETAIL": True, # not working
    "DRILL_BY": True # not working
}

BTW: BABEL_DEFAULT_LOCALE="zh" not working

Screenshots/recordings

No response

Superset version

4.1.1

Python version

3.9

Node version

16

Browser

Chrome

Additional context

I upgraded from 3.0.0 to 4.1.1

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
@dosubot dosubot bot added dashboard:cross-filters Related to the Dashboard cross filters dashboard:drill-by labels Dec 31, 2024
Copy link

dosubot bot commented Dec 31, 2024

I found some relevant information that might help with the issues you're experiencing with Cross Filter and DRILL_BY in Superset 4.1.1.

  1. Cross Filters:

    • The DashboardCrossFilters feature flag is deprecated in Superset 4.1.1. It defaults to True and will be removed in a future major release. It's recommended to set this flag to True in your local configuration to avoid unexpected changes [1].
  2. DRILL_BY:

    • The DRILL_BY feature flag is not deprecated and is enabled by default, indicating it is stable and safe for production use [1].

Additionally, there are some changes in the Superset 4.1.1 release notes regarding these features:

  • Cross filters scoping and using verbose map in applied cross-filters have been updated [2].
  • DRILL_BY has been enabled in charts without filters (dimensions) [2].

For troubleshooting, ensure that your configuration file (superset_config_docker.py) is correctly set up with the necessary feature flags. If the issue persists, it might be related to other configuration settings or compatibility issues introduced during the upgrade from version 3.0.0 to 4.1.1.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@inbreaks
Copy link
Author

I found some relevant information that might help with the issues you're experiencing with Cross Filter and DRILL_BY in Superset 4.1.1.

  1. Cross Filters:

    • The DashboardCrossFilters feature flag is deprecated in Superset 4.1.1. It defaults to True and will be removed in a future major release. It's recommended to set this flag to True in your local configuration to avoid unexpected changes [1].
  2. DRILL_BY:

    • The DRILL_BY feature flag is not deprecated and is enabled by default, indicating it is stable and safe for production use [1].

Additionally, there are some changes in the Superset 4.1.1 release notes regarding these features:

  • Cross filters scoping and using verbose map in applied cross-filters have been updated [2].
  • DRILL_BY has been enabled in charts without filters (dimensions) [2].

For troubleshooting, ensure that your configuration file (superset_config_docker.py) is correctly set up with the necessary feature flags. If the issue persists, it might be related to other configuration settings or compatibility issues introduced during the upgrade from version 3.0.0 to 4.1.1.

To continue talking to Dosu, mention @dosu.

Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@dosu As far as I know, although feature flags are deprecated, these features are still available.

Copy link

dosubot bot commented Dec 31, 2024

Hey @inbreaks! I see you're diving deep into the world of feature flags and Superset. While I can help with technical questions and bug fixes, I'm not equipped to confirm the availability of deprecated features. If you think I should have more info on this, feel free to reach out to the Dosu Team. They'll know what to do! 😊

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboard:cross-filters Related to the Dashboard cross filters dashboard:drill-by
Projects
None yet
Development

No branches or pull requests

1 participant