Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's Good. I will modify it, thanks.

instead.""")

// Create local references to member variables, so that the entire `this` object won't be
// serialized in the closure below.
Expand Down