pan3793 commented on code in PR #5811:
URL: https://github.com/apache/kyuubi/pull/5811#discussion_r1418665209
##########
externals/kyuubi-spark-sql-engine/src/main/scala/org/apache/kyuubi/engine/spark/schema/RowSet.scala:
##########
@@ -91,18 +94,23 @@ object RowSet {
def toColumnBasedSet(rows: Seq[Row], schema: StructType): TRowSet = {
val rowSize = rows.length
val tRowSet = new TRowSet(0, new java.util.ArrayList[TRow](rowSize))
+ val timeFormatters = getTimeFormatters
Review Comment:
super nit: keep the object name. avoid eliminating the object name unless it
can improve the code style significantly.
```suggestion
val timeFormatters = HiveResult.getTimeFormatters
```
--
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]