Skip to content

Conversation

@wangyum
Copy link
Member

@wangyum wangyum commented Dec 8, 2020

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

}

lazy val dataSchema: StructType = {
StructType(fileSchema.filterNot(partitionSchema.contains))
Copy link
Contributor

Choose a reason for hiding this comment

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

should we consider caseSensitive option as line 106 ~ line 109:

val fields = fileSchema.fields.filterNot { field =>
    val colName = PartitioningUtils.getColName(field, caseSensitive)
    partitionNameSet.contains(colName)
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes. Let's see if there are other failures.

Copy link
Contributor

Choose a reason for hiding this comment

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

3 test in HiveThriftHttpServerSuite failed, seems these three use cases fail in other pr too ....

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37021/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37021/

@SparkQA
Copy link

SparkQA commented Dec 8, 2020

Test build #132421 has finished for PR 30670 at commit 5b6d720.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

val isCaseSensitive = sqlConf.caseSensitiveAnalysis
val parquetSchema =
new SparkToParquetSchemaConverter(sparkSession.sessionState.conf).convert(schema)
new SparkToParquetSchemaConverter(sparkSession.sessionState.conf).convert(dataSchema)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should use readDataSchema() instead of dataSchema

@wangyum wangyum closed this Dec 14, 2020
@wangyum wangyum deleted the Refactor_FileTable branch December 14, 2020 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants