fbertsch opened a new pull request, #7107:
URL: https://github.com/apache/kyuubi/pull/7107

   ### Why are the changes needed?
   Bugfix. Spark 3.5 is returning `None` for `response.results.columns`, while 
Spark 3.3 returned actual values.
   
   The response here: 
https://github.com/apache/kyuubi/blob/master/python/pyhive/hive.py#L507
   
   For a query that does nothing (mine was an `add jar s3://a/b/c.jar`), here 
are the responses I received.
   
   Spark 3.3:
   ```
   TFetchResultsResp(status=TStatus(statusCode=0, infoMessages=None, 
sqlState=None, errorCode=None, errorMessage=None), hasMoreRows=False, 
results=TRowSet(startRowOffset=0, rows=[], columns=[TColumn(boolVal=None, 
byteVal=None, i16Val=None, i32Val=None, i64Val=None, doubleVal=None, 
stringVal=TStringColumn(values=[], nulls=b'\x00'), binaryVal=None)], 
binaryColumns=None, columnCount=None))
   ```
   
   Spark 3.5:
   ```
   TFetchResultsResp(status=TStatus(statusCode=0, infoMessages=None, 
sqlState=None, errorCode=None, errorMessage=None), hasMoreRows=False, 
results=TRowSet(startRowOffset=0, rows=[], columns=None, binaryColumns=None, 
columnCount=None))
   ```
   
   ### How was this patch tested?
   I tested by applying it locally and running my query against Spark 3.5. I 
was not able to get any unit tests running, sorry!
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No.
   
   


-- 
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: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to