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

[connector:hive] extra_table_metadata fail for Hive partitioned table #14301

Closed
3 tasks done
codenamelxl opened this issue Apr 22, 2021 · 2 comments · Fixed by #14302
Closed
3 tasks done

[connector:hive] extra_table_metadata fail for Hive partitioned table #14301

codenamelxl opened this issue Apr 22, 2021 · 2 comments · Fixed by #14302
Labels
#bug Bug report

Comments

@codenamelxl
Copy link
Contributor

Endpoint /superset/extra_table_metadata will fail with 500 when using with partitioned tables for Hive.
User will receive an error message like screenshot in SQL Lab.

Callstack point to error:
AttributeError: 'DataFrame' object has no attribute 'ix'

Expected results

No error should popup

Actual results

500 on the endpoint with partitioned Hive table.

Screenshots

image

How to reproduce the bug

  1. Go to SQL Lab
  2. Click on a partitioned table with Hive Database
  3. See error

Environment

(please complete the following information):

  • superset version: >1.1 (current master)
  • python version: 3.7

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.
@stale
Copy link

stale bot commented Jun 26, 2021

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 Jun 26, 2021
@codenamelxl
Copy link
Contributor Author

PR available. Keep this open please.

@stale stale bot removed the inactive Inactive for >= 30 days label Jun 26, 2021
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
1 participant