sarutak commented on pull request #34549:
URL: https://github.com/apache/spark/pull/34549#issuecomment-966579975


   @dh20 Thank you for trying to make the doc better. But users can know the 
proper data type from the error message.
   ```
   java.lang.IllegalArgumentException: Error while instantiating 
'org.apache.spark.sql.hive.HiveSessionStateBuilder':
     at 
org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$$instantiateSessionState(SparkSession.scala:1151)
     at 
org.apache.spark.sql.SparkSession.$anonfun$sessionState$2(SparkSession.scala:158)
     at scala.Option.getOrElse(Option.scala:189)
     at 
org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:156)
     at org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:153)
     at 
org.apache.spark.sql.SparkSession.conf$lzycompute(SparkSession.scala:181)
     at org.apache.spark.sql.SparkSession.conf(SparkSession.scala:181)
   ```
   I think it's enough.
   
   Also, even if we mention the data type of the property, we should mention 
the data types for all the properties.


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