Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21836#discussion_r204290224
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/TableReader.scala ---
    @@ -111,7 +111,8 @@ class HadoopTableReader(
           filterOpt: Option[PathFilter]): RDD[InternalRow] = {
     
         assert(!hiveTable.isPartitioned, """makeRDDForTable() cannot be called 
on a partitioned table,
    -      since input formats may differ across partitions. Use 
makeRDDForTablePartitions() instead.""")
    +      since input formats may differ across partitions. Use 
makeRDDForPartitionedTable() 
    --- End diff --
    
    I think it's gonna keep the white spaces as is. Mind if I ask change this 
as below?
    
    ```
    assert(
      !hiveTable.isPartitioned,
      "makeRDDForTable() cannot be called on a partitioned table, since input 
formats may differ " +
        "across partitions. Use makeRDDForTablePartitions() instead."
    ```


---

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

Reply via email to