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

    https://github.com/apache/spark/pull/10498#discussion_r48818992
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/sources/SimpleTextRelation.scala 
---
    @@ -219,16 +231,22 @@ class CommitFailureTestRelation(
         override val paths: Array[String],
         maybeDataSchema: Option[StructType],
         override val userDefinedPartitionColumns: Option[StructType],
    +    bucketSpec: Option[BucketSpec],
         parameters: Map[String, String])(
         @transient sqlContext: SQLContext)
       extends SimpleTextRelation(
    -    paths, maybeDataSchema, userDefinedPartitionColumns, 
parameters)(sqlContext) {
    -  override def prepareJobForWrite(job: Job): OutputWriterFactory = new 
OutputWriterFactory {
    +    paths,
    +    maybeDataSchema,
    +    userDefinedPartitionColumns,
    +    bucketSpec,
    +    parameters)(sqlContext) {
    +  override def prepareJobForWrite(job: Job): OutputWriterFactory = new 
BucketedOutputWriterFactory {
    --- End diff --
    
    add a blank line here


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to