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 2021/02/22 12:48:08 UTC

[GitHub] [superset] rmgpinto opened a new issue #13275: Bug on all SQL Lab queries

rmgpinto opened a new issue #13275:
URL: https://github.com/apache/superset/issues/13275


   
   I'm running superset 1.0.1 on kubernetes.
   All SQL Lab queries return:
   ```
   Database error
   'dict' object has no attribute 'set'
   ```
   
   
   Logs 
   ```
   Triggering query_id: 296
   INFO:superset.views.core:Triggering query_id: 296
   Query 296: Running query on a Celery worker
   INFO:superset.views.core:Query 296: Running query on a Celery worker
   ```
   
   
   ```
   Query 296: Polling the cursor for progress
   [2021-02-19 15:35:54,702: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Polling the cursor for progress
   [2021-02-19 15:35:55,831: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Polling the cursor for progress
   [2021-02-19 15:35:57,870: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Polling the cursor for progress
   [2021-02-19 15:35:59,129: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Polling the cursor for progress
   [2021-02-19 15:36:01,206: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Polling the cursor for progress
   [2021-02-19 15:36:03,227: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296 progress: 39.0 / 2244.0 splits
   [2021-02-19 15:36:04,248: INFO/ForkPoolWorker-1] Query 296 progress: 39.0 / 2244.0 splits
   Query 296: Polling the cursor for progress
   [2021-02-19 15:36:05,253: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296 progress: 2163.0 / 2244.0 splits
   [2021-02-19 15:36:06,315: INFO/ForkPoolWorker-1] Query 296 progress: 2163.0 / 2244.0 splits
   Query 296: Polling the cursor for progress
   [2021-02-19 15:36:07,320: INFO/ForkPoolWorker-1] Query 296: Polling the cursor for progress
   Query 296: Storing results in results backend, key: 2fc2200e-2259-461c-9769-6f714192e35c
   [2021-02-19 15:36:07,465: INFO/ForkPoolWorker-1] Query 296: Storing results in results backend, key: 2fc2200e-2259-461c-9769-6f714192e35c
   ```
   
   ### Expected results
   
   The query results to return.
   
   ### Actual results
   
   No results and an error message is returned.
   
   #### How to reproduce the bug
   
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   
   ### Checklist
   
   Make sure to follow these steps 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



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


[GitHub] [superset] rmgpinto commented on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-863953418






-- 
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



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


[GitHub] [superset] rmgpinto edited a comment on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto edited a comment on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-863953418






-- 
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



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


[GitHub] [superset] jonathanmorais edited a comment on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
jonathanmorais edited a comment on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-786134789


   I caught the same error, can someone take a look? 
   
   `ERROR/ForkPoolWorker-1] Task sql_lab.get_sql_results[xxxxxx-efe2-4445-bdf1-dd587c8fcc1d] raised unexpected: KeyError('query_id')`
   
   Within the same context, I use Athena's database, and in the Worker logs I noticed the KeyError expection: query_id, which in v35 did not exist.


----------------------------------------------------------------
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



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


[GitHub] [superset] junlincc commented on issue #13275: Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-783928997


   @betodealmeida could you take a look? thanks! 


----------------------------------------------------------------
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



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


[GitHub] [superset] rmgpinto commented on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-864882825


   Thanks @betodealmeida, that was the solution.


-- 
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



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


[GitHub] [superset] rmgpinto closed issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto closed issue #13275:
URL: https://github.com/apache/superset/issues/13275


   


-- 
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



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


[GitHub] [superset] jonathanmorais commented on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
jonathanmorais commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-786134789


   I caught the same error, can someone take a look? 
   
   `ERROR/ForkPoolWorker-1] Task sql_lab.get_sql_results[xxxxxx-efe2-4445-bdf1-dd587c8fcc1d] raised unexpected: KeyError('query_id')`


----------------------------------------------------------------
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



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


[GitHub] [superset] rmgpinto closed issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto closed issue #13275:
URL: https://github.com/apache/superset/issues/13275


   


-- 
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



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


[GitHub] [superset] betodealmeida commented on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
betodealmeida commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-864151973






-- 
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



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


[GitHub] [superset] rmgpinto commented on issue #13275: [Sql_lab]Bug on all SQL Lab queries

Posted by GitBox <gi...@apache.org>.
rmgpinto commented on issue #13275:
URL: https://github.com/apache/superset/issues/13275#issuecomment-864882825


   Thanks @betodealmeida, that was the solution.


-- 
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



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