zhaoyongjie edited a comment on issue #17750:
URL: https://github.com/apache/superset/issues/17750#issuecomment-995836470


   I found that some large SQL insert tasks will cause Presto null-pointer 
error.  I submit the same SQL through presto-cli or JDBC without any problems.
   
   
![image](https://user-images.githubusercontent.com/2016594/146384237-b2d53563-a7b0-4169-8d28-4a4b144ccccb.png)
   
   
![image](https://user-images.githubusercontent.com/2016594/146384259-5f46a1f4-6e9b-4e55-a414-2ba89bc4a37b.png)
   
   
   ```
   (superset) yongjie.zhao@:incubator-superset$ pytest -s --durations=0 
tests/integration_tests/security_tests.py
   ....
   ....
   0.03s teardown 
tests/integration_tests/security_tests.py::TestDatasources::test_get_user_datasources_gamma_with_schema
   0.03s call     
tests/integration_tests/security_tests.py::TestSecurityManager::test_raise_for_access_query
   0.03s call     
tests/integration_tests/security_tests.py::TestSecurityManager::test_raise_for_access_table
   0.02s call     
tests/integration_tests/security_tests.py::TestDatasources::test_get_user_datasources_admin
   0.01s call     
tests/integration_tests/security_tests.py::TestDatasources::test_get_user_datasources_gamma
   0.01s call     
tests/integration_tests/security_tests.py::TestDatasources::test_get_user_datasources_gamma_with_schema
   0.01s call     
tests/integration_tests/security_tests.py::TestSecurityManager::test_can_access_table
   0.01s teardown 
tests/integration_tests/security_tests.py::TestRolePermission::test_public_sync_role_builtin_perms
   
   (69 durations < 0.005s hidden.  Use -vv to show these durations.)
   ================================================================== short 
test summary info 
==================================================================
   FAILED 
tests/integration_tests/security_tests.py::TestRolePermission::test_public_sync_role_data_perms
 - sqlalchemy.orm.exc.NoResultFound: No row was foun...
   =================================================== 1 failed, 45 passed, 13 
warnings in 235.82s (0:03:55) 
===================================================
   
   ```
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to