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

2.1.0rc3 - Creation of Dataset from DB View with "/" symbol in name doesn't work #23540

Closed
3 tasks done
andrey-pervushin opened this issue Mar 31, 2023 · 4 comments
Closed
3 tasks done
Labels
#bug Bug report

Comments

@andrey-pervushin
Copy link

andrey-pervushin commented Mar 31, 2023

Creation of a Dataset from table with "/" symbol in name doesn't work. When you try to choose such table at the dataset creation screen it shows an error "Unable to load columns for the selected table. Please select a different table." It seems that the system uses http API call without URL encoding.

How to reproduce the bug

  1. Go to "*/dataset/add/" URL, or push "+DATASET" button.
  2. Choose database and schema.
  3. Choose a table with "/" symbol in name
  4. See error

Expected results

A list of fields with types should appear.

Actual results

An error "Unable to load columns for the selected table. Please select a different table."

Screenshots

2023_03_30_17_48_42_Superset
2023_03_31_12_49_58_Superset

Environment

  • browser type and version: MS Edge 111.0.1661.41
  • superset version: 2.1.0rc3
  • python version: 3.8.16-slim
  • node.js version: 16-slim
  • any feature flags active:
{"ALERT_REPORTS": True,
 "RLS_IN_SQLLAB": True,
 "DASHBOARD_CROSS_FILTERS": True,
 "ENABLE_TEMPLATE_PROCESSING": True}

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are 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.

Additional context

Nothing to add.

@andrey-pervushin andrey-pervushin added the #bug Bug report label Mar 31, 2023
@andrey-pervushin
Copy link
Author

up^

1 similar comment
@andrey-pervushin
Copy link
Author

up^

@dbrultra
Copy link

Having the same issue, our schema has a / in it giving the same error.

@andrey-pervushin
Copy link
Author

Many thanks to @Always-prog !

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

No branches or pull requests

2 participants