-
Notifications
You must be signed in to change notification settings - Fork 14k
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
[sqllab] Tableschemaview fails to load with presto using parquet format files #25636
Comments
I have updated this issue based on my testing against Superset version 3.1.0 The issue is still preset in this version and is preventing us from upgrading our production instance from 1.5.3 to 3.1.0. |
We update the build process so as to build from the upstream superset source, rather than just installing packages from pypi. Add the superset[trino,hive,postgresql,spark] extras in order to generate a more complete set of dependencies. In addition to this, we have temporarily applied the patch to fix this issue: apache/superset#25636 Bug: T335356 Change-Id: I9a47ae07a106a1481fdffe03f670ced4c46b262d
Assuming this is also present in 4.0 then, but that might be worth confirming. I also wonder if this has been addressed at all by @betodealmeida 's catalog work and/or @dpgaspar 's parquet refactoring, both of which have only recently been merged to master (i.e. not released) yet. |
Re-opening because the fix was reverted in #28613. |
Summary
On Superset version 3.1.0 the table schema previews fail to load on
sqllab/
anddataset/add/
paths when using presto datasources and parquet format files.These were working for Superset version 1.5.3, but have not worked since version 2.0.1 and up to 3.1.0.
Error condition on Superset version 3.1.0 with presto table using
format=PARQUET
Conditions
format = 'PARQUET'
format = 'TEXTFILE'
this error does not occurHow to reproduce the bug
a)
/sqllab
b)
/dataset/add
presto
connector typeformat = 'PARQUET'
Expected results
I would expect the left hand column to be populated with the column names from the selected schema.
Actual results
Several error messages appear stating that there were errors fetching table metadata and the left-hand column is not populated.
Error messages in the server log
There are no relevant error messages in the server log.
We can see the pyhive presto command going through:
We have a lot of
DEBUG
level messages fromrequests_kerberos.kerberos_
andurllib3.connectionpool
andspnego._gss
while the request is authenticated and processed, but these appear to show a 401 followed by a successful 200 response.There are no stack traces shown.
Additional Screenshots
Error condition on Superset version 2.1.1 with presto table using
format=PARQUET
No error on Superset version 1.5.3 for the same table
No error on Superset version 2.1.1 with presto table using
format=TEXTFILE
Environment
3.1.0
3.9.2
16
ENABLE_TEMPLATE_PROCESSING
DASHBOARD_NATIVE_FILTERS
ENABLE_FILTER_BOX_MIGRATION
Metadata database: MariaDB 10.4
Presto version 0.283
Optional components:
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
The text was updated successfully, but these errors were encountered: