bowenliang123 opened a new issue, #3795:
URL: https://github.com/apache/incubator-kyuubi/issues/3795

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/incubator-kyuubi/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Describe the bug
   
   Using Python 3.9.6 and the master branch with kyuubi #3782 for PySpark 
support, multi-line python script failed to compile and thows exception with 
`required field "type_ignores" missing from Module` message.
   
   Tested on 3.9.6 with  the following python code:
   ```
   a=10087
   a
   ```
   
   Traceback message of response:
   <img width="1234" alt="image" 
src="https://user-images.githubusercontent.com/1935105/201021505-c66f9f37-df03-49f4-a915-5ad70878f1f2.png";>
   
   Running `execution_python.py` alone with :
   
   <img width="677" alt="image" 
src="https://user-images.githubusercontent.com/1935105/201021343-67ac206d-abcb-4bd4-87d6-8aa704a95b9f.png";>
   
   
   ### Affects Version(s)
   
   master
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   ```logtalk
   [Traceback (most recent call last):
   ,  File 
"/var/folders/vn/3fb4hcv94ygd2scgnqz64pth0000gn/T/6181531906930307082/execute_python.py",
 line 41, in execute
       code = compile(mod, '<stdin>', 'exec')
   ,TypeError: required field "type_ignores" missing from Module
   ]
   ```
   
   
   ### Kyuubi Server Configurations
   
   ```yaml
   set kyuubi.operation.language=python;
   ```
   
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes. I can submit a PR independently to fix.
   - [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to fix.
   - [X] No. I cannot submit a PR at this time.


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