Yixuan-L opened a new issue, #6475:
URL: https://github.com/apache/kyuubi/issues/6475

   ### 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/kyuubi/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Describe the bug
   
   When we start a new session by connecting with 
kyuubi-hive-jdbc(org.apache.kyuubi:kyuubi-hive-jdbc:1.9.0), every first query 
by KyuubiStatement.executeAsync function will lead to only one column in the 
result.
   
   As shown in the figure1, there are actually 4 columns in the table 
platform_dim.dim_app, but the first query only shows
    one column called "Result". Try it again will get the correct feedback.
   
   
![figure1](https://github.com/apache/kyuubi/assets/56652851/d5f56ddb-f0e3-4165-8e09-29aef611aaa9)
   
   BTW, right now we avoid this problem superficially by configuring an initial 
sql(spark.kyuubi.engine.initialize.sql).
   
   ### Affects Version(s)
   
   1.9.0
   
   ### Kyuubi Server Log Output
   
   _No response_
   
   ### Kyuubi Engine Log Output
   
   _No response_
   
   ### Kyuubi Server Configurations
   
   _No response_
   
   ### Kyuubi Engine Configurations
   
   _No response_
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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