You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/09/27 05:03:04 UTC

[GitHub] [incubator-superset] elonazoulay opened a new issue #8308: Queries with nested fields for presto fail with " 'The number of data values and number of nestedfields are not equal'"

elonazoulay opened a new issue #8308: Queries with nested fields for presto fail with " 'The number of data values and number of nestedfields are not equal'"
URL: https://github.com/apache/incubator-superset/issues/8308
 
 
   A clear and concise description of what the bug is.
   When querying a deeply nested field in presto, a "The number of data values and number of nestedfields are not equal'" error.
   This appears related to http://mail-archives.apache.org/mod_mbox/superset-notifications/201905.mbox/%3C155925893590.16760.17217802552102811180.gitbox@gitbox.apache.org%3E
   
   ### Expected results
   
   The data
   
   ### Actual results
   
   Exception:  'The number of data values and number of nestedfields are not equal'
   
   #### Screenshots
   
   If applicable, add screenshots to help explain your problem.
   
   #### How to reproduce the bug
   
   1. Query a deeply nested field (a row of array of row) in sql lab
   2. If the rows have different shape, i.e. one is null, the other has data only the shape of the first row determines the data.
   3. The code comes from ./superset/db_engine_specs/presto.py in the _expand_row_data function.
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: 0.34.1rc1
   - python version: `python --version` 3.6
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [X ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ X] I have reproduced the issue with at least the latest released version of superset.
   - [ X] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org