wangyum commented on issue #26866: [WIP][SPARK-30237][SQL] Move `sql()` method 
from DataType to AbstractTypemv sql method
URL: https://github.com/apache/spark/pull/26866#issuecomment-565279927
 
 
   I'd like to replace hardcoded 
[`"DECIMAL"`](https://github.com/apache/spark/blob/6625b69027661d34352aa22e75dee6f31d069b41/sql/hive-thriftserver/v1.2/src/main/java/org/apache/hive/service/cli/Type.java#L82)
 to `DecimalType$.MODULE$.sql()`.
   
   Otherwise we need to hardcode these names:
   
https://github.com/spark-thriftserver/spark-thriftserver/blob/b1b6ddf885e9ca30d85e513dec2bedf1ff16d7c5/sql/service/src/main/java/org/apache/spark/sql/service/cli/Type.java#L67-L82

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to